diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-07-28 08:54:14 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-07-28 08:54:14 +0000 |
commit | 52405fc152004e74d9f26b7a40898d5a32059f88 (patch) | |
tree | 28231784bc258e95e95b9ba0808a8a8f3412daa8 /net-misc | |
parent | Add more info on pam-X circular dep (#54378, #35468). (diff) | |
download | historical-52405fc152004e74d9f26b7a40898d5a32059f88.tar.gz historical-52405fc152004e74d9f26b7a40898d5a32059f88.tar.bz2 historical-52405fc152004e74d9f26b7a40898d5a32059f88.zip |
Moved enew* to pkg_setup(); see bug #58526
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ndtpd/ChangeLog | 5 | ||||
-rw-r--r-- | net-misc/ndtpd/Manifest | 6 | ||||
-rw-r--r-- | net-misc/ndtpd/ndtpd-3.1.5.ebuild | 23 |
3 files changed, 15 insertions, 19 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/Manifest b/net-misc/ndtpd/Manifest index e0997523285f..32e85bc04079 100644 --- a/net-misc/ndtpd/Manifest +++ b/net-misc/ndtpd/Manifest @@ -1,6 +1,6 @@ -MD5 ad5b29ebda4c9e2fa8144d3359407882 ndtpd-3.1.5.ebuild 1657 -MD5 83a323b065fb94569d1ae96ced0f4ec5 ChangeLog 971 +MD5 e29df68d5f048c3d87d0e9d6fef7cc09 ChangeLog 1083 MD5 043e2d431237aeec1769801a5b0214df metadata.xml 251 +MD5 5f89b05026401b2747b4c9f392261b0e ndtpd-3.1.5.ebuild 1449 +MD5 c50d3bad7e4228c971eeb2507f0de06f files/digest-ndtpd-3.1.5 63 MD5 6b62661262cdfe606b598f57f9249a52 files/ndtpd-3.1.5-eb4-gentoo.diff 658 MD5 55c0139b320c6367cf6b91e65d0511bc files/ndtpd.initd 663 -MD5 c50d3bad7e4228c971eeb2507f0de06f files/digest-ndtpd-3.1.5 63 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 |