diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-12-12 19:14:21 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-12-12 19:14:21 +0000 |
commit | ecfd539db8757840f002c6bc7bbb2fba53181b8a (patch) | |
tree | aba52e376881603c2f33e1db00f94acfde6ae673 /net-dialup | |
parent | Fixed DEPEND to specify packages currently in portage; fixed leading whitespa... (diff) | |
download | gentoo-2-ecfd539db8757840f002c6bc7bbb2fba53181b8a.tar.gz gentoo-2-ecfd539db8757840f002c6bc7bbb2fba53181b8a.tar.bz2 gentoo-2-ecfd539db8757840f002c6bc7bbb2fba53181b8a.zip |
move firmware files to /lib/firmware
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/fcdsl/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/fcdsl/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild (renamed from net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild) | 36 | ||||
-rw-r--r-- | net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 (renamed from net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r1) | 0 |
4 files changed, 35 insertions, 22 deletions
diff --git a/net-dialup/fcdsl/ChangeLog b/net-dialup/fcdsl/ChangeLog index d2e3a710f6bf..4a157c5c9211 100644 --- a/net-dialup/fcdsl/ChangeLog +++ b/net-dialup/fcdsl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dialup/fcdsl # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.5 2004/11/22 18:20:17 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.6 2004/12/12 19:14:21 mrness Exp $ + +*fcdsl-2.6.20.7-r2 (12 Dec 2004) + + 12 Dec 2004; Alin Nastac <mrness@gentoo.org> -fcdsl-2.6.20.7-r1.ebuild, + +fcdsl-2.6.20.7-r2.ebuild: + Move firmware files to /lib/firmware, the new FHS standard location for + firmware files. 22 Nov 2004; Alin Nastac <mrness@gentoo.org> fcdsl-2.6.20.7-r1.ebuild: Add support for env variable FCDSL_CARDS. If is non-empty, only these modules diff --git a/net-dialup/fcdsl/Manifest b/net-dialup/fcdsl/Manifest index 3b8653353a42..cec448cfcc19 100644 --- a/net-dialup/fcdsl/Manifest +++ b/net-dialup/fcdsl/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 022a9aa4339d4899491bb1c1e6a692fc ChangeLog 1136 MD5 7e441fe8845d85e66f3cf257959d2572 fcdsl-2.6.20.7.ebuild 7203 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 c845dade301e078af7def1b2339950b1 fcdsl-2.6.20.7-r1.ebuild 7451 +MD5 146ee206c1e19c2ccd74d3cb078b6979 fcdsl-2.6.20.7-r2.ebuild 7457 MD5 364100988c059984dab986c49888df6f files/digest-fcdsl-2.6.20.7 72 MD5 364100988c059984dab986c49888df6f files/digest-fcdsl-2.6.20.7-r1 72 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFBoi3yjtv59x0+BrURAsWHAKCykeuuxcLhBvjgRY+HVAeYsaT0vgCg0wUv -bd6ChtnlTkAoT+mh8Cw/4Y0= -=haeL ------END PGP SIGNATURE----- +MD5 364100988c059984dab986c49888df6f files/digest-fcdsl-2.6.20.7-r2 72 diff --git a/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild b/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild index c277b22aad80..0835cd82445d 100644 --- a/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild +++ b/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r1.ebuild,v 1.6 2004/11/22 18:20:17 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild,v 1.1 2004/12/12 19:14:21 mrness Exp $ inherit kernel-mod rpm eutils @@ -94,14 +94,26 @@ pkg_setup() { kernel-mod_check_modules_supported #Check existence of user selected cards - for USERCARD in ${FCDSL_CARDS} ; do - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - if [ "$USERCARD" = "${FCDSL_MODULES[CARD]}" ]; then - continue 2 - fi + if [ -n "${FCDSL_CARDS}" ] ; then + for USERCARD in ${FCDSL_CARDS} ; do + for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do + if [ "$USERCARD" = "${FCDSL_MODULES[CARD]}" ]; then + continue 2 + fi + done + die "Card ${USERCARD} not present in ${P}" done - die "Card ${USERCARD} not present in ${P}" - done + else + einfo + einfo "You can control the modules which are built with the variable" + einfo "FCDSL_CARDS which should contain a blank separated list" + einfo "of a selection from the following cards:" + einfo " ${FCDSL_MODULES[*]}" + einfo + ewarn "I give you the chance of hitting Ctrl-C and make the necessary" + ewarn "adjustments in /etc/make.conf." + ebeep + fi } src_compile() { @@ -136,11 +148,14 @@ src_install() { doins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src/${FCDSL_MODULES[CARD]}.ko insinto /lib/firmware - newins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/${FCDSL_FIRMWARES[CARD]} ${PN}_${FCDSL_FIRMWARES[CARD]} - dosym /lib/firmware/${PN}_${FCDSL_FIRMWARES[CARD]} /usr/lib/isdn/${FCDSL_FIRMWARES[CARD]} + doins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/${FCDSL_FIRMWARES[CARD]} fi done + #Compatibility with <=net-dialup/isdn4k-utils-20041006-r3. + #Please remove it when it becomes obsolete + dosym firmware /lib/isdn + insinto /etc/drdsl doins ${S}/drdsl.ini @@ -149,7 +164,6 @@ src_install() { dodoc ${S}/CAPI* ${S}/compile* ${S}/license.txt ${S}/release.txt dohtml install_passive-*.html - } pkg_postinst() { diff --git a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r1 b/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 index 531d29dea75a..531d29dea75a 100644 --- a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r1 +++ b/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 |