diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-05-17 19:00:34 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-05-17 19:00:34 +0000 |
commit | fdf15a8c62db646a38274007a93fb422fefd9399 (patch) | |
tree | 3ddc93a7df50929ba90a7d515d48423bc72dfc06 /net-dialup | |
parent | fix user&group creation (#30749) (diff) | |
download | gentoo-2-fdf15a8c62db646a38274007a93fb422fefd9399.tar.gz gentoo-2-fdf15a8c62db646a38274007a93fb422fefd9399.tar.bz2 gentoo-2-fdf15a8c62db646a38274007a93fb422fefd9399.zip |
fix user&group creation
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/freeradius/freeradius-1.0.1.ebuild | 16 | ||||
-rw-r--r-- | net-dialup/freeradius/freeradius-1.0.2-r2.ebuild | 16 | ||||
-rw-r--r-- | net-dialup/freeradius/freeradius-1.0.2-r3.ebuild | 13 |
3 files changed, 27 insertions, 18 deletions
diff --git a/net-dialup/freeradius/freeradius-1.0.1.ebuild b/net-dialup/freeradius/freeradius-1.0.1.ebuild index a0aa75e9f7e2..f78e74276d12 100644 --- a/net-dialup/freeradius/freeradius-1.0.1.ebuild +++ b/net-dialup/freeradius/freeradius-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.1.ebuild,v 1.8 2005/04/14 20:48:21 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.1.ebuild,v 1.9 2005/05/17 19:00:34 mrness Exp $ inherit eutils @@ -28,6 +28,11 @@ DEPEND="!net-dialup/cistronradius frxp? ( dev-lang/python dev-lang/perl )" +pkg_setup() { + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd +} + src_unpack() { unpack ${P}.tar.gz cd ${S} @@ -85,11 +90,6 @@ src_compile() { make || die } -pkg_preinst() { - enewgroup radiusd - enewuser radiusd -1 /bin/false /var/log/radius radiusd -} - src_install() { dodir /etc dodir /var/log @@ -118,3 +118,7 @@ src_install() { cp ${FILESDIR}/radius.conf ${D}/etc/conf.d/radiusd } +pkg_preinst() { + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd +} diff --git a/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild b/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild index 5c5780c38925..44f927db87c1 100644 --- a/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild +++ b/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild,v 1.4 2005/04/14 20:48:21 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2-r2.ebuild,v 1.5 2005/05/17 19:00:34 mrness Exp $ inherit eutils @@ -28,6 +28,11 @@ DEPEND="!net-dialup/cistronradius frxp? ( dev-lang/python dev-lang/perl )" +pkg_setup() { + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd +} + src_unpack() { unpack ${P}.tar.gz cd ${S} @@ -84,11 +89,6 @@ src_compile() { make || die } -pkg_preinst() { - enewgroup radiusd - enewuser radiusd -1 /bin/false /var/log/radius radiusd -} - src_install() { dodir /etc dodir /var/log @@ -122,3 +122,7 @@ src_install() { newins ${FILESDIR}/radius.conf radiusd } +pkg_preinst() { + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd +} diff --git a/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild b/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild index e4bba592698f..a21d5fce03dd 100644 --- a/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild +++ b/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild,v 1.2 2005/05/10 20:13:45 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.2-r3.ebuild,v 1.3 2005/05/17 19:00:34 mrness Exp $ inherit eutils @@ -34,6 +34,8 @@ pkg_setup() { eerror "Either you select ldap USE flag or remove edirectory" die fi + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd } src_unpack() { @@ -89,11 +91,6 @@ src_compile() { make || die } -pkg_preinst() { - enewgroup radiusd - enewuser radiusd -1 /bin/false /var/log/radius radiusd -} - src_install() { dodir /etc dodir /var/log @@ -127,3 +124,7 @@ src_install() { newins ${FILESDIR}/radius.conf radiusd } +pkg_preinst() { + enewgroup radiusd + enewuser radiusd -1 /bin/false /var/log/radius radiusd +} |