There is no way to USE pam in the ppp package, thus pppd gets compiled without PAM support which some people may find useful. It is however possible to enable PAM in the Makefile which some people may find useful. Here follows a simple patch to the ebuild, please review it and see whether it's useful. Works for me. Also the emerge should probably copy the ppp.pam file to /etc/pam.d/, but I did not include that in my ebuild patch, because I'm not sure how to do this properly. --- ppp-2.4.1-r14.ebuild.orig 2004-08-28 22:33:27.044978560 +0200 +++ ppp-2.4.1-r14.ebuild 2004-08-28 22:33:41.104841136 +0200 @@ -12,7 +12,7 @@ LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc hppa amd64 ia64 alpha mips" -IUSE="crypt ipv6 activefilter" +IUSE="pam crypt ipv6 activefilter" DEPEND="virtual/libc activefilter? ( net-libs/libpcap )" @@ -36,6 +36,12 @@ sed -e 's/^#FILTER=y/FILTER=y/' <pppd/Makefile.linux.orig > \ pppd/Makefile.linux } + + use pam && { + einfo "Activating pam" + sed -i 's/^#USE_PAM=y/USE_PAM=y/' pppd/Makefile.linux + } + epatch ${FILESDIR}/gcc3.3-multiline.patch epatch ${FILESDIR}/gcc33-amd64.patch Reproducible: Always Steps to Reproduce: 1. Try to compile pppd with PAM support 2. Find it's impossible in the default setup 3. Actual Results: pppd gets compiled without PAM support
Sorry, just noticed pam is available as a USE flag in newer versions of ppp (still in ~x86). I guess this bugreport should be disregarded. antoni