Merge pull request #59064 from teto/ppp

ppp: add eap-tls patch
This commit is contained in:
James Cook 2019-04-07 15:50:33 +00:00 committed by GitHub
commit d2326cc24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, substituteAll, libpcap }: { stdenv, fetchurl, substituteAll, libpcap, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.4.7"; version = "2.4.7";
@ -27,10 +27,14 @@ stdenv.mkDerivation rec {
url = "https://anonscm.debian.org/git/collab-maint/pkg-ppp.git/plain/debian/patches/0016-pppoe-include-netinet-in.h-before-linux-in.h.patch"; url = "https://anonscm.debian.org/git/collab-maint/pkg-ppp.git/plain/debian/patches/0016-pppoe-include-netinet-in.h-before-linux-in.h.patch";
sha256 = "1xnmqn02kc6g5y84xynjwnpv9cvrfn3nyv7h7r8j8xi7qf2aj4q8"; sha256 = "1xnmqn02kc6g5y84xynjwnpv9cvrfn3nyv7h7r8j8xi7qf2aj4q8";
}) })
(fetchurl {
url = https://www.nikhef.nl/~janjust/ppp/ppp-2.4.7-eaptls-mppe-1.102.patch;
sha256 = "04war8l5szql53l36043hvzgfwqp3v76kj8brbz7wlf7vs2mlkia";
})
./musl-fix-headers.patch ./musl-fix-headers.patch
]; ];
buildInputs = [ libpcap ]; buildInputs = [ libpcap openssl ];
postPatch = '' postPatch = ''
# strip is not found when cross compiling with seemingly no way to point # strip is not found when cross compiling with seemingly no way to point