New upstream release, this is a release candidate, the final version should be releas...
authorStephen Klimaszewski <steev@gentoo.org>
Fri, 30 Mar 2007 05:46:53 +0000 (05:46 +0000)
committerStephen Klimaszewski <steev@gentoo.org>
Fri, 30 Mar 2007 05:46:53 +0000 (05:46 +0000)
Package-Manager: portage-2.1.2.3

sys-apps/busybox/Manifest
sys-apps/hal/ChangeLog
sys-apps/hal/Manifest
sys-apps/hal/files/digest-hal-0.5.9_rc2 [new file with mode: 0644]
sys-apps/hal/hal-0.5.9_rc2.ebuild [new file with mode: 0644]

index af71c28105d5cd625ac99bc9ee2e1d6f0d265f0d..2c15f7e0246f843881da433c123dbee0d59ec2ce 100644 (file)
@@ -29,10 +29,10 @@ AUX 1.4.0/data_extract_all.patch 545 RMD160 88773f3504cbf3e66e83e4c7d017591f79c9
 MD5 856258c2e8806dab258cd192160e2b24 files/1.4.0/data_extract_all.patch 545
 RMD160 88773f3504cbf3e66e83e4c7d017591f79c97c9f files/1.4.0/data_extract_all.patch 545
 SHA256 cb2b59cb27114771b0c8dc04b480434a85a912eae5e6b96639cfcf5917f7b87e files/1.4.0/data_extract_all.patch 545
-AUX 1.4.0/selinux-link.patch 228 RMD160 21393fb5549b6867d6f6a310067114ec3ff7858d SHA1 d092e9899dd96416bc380fa8bc2d3eb5c876ff8c SHA256 28636595203193474e995552466c83292c542c1463037b2338c62518fb6a9fe5
-MD5 25174c2b997cb4301b2cf5b6db50a18b files/1.4.0/selinux-link.patch 228
-RMD160 21393fb5549b6867d6f6a310067114ec3ff7858d files/1.4.0/selinux-link.patch 228
-SHA256 28636595203193474e995552466c83292c542c1463037b2338c62518fb6a9fe5 files/1.4.0/selinux-link.patch 228
+AUX 1.4.0/selinux-link.patch 632 RMD160 ea573b6a000dd9e7ec6d7125618163d71b8e6705 SHA1 c050c0a90c8cce44dbc1c869c7648ea9b55da4eb SHA256 41d4fae79e2d238980fd20223adac9efb2b8ce7b686cbfd9e41f369d2d0543db
+MD5 1399ee00d826ef40aa3a9eb23af45ab2 files/1.4.0/selinux-link.patch 632
+RMD160 ea573b6a000dd9e7ec6d7125618163d71b8e6705 files/1.4.0/selinux-link.patch 632
+SHA256 41d4fae79e2d238980fd20223adac9efb2b8ce7b686cbfd9e41f369d2d0543db files/1.4.0/selinux-link.patch 632
 AUX 1.5.0/bb.patch 840 RMD160 b581f42a5bae2c12e0c2650c60ed20e95edc21a8 SHA1 128e75a932e65ccaed8c23fad5cc124f8bfc4e03 SHA256 6562015b4b9b1bdee2be221ade6805fdbbf778d5ae830683a29f34387af38e70
 MD5 480266122cbcbc64ec90a80da7b7525c files/1.5.0/bb.patch 840
 RMD160 b581f42a5bae2c12e0c2650c60ed20e95edc21a8 files/1.5.0/bb.patch 840
@@ -100,7 +100,7 @@ SHA256 07a1d99470a24ffb961a0d1bdd253fc04e90a28f3e76e10b18c0c844ce54f8cd files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFGCgSC8bi6rjpTunYRAt2uAJ0ayfAKnPuDIJEI8ddFgGd8zCHwCQCgkfgp
-5E90+S35U+3DvAcPMzT0JuI=
-=qF9l
+iD8DBQFGDKUg8bi6rjpTunYRAghYAKCKrpQgdZYUSckYTGGNhg5mv+qByACeK8yz
+lPav6aLrOAj7gwVONGJ+0zA=
+=/2iM
 -----END PGP SIGNATURE-----
