diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-28 22:32:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-28 22:32:00 +0000 |
commit | c3a06a593b9674391767485e8c3b77b714bbd119 (patch) | |
tree | 163fd49a5802f70b9bba4540acaabdebac75b071 /net-misc/ntp | |
parent | Fixed the header (Manifest recommit) (diff) | |
download | gentoo-2-c3a06a593b9674391767485e8c3b77b714bbd119.tar.gz gentoo-2-c3a06a593b9674391767485e8c3b77b714bbd119.tar.bz2 gentoo-2-c3a06a593b9674391767485e8c3b77b714bbd119.zip |
move user creation to pkg_preinst()
Diffstat (limited to 'net-misc/ntp')
-rw-r--r-- | net-misc/ntp/ntp-4.1.2.ebuild | 13 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.2.0-r2.ebuild | 13 |
2 files changed, 14 insertions, 12 deletions
diff --git a/net-misc/ntp/ntp-4.1.2.ebuild b/net-misc/ntp/ntp-4.1.2.ebuild index 4288a681984b..cd5a59c2b091 100644 --- a/net-misc/ntp/ntp-4.1.2.ebuild +++ b/net-misc/ntp/ntp-4.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.2.ebuild,v 1.33 2004/04/06 03:13:47 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.2.ebuild,v 1.34 2004/04/28 22:32:00 vapier Exp $ inherit eutils flag-o-matic @@ -28,11 +28,6 @@ DEPEND="${RDEPEND} >=sys-devel/automake-1.7.7 >=sys-apps/sed-4.0.5" -pkg_setup() { - enewgroup ntp 123 - enewuser ntp 123 /bin/false /dev/null ntp -} - hax_bitkeeper() { # the makefiles have support for bk ... # basically we have to do this or bk will try to write @@ -80,8 +75,14 @@ src_compile() { emake || die } +pkg_preinst() { + enewgroup ntp 123 + enewuser ntp 123 /bin/false /dev/null ntp +} + src_install() { hax_bitkeeper + pkg_preinst make install DESTDIR=${D} || die diff --git a/net-misc/ntp/ntp-4.2.0-r2.ebuild b/net-misc/ntp/ntp-4.2.0-r2.ebuild index 98ac26f28c46..8fc12dcc69c8 100644 --- a/net-misc/ntp/ntp-4.2.0-r2.ebuild +++ b/net-misc/ntp/ntp-4.2.0-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.6 2004/04/26 02:06:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r2.ebuild,v 1.7 2004/04/28 22:32:00 vapier Exp $ inherit eutils flag-o-matic @@ -24,11 +24,6 @@ DEPEND="${RDEPEND} >=sys-devel/automake-1.7.7 >=sys-apps/sed-4.0.5" -pkg_setup() { - enewgroup ntp 123 - enewuser ntp 123 /bin/false /dev/null ntp -} - hax_bitkeeper() { # the makefiles have support for bk ... # basically we have to do this or bk will try to write @@ -79,8 +74,14 @@ src_compile() { emake || die } +pkg_preinst() { + enewgroup ntp 123 + enewuser ntp 123 /bin/false /dev/null ntp +} + src_install() { hax_bitkeeper + pkg_preinst make install DESTDIR=${D} || die |