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 | 60ca42e5536c4c87bc0fc15f98cf4f4a00efddb4 (patch) | |
tree | 2651d0ddc290161aadc194770ea56eae34c2e6c9 /net-misc/ntp | |
parent | Fixed the header (diff) | |
download | historical-60ca42e5536c4c87bc0fc15f98cf4f4a00efddb4.tar.gz historical-60ca42e5536c4c87bc0fc15f98cf4f4a00efddb4.tar.bz2 historical-60ca42e5536c4c87bc0fc15f98cf4f4a00efddb4.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 |