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/freeradius/freeradius-1.0.1.ebuild | |
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/freeradius/freeradius-1.0.1.ebuild')
-rw-r--r-- | net-dialup/freeradius/freeradius-1.0.1.ebuild | 16 |
1 files changed, 10 insertions, 6 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 +} |