diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-02-12 20:23:50 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-02-12 20:23:50 +0000 |
commit | adc631c0b8cd9db78cfb3edcf58e0a47bb59a8ee (patch) | |
tree | 5884967495d134ce8c54806d36f69f50535952c2 /net-dialup | |
parent | Re: Bug #40260; add warning to ebuild if both USE=postgres and mysql are set (diff) | |
download | historical-adc631c0b8cd9db78cfb3edcf58e0a47bb59a8ee.tar.gz historical-adc631c0b8cd9db78cfb3edcf58e0a47bb59a8ee.tar.bz2 historical-adc631c0b8cd9db78cfb3edcf58e0a47bb59a8ee.zip |
version bump
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ppp/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/ppp/Manifest | 25 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.2 | 1 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.2.ebuild | 143 |
4 files changed, 170 insertions, 6 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog index 0eb3bdb3a800..0745d76f6725 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/ppp # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.46 2004/01/18 00:42:38 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.47 2004/02/12 20:23:48 lanius Exp $ + +*ppp-2.4.2 (12 Feb 2004) + + 12 Feb 2004; Heinrich Wendel <lanius@gentoo.org> ppp-2.4.2.ebuild: + version bump 18 Jan 2004; Heinrich Wendel <lanius@gentoo.org> ppp-2.4.2_beta3-r1.ebuild: enable radius diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest index 76cfd351530a..5f36fea8e8cd 100644 --- a/net-dialup/ppp/Manifest +++ b/net-dialup/ppp/Manifest @@ -1,23 +1,41 @@ MD5 51457a2491f5e903b350d582b49f7c51 ppp-2.4.2_beta3-r1.ebuild 3877 +MD5 7226a185b85b8dd36ce1eefb89ec2505 ppp-2.4.1-r14.ebuild 4617 +MD5 ab3f56fd5725577885c00bb7f3a155bc ppp-2.4.2.ebuild 3764 +MD5 4c77bb4e8ad8acba9e1c776cedb108c5 ChangeLog 8348 +MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 4e62cdeb360ca0a22becbd2deb6f2dac files/pon 957 MD5 86cdaf133f7a79fb464f02d83afc7734 files/plog 146 MD5 05b7394b35a2342033b52134568bf6b8 files/poff 2723 -MD5 5f6f3203688bc5a2eceef8301f482c9f files/chat-default 344 +MD5 03eb44456283c43760269a92083946d3 files/chat-default 345 MD5 824964465508977f9d0836f029d6b02f files/ppp-2.4.1-openssl-0.9.6-mppe-patch.gz 36112 MD5 47bae70427ec4cb3ea1cc87ae799d0e3 files/gcc33-amd64.patch 1207 MD5 c74b7e519f593babcfc3821832d72819 files/ip-up 282 MD5 44cc662ba9aa61dd9add3ddd4c5ded57 files/pon.1 3607 MD5 feb6723fa9b971cb443cff79693db0cd files/ppp-crypto-fix.patch.bz2 35770 -MD5 271b9ea36d7e7c5c6587036927d604e6 files/confd.ppp0 3309 +MD5 208e12ddd9a3e4c4ac470e9c4d7d7144 files/confd.ppp0 3310 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 8d2dfaf7418945cb19864167542b14c0 files/digest-ppp-2.4.2 61 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 MD5 0713ffc9ae6e3ee4ef0f5c3cb752b3ea files/ip-down 285 MD5 f0ad3e0c62aec1771536caf00e28b9c6 files/pppoe.html 7605 +MD5 2890b47660f967a07ac5b211850e46c5 files/2.4.2/options-pptp 238 +MD5 7004513b8b14aad3e2f598535e672af4 files/2.4.2/chat-default 351 +MD5 aade0f158628e38b74a080bd40222bc3 files/2.4.2/ip-up 1055 +MD5 2f3cb68239518190078d5830de5e1398 files/2.4.2/killaddr-smarter.patch 6106 +MD5 12500a756925e9d8f4b2b655e95a2541 files/2.4.2/confd.ppp0 2784 +MD5 fa2a5b8df496922fa2fb592115953b6b files/2.4.2/options-pppoe 53 +MD5 561a149f78198208724ab4527837eb8c files/2.4.2/mpls.patch 10470 +MD5 acb0f867e42e9a380eaf8e1c312ad63b files/2.4.2/net.ppp0 4343 +MD5 1fd88dda7f4996799c69a9501d42cc23 files/2.4.2/README.mpls 530 +MD5 5d83af7b897082a0b1ecd70a2cc2a0c7 files/2.4.2/modules.ppp 268 +MD5 09fcad33830cb2af02446902cf6883c6 files/2.4.2/ip-down 801 +MD5 f0ad3e0c62aec1771536caf00e28b9c6 files/2.4.2/pppoe.html 7605 +MD5 bc88eaf56862e5ebf8f45ec5ada4bb90 files/2.4.2/cflags.patch 1857 MD5 2890b47660f967a07ac5b211850e46c5 files/2.4.2b3/options-pptp 238 MD5 7004513b8b14aad3e2f598535e672af4 files/2.4.2b3/chat-default 351 MD5 7fd76d97cb9a07a6b23b3ab7a0c5cc2c files/2.4.2b3/ip-up 1168 @@ -31,6 +49,3 @@ MD5 5d83af7b897082a0b1ecd70a2cc2a0c7 files/2.4.2b3/modules.ppp 268 MD5 cb8bde7fab636f046c94e7aa52234ef2 files/2.4.2b3/ip-down 914 MD5 f0ad3e0c62aec1771536caf00e28b9c6 files/2.4.2b3/pppoe.html 7605 MD5 0e16e7bb8ae71505e719fe5471bd2097 files/2.4.2b3/cflags.patch 3403 -MD5 7226a185b85b8dd36ce1eefb89ec2505 ppp-2.4.1-r14.ebuild 4617 -MD5 cabf1778c1d6e6a55f25ac9f26d3d808 ChangeLog 8237 -MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.2 b/net-dialup/ppp/files/digest-ppp-2.4.2 new file mode 100644 index 000000000000..105b43c0d08b --- /dev/null +++ b/net-dialup/ppp/files/digest-ppp-2.4.2 @@ -0,0 +1 @@ +MD5 362bcf218fba8afbb9afbee7471e5dac ppp-2.4.2.tar.gz 774441 diff --git a/net-dialup/ppp/ppp-2.4.2.ebuild b/net-dialup/ppp/ppp-2.4.2.ebuild new file mode 100644 index 000000000000..bbb25ea63e26 --- /dev/null +++ b/net-dialup/ppp/ppp-2.4.2.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2004 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.ebuild,v 1.1 2004/02/12 20:23:48 lanius Exp $ + +DESCRIPTION="Point-to-point protocol - patched for pppoe" +HOMEPAGE="http://www.samba.org/ppp" +SRC_URI="ftp://ftp.samba.org/pub/ppp/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~hppa -amd64 ~ia64" +IUSE="ipv6 activefilter pam" + +DEPEND="virtual/glibc + activefilter? ( net-libs/libpcap )" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${PV}/mpls.patch + epatch ${FILESDIR}/${PV}/killaddr-smarter.patch + epatch ${FILESDIR}/${PV}/cflags.patch + + use activefilter && { + einfo "Enabling active-filter" + sed -i -e "s/^#FILTER=y/FILTER=y/" pppd/Makefile.linux + } + + use pam && { + einfo "Enabling PAM" + sed -i -e "s/^#USE_PAM=y/USE_PAM=y/" pppd/Makefile.linux + } + + use ipv6 && { + einfo "Enabling IPv6" + sed -i -e "s/#HAVE_INET6/HAVE_INET6/" pppd/Makefile.linux + } + + einfo "Enabling CBCP" + sed -i 's/^#CBCP=y/CBCP=y/' pppd/Makefile.linux + + einfo "Enabling radius" + sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe radius/' pppd/plugins/Makefile.linux +} + +src_compile() { + # compile radius better than their makefile does + (cd pppd/plugins/radius/radiusclient; econf; emake) || die + + ./configure --prefix=/usr || die + emake COPTS="${CFLAGS}" || 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}/${PV}/options-pptp + doins ${FILESDIR}/${PV}/options-pppoe + doins ${FILESDIR}/${PV}/chat-default + + insopts -m0755 + doins ${FILESDIR}/${PV}/ip-up + doins ${FILESDIR}/${PV}/ip-down + + exeinto /etc/init.d/ + doexe ${FILESDIR}/${PV}/net.ppp0 + + insinto /etc/conf.d + insopts -m0600 + newins ${FILESDIR}/${PV}/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}/${PV}/modules.ppp ppp + + dodoc PLUGINS README* SETUP Changes-2.3 FAQ + dodoc ${FILESDIR}/${PV}/README.mpls + dohtml ${FILESDIR}/${PV}/pppoe.html + + dosbin scripts/pon + dosbin scripts/poff + dosbin scripts/plog + doman scripts/pon.1 + + # Adding misc. specialized scripts to doc dir + 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/* + + # install radius + cd pppd/plugins/radius + dolib.so radius.so + dolib.so radattr.so + dolib.so radrealms.so + doman pppd-radius.8 + doman pppd-radattr.8 + cd radiusclient + make DESTDIR=${D} install || die +} + +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 "Note: the library name has changed from pppoe.so to rp-pppoe.so." + 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." + + # lib name has changed + sed -i -e "s:^pppoe.so:rp-pppoe.so:" ${ROOT}etc/ppp/options +} |