summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-07-28 08:54:14 +0000
committerMamoru Komachi <usata@gentoo.org>2004-07-28 08:54:14 +0000
commit29f119107e1fce5a87a0e609acdba02c3aaa0742 (patch)
tree5ff1b5b22e9d68449b7ba7889be8232bdb0cd196 /net-misc/ndtpd
parentAdd more info on pam-X circular dep (#54378, #35468). (Manifest recommit) (diff)
downloadgentoo-2-29f119107e1fce5a87a0e609acdba02c3aaa0742.tar.gz
gentoo-2-29f119107e1fce5a87a0e609acdba02c3aaa0742.tar.bz2
gentoo-2-29f119107e1fce5a87a0e609acdba02c3aaa0742.zip
Moved enew* to pkg_setup(); see bug #58526
Diffstat (limited to 'net-misc/ndtpd')
-rw-r--r--net-misc/ndtpd/ChangeLog5
-rw-r--r--net-misc/ndtpd/ndtpd-3.1.5.ebuild23
2 files changed, 12 insertions, 16 deletions
diff --git a/net-misc/ndtpd/ChangeLog b/net-misc/ndtpd/ChangeLog
index ac918c3ea630..74e56234e8da 100644
--- a/net-misc/ndtpd/ChangeLog
+++ b/net-misc/ndtpd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/ndtpd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ChangeLog,v 1.7 2004/06/24 23:57:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ChangeLog,v 1.8 2004/07/28 08:54:14 usata Exp $
+
+ 28 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> ndtpd-3.1.5.ebuild:
+ Moved enew* to pkg_setup(); see bug #58526
14 Jan 2004; Mamoru KOMACHI <usata@gentoo.org> ndtpd-3.1.5.ebuild:
Changed uid.gid separator to :, closing bug #38038
diff --git a/net-misc/ndtpd/ndtpd-3.1.5.ebuild b/net-misc/ndtpd/ndtpd-3.1.5.ebuild
index 15a57472072f..cde65f65a50e 100644
--- a/net-misc/ndtpd/ndtpd-3.1.5.ebuild
+++ b/net-misc/ndtpd/ndtpd-3.1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ndtpd-3.1.5.ebuild,v 1.7 2004/06/24 23:57:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ndtpd-3.1.5.ebuild,v 1.8 2004/07/28 08:54:14 usata Exp $
inherit eutils
@@ -19,6 +19,12 @@ DEPEND="${RDEPEND}
RDEPEND=">=dev-libs/eb-3
>=sys-libs/zlib-1.1.3-r2"
+pkg_setup() {
+ # this is required; src_install() needs ndtpuser:ndtpgrp
+ enewgroup ndtpgrp 402
+ enewuser ndtpuser 402 /sbin/nologin /usr/share/dict ndtpgrp
+}
+
src_unpack() {
unpack ${A}
@@ -28,7 +34,7 @@ src_unpack() {
src_compile() {
- autoreconf || die
+ autoconf || die
econf --with-eb-conf=/etc/eb.conf || die
emake || die
@@ -38,19 +44,6 @@ src_install() {
einstall || die
- # getent doesn't exist on FreeBSD system
- if ! $(cut -d':' -f3 /etc/group | grep 402 >/dev/null 2>&1) ; then
- enewgroup ndtpgrp 402
- else
- enewgroup ndtpgrp
- fi
-
- if ! $(cut -d':' -f3 /etc/passwd | grep 402 >/dev/null 2>&1) ; then
- enewuser ndtpuser 402 /bin/false /usr/share/dict ndtpgrp
- else
- enewuser ndtpuser -1 /bin/false /usr/share/dict ndtpgrp
- fi
-
if ! $(grep 2010/tcp /etc/services >/dev/null 2>&1) ; then
cp /etc/services ${T}/services
cat >>${T}/services<<-EOF