index edac1f54df0a5db9f5a7d60c5d51397fa37e5a55..8a623012feb8d39c589617681ac044a6db4016ca 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-apps/hal
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.134 2007/02/19 04:29:06 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/ChangeLog,v 1.135 2007/03/30 05:46:53 steev Exp $
+
+*hal-0.5.9_rc2 (30 Mar 2007)
+
+  30 Mar 2007; Steev Klimaszewski <steev@gentoo.org> +hal-0.5.9_rc2.ebuild:
+  New upstream release - this is a release candidate, and the final should be
+  released within the next few days.  Package.masked, please test.
 
   19 Feb 2007; <cardoe@gentoo.org> hal-0.5.7.1-r5.ebuild:
   Add back hal_unmount that was accidently removed
index ee640104f8db2dcf135f4d8d9eaf8531a77c6795..96dbf5878a7f63780a2c6aded5fb4af0c48d26a2 100644 (file)
@@ -1,6 +1,3 @@
------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
@@ -107,6 +104,7 @@ RMD160 3d15723862416de29b6e2d18c53aec05b05216c3 files/hald 522
 SHA256 92f584b631026307485faa9ba386353b6d833349999e052fae0e8e9f82f83b6e files/hald 522
 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
+DIST hal-0.5.9.rc2.tar.gz 1543333 RMD160 e3c788d9ef8778034f92b35e250e15eb034bf31c SHA1 863d4d06251a90bb53824dad78f46b4dcf43083f SHA256 107bd9e76de2ac7fc086dd545e08580a5aa75b1f979fdb55b3a686a1e833b166
 EBUILD hal-0.5.7-r3.ebuild 5770 RMD160 cad0f030042f5fc4a0953fc2fdccfd1e48bd78a9 SHA1 a451108d7f2c88619f54bb74f8aa39196cd44fc0 SHA256 b2f8275c56ed75e6645ad891f183b6359ec99b3e03d7f3c5f36f3c2cca8ee501
 MD5 ee0bb11c71fafebd0ed733d11eb9485b hal-0.5.7-r3.ebuild 5770
 RMD160 cad0f030042f5fc4a0953fc2fdccfd1e48bd78a9 hal-0.5.7-r3.ebuild 5770
@@ -123,10 +121,14 @@ EBUILD hal-0.5.7.1-r5.ebuild 6426 RMD160 ba28bce7126639c77de28ac2fc8d233475bb498
 MD5 709ca20b11819f2e13e381be47e19535 hal-0.5.7.1-r5.ebuild 6426
 RMD160 ba28bce7126639c77de28ac2fc8d233475bb498e hal-0.5.7.1-r5.ebuild 6426
 SHA256 6e020d3a29d82b993984f58ab8ef3659d837c11bce25f3ad25df6f4748e11207 hal-0.5.7.1-r5.ebuild 6426
