Merge pull request #135965 from r-ryantm/auto-update/sstp-client
sstp: 1.0.13 -> 1.0.15
This commit is contained in:
commit
8ac1e63ac5
@ -2,18 +2,17 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sstp-client";
|
||||
version = "1.0.13";
|
||||
version = "1.0.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sstp-client/sstp-client/sstp-client-${version}.tar.gz";
|
||||
sha256 = "06rjyncmgdy212xf9l9z6mfh4gdmgk7l4y841gb8lpbrl3y5h4ln";
|
||||
sha256 = "sha256-hISqUfv75Big661YrSCo7hxG7XH4AL4YvNI7Qua6rWQ=";
|
||||
};
|
||||
|
||||
patchPhase =
|
||||
''
|
||||
sed 's,/usr/sbin/pppd,${ppp}/sbin/pppd,' -i src/sstp-pppd.c
|
||||
sed "s,sstp-pppd-plugin.so,$out/lib/pppd/sstp-pppd-plugin.so," -i src/sstp-pppd.c
|
||||
'';
|
||||
postPatch = ''
|
||||
sed 's,/usr/sbin/pppd,${ppp}/sbin/pppd,' -i src/sstp-pppd.c
|
||||
sed "s,sstp-pppd-plugin.so,$out/lib/pppd/sstp-pppd-plugin.so," -i src/sstp-pppd.c
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-openssl=${openssl.dev}"
|
||||
@ -22,13 +21,14 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libevent openssl ppp ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "SSTP client for Linux";
|
||||
homepage = "http://sstp-client.sourceforge.net/";
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.ktosiek ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ktosiek ];
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user