diff options
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 +} |