Remove references to $ROOT from src_install (#168039).
authorAlin Năstac <mrness@gentoo.org>
Sat, 10 Mar 2007 14:14:48 +0000 (14:14 +0000)
committerAlin Năstac <mrness@gentoo.org>
Sat, 10 Mar 2007 14:14:48 +0000 (14:14 +0000)
Package-Manager: portage-2.1.2.2

net-dialup/ltmodem/ChangeLog
net-dialup/ltmodem/Manifest
net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild

index 56b415375f699bbb40f83f407b2d0f10f16e0703..94b380c33c01b975ab34fd72c3b6db76f061291c 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for net-dialup/ltmodem
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.31 2007/02/25 09:15:59 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.32 2007/03/10 14:14:48 mrness Exp $
+
+  10 Mar 2007; Alin Năstac <mrness@gentoo.org>
+  ltmodem-8.31_alpha10-r3.ebuild:
+  Remove references to $ROOT from src_install (#168039).
 
   25 Feb 2007; <genstef@gentoo.org> ltmodem-8.31_alpha10-r3.ebuild:
   use KV_DIR only after linux-mod_pkg_setup, bug 168051
index 78a141d78837adf86e314d14ed236cae3b383e0e..2fd974f071bb21e838d2d0fd50f858ca43fa0d92 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX ltmodem-2.6-alk-8-kernel-changes.patch 1504 RMD160 716b2341797addd64b35d830bc5446bb713bdecb SHA1 aaf528879b354d6ccc25462a2552ed109edd0703 SHA256 5423108f68bd71376b8feacb5a50f0056b5166575adb849dc8526ce4d651b4ca
 MD5 f7f23c67a757680a984bc0a79ab0ad94 files/ltmodem-2.6-alk-8-kernel-changes.patch 1504
 RMD160 716b2341797addd64b35d830bc5446bb713bdecb files/ltmodem-2.6-alk-8-kernel-changes.patch 1504
@@ -12,14 +15,14 @@ RMD160 77fcc7ad359f1a80c63b8d3dbdd2a65c7375fb2b files/ltmodem_udev 183
 SHA256 af14018c5c6e9fc6dcb87ef1abf737296354b8fb5cd59d773d723e3d46b9963c files/ltmodem_udev 183
 DIST ltmodem-2.6-alk-8.tar.bz2 436392 RMD160 20a1c41ea5cf836895ae6e2e43acacf45716e0aa SHA1 f150e3065584bf5b2aa913c433dc7efcd0a9dd2e SHA256 262c407471ccaafb7a6b0e7a3df41e37b1d1e6cdf34bd0e1567aac102cf277b6
 DIST ltmodem-8.31a10.tar.gz 580518 RMD160 0dfc43b700a3d806ed0d29e2d3470cc4679a2bb4 SHA1 c93437879f603b9922e882b309f365f3863f746b SHA256 877c10fb668e92d86cdc4eaf0d675047edbfb0654d74b092189a936212f62b10
-EBUILD ltmodem-8.31_alpha10-r3.ebuild 3896 RMD160 160530fce71673253ec1be3106d08a9472affd80 SHA1 8468f93d7e11edf8f4f298f9f6bd0d829a0f9d40 SHA256 e6afe93f8bc02e3529f453ea0a27f66408a564b0494c568d9d30f0dd6e757979
-MD5 7e902f9782d1e7085a976cb05c34478b ltmodem-8.31_alpha10-r3.ebuild 3896
-RMD160 160530fce71673253ec1be3106d08a9472affd80 ltmodem-8.31_alpha10-r3.ebuild 3896
-SHA256 e6afe93f8bc02e3529f453ea0a27f66408a564b0494c568d9d30f0dd6e757979 ltmodem-8.31_alpha10-r3.ebuild 3896
-MISC ChangeLog 4873 RMD160 0c4a5e7a27509a9d14f6b8eb257c4282f49664bb SHA1 ccedf744fb6804aacc420aaa0b267b55dbe023b8 SHA256 7907032860614103831e4fd699e7359cfdd73b4cdf349880a8dc944448948c24
-MD5 3a782d6113217ffa636bae5e9b1a2605 ChangeLog 4873
-RMD160 0c4a5e7a27509a9d14f6b8eb257c4282f49664bb ChangeLog 4873
-SHA256 7907032860614103831e4fd699e7359cfdd73b4cdf349880a8dc944448948c24 ChangeLog 4873
+EBUILD ltmodem-8.31_alpha10-r3.ebuild 3985 RMD160 310096b1a2b114c09529f70cbda0373a3e487320 SHA1 82bcf34d7f0ba5174f3ff8ebe09d0976c02d5ab9 SHA256 77f2bce4f74869ed5c9c36993f4cf12d82a31d354a45807ebbb531cbc87a47ed
+MD5 cd1f8e005f0fe02a80493face8d6da1a ltmodem-8.31_alpha10-r3.ebuild 3985
+RMD160 310096b1a2b114c09529f70cbda0373a3e487320 ltmodem-8.31_alpha10-r3.ebuild 3985
+SHA256 77f2bce4f74869ed5c9c36993f4cf12d82a31d354a45807ebbb531cbc87a47ed ltmodem-8.31_alpha10-r3.ebuild 3985
+MISC ChangeLog 5012 RMD160 19b21e5443c26549faf8e3eed23fdd93eb08d73a SHA1 e43a6cdab47ea08b7f8335120befc2c3b588698a SHA256 55320d575a78eb578739ec9abb4fa796423eefcdd3ec41d3afb2136e0f038cd5
+MD5 b6222ac8a4b405539398f66ad7c5b338 ChangeLog 5012
+RMD160 19b21e5443c26549faf8e3eed23fdd93eb08d73a ChangeLog 5012
+SHA256 55320d575a78eb578739ec9abb4fa796423eefcdd3ec41d3afb2136e0f038cd5 ChangeLog 5012
 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e metadata.xml 163
@@ -27,3 +30,10 @@ SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 metadata
 MD5 953aea535f384008e6f92495cb13459d files/digest-ltmodem-8.31_alpha10-r3 503
 RMD160 5d46418bd85de3e040a27b24137321834499df54 files/digest-ltmodem-8.31_alpha10-r3 503
 SHA256 0047612953a721ec98fdafbbdcc15e4ddc34fe0e84085f001430219b0da705a6 files/digest-ltmodem-8.31_alpha10-r3 503
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFF8r1jJnxX6mF440QRAmTmAJ4/8cXBR60MhGFD8DxWCbB82hTergCgycus
+AlLrAaQvGmst+aeFr3X7yWI=
+=0LOU
+-----END PGP SIGNATURE-----
index 27589675d4c52a131947b21647c6d2dde484d23d..085d95c145026b90b341c71ef0d2386e66453119 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.3 2007/02/25 09:15:59 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.4 2007/03/10 14:14:48 mrness Exp $
 
 inherit linux-mod eutils
 
@@ -82,11 +82,8 @@ src_install() {
        dosbin utils/lt_*
 
        # Add configuration for devfs, udev
-       if [ -e "${ROOT}/dev/.devfsd" ] ; then
-               insinto /etc/devfs.d/; newins "${FILESDIR}/ltmodem_devfs" ltmodem
-       elif [ -e "${ROOT}/dev/.udev" ] ; then
-               insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules
-       fi
+       insinto /etc/devfs.d/; newins "${FILESDIR}/ltmodem_devfs" ltmodem
+       insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules
 
        # install kernel module
        if kernel_is 2 4; then
@@ -97,6 +94,15 @@ src_install() {
        fi
 }
 
+pkg_preinst() {
+       linux-mod_pkg_preinst
+
+       # Remove obsolete devfs configuration files if the box use udev
+       if [ -e "${ROOT}/dev/.udev" ]; then
+               rm -r "${D}/etc/devfs.d"
+       fi
+}
+
 pkg_postinst() {
        linux-mod_pkg_postinst