Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58335 Details for
Bug 91877
hal 0.5.1 ebuilds
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
hal-0.5.1.ebuild
hal-0.5.1.ebuild (text/plain), 2.83 KB, created by
Doug Goldstein (RETIRED)
on 2005-05-08 04:10:49 UTC
(
hide
)
Description:
hal-0.5.1.ebuild
Filename:
MIME Type:
Creator:
Doug Goldstein (RETIRED)
Created:
2005-05-08 04:10:49 UTC
Size:
2.83 KB
patch
obsolete
># Copyright 1999-2005 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.2 2005/04/24 10:27:20 dsd 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="~x86 ~amd64 ~ia64 ~ppc ~ppc64" >IUSE="debug pcmcia doc" > >RDEPEND=">=dev-libs/glib-2.4 > >=sys-apps/dbus-0.30 > dev-libs/expat > >=sys-fs/udev-050 > sys-apps/hotplug > sys-libs/libcap > dev-libs/popt > >=sys-apps/util-linux-2.12i > || ( >=sys-kernel/linux-headers-2.6 sys-kernel/linux26-headers )" > >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() { > > linux-info_pkg_setup > kernel_is ge 2 6 10 \ > || die "You need a 2.6.10 or newer kernel to build this package" > >} > >src_unpack() { > > unpack ${A} > > cd ${S} > # remove pamconsole option > epatch ${FILESDIR}/${PN}-0.5.1-old_storage_policy.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 COPYING ChangeLog INSTALL NEWS README > >} > >pkg_preinst() { > > enewgroup haldaemon || die "Problem adding haldaemon group" > enewuser haldaemon -1 /bin/false /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\`" > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 91877
:
58335
|
58336
|
58366
|
58400
|
58519