-MISC ChangeLog 20374 RMD160 7c3f3af9949eea8d15a6dbc6dbcc1f1805976e51 SHA1 3689986912f2b6c7eb82305b0d477d9c2121a923 SHA256 b8e75d90898e2235c2e91309967a6e71e1acbc46df2371b51d9d87cf1f42bfec
-MD5 16c92faa4e8453e44678c201d8003ba4 ChangeLog 20374
-RMD160 7c3f3af9949eea8d15a6dbc6dbcc1f1805976e51 ChangeLog 20374
-SHA256 b8e75d90898e2235c2e91309967a6e71e1acbc46df2371b51d9d87cf1f42bfec ChangeLog 20374
+EBUILD hal-0.5.9_rc2.ebuild 5195 RMD160 e0e1e1cd12c64102e528f390c291530e6280131d SHA1 8a9e79596769821b5ab6238b2b8d3abc6b245d6b SHA256 a8d52c6d4e07b162655490369d25f5fa2dc2d6403a03a612bbed4a61602b5e9a
+MD5 4ed743184af0b3303b3cd6c8987f483a hal-0.5.9_rc2.ebuild 5195
+RMD160 e0e1e1cd12c64102e528f390c291530e6280131d hal-0.5.9_rc2.ebuild 5195
+SHA256 a8d52c6d4e07b162655490369d25f5fa2dc2d6403a03a612bbed4a61602b5e9a hal-0.5.9_rc2.ebuild 5195
+MISC ChangeLog 20625 RMD160 39bafa6afa85214fbbbe96a4955c757f2ca6d2dd SHA1 e36c2ba87901e69ede8c9dcab1e1a671d5567287 SHA256 f5acebccea70e12023fbc8862dc4381bac61ae63af5aff650f8d930177c4c27e
+MD5 b68c00bc22fbc10a9172b10be136392d ChangeLog 20625
+RMD160 39bafa6afa85214fbbbe96a4955c757f2ca6d2dd ChangeLog 20625
+SHA256 f5acebccea70e12023fbc8862dc4381bac61ae63af5aff650f8d930177c4c27e ChangeLog 20625
 MISC metadata.xml 223 RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb SHA1 28aa498172fa4c6f437adb79913ae16f4deb0c0c SHA256 49dd14861ed993df9f3509f82bb7f77e524b4b6c0e137677bb9f873d9cd8541d
 MD5 885e3073744523eaf2450514a311758b metadata.xml 223
 RMD160 ca8850c4808c8972fe9995c456578ff23cb4b3fb metadata.xml 223
