Changes: Version bump Added the use of the tcpd USE flag Copies pptpd.conf and options.pptpd from archive instead of being stored on rsync Fixed mistake in pptpd-init Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 14168 [details] pptpd-1.1.4_beta4.ebuild diff -Naur pptpd-1.1.4_beta3.ebuild pptpd-1.1.4_beta4.ebuild --- pptpd-1.1.4_beta3.ebuild 2003-07-05 21:24:56.000000000 +1000 +++ pptpd-1.1.4_beta4.ebuild 2003-07-05 21:30:44.000000000 +1000 @@ -4,31 +4,34 @@ S=${WORKDIR}/poptop-1.1.4 DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server" -SRC_URI="mirror://sourceforge/poptop/pptpd-1.1.4-b3.tar.gz" +SRC_URI="mirror://sourceforge/poptop/pptpd-1.1.4-b4.tar.gz" HOMEPAGE="http://www.poptop.org/" DEPEND="virtual/glibc - net-dialup/ppp" + net-dialup/ppp + tcpd? ( sys-apps/tcp-wrappers )" RDEPEND="$DEPEND" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" -IUSE="" +IUSE="tcpd" src_compile() { - econf --with-bcrelay || die + local myconf + use tcpd && myconf="--with-libwrap" + econf --with-bcrelay \ + ${myconf} || die emake || die } src_install () { einstall || die - insinto /etc - doins ${FILESDIR}/1.1.4_beta3/pptpd.conf + dodir /etc + cp ${S}/samples/pptpd.conf ${D}/etc dodir /etc/ppp - insinto /etc/ppp - doins ${FILESDIR}/1.1.4_beta3/options.pptpd + cp ${S}/samples/options.pptpd ${D}/etc/ppp exeinto /etc/init.d newexe ${FILESDIR}/pptpd-init pptpd
Created attachment 14169 [details] files/pptpd-init diff -Naur pptpd-init.old pptpd-init --- pptpd-init.old 2003-07-05 21:32:58.000000000 +1000 +++ pptpd-init 2003-07-05 01:37:28.000000000 +1000 @@ -1,7 +1,7 @@ #!/sbin/runscript depend() { - net + need net } start() {
Created attachment 15358 [details] pptpd-1.1.4_beta4.ebuild diff -Naur pptpd-1.1.4_beta3.ebuild pptpd-1.1.4_beta4.ebuild --- pptpd-1.1.4_beta3.ebuild 2003-08-02 23:12:34.000000000 +1000 +++ pptpd-1.1.4_beta4.ebuild 2003-08-02 23:11:33.000000000 +1000 @@ -4,19 +4,23 @@ S=${WORKDIR}/poptop-1.1.4 DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server" -SRC_URI="mirror://sourceforge/poptop/pptpd-1.1.4-b3.tar.gz" +SRC_URI="mirror://sourceforge/poptop/pptpd-1.1.4-b4.tar.gz" HOMEPAGE="http://www.poptop.org/" DEPEND="virtual/glibc - net-dialup/ppp" + net-dialup/ppp + tcpd? ( sys-apps/tcp-wrappers )" RDEPEND="$DEPEND" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86" -IUSE="" +IUSE="tcpd" src_compile() { - econf --with-bcrelay || die + local myconf + use tcpd && myconf="--with-libwrap" + econf --with-bcrelay \ + ${myconf} || die emake || die } @@ -24,11 +28,10 @@ einstall || die insinto /etc - doins ${FILESDIR}/1.1.4_beta3/pptpd.conf + doins samples/pptpd.conf - dodir /etc/ppp insinto /etc/ppp - doins ${FILESDIR}/1.1.4_beta3/options.pptpd + doins samples/options.pptpd exeinto /etc/init.d newexe ${FILESDIR}/pptpd-init pptpd
Changed dodir/cp to insinto/doins
Added net-dialup/pptpd-1.1.4_beta4