alpine: 2.00 -> 2.21
This commit is contained in:
parent
3fb4c9e899
commit
63b6179f52
@ -3,34 +3,26 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
# NOTE: Please check if any changes here are applicable to ../realpine/ as well
|
# NOTE: Please check if any changes here are applicable to ../realpine/ as well
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "2.00";
|
name = "alpine-${version}";
|
||||||
baseName = "alpine";
|
version = "2.21";
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "${baseName}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.cac.washington.edu/alpine/alpine-${version}.tar.bz2";
|
url = "http://alpine.freeiz.com/alpine/release/src/${name}.tar.xz";
|
||||||
sha256 = "19m2w21dqn55rhxbh5lr9qarc2fqa9wmpj204jx7a0zrb90bhpf8";
|
sha256 = "0f3llxrmaxw7w9w6aixh752md3cdc91mwfmbarkm8s413f4bcc30";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
ncurses tcl openssl pam kerberos openldap
|
ncurses tcl openssl pam kerberos openldap
|
||||||
];
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "format" "fortify" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
|
"--with-ssl-include-dir=${openssl.dev}/include/openssl"
|
||||||
"--with-tcl-lib=${tcl.libPrefix}"
|
|
||||||
"--with-passfile=.pine-passfile"
|
"--with-passfile=.pine-passfile"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Console mail reader";
|
description = "Console mail reader";
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user