diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-12-22 15:38:08 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-12-22 15:38:08 +0000 |
commit | 09448c65abed1721d53d1a6c51d8fee25156242b (patch) | |
tree | 1ec9b19a2c84fa74970c30a983101e4312a511be /net-dialup | |
parent | Revision bump to fix bug #33155. Marked stable on hppa. (diff) | |
download | gentoo-2-09448c65abed1721d53d1a6c51d8fee25156242b.tar.gz gentoo-2-09448c65abed1721d53d1a6c51d8fee25156242b.tar.bz2 gentoo-2-09448c65abed1721d53d1a6c51d8fee25156242b.zip |
removed old versions
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ppp/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/ppp/Manifest | 10 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.1-r11 | 1 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.1-r12 | 1 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.1-r13 | 1 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.2_beta3 | 1 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.1-r11.ebuild | 117 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.1-r12.ebuild | 143 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.1-r13.ebuild | 162 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.2_beta3.ebuild | 160 |
10 files changed, 6 insertions, 596 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog index 1945638a0569..1801803b5748 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/ppp # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.37 2003/12/22 15:20:43 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.38 2003/12/22 15:37:58 lanius Exp $ + + 22 Dec 2003; Heinrich Wendel <lanius@gentoo.org> ppp-2.4.1-r11.ebuild, + ppp-2.4.1-r12.ebuild, ppp-2.4.1-r13.ebuild, ppp-2.4.2_beta3.ebuild: + removed old versions 22 Dec 2003; Heinrich Wendel <lanius@gentoo.org> files/2.4.2b3/ip-down, files/2.4.2b3/ip-up, files/2.4.2b3/net.ppp0: diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest index 69ec0325b8ac..fefcb1b8231b 100644 --- a/net-dialup/ppp/Manifest +++ b/net-dialup/ppp/Manifest @@ -1,11 +1,7 @@ MD5 648b6db3701175b44066900c0b4a64eb ppp-2.4.2_beta3-r1.ebuild 3415 MD5 82e881305bcfc09888896071fb0219fa ppp-2.4.1-r14.ebuild 4613 -MD5 8c76dfcef79983fe7b2b7063f4750c97 ppp-2.4.1-r11.ebuild 3078 -MD5 f40c064374bb77f9069e73b9932bcd1b ppp-2.4.1-r13.ebuild 4563 -MD5 4b523f27a5550db6f0f99c8f989f8e40 ChangeLog 7030 -MD5 158a1bb8f34a4d2b1ed62513de95e47d ppp-2.4.2_beta3.ebuild 4342 +MD5 192318be0ddd2918d43665f7f0d8b2c8 ChangeLog 7197 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 -MD5 9e3a4dcb54e60375e054b4154d94e0f9 ppp-2.4.1-r12.ebuild 3816 MD5 4e62cdeb360ca0a22becbd2deb6f2dac files/pon 957 MD5 86cdaf133f7a79fb464f02d83afc7734 files/plog 146 MD5 05b7394b35a2342033b52134568bf6b8 files/poff 2723 @@ -16,14 +12,10 @@ MD5 c74b7e519f593babcfc3821832d72819 files/ip-up 282 MD5 44cc662ba9aa61dd9add3ddd4c5ded57 files/pon.1 3607 MD5 feb6723fa9b971cb443cff79693db0cd files/ppp-crypto-fix.patch.bz2 35770 MD5 208e12ddd9a3e4c4ac470e9c4d7d7144 files/confd.ppp0 3310 -MD5 4fda43c2f3f8b5b58a58e5d238991c0b files/digest-ppp-2.4.1-r11 65 -MD5 4fda43c2f3f8b5b58a58e5d238991c0b files/digest-ppp-2.4.1-r12 65 -MD5 4fda43c2f3f8b5b58a58e5d238991c0b files/digest-ppp-2.4.1-r13 65 MD5 4fda43c2f3f8b5b58a58e5d238991c0b files/digest-ppp-2.4.1-r14 65 MD5 f82a3ae0dba4ce6031bbf1405071e827 files/ppp-2.4.1-r10.patch 311 MD5 b783e9bd9ac5956c582499f0623195fe files/net.ppp0 4705 MD5 8368eb79ad4618c3c6753801b5c4c689 files/gcc3.3-multiline.patch 1673 -MD5 6f7e70fee6e827ad992da785cba032c6 files/digest-ppp-2.4.2_beta3 63 MD5 6f7e70fee6e827ad992da785cba032c6 files/digest-ppp-2.4.2_beta3-r1 63 MD5 eb5dfeb9b6a2c8b4b2f23df4980952e0 files/ppp-2.4.1-MSCHAPv2-fix.patch 507 MD5 5d83af7b897082a0b1ecd70a2cc2a0c7 files/modules.ppp 268 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.1-r11 b/net-dialup/ppp/files/digest-ppp-2.4.1-r11 deleted file mode 100644 index b3c7b1676065..000000000000 --- a/net-dialup/ppp/files/digest-ppp-2.4.1-r11 +++ /dev/null @@ -1 +0,0 @@ -MD5 7f655448fbb6bebcede7a515fbcd481e ppp-2.4.1-pppoe4.tgz 556218 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.1-r12 b/net-dialup/ppp/files/digest-ppp-2.4.1-r12 deleted file mode 100644 index b3c7b1676065..000000000000 --- a/net-dialup/ppp/files/digest-ppp-2.4.1-r12 +++ /dev/null @@ -1 +0,0 @@ -MD5 7f655448fbb6bebcede7a515fbcd481e ppp-2.4.1-pppoe4.tgz 556218 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.1-r13 b/net-dialup/ppp/files/digest-ppp-2.4.1-r13 deleted file mode 100644 index b3c7b1676065..000000000000 --- a/net-dialup/ppp/files/digest-ppp-2.4.1-r13 +++ /dev/null @@ -1 +0,0 @@ -MD5 7f655448fbb6bebcede7a515fbcd481e ppp-2.4.1-pppoe4.tgz 556218 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.2_beta3 b/net-dialup/ppp/files/digest-ppp-2.4.2_beta3 deleted file mode 100644 index cc38ea92d0de..000000000000 --- a/net-dialup/ppp/files/digest-ppp-2.4.2_beta3 +++ /dev/null @@ -1 +0,0 @@ -MD5 c35c7ff5a1d80be5a2534cd9c7777b10 ppp-2.4.2b3.tar.gz 780590 diff --git a/net-dialup/ppp/ppp-2.4.1-r11.ebuild b/net-dialup/ppp/ppp-2.4.1-r11.ebuild deleted file mode 100644 index 62c089369639..000000000000 --- a/net-dialup/ppp/ppp-2.4.1-r11.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r11.ebuild,v 1.11 2003/09/26 05:57:37 vapier Exp $ - -S=${WORKDIR}/${P}.pppoe4 -DESCRIPTION="Point-to-point protocol - patched for pppoe" -HOMEPAGE="http://www.samba.org/ppp" -SRC_URI="mirror://gentoo/${P}-pppoe4.tgz" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="x86 ppc sparc" -IUSE="crypt ipv6" - -DEPEND="virtual/glibc" - -src_compile() { - - use crypt && { - zcat ${FILESDIR}/ppp-2.4.1-openssl-0.9.6-mppe-patch.gz | patch -p1 - patch -p1 < ${FILESDIR}/ppp-2.4.1-MSCHAPv2-fix.patch - } - - patch -p0 < ${FILESDIR}/${P}-r10.patch - - ./configure --prefix=/usr || die - - #fix Makefiles to compile optimized - cd pppd - mv Makefile Makefile.orig - if([ `use ipv6` ]) then - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/#HAVE_INET6/HAVE_INET6/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - else - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - fi - - cd plugins - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g -O2:CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd pppoe - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g :CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ../../../pppstats - mv Makefile Makefile.orig - sed -e "s:COPTS= -O:COPTS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ../chat - mv Makefile Makefile.orig - sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile - cd ../pppdump - mv Makefile Makefile.orig - sed -e "s:CFLAGS= -O:CFLAGS= ${CFLAGS}:" Makefile.orig > Makefile - cd .. - - export CC=gcc - - emake || die -} - -src_install() { - for y in chat pppd pppdump pppstats - do - doman ${y}/${y}.8 - dosbin ${y}/${y} - done - - chmod u+s-w ${D}/usr/sbin/pppd - chown root:daemon ${D}/usr/sbin/pppstats - - dodir /etc/ppp/peers - insinto /etc/ppp - insopts -m0600 - doins etc.ppp/pap-secrets etc.ppp/chap-secrets - insopts -m0644 - doins etc.ppp/options - insopts -m0755 - doins ${FILESDIR}/ip-up - - dolib.so pppd/plugins/minconn.so - dolib.so pppd/plugins/passprompt.so - dolib.so pppd/plugins/pppoe/pppoe.so - dodir /usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - mv ${D}/usr/lib/*.so ${D}/usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - insinto /etc/modules.d - newins ${FILESDIR}/modules.ppp ppp - - dodoc PLUGINS README* SETUP Changes-2.3 FAQ - dohtml ${FILESDIR}/pppoe.html - -# This will have to be updated to work with the new net.ppp0 -# # Added a couple scripts to simplify dialing up -# # borrowed from debian, man they got some nice little apps :-) -# dosbin ${FILESDIR}/pon -# dosbin ${FILESDIR}/poff -# doman ${FILESDIR}/pon.1 -} - -pkg_postinst() { - if [ ! -e ${ROOT}dev/.devfsd ] - then - if [ ! -e ${ROOT}dev/ppp ]; then - mknod ${ROOT}dev/ppp c 108 0 - fi - fi - if [ "$ROOT" = "/" ] - then - /sbin/update-modules - fi - einfo "to enable kernel-pppoe read html/pppoe.html in the doc-directory" -} diff --git a/net-dialup/ppp/ppp-2.4.1-r12.ebuild b/net-dialup/ppp/ppp-2.4.1-r12.ebuild deleted file mode 100644 index baf0afd9bad1..000000000000 --- a/net-dialup/ppp/ppp-2.4.1-r12.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r12.ebuild,v 1.12 2003/09/26 05:57:37 vapier Exp $ - -S=${WORKDIR}/${P}.pppoe4 -DESCRIPTION="Point-to-point protocol - patched for pppoe" -HOMEPAGE="http://www.samba.org/ppp" -SRC_URI="mirror://gentoo/${P}-pppoe4.tgz" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="x86 ppc ~sparc hppa alpha" -IUSE="crypt ipv6 activefilter" - -DEPEND="virtual/glibc - activefilter? ( net-libs/libpcap )" - -src_compile() { - - use crypt && { - zcat ${FILESDIR}/ppp-2.4.1-openssl-0.9.6-mppe-patch.gz | patch -p1 - patch -p1 < ${FILESDIR}/ppp-2.4.1-MSCHAPv2-fix.patch - } - - patch -p0 < ${FILESDIR}/${P}-r10.patch - - use activefilter && { - # enable option active-filter - mv pppd/Makefile.linux pppd/Makefile.linux.orig - sed -e 's/^#FILTER=y/FILTER=y/' <pppd/Makefile.linux.orig >pppd/Makefile.linux - } - - ./configure --prefix=/usr || die - - #fix Makefiles to compile optimized - cd pppd - mv Makefile Makefile.orig - if([ `use ipv6` ]) then - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/#HAVE_INET6/HAVE_INET6/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - else - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - fi - - cd plugins - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g -O2:CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd pppoe - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g :CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ../../../pppstats - mv Makefile Makefile.orig - sed -e "s:COPTS= -O:COPTS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ../chat - mv Makefile Makefile.orig - sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile - cd ../pppdump - mv Makefile Makefile.orig - sed -e "s:CFLAGS= -O:CFLAGS= ${CFLAGS}:" Makefile.orig > Makefile - cd .. - - export CC=gcc - - emake || die -} - -src_install() { - for y in chat pppd pppdump pppstats - do - doman ${y}/${y}.8 - dosbin ${y}/${y} - done - - chmod u+s-w ${D}/usr/sbin/pppd - chown root:daemon ${D}/usr/sbin/pppstats - - dodir /etc/ppp/peers - insinto /etc/ppp - insopts -m0600 - doins etc.ppp/pap-secrets etc.ppp/chap-secrets - insopts -m0644 - doins etc.ppp/options - doins ${FILESDIR}/chat-default - insopts -m0755 - doins ${FILESDIR}/ip-up - exeinto /etc/init.d/ - doexe ${FILESDIR}/net.ppp0 - insinto /etc/conf.d - insopts -m0600 - newins ${FILESDIR}/confd.ppp0 net.ppp0 - - dolib.so pppd/plugins/minconn.so - dolib.so pppd/plugins/passprompt.so - dolib.so pppd/plugins/pppoe/pppoe.so - dodir /usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - mv ${D}/usr/lib/*.so ${D}/usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - insinto /etc/modules.d - insopts -m0644 - newins ${FILESDIR}/modules.ppp ppp - - dodoc PLUGINS README* SETUP Changes-2.3 FAQ - dohtml ${FILESDIR}/pppoe.html - -# This will have to be updated to work with the new net.ppp0 -# # Added a couple scripts to simplify dialing up -# # borrowed from debian, man they got some nice little apps :-) -# dosbin ${FILESDIR}/pon -# dosbin ${FILESDIR}/poff -# doman ${FILESDIR}/pon.1 -} - -pkg_postinst() { - if [ ! -e ${ROOT}dev/.devfsd ] - then - if [ ! -e ${ROOT}dev/ppp ]; then - mknod ${ROOT}dev/ppp c 108 0 - fi - fi - if [ "$ROOT" = "/" ] - then - /sbin/update-modules - fi - einfo "to enable kernel-pppoe read html/pppoe.html in the doc-directory" -} - -pkg_preinst() { - ### Fix those broken flags (755 -> 644) - ### This is needed for updates from ppp-2.4.1-r11 to ppp-2.4.1-r12 - if [ -e ${ROOT}/etc/modules.d/ppp ] ; then - FLAGS="`stat -c %a /etc/modules.d/ppp`" - echo ${FLAGS} - if [ ${FLAGS} == "755" ] ; then - chmod 644 ${ROOT}/etc/modules.d/ppp - fi - fi -} diff --git a/net-dialup/ppp/ppp-2.4.1-r13.ebuild b/net-dialup/ppp/ppp-2.4.1-r13.ebuild deleted file mode 100644 index c894fd0eeeb2..000000000000 --- a/net-dialup/ppp/ppp-2.4.1-r13.ebuild +++ /dev/null @@ -1,162 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.1-r13.ebuild,v 1.8 2003/12/05 20:23:14 lanius Exp $ - -S=${WORKDIR}/${P}.pppoe4 -DESCRIPTION="Point-to-point protocol - patched for pppoe" -HOMEPAGE="http://www.samba.org/ppp" -SRC_URI="mirror://gentoo/${P}-pppoe4.tgz" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="x86 ppc ~sparc ~hppa" -IUSE="crypt ipv6 activefilter" - -DEPEND="virtual/glibc - activefilter? ( net-libs/libpcap )" - -src_compile() { - - use crypt && { - #I took the liberty of combining the two crypto patches - einfo "Applying ppp-crypto-fix.patch..." - bzcat ${FILESDIR}/ppp-crypto-fix.patch.bz2 | patch -p1 - - } - - epatch ${FILESDIR}/${P}-r10.patch - - use activefilter && { - # enable option active-filter - mv pppd/Makefile.linux pppd/Makefile.linux.orig - sed -e 's/^#FILTER=y/FILTER=y/' <pppd/Makefile.linux.orig >pppd/Makefile.linux - } - - ./configure --prefix=/usr || die - - #fix Makefiles to compile optimized - cd ${S}/pppd - mv Makefile Makefile.orig - if([ `use ipv6` ]) then - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/#HAVE_INET6/HAVE_INET6/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - else - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - fi - - cd plugins - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g -O2:CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd pppoe - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g :CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ${S}/pppstats - mv Makefile Makefile.orig - sed -e "s:COPTS= -O:COPTS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ${S}/chat - mv Makefile Makefile.orig - sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile - cd ${S}/pppdump - mv Makefile Makefile.orig - sed -e "s:CFLAGS= -O:CFLAGS= ${CFLAGS}:" Makefile.orig > Makefile - cd .. - - export CC=gcc - - emake || die -} - -src_install() { - for y in chat pppd pppdump pppstats - do - doman ${y}/${y}.8 - dosbin ${y}/${y} - done - - chmod u+s-w ${D}/usr/sbin/pppd - chown root:dialout ${D}/usr/sbin/pppd - chown root:dialout ${D}/usr/sbin/pppdump - chown root:dialout ${D}/usr/sbin/pppstats - - dodir /etc/ppp/peers - insinto /etc/ppp - insopts -m0600 - doins etc.ppp/pap-secrets etc.ppp/chap-secrets - insopts -m0644 - doins etc.ppp/options - insopts -m0755 - doins ${FILESDIR}/ip-up - doins ${FILESDIR}/ip-down - - dolib.so pppd/plugins/minconn.so - dolib.so pppd/plugins/passprompt.so - dolib.so pppd/plugins/pppoe/pppoe.so - dodir /usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - mv ${D}/usr/lib/*.so ${D}/usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - insinto /etc/modules.d - insopts -m0644 - newins ${FILESDIR}/modules.ppp ppp - - dodoc PLUGINS README* SETUP Changes-2.3 FAQ - dohtml ${FILESDIR}/pppoe.html - -# This has nothing to do with net.ppp0 now as net.ppp0 calls pppd -# from the command line with the parameters. - #New scripts acquired from cvs (cvs.samba.org) - #Changed from old because /usr/sbin not in user's $PATH - dobin ${FILESDIR}/pon - dobin ${FILESDIR}/poff - dobin ${FILESDIR}/plog - doman ${FILESDIR}/pon.1 - - #Hack because /usr/sbin is not in user's $PATH? - dosym /usr/sbin/pppdump /usr/bin/pppdump - dosym /usr/sbin/pppstats /usr/bin/pppstats - - #Adding misc. specialized scripts to doc dir - dodir /usr/share/doc/${PF}/scripts - dodir /usr/share/doc/${PF}/scripts/chatchat - insinto /usr/share/doc/${PF}/scripts/chatchat - doins scripts/chatchat/* - insinto /usr/share/doc/${PF}/scripts - doins scripts/* -} - - -pkg_postinst() { - if [ ! -e ${ROOT}dev/.devfsd ] - then - if [ ! -e ${ROOT}dev/ppp ]; then - mknod ${ROOT}dev/ppp c 108 0 - fi - fi - if [ "$ROOT" = "/" ] - then - /sbin/update-modules - fi - ewarn "To enable kernel-pppoe read html/pppoe.html in the doc-directory." - ewarn "Pon, poff and plog scripts have been supplied for experienced users." - ewarn "New users or those requiring something more should have a look at" - ewarn "the /etc/init.d/net.ppp0 script." - ewarn "Users needing particular scripts (ssh,rsh,etc.)should check out the" - ewarn "/usr/share/doc/ppp*/scripts directory." -} - -pkg_preinst() { - # Fix those broken flags (755 -> 644) - # This is needed for updates from ppp-2.4.1-r11 to ppp-2.4.1-r12 - if [ -e ${ROOT}/etc/modules.d/ppp ] ; then - FLAGS="`stat -c %a /etc/modules.d/ppp`" - echo ${FLAGS} - if [ ${FLAGS} == "755" ] ; then - chmod 644 ${ROOT}/etc/modules.d/ppp - fi - fi -} diff --git a/net-dialup/ppp/ppp-2.4.2_beta3.ebuild b/net-dialup/ppp/ppp-2.4.2_beta3.ebuild deleted file mode 100644 index a3801c8f8bab..000000000000 --- a/net-dialup/ppp/ppp-2.4.2_beta3.ebuild +++ /dev/null @@ -1,160 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.2_beta3.ebuild,v 1.1 2003/10/02 12:56:19 lanius Exp $ - -MY_P=${P/_beta/b} -S=${WORKDIR}/${MY_P} -DESCRIPTION="Point-to-point protocol - patched for pppoe" -HOMEPAGE="http://www.samba.org/ppp" -SRC_URI="ftp://ftp.samba.org/pub/ppp/${MY_P}.tar.gz" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64 ~ia64" -IUSE="ipv6 activefilter" - -DEPEND="virtual/glibc - activefilter? ( net-libs/libpcap )" - -src_unpack() { - unpack ${A} - cd ${S} - - use activefilter && { - # enable option active-filter - einfo "Enabling active-filter" - sed -i 's/^#FILTER=y/FILTER=y/' pppd/Makefile.linux - } - einfo "Enabling PAM" - sed -i 's/^#USE_PAM=y/USE_PAM=y/' pppd/Makefile.linux -} - -src_compile() { - cd ${S} - - ./configure --prefix=/usr || die - - #fix Makefiles to compile optimized - cd ${S}/pppd - mv Makefile Makefile.orig - if([ `use ipv6` ]) then - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/#HAVE_INET6/HAVE_INET6/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - else - sed -e "s:COPTS = -O2 -pipe -Wall -g:COPTS = ${CFLAGS}:" \ - -e "s/LIBS =/LIBS = -lcrypt/" \ - -e "s/# CBCP_SUPPORT/CBCP_SUPPORT/" Makefile.orig > Makefile - fi - - cd plugins - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g -O2:CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd rp-pppoe - mv Makefile Makefile.orig - sed -e "s:CFLAGS\t= -g :CFLAGS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ${S}/pppstats - mv Makefile Makefile.orig - sed -e "s:COPTS= -O:COPTS = ${CFLAGS}:" \ - Makefile.orig > Makefile - cd ${S}/chat - mv Makefile Makefile.orig - sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile - cd ${S}/pppdump - mv Makefile Makefile.orig - sed -e "s:CFLAGS= -O:CFLAGS= ${CFLAGS}:" Makefile.orig > Makefile - cd .. - - export CC=gcc - - emake || die -} - -src_install() { - for y in chat pppd pppdump pppstats - do - doman ${y}/${y}.8 - dosbin ${y}/${y} - done - - chmod u+s-w ${D}/usr/sbin/pppd - dodir /etc/ppp/peers - insinto /etc/ppp - insopts -m0600 - doins etc.ppp/pap-secrets etc.ppp/chap-secrets - insopts -m0644 - doins etc.ppp/options - doins ${FILESDIR}/chat-default - insopts -m0755 - doins ${FILESDIR}/ip-up - doins ${FILESDIR}/ip-down - exeinto /etc/init.d/ - doexe ${FILESDIR}/net.ppp0 - insinto /etc/conf.d - insopts -m0600 - newins ${FILESDIR}/confd.ppp0 net.ppp0 - - dolib.so pppd/plugins/minconn.so - dolib.so pppd/plugins/passprompt.so - dolib.so pppd/plugins/rp-pppoe/rp-pppoe.so - dodir /usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - mv ${D}/usr/lib/*.so ${D}/usr/lib/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - insinto /etc/modules.d - insopts -m0644 - newins ${FILESDIR}/modules.ppp ppp - - dodoc PLUGINS README* SETUP Changes-2.3 FAQ - dohtml ${FILESDIR}/pppoe.html - -# This has nothing to do with net.ppp0 now as net.ppp0 calls pppd -# from the command line with the parameters. - #New scripts acquired from cvs (cvs.samba.org) - #Changed $PATH back - dosbin ${FILESDIR}/pon - dosbin ${FILESDIR}/poff - dosbin ${FILESDIR}/plog - doman ${FILESDIR}/pon.1 - - #Adding misc. specialized scripts to doc dir - dodir /usr/share/doc/${PF}/scripts - dodir /usr/share/doc/${PF}/scripts/chatchat - insinto /usr/share/doc/${PF}/scripts/chatchat - doins scripts/chatchat/* - insinto /usr/share/doc/${PF}/scripts - doins scripts/* -} - - -pkg_postinst() { - if [ ! -e ${ROOT}dev/.devfsd ] - then - if [ ! -e ${ROOT}dev/ppp ]; then - mknod ${ROOT}dev/ppp c 108 0 - fi - fi - if [ "$ROOT" = "/" ] - then - /sbin/update-modules - fi - ewarn "To enable kernel-pppoe read html/pppoe.html in the doc-directory." - ewarn "Pon, poff and plog scripts have been supplied for experienced users." - ewarn "New users or those requiring something more should have a look at" - ewarn "the /etc/init.d/net.ppp0 script." - ewarn "Users needing particular scripts (ssh,rsh,etc.)should check out the" - ewarn "/usr/share/doc/ppp*/scripts directory." -} - -pkg_preinst() { - # Fix those broken flags (755 -> 644) - # This is needed for updates from ppp-2.4.1-r11 to ppp-2.4.1-r12 - if [ -e ${ROOT}/etc/modules.d/ppp ] ; then - FLAGS="`stat -c %a /etc/modules.d/ppp`" - echo ${FLAGS} - if [ ${FLAGS} == "755" ] ; then - chmod 644 ${ROOT}/etc/modules.d/ppp - fi - fi -} |