@@ -143,10 +145,6 @@ SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/di
 MD5 f6986582ab2d32e615cb3dbce02614cd files/digest-hal-0.5.7.1-r5 238
 RMD160 dafbac18b72d6d7d879ccb37200ce33a870bb8a1 files/digest-hal-0.5.7.1-r5 238
 SHA256 6fede189bf70fa0a1009bcefea0a23a8941a051256e7fafc16793324db3c61c0 files/digest-hal-0.5.7.1-r5 238
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF29dW8bi6rjpTunYRAuimAJ9p2kKM6qSalE767p1BKAN6LWlU5ACfSTWV
-nx8YVpL81IFBM60qDN/mPHA=
-=jHfq
------END PGP SIGNATURE-----
+MD5 39710d0d56c5beb18d67b2845c19cc0a files/digest-hal-0.5.9_rc2 244
+RMD160 f540b0fa0b03dcb17a1cf39caa83e3d67c1fabf1 files/digest-hal-0.5.9_rc2 244
+SHA256 15c93494f0692b662024325758c82c96451ab4255eaa77ae67b5417457effda3 files/digest-hal-0.5.9_rc2 244
diff --git a/sys-apps/hal/files/digest-hal-0.5.9_rc2 b/sys-apps/hal/files/digest-hal-0.5.9_rc2
new file mode 100644 (file)
index 0000000..3951456
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d3e2d565d019f626d96632d2034d9b05 hal-0.5.9.rc2.tar.gz 1543333
+RMD160 e3c788d9ef8778034f92b35e250e15eb034bf31c hal-0.5.9.rc2.tar.gz 1543333
+SHA256 107bd9e76de2ac7fc086dd545e08580a5aa75b1f979fdb55b3a686a1e833b166 hal-0.5.9.rc2.tar.gz 1543333
diff --git a/sys-apps/hal/hal-0.5.9_rc2.ebuild b/sys-apps/hal/hal-0.5.9_rc2.ebuild
new file mode 100644 (file)
index 0000000..eeb2225
--- /dev/null
@@ -0,0 +1,163 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/hal-0.5.9_rc2.ebuild,v 1.1 2007/03/30 05:46:53 steev Exp $
+
+inherit eutils linux-info autotools flag-o-matic
+
+MY_PV=${PV/_/.}
+
+DESCRIPTION="Hardware Abstraction Layer"
+HOMEPAGE="http://www.freedesktop.org/Software/hal"
+SRC_URI="http://people.freedesktop.org/~david/dist/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="|| ( GPL-2 AFL-2.0 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+IUSE="acpi crypt debug dell disk-partition doc mactel pcmcia selinux"
+
+RDEPEND=">=dev-libs/glib-2.6
+               >=dev-libs/dbus-glib-0.61
+               >=sys-fs/udev-104
+               >=sys-apps/util-linux-2.12r-r1
+               || ( >=sys-kernel/linux-headers-2.6 >=sys-kernel/mips-headers-2.6 )
+               >=dev-libs/expat-1.95.8
+               >=sys-apps/pciutils-2.2.3
+               >=dev-libs/libusb-0.1.10a
+               virtual/eject
+               amd64? ( >=sys-apps/dmidecode-2.7 )
+               x86? ( >=sys-apps/dmidecode-2.7 )
+               ia64? ( >=sys-apps/dmidecode-2.7 )
+               dell? ( >=sys-libs/libsmbios-0.13.4 )
+               disk-partition? ( >=sys-apps/parted-1.7.1 )
+               crypt? ( >=sys-fs/cryptsetup-luks-1.0.1 )
+               selinux? ( sys-libs/libselinux )"
+
+DEPEND="${RDEPEND}
+                 dev-util/pkgconfig
+               >=dev-util/intltool-0.35
+               doc? ( app-doc/doxygen app-text/docbook-sgml-utils )"
+
+PDEPEND="app-misc/hal-info"
+
+S="${WORKDIR}"/${PN}-${PV%%_*}
+
+## HAL Daemon drops privledges so we need group access to read disks
+HALDAEMON_GROUPS="haldaemon,plugdev,disk,cdrom,cdrw,floppy,usb"
+
+function notify_uevent() {
+       ewarn
+       ewarn "You must enable Kernel Userspace Events in your kernel."
+       ewarn "For this you need to enable 'Hotplug' under 'General Setup' and"
+       ewarn "basic networking.  They are marked CONFIG_HOTPLUG and CONFIG_NET"
+       ewarn "in the config file."
+       ewarn
+       ebeep 5
+}
+
+function notify_procfs() {
+       ewarn
+       ewarn "You must enable the proc filesystem in your kernel."
+       ewarn "For this you need to enable '/proc file system support' under"
+       ewarn "'Pseudo filesystems' in 'File systems'.  It is marked"
+       ewarn "CONFIG_PROC_FS in the config file."
+       ewarn
+       ebeep 5
+}
+
+pkg_setup() {
+       kernel_is ge 2 6 17 || ewarn "HAL requires a kernel version 2.6.17 or newer"
+
+       if ! ( linux_chkconfig_present HOTPLUG && linux_chkconfig_present NET )
+       then
+               notify_uevent
+       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}
+       epatch ${FILESDIR}/${PN}-0.5.7-plugdev-allow-send.patch
+}
+
+src_compile() {
+       # TODO :: policykit should have a pam useflag
+       append-flags -rdynamic
+
+       econf --disable-policy-kit \
+                 --with-doc-dir=/usr/share/doc/${PF} \
+                 --with-os-type=gentoo \
+                 --with-pid-file=/var/run/hald.pid \
+                 --with-hwdata=/usr/share/misc \
+                 --enable-hotplug-map \
+                 $(use_enable debug verbose-mode) \
+                 $(use_enable disk-partition parted) \
+                 $(use_enable pcmcia pcmcia-support) \
+                 $(use_enable acpi acpi-proc) \
+                 $(use_enable doc docbook-docs) \
+                 $(use_enable doc doxygen-docs) \
+                 $(use_with mactel macbookpro) \
+                 $(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
+
+       # We now create and keep /media here as both gnome-mount and pmount
+       # use these directories, to avoid collision.
+       dodir /media
+       keepdir /media
+       # We also need to create and keep /etc/fdi/{information,policy,preprobe}
+       # or else hal bombs.
+       dodir /etc/hal/fdi/{information,policy,preprobe}
+       keepdir /etc/hal/fdi/{information,policy,preprobe}
+}
+
+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
+
+       elog "The HAL daemon needs to be running for certain applications to"
+       elog "work. Suggested is to add the init script to your start-up"
+       elog "scripts, this should be done like this :"
+       elog "\`rc-update add hald default\`"
+       echo
+       elog "Looking for automounting support? Add yourself to the plugdev group"
+}