/[gentoo-x86]/sys-apps/hal/hal-0.5.11-r3.ebuild
Gentoo

Diff of /sys-apps/hal/hal-0.5.11-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.11-r3.ebuild,v 1.2 2008/09/21 12:54:29 nixnut Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/hal/Attic/hal-0.5.11-r3.ebuild,v 1.3 2008/12/19 17:37:01 pva Exp $
4 4
5inherit eutils linux-info autotools flag-o-matic 5inherit eutils linux-info autotools flag-o-matic
6 6
7PATCH_VERSION="3" 7PATCH_VERSION="3"
8 8
93 93
94 # http://devmanual.gentoo.org/ebuild-writing/functions/ 94 # http://devmanual.gentoo.org/ebuild-writing/functions/
95 # http://bugs.gentoo.org/show_bug.cgi?id=191605 95 # http://bugs.gentoo.org/show_bug.cgi?id=191605
96 96
97 # Create groups for hotplugging and HAL 97 # Create groups for hotplugging and HAL
98 enewgroup haldaemon || die "Problem adding haldaemon group" 98 enewgroup haldaemon
99 enewgroup plugdev || die "Problem adding plugdev group" 99 enewgroup plugdev
100 100
101 # HAL drops priviledges by default now ... 101 # HAL drops priviledges by default now ...
102 # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups) 102 # ... so we must make sure it can read disk/cdrom info (ie. be in ${HALDAEMON_GROUPS} groups)
103 if use kernel_linux; then 103 if use kernel_linux; then
104 enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_LINUX} || die "Problem adding haldaemon user" 104 enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_LINUX}
105 elif use kernel_FreeBSD; then 105 elif use kernel_FreeBSD; then
106 enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_FREEBSD} || die "Problem addding haldaemon user" 106 enewuser haldaemon -1 "-1" /dev/null ${HALDAEMON_GROUPS_FREEBSD}
107 fi 107 fi
108 108
109 # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS} 109 # Make sure that the haldaemon user is in the ${HALDAEMON_GROUPS}
110 # If users have a problem with this, let them file a bug 110 # If users have a problem with this, let them file a bug
111 if [[ ${ROOT} == / ]] ; then 111 if [[ ${ROOT} == / ]] ; then

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20