Merge pull request #135965 from r-ryantm/auto-update/sstp-client

sstp: 1.0.13 -> 1.0.15
This commit is contained in:
Fabian Affolter 2021-09-05 11:50:10 +02:00 committed by GitHub
commit 8ac1e63ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,15 +2,14 @@
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 =
''
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
'';
@ -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;
};
}