diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-21 19:08:12 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-21 19:08:12 +0000 |
commit | e36d4d90588582891a7ddcb058a3bc4dab387fe4 (patch) | |
tree | 1658c1b3ab1c962c5269ca8ac2ae7e4b39446c28 /net-dialup/rp-pppoe | |
parent | stable (diff) | |
download | gentoo-2-e36d4d90588582891a7ddcb058a3bc4dab387fe4.tar.gz gentoo-2-e36d4d90588582891a7ddcb058a3bc4dab387fe4.tar.bz2 gentoo-2-e36d4d90588582891a7ddcb058a3bc4dab387fe4.zip |
beautify ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup/rp-pppoe')
-rw-r--r-- | net-dialup/rp-pppoe/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild | 8 |
2 files changed, 5 insertions, 15 deletions
diff --git a/net-dialup/rp-pppoe/Manifest b/net-dialup/rp-pppoe/Manifest index 8080282cb282..295d9664d568 100644 --- a/net-dialup/rp-pppoe/Manifest +++ b/net-dialup/rp-pppoe/Manifest @@ -1,7 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 def84497e4fe58e6b8849fd8713678cf rp-pppoe-3.5-r9.ebuild 2510 +MD5 f94241918c6e83153b34b41c258cd65a rp-pppoe-3.5-r9.ebuild 2519 MD5 dddb3c9e661899c77f8bef536dd5c405 ChangeLog 7916 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 3ec97394e888b357e2c6020b3ab0155c files/rp-pppoe-3.5-dsa-557.patch 5581 @@ -10,10 +7,3 @@ MD5 d455684124113e2349a9c674b55b493e files/digest-rp-pppoe-3.5-r9 125 MD5 f66e15d135a92d90d6a2d38cfad34dea files/rp-pppoe-3.5-connect-on-demand.patch 616 MD5 fdf0ced4a2cd6da4033a1ea9baf94a84 files/rp-pppoe-3.5-username-charset.patch 1951 MD5 966f79051cec3049cc3abb79ca6d3ab1 files/rp-pppoe.rc 498 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCYZ97jiC39V7gKu0RArLgAJ9YSl7oneo3/wOVPdIP/zsxvfkcIgCgk58A -692hpyUjsxQzCuokXrVud4g= -=xXIB ------END PGP SIGNATURE----- diff --git a/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild b/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild index 3eedeb661344..bedf909d0f38 100644 --- a/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild +++ b/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild,v 1.2 2005/04/16 23:27:43 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/rp-pppoe/rp-pppoe-3.5-r9.ebuild,v 1.3 2005/04/21 19:08:12 mrness Exp $ inherit eutils @@ -60,9 +60,9 @@ src_install () { #Don't use compiled rp-pppoe plugin; use it from the current version of pppd rm ${D}/etc/ppp/plugins/rp-pppoe.so local PPPD_VER=`best_version net-dialup/ppp` - PPPD_VER=${PPPD_VER:15} #reduce it to ${PV}-${PR} - PPPD_VER=${PPPD_VER/-*/} #reduce it to ${PV} - if [ -n "${PPPD_VER}" ] && [ -f /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so ] ; then + PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%-*} #reduce it to ${PV} + if [ -n "${PPPD_VER}" ] && [ -f ${ROOT}/usr/lib/pppd/${PPPD_VER}/rp-pppoe.so ] ; then dosym /usr/lib/pppd/${PPPD_VER}/rp-pppoe.so /etc/ppp/plugins/rp-pppoe.so fi |