summaryrefslogtreecommitdiff
path: root/net-dialup/ppp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /net-dialup/ppp
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'net-dialup/ppp')
-rw-r--r--net-dialup/ppp/Manifest2
-rw-r--r--net-dialup/ppp/ppp-2.4.9-r2.ebuild10
2 files changed, 10 insertions, 2 deletions
diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest
index 11ca4b45b3e0..d42b3f2e5e24 100644
--- a/net-dialup/ppp/Manifest
+++ b/net-dialup/ppp/Manifest
@@ -6,5 +6,5 @@ DIST ppp-2.4.9-patches-02.tar.xz 18056 BLAKE2B d2632811b7146214ad4cf59bee2834abd
DIST ppp-2.4.9.tar.gz 719904 BLAKE2B 7ba3eb8c98fec5599635dbd302399617e1075f3a1df090f1a94ce2bb8a5c7631e6eea82246adc33711aba5fe95e7ba7c982e2cbf1fb0d71e45f877d9b092ffb7 SHA512 c309f8f69f534c05547cd2f66dade0e0f198ea4c2928a7e899e660280786b3e965437a67b8c5bb81c59d0fa1818b4eb7b701d2dce015a420d380422d2bca4e1a
DIST ppp-dhcpc.tgz 33497 BLAKE2B ca59130012f007cf45af6bcfa468c112b0d521c8b11f42d42c566dd9de55bd6d6f1b1ceb83cbae18cfe79cb5cb36ba6c6858a4718915acc6987295008aca53da SHA512 aeaf791b14f5a09c0e2079072a157e65132cbff46e608bc0724e6a5827a01da934f5006e2774eb7105f83e607a52cb4987238f4385cf6f5cc86cbe305a556738
EBUILD ppp-2.4.8-r1.ebuild 7074 BLAKE2B 9558373d9c3085d467129a7db9e5cd71e4152db277bee60f2fed3e38fb5984161f3376d0984784780cd5f2b655cb3010f49e48bcb51f50ba1a75f4b5a79c84ce SHA512 417915cce1745ced30a0a1c0e443b42069b1fee3949ddd55e88bab5540d74ce4db08d8aac02c43d32db23b6d38886410c478262a1f16c3731037710305024b5d
-EBUILD ppp-2.4.9-r2.ebuild 7139 BLAKE2B 9bcb37f8a5f24d64b6930558c303a348a9c3b41ade3b37d542c6d41250e7fcb6456e21b67431ef310dc3bbde72274cd6ee83bcff2d9531b9e9f78539684be5d0 SHA512 28e58fabab0f5e6655d7c1242d2b05013692101e57f6a4d31ec6eceb88666187f9d999ca7869d8d9338e493c961ccfa7d126ce2a5889d695e4f10dd9d0ce6f5e
+EBUILD ppp-2.4.9-r2.ebuild 7412 BLAKE2B e414432ee46a96722a72c18e6689c83089f583b62bf8ba005e1d160b46d6f51e9462f2e2d7f4d249383b3a37e27c485cf3de92c74716e0e485ce8b57452f0f29 SHA512 9400a860e516bd9e93001b46794b984b9fa16d47d14a503b5b90d5164a533e13762171317406a13c0b2712c96ac7912c42d0f326e6a386fad69e534a2d675cad
MISC metadata.xml 1248 BLAKE2B 2c0facefb3f71aa967481dbd0b0f212d17bf2827b94ed40a9a253c053c9e9d3700aa1bdf8610abead16f290f93551139f4a9022b38e3c6dcbcc5ed61fba7f34b SHA512 e309d63a5611ee607b820803e82e9b4da4ebb33cd010660ce701d261726c4f635b0c4ad98bd80c20d01eb1d9004dfa076fbd59521a2bbe66d7dae78eeae65f6e
diff --git a/net-dialup/ppp/ppp-2.4.9-r2.ebuild b/net-dialup/ppp/ppp-2.4.9-r2.ebuild
index ac481c696fb5..6a3902fbd723 100644
--- a/net-dialup/ppp/ppp-2.4.9-r2.ebuild
+++ b/net-dialup/ppp/ppp-2.4.9-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/paulusmack/ppp/archive/${P}.tar.gz
LICENSE="BSD GPL-2"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-IUSE="activefilter atm dhcp gtk ipv6 libressl pam radius"
+IUSE="activefilter atm dhcp +eap-tls gtk ipv6 libressl pam radius"
DEPEND="
activefilter? ( net-libs/libpcap )
@@ -69,6 +69,14 @@ src_prepare() {
-i pppd/plugins/Makefile.linux || die
fi
+ if ! use eap-tls ; then
+ einfo "Disabling EAP-TLS pppd auth support"
+ sed -i '/^USE_EAPTLS=y/s:^:#:' pppd/Makefile.linux || die
+ einfo "Disabling EAP-TLS plugin support"
+ sed -i '/^CFLAGS += -DUSE_EAPTLS=1/s:^:#:' \
+ pppd/plugins/Makefile.linux || die
+ fi
+
# Set correct libdir
sed -i -e "s:/lib/pppd:/$(get_libdir)/pppd:" \
pppd/{pathnames.h,pppd.8} || die