summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-09-04 15:50:36 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-09-04 15:50:36 +0000
commit1483368abf736f91df26bb31b9947fb0495591fb (patch)
treea3c39777f2bd7baa9d34bb819cfd68aec907e22f /sys-apps
parentFixing HAL initscript. Removing oldness and some cleaning. (diff)
downloadhistorical-1483368abf736f91df26bb31b9947fb0495591fb.tar.gz
historical-1483368abf736f91df26bb31b9947fb0495591fb.tar.bz2
historical-1483368abf736f91df26bb31b9947fb0495591fb.zip
Fixing HAL initscript. Removing oldness and some cleaning.
Package-Manager: portage-2.1.1_rc1-r2
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/hal/Manifest75
-rw-r--r--sys-apps/hal/files/digest-hal-0.4.7-r21
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.73
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.7-r13
-rw-r--r--sys-apps/hal/files/digest-hal-0.5.7-r23
-rw-r--r--sys-apps/hal/files/hal-0.4.7-device_info_leak.patch91
-rw-r--r--sys-apps/hal/files/hal-0.4.7-dont_add_device_twice-r1.patch14
-rw-r--r--sys-apps/hal/files/hal-0.5.5.1-RBC.patch18
-rw-r--r--sys-apps/hal/files/hal-0.5.7-drop-privs.patch12
-rw-r--r--sys-apps/hal/files/hal-0.5.7-unclean-unmount.patch9
-rw-r--r--sys-apps/hal/hal-0.4.7-r2.ebuild133
-rw-r--r--sys-apps/hal/hal-0.5.7-r1.ebuild178
-rw-r--r--sys-apps/hal/hal-0.5.7-r2.ebuild184
-rw-r--r--sys-apps/hal/hal-0.5.7.ebuild170
14 files changed, 18 insertions, 876 deletions
diff --git a/sys-apps/hal/Manifest b/sys-apps/hal/Manifest
index d9a0509cafd7..3aa72d0fb597 100644
--- a/sys-apps/hal/Manifest
+++ b/sys-apps/hal/Manifest
@@ -1,7 +1,10 @@
-AUX 0.5-hald.rc 683 RMD160 c19c3fe7d9aa3f3112b48a84c272a55cff2e00cc SHA1 707b3ec152e612a3927c64ad56a1e4d5cbb41e02 SHA256 3a899d79ed543966a3012e06ecbe19e52181559ef7022bad133aed7bfac7951d
-MD5 904eb4a6e3333b8bb3c098b9c84702d9 files/0.5-hald.rc 683
-RMD160 c19c3fe7d9aa3f3112b48a84c272a55cff2e00cc files/0.5-hald.rc 683
-SHA256 3a899d79ed543966a3012e06ecbe19e52181559ef7022bad133aed7bfac7951d files/0.5-hald.rc 683
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.5-hald.rc 681 RMD160 f94d4a6e4ffb3beb84eeeb8e25564fa566ecc493 SHA1 fe413a84ee58cefa923cbc922a1c961fbdb17aa6 SHA256 802f83998c50a3e030d1db2f5a8364e4bb10eebecd464683445d63cf56702161
+MD5 facf81eeca7ebddff5d030acb36de31d files/0.5-hald.rc 681
+RMD160 f94d4a6e4ffb3beb84eeeb8e25564fa566ecc493 files/0.5-hald.rc 681
+SHA256 802f83998c50a3e030d1db2f5a8364e4bb10eebecd464683445d63cf56702161 files/0.5-hald.rc 681
AUX hal-0.4.1-old_storage_policy.patch 1216 RMD160 8ae241d65add4c759b7a5d43924319eafa4acdf7 SHA1 b597e9dade1ac7129ee2ebb15f0adf875e2d92b0 SHA256 b4bfb81a7017fd56d05230ba87d935cc30d0482f7158fe04e93a513872bc8696
MD5 a0ce1c268e0b7d0967ec7b8e0d0d26d2 files/hal-0.4.1-old_storage_policy.patch 1216
RMD160 8ae241d65add4c759b7a5d43924319eafa4acdf7 files/hal-0.4.1-old_storage_policy.patch 1216
@@ -10,14 +13,6 @@ AUX hal-0.4.5-gentoo_gphoto2_usermap.patch 817 RMD160 3efc606609b25fbf70ed93db26
MD5 b0e12a62ce698e1eb2a32139498330cd files/hal-0.4.5-gentoo_gphoto2_usermap.patch 817
RMD160 3efc606609b25fbf70ed93db269894cf9453f56a files/hal-0.4.5-gentoo_gphoto2_usermap.patch 817
SHA256 39161619fe42a1bc23aaf6b3d3bda6f9027ad650dd56691db22c08d3d3601fdd files/hal-0.4.5-gentoo_gphoto2_usermap.patch 817
-AUX hal-0.4.7-device_info_leak.patch 2203 RMD160 ce44e6920aaa4b77d37615296015314ba3cd078f SHA1 684c723ca713dbf03573b9373184d1b25986b0ed SHA256 ba6ab8b7b0dc1f55a81434419b54ad40d998da33c0025ae94899fedeef94f782
-MD5 c1624c9456f164c1b611e3ab22fb105d files/hal-0.4.7-device_info_leak.patch 2203
-RMD160 ce44e6920aaa4b77d37615296015314ba3cd078f files/hal-0.4.7-device_info_leak.patch 2203
-SHA256 ba6ab8b7b0dc1f55a81434419b54ad40d998da33c0025ae94899fedeef94f782 files/hal-0.4.7-device_info_leak.patch 2203
-AUX hal-0.4.7-dont_add_device_twice-r1.patch 691 RMD160 4d31c5615e469004ebab1548d7decb1bb91b22e7 SHA1 a99c2af8635ba582d8e141b481e219197697a976 SHA256 0b35361c4e8ce3e0a0eab8f61641c01f676fdaa9869ff1d42a84d2f065f251bb
-MD5 64253ef1f2dcf68b2d82429026280085 files/hal-0.4.7-dont_add_device_twice-r1.patch 691
-RMD160 4d31c5615e469004ebab1548d7decb1bb91b22e7 files/hal-0.4.7-dont_add_device_twice-r1.patch 691
-SHA256 0b35361c4e8ce3e0a0eab8f61641c01f676fdaa9869ff1d42a84d2f065f251bb files/hal-0.4.7-dont_add_device_twice-r1.patch 691
AUX hal-0.4.7-sys_floppy_detection.patch 784 RMD160 d12f8bbdb3f434bbf0daaa70a5d9fc2e984a51e9 SHA1 c3c910a91e86e0b4973d3e111d0a7346ca48c53d SHA256 374bd84b56a86d0f7718aecd2d80986d34dfa87859f96957d6310384d4c5a2bd
MD5 04b0aabf9ea7f7667e54bc6d5b8fe733 files/hal-0.4.7-sys_floppy_detection.patch 784
RMD160 d12f8bbdb3f434bbf0daaa70a5d9fc2e984a51e9 files/hal-0.4.7-sys_floppy_detection.patch 784
@@ -34,14 +29,6 @@ AUX hal-0.5.1-old_storage_policy.patch 856 RMD160 d73708510cbfebc897fe20070e3c69
MD5 25cb64ec27a48a80126b6de5ff6c3340 files/hal-0.5.1-old_storage_policy.patch 856
RMD160 d73708510cbfebc897fe20070e3c6997559f8296 files/hal-0.5.1-old_storage_policy.patch 856
SHA256 6ea5cd467e1b7b34308c9ecc0eaf2442a3272b7c02ef75d7c0af16566e523cc2 files/hal-0.5.1-old_storage_policy.patch 856
-AUX hal-0.5.5.1-RBC.patch 660 RMD160 36368684295dcfa4809ba0fe7b6a2575d2091e1e SHA1 a845a7a324c9b9069b8a4c366d3f7e800200c2cf SHA256 6e0b71024bc857e72ce694282f098e3d5fb17b7a2dec579193878f0812360799
-MD5 54eaacd46e87bd8025da51f2f9aaf56b files/hal-0.5.5.1-RBC.patch 660
-RMD160 36368684295dcfa4809ba0fe7b6a2575d2091e1e files/hal-0.5.5.1-RBC.patch 660
-SHA256 6e0b71024bc857e72ce694282f098e3d5fb17b7a2dec579193878f0812360799 files/hal-0.5.5.1-RBC.patch 660
-AUX hal-0.5.7-drop-privs.patch 511 RMD160 e97295947126263b192dfa7069098f93c8057431 SHA1 5c4f766364e09dca2fc29e845a8558ac66e044cb SHA256 74d92b01f9fc86c11e9b1ed1b24d85921149d0d1c885ac661b91939e0c0fc7ef
-MD5 a0d9ed0437f487a2d2363a12ee167ed0 files/hal-0.5.7-drop-privs.patch 511
-RMD160 e97295947126263b192dfa7069098f93c8057431 files/hal-0.5.7-drop-privs.patch 511
-SHA256 74d92b01f9fc86c11e9b1ed1b24d85921149d0d1c885ac661b91939e0c0fc7ef files/hal-0.5.7-drop-privs.patch 511
AUX hal-0.5.7-hald-scripts.patch 8636 RMD160 339765377e3573b382df987903f301860601668f SHA1 c2ffb779f423e07b38f12a852d942928394abc63 SHA256 d0b713f84c7bc782ba7b13f439630a995588097db2141f4a97c110036f64001a
MD5 521a06ba0845bd3246d6ed4b589f110f files/hal-0.5.7-hald-scripts.patch 8636
RMD160 339765377e3573b382df987903f301860601668f files/hal-0.5.7-hald-scripts.patch 8636
@@ -78,10 +65,6 @@ AUX hal-0.5.7-unclean-unmount-r1.patch 342 RMD160 768f6274dab1be8c535d681d7f61a0
MD5 3e44b8f198ffe5c5d1a6d7915d9d3399 files/hal-0.5.7-unclean-unmount-r1.patch 342
RMD160 768f6274dab1be8c535d681d7f61a0544bb7c26d files/hal-0.5.7-unclean-unmount-r1.patch 342
SHA256 2036e0e0e46edf347982a20e9ffeb8b7dc7added85a8ef9f23083c225709eca3 files/hal-0.5.7-unclean-unmount-r1.patch 342
-AUX hal-0.5.7-unclean-unmount.patch 357 RMD160 e4f33aa6578ca3bd53d7973d99f897db4ac2216e SHA1 dcd2ac4810e07f8d091b39728a45af6b87b149a6 SHA256 b273a7d44dfcb115572b8699151281b65b8e0753440be98f9b1b1366594796ef
-MD5 45d5017936175880db3c0a9740818275 files/hal-0.5.7-unclean-unmount.patch 357
-RMD160 e4f33aa6578ca3bd53d7973d99f897db4ac2216e files/hal-0.5.7-unclean-unmount.patch 357
-SHA256 b273a7d44dfcb115572b8699151281b65b8e0753440be98f9b1b1366594796ef files/hal-0.5.7-unclean-unmount.patch 357
AUX hal-0.5.7.1-dbus-close.patch 859 RMD160 942829e237154e6612d806d9f3af0d393582f418 SHA1 a190efb43c22dbe7aa3363f3b0fb5e93497bb2da SHA256 7739541fde66bcfcb6bbeb2d5e66976e856ea066aed34c847b38539a2c42b183
MD5 1fa646b45e845031f09515731dba40c7 files/hal-0.5.7.1-dbus-close.patch 859
RMD160 942829e237154e6612d806d9f3af0d393582f418 files/hal-0.5.7.1-dbus-close.patch 859
@@ -94,15 +77,10 @@ AUX hald 522 RMD160 3d15723862416de29b6e2d18c53aec05b05216c3 SHA1 81d0023ef24079
MD5 35750516d24e67c9f24f5f1e0da22ca0 files/hald 522
RMD160 3d15723862416de29b6e2d18c53aec05b05216c3 files/hald 522
SHA256 92f584b631026307485faa9ba386353b6d833349999e052fae0e8e9f82f83b6e files/hald 522
-DIST hal-0.4.7.tar.gz 1349064
DIST hal-0.4.8.tar.gz 1353568
DIST hal-0.5.5.1.tar.gz 1517882 RMD160 fad4ec6a23d8dc26bb20b659e4f9ff86e7bc62d0 SHA1 f4daef79c54a7047484a48bb2727fa627de06c93 SHA256 e89ab31aede3b689ef5cd54a17a3db1a2e7e868bd2d0b4b8f53a9b259723b8ee
DIST hal-0.5.7.1.tar.gz 1503156 RMD160 2861818b29546bd3628b1bda3d41238cf644c644 SHA1 233b67e724e68f41ec3f53adcfb7d139328c5813 SHA256 f15320c1ec3e5c89307fc0a6fbf75b6619de12c15ce8cc1a689e7bc3f2c0831b
DIST hal-0.5.7.tar.gz 1528632 RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 SHA1 f3962b29f3dad65fdaf708f680b5ba752a26227f SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5
-EBUILD hal-0.4.7-r2.ebuild 3429 RMD160 79839d470277cd22e578802a4fae533fa17b9e43 SHA1 c62397e7e5ede121ed785f124e05c70ac41c8853 SHA256 b204f8aa83e5a746bd28cc40c58e1fc465e9a41d624dd26a0c05d1cab4d16c11
-MD5 9be5fc181975453c4f2ff2e7b16f3b74 hal-0.4.7-r2.ebuild 3429
-RMD160 79839d470277cd22e578802a4fae533fa17b9e43 hal-0.4.7-r2.ebuild 3429
-SHA256 b204f8aa83e5a746bd28cc40c58e1fc465e9a41d624dd26a0c05d1cab4d16c11 hal-0.4.7-r2.ebuild 3429
EBUILD hal-0.4.8.ebuild 3412 RMD160 1840a8802e92f192715cbd648d411a84990d8a97 SHA1 04ffbedb67400ca9d482ed617f4a85c34fdc5753 SHA256 927ee29fbcd88527f1a878dc755f0c50a41f30eba14fb20eca7bfb939429df42
MD5 3d2792c8ce89bf71f9b3eb4a0818f37c hal-0.4.8.ebuild 3412
RMD160 1840a8802e92f192715cbd648d411a84990d8a97 hal-0.4.8.ebuild 3412
@@ -111,14 +89,6 @@ EBUILD hal-0.5.5.1-r3.ebuild 3766 RMD160 0341accd029d9028f92f18b6b8aa65e395bbf6a
MD5 af33a479d90c3f8814e6d370b1033a1a hal-0.5.5.1-r3.ebuild 3766
RMD160 0341accd029d9028f92f18b6b8aa65e395bbf6ab hal-0.5.5.1-r3.ebuild 3766
SHA256 ca56f995710840061ca42e6428427e56782fcda126db7ad83dbf3c71d6d791f7 hal-0.5.5.1-r3.ebuild 3766
-EBUILD hal-0.5.7-r1.ebuild 5278 RMD160 8d79e90ef0128483059d45bb1c4e1b8b1595f41a SHA1 2faabe599ae527b154f962e97f0122e7fb17a97e SHA256 fcbff744bedb5e3c43bb2f082805ff17b33bb213c4c684c6555f110815b8ab6f
-MD5 95000b5cde0d2b6437bd44ad361599b7 hal-0.5.7-r1.ebuild 5278
-RMD160 8d79e90ef0128483059d45bb1c4e1b8b1595f41a hal-0.5.7-r1.ebuild 5278
-SHA256 fcbff744bedb5e3c43bb2f082805ff17b33bb213c4c684c6555f110815b8ab6f hal-0.5.7-r1.ebuild 5278
-EBUILD hal-0.5.7-r2.ebuild 5577 RMD160 4f9a15e6d9be7ab4dd3b5873296b7224004edcae SHA1 81e7f8407248483a7bcc8589e760358df38db4a3 SHA256 758333e27e5b7b7da04f56231ac1d416ab6b4ec22fd906f651375b381926ff9f
-MD5 6ffc90b8f1d1c3a492913acf79a8fd0d hal-0.5.7-r2.ebuild 5577
-RMD160 4f9a15e6d9be7ab4dd3b5873296b7224004edcae hal-0.5.7-r2.ebuild 5577
-SHA256 758333e27e5b7b7da04f56231ac1d416ab6b4ec22fd906f651375b381926ff9f hal-0.5.7-r2.ebuild 5577
EBUILD hal-0.5.7-r3.ebuild 5662 RMD160 a8a7312be795164627614bb33d6a08798e4e66c8 SHA1 14aa06d8c4a2a5d91b3f437ab38671c86bcb0324 SHA256 f765c3eca17d13dd0bb0b4656f699db0f40bba68f31583f89ee84fa1940f2041
MD5 635af581c44b2622b66029f34cfda7b4 hal-0.5.7-r3.ebuild 5662
RMD160 a8a7312be795164627614bb33d6a08798e4e66c8 hal-0.5.7-r3.ebuild 5662
@@ -127,39 +97,30 @@ EBUILD hal-0.5.7.1.ebuild 5764 RMD160 21640eca5bad9ad1ea690830c64e37aec185a8a7 S
MD5 1c906e388735aa037f85bf0b90d7476f hal-0.5.7.1.ebuild 5764
RMD160 21640eca5bad9ad1ea690830c64e37aec185a8a7 hal-0.5.7.1.ebuild 5764
SHA256 6ae3ea70d464bd3bb6be9f16dbc66fc3cb89ae8060344ccce86680bb36d97e0b hal-0.5.7.1.ebuild 5764
-EBUILD hal-0.5.7.ebuild 5043 RMD160 1ef68363d3e3df3b5714a02cbd7652a5146616d1 SHA1 8a59e8414482710b5f3543983492245a25d5d963 SHA256 078d056f53abd974bcfe7e32c4e7ff18506e2847476758e56e68a27c613fcb75
-MD5 b2c6466417f81e53acc48e428a33c2a4 hal-0.5.7.ebuild 5043
-RMD160 1ef68363d3e3df3b5714a02cbd7652a5146616d1 hal-0.5.7.ebuild 5043
-SHA256 078d056f53abd974bcfe7e32c4e7ff18506e2847476758e56e68a27c613fcb75 hal-0.5.7.ebuild 5043
-MISC ChangeLog 14602 RMD160 e9d3e252b51079ffe2899a82cb67491e1179e664 SHA1 92e5e2c019ec4dc7bdfd148c894c57f349250e0e SHA256 d359b7db44367dc7f15f9173107be577bd16813c42745cfa32bda9e8825a0409
-MD5 67d42112f3c18a2dea13e025cd12ea6e ChangeLog 14602
-RMD160 e9d3e252b51079ffe2899a82cb67491e1179e664 ChangeLog 14602
-SHA256 d359b7db44367dc7f15f9173107be577bd16813c42745cfa32bda9e8825a0409 ChangeLog 14602
+MISC ChangeLog 15021 RMD160 1eb21ee7a5ec1b2887466c5947447917cea36861 SHA1 bb516764dc761baf1fa823f1291d0fdb9452504c SHA256 a9888788e09a135e2ec45a6b78eb5c751a47e12fa3d4325e987cf1a6abe40f14
+MD5 5037bc0e91799b4bf63a14918a8f8602 ChangeLog 15021
+RMD160 1eb21ee7a5ec1b2887466c5947447917cea36861 ChangeLog 15021
+SHA256 a9888788e09a135e2ec45a6b78eb5c751a47e12fa3d4325e987cf1a6abe40f14 ChangeLog 15021
MISC metadata.xml 223 RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb SHA1 28aa498172fa4c6f437adb79913ae16f4deb0c0c SHA256 49dd14861ed993df9f3509f82bb7f77e524b4b6c0e137677bb9f873d9cd8541d
MD5 885e3073744523eaf2450514a311758b metadata.xml 223
RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb metadata.xml 223
SHA256 49dd14861ed993df9f3509f82bb7f77e524b4b6c0e137677bb9f873d9cd8541d metadata.xml 223
-MD5 3031a9fe74f43859c313d5f3076e68cd files/digest-hal-0.4.7-r2 62
-RMD160 e8bbba02dd17973012bbab1ffa563cbb36b44042 files/digest-hal-0.4.7-r2 62
-SHA256 9fc74e6d03cec9f23a9d0fc5b5f0d73dfe945d6dded3bd23d247c7b90058635c files/digest-hal-0.4.7-r2 62
MD5 2bbbb519c89110dfec96cf63cf541afc files/digest-hal-0.4.8 62
RMD160 585ee01c6b8c4f4f600e0f949555acfb38893419 files/digest-hal-0.4.8 62
SHA256 b1a6145d9b725b1c8edabee21dde50a87f13918dbbb2f2ec7c0cf57cf343f22e files/digest-hal-0.4.8 62
MD5 de294d053aafe67786058131d2d3806c files/digest-hal-0.5.5.1-r3 238
RMD160 a73765bc36afe8776818ad80bb6c4ee1515e51e2 files/digest-hal-0.5.5.1-r3 238
SHA256 51107ff7d6a8b82a6be18a1707160591f325fa1a16d47aa8cc5c0045a1addb14 files/digest-hal-0.5.5.1-r3 238
-MD5 2cab9d9e3415f54f6368f796cf3df8ff files/digest-hal-0.5.7 232
-RMD160 a3f08885fb362e481bd884a8f2192d3dc995fbee files/digest-hal-0.5.7 232
-SHA256 1d79783e98c3e4f937148d5fb93916927d2484d85501a1f9a53b75c2080c15c2 files/digest-hal-0.5.7 232
-MD5 2cab9d9e3415f54f6368f796cf3df8ff files/digest-hal-0.5.7-r1 232
-RMD160 a3f08885fb362e481bd884a8f2192d3dc995fbee files/digest-hal-0.5.7-r1 232
-SHA256 1d79783e98c3e4f937148d5fb93916927d2484d85501a1f9a53b75c2080c15c2 files/digest-hal-0.5.7-r1 232
-MD5 2cab9d9e3415f54f6368f796cf3df8ff files/digest-hal-0.5.7-r2 232
-RMD160 a3f08885fb362e481bd884a8f2192d3dc995fbee files/digest-hal-0.5.7-r2 232
-SHA256 1d79783e98c3e4f937148d5fb93916927d2484d85501a1f9a53b75c2080c15c2 files/digest-hal-0.5.7-r2 232
MD5 2cab9d9e3415f54f6368f796cf3df8ff files/digest-hal-0.5.7-r3 232
RMD160 a3f08885fb362e481bd884a8f2192d3dc995fbee files/digest-hal-0.5.7-r3 232
SHA256 1d79783e98c3e4f937148d5fb93916927d2484d85501a1f9a53b75c2080c15c2 files/digest-hal-0.5.7-r3 232
MD5 f6986582ab2d32e615cb3dbce02614cd files/digest-hal-0.5.7.1 238
RMD160 dafbac18b72d6d7d879ccb37200ce33a870bb8a1 files/digest-hal-0.5.7.1 238
SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/digest-hal-0.5.7.1 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFE/EspoeSe8B0zEfwRAgPDAJ45b2QDZP7lcyIcYjUYBwze/YydgACfeE65
+XuIzfdzgSnUNk0DkAF488R0=
+=2Cld
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/hal/files/digest-hal-0.4.7-r2 b/sys-apps/hal/files/digest-hal-0.4.7-r2
deleted file mode 100644
index 031b4dff3230..000000000000
--- a/sys-apps/hal/files/digest-hal-0.4.7-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3386817a6811cce803bcfa8a20b05c51 hal-0.4.7.tar.gz 1349064
diff --git a/sys-apps/hal/files/digest-hal-0.5.7 b/sys-apps/hal/files/digest-hal-0.5.7
deleted file mode 100644
index 5c84accce85a..000000000000
--- a/sys-apps/hal/files/digest-hal-0.5.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4163afb8285db64e00e7b1392b401d92 hal-0.5.7.tar.gz 1528632
-RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 hal-0.5.7.tar.gz 1528632
-SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5 hal-0.5.7.tar.gz 1528632
diff --git a/sys-apps/hal/files/digest-hal-0.5.7-r1 b/sys-apps/hal/files/digest-hal-0.5.7-r1
deleted file mode 100644
index 5c84accce85a..000000000000
--- a/sys-apps/hal/files/digest-hal-0.5.7-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4163afb8285db64e00e7b1392b401d92 hal-0.5.7.tar.gz 1528632
-RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 hal-0.5.7.tar.gz 1528632
-SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5 hal-0.5.7.tar.gz 1528632
diff --git a/sys-apps/hal/files/digest-hal-0.5.7-r2 b/sys-apps/hal/files/digest-hal-0.5.7-r2
deleted file mode 100644
index 5c84accce85a..000000000000
--- a/sys-apps/hal/files/digest-hal-0.5.7-r2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 4163afb8285db64e00e7b1392b401d92 hal-0.5.7.tar.gz 1528632
-RMD160 342b00bea138ddf9f0f75e769612373bcf935d43 hal-0.5.7.tar.gz 1528632
-SHA256 63c78e9b9c8308914372f9a762b02fa057bca2c6a1c7478ab595ba0fa92781d5 hal-0.5.7.tar.gz 1528632
diff --git a/sys-apps/hal/files/hal-0.4.7-device_info_leak.patch b/sys-apps/hal/files/hal-0.4.7-device_info_leak.patch
deleted file mode 100644
index 899089e7160d..000000000000
--- a/sys-apps/hal/files/hal-0.4.7-device_info_leak.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-===================================================================
-RCS file: /cvs/hal/hal/hald/device_info.c,v
-retrieving revision 1.25
-retrieving revision 1.26
-diff -u -r1.25 -r1.26
---- device_info.c 2005/02/25 01:55:08 1.25
-+++ device_info.c 2005/02/28 01:16:47 1.26
-@@ -1218,15 +1218,22 @@
- XML_Parser parser;
- ParsingContext *parsing_context;
-
-- snprintf (buf, 511, "%s/%s", dir, filename);
-+ file = NULL;
-+ filebuf = NULL;
-+ parser = NULL;
-+ parsing_context = NULL;
-+
-+ device_matched = FALSE;
-+
-+ snprintf (buf, sizeof (buf), "%s/%s", dir, filename);
-
- /*HAL_INFO(("analysing file %s", buf)); */
-
- /* open file and read it into a buffer; it's a small file... */
- file = fopen (buf, "r");
- if (file == NULL) {
-- perror ("fopen");
-- return FALSE;
-+ HAL_ERROR (("Could not open file %s", buf));
-+ goto out;
- }
-
- fseek (file, 0L, SEEK_END);
-@@ -1234,25 +1241,27 @@
- rewind (file);
- filebuf = (char *) malloc (filesize);
- if (filebuf == NULL) {
-- perror ("malloc");
-- fclose (file);
-- return FALSE;
-+ HAL_ERROR (("Could not allocate %d bytes for file %s", filesize, buf));
-+ goto out;
- }
- fread (filebuf, sizeof (char), filesize, file);
-
--
-- /* ok, now parse the file (should probably reuse parser and say we are
-- * not thread safe
-- */
-- parser = XML_ParserCreate (NULL);
--
- /* initialize parsing context */
- parsing_context =
- (ParsingContext *) malloc (sizeof (ParsingContext));
- if (parsing_context == NULL) {
-- perror ("malloc");
-- return FALSE;
-+ HAL_ERROR (("Could not allocate parsing context"));
-+ goto out;
-+ }
-+
-+ /* TODO: reuse parser
-+ */
-+ parser = XML_ParserCreate (NULL);
-+ if (parser == NULL) {
-+ HAL_ERROR (("Could not allocate XML parser"));
-+ goto out;
- }
-+
- parsing_context->depth = 0;
- parsing_context->device_matched = FALSE;
- parsing_context->match_ok = TRUE;
-@@ -1287,9 +1296,15 @@
- device_matched = parsing_context->device_matched;
- }
-
-- free (filebuf);
-- fclose (file);
-- free (parsing_context);
-+out:
-+ if (filebuf != NULL)
-+ free (filebuf);
-+ if (file != NULL)
-+ fclose (file);
-+ if (parser != NULL)
-+ XML_ParserFree (parser);
-+ if (parsing_context != NULL)
-+ free (parsing_context);
-
- return device_matched;
- }
diff --git a/sys-apps/hal/files/hal-0.4.7-dont_add_device_twice-r1.patch b/sys-apps/hal/files/hal-0.4.7-dont_add_device_twice-r1.patch
deleted file mode 100644
index 1a311239f3f9..000000000000
--- a/sys-apps/hal/files/hal-0.4.7-dont_add_device_twice-r1.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- hald/linux/osspec.c 2005-01-23 22:57:01.000000000 +0100
-+++ hald/linux/osspec.c 2005-03-14 17:35:19.000000000 +0100
-@@ -1010,6 +1010,11 @@ add_device (const char *given_sysfs_path
-
- strncpy (sysfs_path, given_sysfs_path, SYSFS_PATH_MAX);
-
-+ if (hal_device_store_match_key_value_string (hald_get_gdl (), "linux.sysfs_path", sysfs_path)) {
-+ HAL_WARNING (("devpath %s already present in the store, don't add device", sysfs_path));
-+ return NULL;
-+ }
-+
- len1 = snprintf (buf1, SYSFS_PATH_MAX, "%s/block", sysfs_mount_path);
- len2 = snprintf (buf2, SYSFS_PATH_MAX, "%s/class", sysfs_mount_path);
- if (strncmp (sysfs_path, buf1, len1) == 0 || strncmp (sysfs_path, buf2, len2) == 0) {
diff --git a/sys-apps/hal/files/hal-0.5.5.1-RBC.patch b/sys-apps/hal/files/hal-0.5.5.1-RBC.patch
deleted file mode 100644
index ce906e3e5ed7..000000000000
--- a/sys-apps/hal/files/hal-0.5.5.1-RBC.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: hald/linux2/blockdev.c
-===================================================================
-RCS file: /cvs/hal/hal/hald/linux2/blockdev.c,v
-retrieving revision 1.27
-diff -u -3 -p -r1.27 blockdev.c
---- hald/linux2/blockdev.c 2 Nov 2005 15:38:13 -0000 1.27
-+++ hald/linux2/blockdev.c 28 Nov 2005 23:04:24 -0000
-@@ -827,7 +827,8 @@ hotplug_event_begin_add_blockdev (const
-
- /* These magic values are documented in the kernel source */
- switch (type) {
-- case 0: /* Disk */
-+ case 0: /* Disk */
-+ case 14: /* Simple Direct Access Device, set it to disk */
- hal_device_property_set_string (d, "storage.drive_type", "disk");
- break;
-
-
diff --git a/sys-apps/hal/files/hal-0.5.7-drop-privs.patch b/sys-apps/hal/files/hal-0.5.7-drop-privs.patch
deleted file mode 100644
index ae2aa8d3f31b..000000000000
--- a/sys-apps/hal/files/hal-0.5.7-drop-privs.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN hal-0.5.6-old/hald/linux2/addons/addon-storage.c hal-0.5.6/hald/linux2/addons/addon-storage.c
---- hal-0.5.6-old/hald/linux2/addons/addon-storage.c 2006-02-21 15:44:15.000000000 +0100
-+++ hal-0.5.6/hald/linux2/addons/addon-storage.c 2006-02-21 15:44:15.000000000 +0100
-@@ -162,6 +162,8 @@
- char *support_media_changed_str;
- int support_media_changed;
-
-+ drop_privileges (1);
-+
- if ((udi = getenv ("UDI")) == NULL)
- goto out;
- if ((device_file = getenv ("HAL_PROP_BLOCK_DEVICE")) == NULL)
diff --git a/sys-apps/hal/files/hal-0.5.7-unclean-unmount.patch b/sys-apps/hal/files/hal-0.5.7-unclean-unmount.patch
deleted file mode 100644
index f4818a6f1e58..000000000000
--- a/sys-apps/hal/files/hal-0.5.7-unclean-unmount.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- tools/linux/90-hal.rules 2006-01-21 14:39:58.000000000 -0500
-+++ tools/linux/90-hal.rules.new 2006-03-18 21:14:31.000000000 -0500
-@@ -1,2 +1,6 @@
- # pass all events to the HAL daemon
- RUN+="socket:/org/freedesktop/hal/udev_event"
-+
-+# unmount block devices when they are removed
-+SUBSYSTEM=="block",ACTION="remove", RUN+="/usr/libexec/hal-unmount.sh"
-+
diff --git a/sys-apps/hal/hal-0.4.7-r2.ebuild b/sys-apps/hal/hal-0.4.7-r2.ebuild
deleted file mode 100644
index 3905bf9a34f0..000000000000
--- a/sys-apps/hal/hal-0.4.7-r2.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.4.7-r2.ebuild,v 1.12 2006/05/01 10:11:37 steev Exp $
-
-inherit eutils python linux-info versionator flag-o-matic
-
-DESCRIPTION="Hardware Abstraction Layer"
-HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 AFL-2.0 )"
-SLOT="0"
-KEYWORDS="amd64 ia64 ppc ppc64 x86"
-IUSE="debug pcmcia doc livecd"
-
-RDEPEND=">=dev-libs/glib-2.4
- =sys-apps/dbus-0.23*
- dev-libs/expat
- sys-fs/udev
- sys-apps/hotplug
- sys-libs/libcap
- dev-libs/popt
- >=sys-apps/util-linux-2.12i
- >=sys-kernel/linux-headers-2.6"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29
- doc? ( app-doc/doxygen )"
-# dep on a specific util-linux version for
-# managed mount patches #70873
-
-# We need to run at least a 2.6.10 kernel, this is a
-# way to ensure that to some extent
-pkg_setup() {
-
- use livecd && return
-
- if get_version; then
- kernel_is ge 2 6 10 && return
- elif get_running_version; then
- kernel_is ge 2 6 10 && return
- fi
-
- die "You need to run a 2.6.10 or newer kernel to build & use this pack"
-
-}
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
- # remove pamconsole option
- epatch ${FILESDIR}/${PN}-0.4.1-old_storage_policy.patch
- # pick up the gentoo usermap
- epatch ${FILESDIR}/${PN}-0.4.5-gentoo_gphoto2_usermap.patch
- # don't doubleadd devices
- epatch ${FILESDIR}/${P}-dont_add_device_twice-r1.patch
- # fix memleaks
- cd ${S}/hald
- epatch ${FILESDIR}/${P}-device_info_leak.patch
- # detect floppy drives on >=2.6.12 kernels as well
- epatch ${FILESDIR}/${P}-sys_floppy_detection.patch
- # set defaultpolicy for vfat from iocharset=utf8 to utf8 (#83025)
- cd ${S}
- epatch ${FILESDIR}/${P}-vfat_mount_utf8.patch
-
-}
-
-src_compile() {
-
- # FIXME : docs
- econf \
- `use_enable debug verbose-mode` \
- `use_enable pcmcia pcmcia-support` \
- --enable-sysfs-carrier \
- --enable-fstab-sync \
- --enable-hotplug-map \
- --disable-docbook-docs \
- `use_enable doc doxygen-docs` \
- --with-pid-file=/var/run/hald/hald.pid \
- || die
-
- emake || die
-
-}
-
-src_install() {
-
- make DESTDIR=${D} install || die
-
- # We install this in a seperate package to avoid gnome-python dep
- rm ${D}/usr/bin/hal-device-manager
-
- # initscript
- exeinto /etc/init.d/
- doexe ${FILESDIR}/hald
-
- # place our pid file
- keepdir /var/run/hald
-
- # keep the policy setup intact
- keepdir /usr/share/hal/fdi/{95userpolicy,50user,40oem,30osvendor,10generic}
-
- dodoc AUTHORS ChangeLog NEWS README
-
-}
-
-pkg_preinst() {
-
- enewgroup haldaemon || die "Problem adding haldaemon group"
- enewuser haldaemon -1 -1 /dev/null haldaemon || die "Problem adding haldaemon user"
-
-}
-
-pkg_postinst() {
-
- # make sure the permissions on the pid dir are alright & after preinst
- chown haldaemon:haldaemon /var/run/hald
-
- ewarn "Enabled in this ebuild by default is the usage of fstab-sync"
- ewarn "that will create mount rules for non-existing devices in"
- ewarn "fstab if needed, mount points will be created in /media."
- ewarn "This functionality alters /etc/fstab runtime on the filesystem"
- ewarn "and should be considered a security risk."
- echo
- einfo "The HAL daemon needs to be running for certain applications to"
- einfo "work. Suggested is to add the init script to your start-up"
- einfo "scripts, this should be done like this :"
- einfo "\`rc-update add hald default\`"
-
-}
diff --git a/sys-apps/hal/hal-0.5.7-r1.ebuild b/sys-apps/hal/hal-0.5.7-r1.ebuild
deleted file mode 100644
index 38bcaf8636a5..000000000000
--- a/sys-apps/hal/hal-0.5.7-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.7-r1.ebuild,v 1.6 2006/08/16 14:21:34 corsair Exp $
-
-inherit eutils linux-info debug
-
-DESCRIPTION="Hardware Abstraction Layer"
-HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 AFL-2.0 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
-IUSE="acpi crypt debug doc dmi pcmcia selinux"
-
-RDEPEND=">=dev-libs/glib-2.6
- >=sys-apps/dbus-0.60
- >=sys-fs/udev-078
- >=sys-apps/util-linux-2.12r
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- dev-libs/expat
- sys-libs/libcap
- sys-apps/pciutils
- dev-libs/libusb
- sys-apps/hotplug
- dmi? ( >=sys-apps/dmidecode-2.7 )
- crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 )
- selinux? ( sys-libs/libselinux )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29
- doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
-
-## HAL Daemon drops privledges so we need group access to read disks
-HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
-
-function notify_uevent() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "This can be set under 'General Setup'. It is marked as"
- eerror "CONFIG_KOBJECT_UEVENT in the config file."
- eerror
- ebeep 5
-
- die "KOBJECT_UEVENT is not set"
-}
-
-function notify_uevent_2_6_16() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "For this you need to enable 'Hotplug' under 'General Setup' and"
- eerror "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET"
- eerror "in the config file."
- eerror
- ebeep 5
-
- die "HOTPLUG is not set"
-}
-
-pkg_setup() {
- linux-info_pkg_setup
-
- kernel_is ge 2 6 15 \
- || die "You need a 2.6.15 or newer kernel to run this package"
-
- if kernel_is lt 2 6 16 ; then
- linux_chkconfig_present KOBJECT_UEVENT \
- || notify_uevent
- else
- (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \
- || notify_uevent_2_6_16
- fi
-
- if use acpi ; then
- linux_chkconfig_present PROC_FS \
- || die "ACPI support requires PROC_FS support in kernel"
- fi
-
- if [ -d ${ROOT}/etc/hal/device.d ]; then
- eerror "HAL 0.5.x will not run with the HAL 0.4.x series of"
- eerror "/etc/hal/device.d/ so please remove this directory"
- eerror "with rm -rf /etc/hal/device.d/ and then re-emerge."
- eerror "This is due to configuration protection of /etc/"
- die "remove /etc/hal/device.d/"
- fi
-}
-
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # sony screen brightness patch
-# epatch "${FILESDIR}"/${PN}-0.5.7-sony-brightness.patch
-
- # handle ignored volumes properly
- epatch "${FILESDIR}"/${PN}-0.5.7-ignored-volumes.patch
-
- # Fix bash in hald scripts
- epatch "${FILESDIR}"/${PN}-0.5.7-hald-scripts.patch
-
- # probe partition table
- epatch "${FILESDIR}"/${PN}-0.5.7-part-table.patch
-
- # fix pmu support crash
- epatch "${FILESDIR}"/${PN}-0.5.7-pmu-fix.patch
-
- # unclean unmount
- epatch "${FILESDIR}"/${PN}-0.5.7-unclean-unmount.patch
-
- # allow plugdev group people to mount
- epatch "${FILESDIR}"/${PN}-0.5.7-plugdev-allow-send.patch
-
- # rescan devices on resume
- epatch "${FILESDIR}"/${PN}-0.5.7-rescan-on-resume.patch
-}
-
-src_compile() {
- econf \
- --with-doc-dir=/usr/share/doc/${PF} \
- --with-os-type=gentoo \
- --with-pid-file=/var/run/hald.pid \
- --enable-hotplug-map \
- $(use_enable debug verbose-mode) \
- $(use_enable pcmcia pcmcia-support) \
- $(use_enable acpi acpi-proc) \
- $(use_enable doc docbook-docs) \
- $(use_enable doc doxygen-docs) \
- $(use_enable selinux) \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- # remove dep on gnome-python
- mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/
-
- # hal umount for unclean unmounts
- exeinto /usr/libexec
- doexe "${FILESDIR}"/hal-unmount.dev hal-unmount.sh
-
- # initscript
- newinitd "${FILESDIR}"/0.5-hald.rc hald
-
- dodoc AUTHORS ChangeLog NEWS README
-
- # Script to unmount devices if they are yanked out (from upstream)
- exeinto /etc/dev.d/default
- doexe "${FILESDIR}"/hal-unmount.dev
-
- # We now create and keep /media here as both gnome-mount and pmount
- # use these directories, to avoid collision.
- dodir /media
- keepdir /media
-}
-
-pkg_postinst() {
- # Despite what people keep changing this location. Either one works.. it doesn't matter
- # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/
- enewgroup haldaemon || die "Problem adding haldaemon group"
- enewgroup plugdev || die "Problem adding plugdev group"
- # HAL drops priviledges by default now ...
- # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups)
- enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS} || die "Problem adding haldaemon user"
-
- # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS}
- # If users have a problem with this, let them file a bug
- usermod -G ${HALDAEMON_GROUPS} haldaemon
-
- einfo "The HAL daemon needs to be running for certain applications to"
- einfo "work. Suggested is to add the init script to your start-up"
- einfo "scripts, this should be done like this :"
- einfo "\`rc-update add hald default\`"
-}
diff --git a/sys-apps/hal/hal-0.5.7-r2.ebuild b/sys-apps/hal/hal-0.5.7-r2.ebuild
deleted file mode 100644
index 9d7a0f252c11..000000000000
--- a/sys-apps/hal/hal-0.5.7-r2.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.7-r2.ebuild,v 1.2 2006/05/28 06:55:08 cardoe Exp $
-
-inherit eutils linux-info debug
-
-DESCRIPTION="Hardware Abstraction Layer"
-HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 AFL-2.0 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="acpi crypt debug doc dmi pcmcia selinux"
-
-RDEPEND=">=dev-libs/glib-2.6
- >=sys-apps/dbus-0.60
- >=sys-fs/udev-078
- >=sys-apps/util-linux-2.12r
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- dev-libs/expat
- sys-libs/libcap
- sys-apps/pciutils
- dev-libs/libusb
- sys-apps/hotplug
- dmi? ( >=sys-apps/dmidecode-2.7 )
- crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 )
- selinux? ( sys-libs/libselinux )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29
- doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
-
-## HAL Daemon drops privledges so we need group access to read disks
-HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
-
-function notify_uevent() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "This can be set under 'General Setup'. It is marked as"
- eerror "CONFIG_KOBJECT_UEVENT in the config file."
- eerror
- ebeep 5
-}
-
-function notify_uevent_2_6_16() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "For this you need to enable 'Hotplug' under 'General Setup' and"
- eerror "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET"
- eerror "in the config file."
- eerror
- ebeep 5
-}
-
-function notify_procfs() {
- eerror
- eerror "You must enable the proc filesystem in your kernel."
- eerror "For this you need to enable '/proc file system support' under"
- eerror "'Pseudo filesystems' in 'File systems'. It is marked"
- eerror "CONFIG_PROC_FS in the config file."
- eerror
- ebeep 5
-}
-
-pkg_setup() {
- linux-info_pkg_setup
-
- kernel_is ge 2 6 15 || die "HAL requires a kernel version 2.6.15 or newer"
-
- if kernel_is lt 2 6 16 ; then
- linux_chkconfig_present KOBJECT_UEVENT || notify_uevent
- else
- (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \
- || notify_uevent_2_6_16
- fi
-
- if use acpi ; then
- linux_chkconfig_present PROC_FS || notify_procfs
- fi
-
- if [ -d ${ROOT}/etc/hal/device.d ]; then
- eerror "HAL 0.5.x will not run with the HAL 0.4.x series of"
- eerror "/etc/hal/device.d/ so please remove this directory"
- eerror "with rm -rf /etc/hal/device.d/ and then re-emerge."
- eerror "This is due to configuration protection of /etc/"
- die "remove /etc/hal/device.d/"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # sony screen brightness patch
-# epatch "${FILESDIR}"/${PN}-0.5.7-sony-brightness.patch
-
- # handle ignored volumes properly
- epatch "${FILESDIR}"/${PN}-0.5.7-ignored-volumes.patch
-
- # Fix bash in hald scripts
- epatch "${FILESDIR}"/${PN}-0.5.7-hald-scripts.patch
-
- # probe partition table
- epatch "${FILESDIR}"/${PN}-0.5.7-part-table.patch
-
- # fix pmu support crash
- epatch "${FILESDIR}"/${PN}-0.5.7-pmu-fix.patch
-
- # unclean unmount
- epatch "${FILESDIR}"/${PN}-0.5.7-unclean-unmount-r1.patch
-
- # allow plugdev group people to mount
- epatch "${FILESDIR}"/${PN}-0.5.7-plugdev-allow-send.patch
-
- # rescan devices on resume
- epatch "${FILESDIR}"/${PN}-0.5.7-rescan-on-resume.patch
-}
-
-src_compile() {
- econf \
- --with-doc-dir=/usr/share/doc/${PF} \
- --with-os-type=gentoo \
- --with-pid-file=/var/run/hald.pid \
- --enable-hotplug-map \
- $(use_enable debug verbose-mode) \
- $(use_enable pcmcia pcmcia-support) \
- $(use_enable acpi acpi-proc) \
- $(use_enable doc docbook-docs) \
- $(use_enable doc doxygen-docs) \
- $(use_enable selinux) \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
- dodoc AUTHORS ChangeLog NEWS README
-
- # remove dep on gnome-python
- mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/
-
- # hal umount for unclean unmounts
- exeinto /lib/udev/
- newexe "${FILESDIR}"/hal-unmount.dev hal_unmount
-
- # initscript
- newinitd "${FILESDIR}"/0.5-hald.rc hald
-
- # Script to unmount devices if they are yanked out (from upstream)
- exeinto /etc/dev.d/default
- doexe "${FILESDIR}"/hal-unmount.dev
-
- # We now create and keep /media here as both gnome-mount and pmount
- # use these directories, to avoid collision.
- dodir /media
- keepdir /media
-}
-
-pkg_postinst() {
- # Despite what people keep changing this location. Either one works.. it doesn't matter
- # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/
-
- # Create groups for hotplugging and HAL
- enewgroup haldaemon || die "Problem adding haldaemon group"
- enewgroup plugdev || die "Problem adding plugdev group"
-
- # HAL drops priviledges by default now ...
- # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups)
- enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS} || die "Problem adding haldaemon user"
-
- # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS}
- # If users have a problem with this, let them file a bug
- usermod -G ${HALDAEMON_GROUPS} haldaemon
-
- einfo "The HAL daemon needs to be running for certain applications to"
- einfo "work. Suggested is to add the init script to your start-up"
- einfo "scripts, this should be done like this :"
- einfo "\`rc-update add hald default\`"
- echo
- einfo "Looking for automounting support? Add yourself to the plugdev group"
-}
diff --git a/sys-apps/hal/hal-0.5.7.ebuild b/sys-apps/hal/hal-0.5.7.ebuild
deleted file mode 100644
index ed29adc1b335..000000000000
--- a/sys-apps/hal/hal-0.5.7.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.7.ebuild,v 1.5 2006/05/01 10:11:37 steev Exp $
-
-inherit eutils linux-info debug
-
-DESCRIPTION="Hardware Abstraction Layer"
-HOMEPAGE="http://www.freedesktop.org/Software/hal"
-SRC_URI="http://freedesktop.org/~david/dist/${P}.tar.gz"
-
-LICENSE="|| ( GPL-2 AFL-2.0 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="acpi crypt debug doc dmi pcmcia selinux"
-
-RDEPEND=">=dev-libs/glib-2.6
- >=sys-apps/dbus-0.60
- >=sys-fs/udev-078
- >=sys-apps/util-linux-2.12r
- || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
- dev-libs/expat
- sys-libs/libcap
- sys-apps/pciutils
- dev-libs/libusb
- sys-apps/hotplug
- dmi? ( >=sys-apps/dmidecode-2.7 )
- crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 )
- selinux? ( sys-libs/libselinux )"
-
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- >=dev-util/intltool-0.29
- doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
-
-## HAL Daemon drops privledges so we need group access to read disks
-HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
-
-function notify_uevent() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "This can be set under 'General Setup'. It is marked as"
- eerror "CONFIG_KOBJECT_UEVENT in the config file."
- eerror
- ebeep 5
-
- die "KOBJECT_UEVENT is not set"
-}
-
-function notify_uevent_2_6_16() {
- eerror
- eerror "You must enable Kernel Userspace Events in your kernel."
- eerror "For this you need to enable 'Hotplug' under 'General Setup' and"
- eerror "basic networking. They are marked CONFIG_HOTPLUG and CONFIG_NET"
- eerror "in the config file."
- eerror
- ebeep 5
-
- die "HOTPLUG is not set"
-}
-
-pkg_setup() {
- linux-info_pkg_setup
-
- kernel_is ge 2 6 15 \
- || die "You need a 2.6.15 or newer kernel to run this package"
-
- if kernel_is lt 2 6 16 ; then
- linux_chkconfig_present KOBJECT_UEVENT \
- || notify_uevent
- else
- (linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET) \
- || notify_uevent_2_6_16
- fi
-
- if use acpi ; then
- linux_chkconfig_present PROC_FS \
- || die "ACPI support requires PROC_FS support in kernel"
- fi
-
- if [ -d ${ROOT}/etc/hal/device.d ]; then
- eerror "HAL 0.5.x will not run with the HAL 0.4.x series of"
- eerror "/etc/hal/device.d/ so please remove this directory"
- eerror "with rm -rf /etc/hal/device.d/ and then re-emerge."
- eerror "This is due to configuration protection of /etc/"
- die "remove /etc/hal/device.d/"
- fi
-}
-
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # sony screen brightness patch
-# epatch "${FILESDIR}"/${PN}-0.5.7-sony-brightness.patch
-
- # handle ignored volumes properly
- epatch "${FILESDIR}"/${PN}-0.5.7-ignored-volumes.patch
-
- # Fix bash in hald scripts
- epatch "${FILESDIR}"/${PN}-0.5.7-hald-scripts.patch
-
- # probe partition table
- epatch "${FILESDIR}"/${PN}-0.5.7-part-table.patch
-
- # fix pmu support crash
- epatch "${FILESDIR}"/${PN}-0.5.7-pmu-fix.patch
-
- # unclean unmount
- epatch "${FILESDIR}"/${PN}-0.5.7-unclean-unmount.patch
-
- # allow plugdev group people to mount
- epatch "${FILESDIR}"/${PN}-0.5.7-plugdev-allow-send.patch
-}
-
-src_compile() {
- econf \
- --with-doc-dir=/usr/share/doc/${PF} \
- --with-os-type=gentoo \
- --with-pid-file=/var/run/hald.pid \
- --enable-hotplug-map \
- $(use_enable debug verbose-mode) \
- $(use_enable pcmcia pcmcia-support) \
- $(use_enable acpi acpi-proc) \
- $(use_enable doc docbook-docs) \
- $(use_enable doc doxygen-docs) \
- $(use_enable selinux) \
- || die "configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR="${D}" install || die
-
- # remove dep on gnome-python
- mv "${D}"/usr/bin/hal-device-manager "${D}"/usr/share/hal/device-manager/
-
- # hal umount for unclean unmounts
- exeinto /usr/libexec
- doexe "${FILESDIR}"/hal-unmount.dev hal-unmount.sh
-
- # initscript
- newinitd "${FILESDIR}"/0.5-hald.rc hald
-
- dodoc AUTHORS ChangeLog NEWS README
-
- # Script to unmount devices if they are yanked out (from upstream)
- exeinto /etc/dev.d/default
- doexe "${FILESDIR}"/hal-unmount.dev
-}
-
-pkg_postinst() {
- # Despite what people keep changing this location. Either one works.. it doesn't matter
- # http://dev.gentoo.org/~plasmaroo/devmanual/ebuild-writing/functions/
- enewgroup haldaemon || die "Problem adding haldaemon group"
- enewgroup plugdev || die "Problem adding plugdev group"
- # HAL drops priviledges by default now ...
- # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups)
- enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS} || die "Problem adding haldaemon user"
-
- # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS}
- # If users have a problem with this, let them file a bug
- usermod -G ${HALDAEMON_GROUPS} haldaemon
-
- einfo "The HAL daemon needs to be running for certain applications to"
- einfo "work. Suggested is to add the init script to your start-up"
- einfo "scripts, this should be done like this :"
- einfo "\`rc-update add hald default\`"
-}