summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ndtpd')
-rw-r--r--net-misc/ndtpd/ChangeLog32
-rw-r--r--net-misc/ndtpd/Manifest17
-rw-r--r--net-misc/ndtpd/files/ndtpd.initd8
-rw-r--r--net-misc/ndtpd/metadata.xml6
-rw-r--r--net-misc/ndtpd/ndtpd-3.1.5.ebuild43
5 files changed, 29 insertions, 77 deletions
diff --git a/net-misc/ndtpd/ChangeLog b/net-misc/ndtpd/ChangeLog
index a966f46fa731..68c871ebd8f2 100644
--- a/net-misc/ndtpd/ChangeLog
+++ b/net-misc/ndtpd/ChangeLog
@@ -1,37 +1,9 @@
# ChangeLog for net-misc/ndtpd
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ChangeLog,v 1.11 2005/10/02 14:49:06 flameeyes Exp $
-
- 02 Oct 2005; Diego Pettenò <flameeyes@gentoo.org> ndtpd-3.1.5.ebuild:
- Don't use /bin/false as shell for ndtpuser user. Use -1 instead.
-
- 19 Mar 2005; MATSUU Takuto <matsuu@gentoo.org> ndtpd-3.1.5.ebuild:
- Marked as ~amd64.
-
- 18 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> ndtpd-3.1.5.ebuild:
- Changed /sbin/nologin to /bin/false; /sbin/nologin no longer exists.
-
- 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
-
- 04 Jan 2004; <usata@gentoo.org> ndtpd-3.1.5.ebuild:
- Fixed compile bug when >=dev-libs/eb-4.0
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ChangeLog,v 1.1 2003/09/01 12:26:25 usata Exp $
*ndtpd-3.1.5 (01 Sep 2003)
- 26 Nov 2003; Mamoru KOMACHI <usata@gentoo.org> files/ndtpd.initd:
- Changed need net to use net, see bug #33161
-
- 18 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> metadata.xml,
- ndtpd-3.1.5.ebuild:
- Marked as stable. Changed herd from cjk to no-herd
-
- 11 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> ndtpd-3.1.5.ebuild:
- Changed default uid:gid of ndtpd to 402
-
01 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> ndtpd-3.1.5.ebuild,
files/ndtpd.initd:
Initial import. Thanks to jargon-san at GentooJP BugTrack.
diff --git a/net-misc/ndtpd/Manifest b/net-misc/ndtpd/Manifest
index 24dc5774cdbe..9a7f4f3028bd 100644
--- a/net-misc/ndtpd/Manifest
+++ b/net-misc/ndtpd/Manifest
@@ -1,16 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 1c27f624ac9441f5c8facefb718dc0fc ChangeLog 1460
+MD5 e49a490451384eded60241170914bebc ndtpd-3.1.5.ebuild 1430
+MD5 fa24ad84fecba69ce647c3f8d98234d1 files/ndtpd.initd 586
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 043e2d431237aeec1769801a5b0214df metadata.xml 251
-MD5 1fcc4386de0cab3130a1a903365579db ndtpd-3.1.5.ebuild 1450
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDP/ORj5H05b2HAEkRAn4yAJ4xQJ6fZlspTGMrRfibWwiJloPRBwCeMCpC
-8RY3gbj8XF1IL8k3qGE+9jI=
-=JOpE
------END PGP SIGNATURE-----
diff --git a/net-misc/ndtpd/files/ndtpd.initd b/net-misc/ndtpd/files/ndtpd.initd
index 841cb8c4cf09..2785f2aa2e8e 100644
--- a/net-misc/ndtpd/files/ndtpd.initd
+++ b/net-misc/ndtpd/files/ndtpd.initd
@@ -1,12 +1,12 @@
#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/files/ndtpd.initd,v 1.4 2004/07/15 00:04:32 agriffis Exp $
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/files/ndtpd.initd,v 1.1 2003/09/01 12:26:25 usata Exp $
opts="${opts} reload"
depend() {
- use net
+ need net
}
start() {
diff --git a/net-misc/ndtpd/metadata.xml b/net-misc/ndtpd/metadata.xml
index 23d9f0beb302..2d5852c16c60 100644
--- a/net-misc/ndtpd/metadata.xml
+++ b/net-misc/ndtpd/metadata.xml
@@ -1,9 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>usata@gentoo.org</email>
- <name>Mamoru KOMACHI</name>
-</maintainer>
+<herd>cjk</herd>
</pkgmetadata>
diff --git a/net-misc/ndtpd/ndtpd-3.1.5.ebuild b/net-misc/ndtpd/ndtpd-3.1.5.ebuild
index 740f4062a589..cbc3f1f0efb8 100644
--- a/net-misc/ndtpd/ndtpd-3.1.5.ebuild
+++ b/net-misc/ndtpd/ndtpd-3.1.5.ebuild
@@ -1,41 +1,26 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.11 2005/10/02 14:49:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ndtpd/ndtpd-3.1.5.ebuild,v 1.1 2003/09/01 12:26:25 usata Exp $
inherit eutils
IUSE=""
-DESCRIPTION="A server for accessing CD-ROM books with NDTP(Network Directory Transfer Protocol)"
+DESCRIPTION="A server for accessing CD-ROM books with NDTP(Network Directory Transfer Protocol)"
HOMEPAGE="http://www.sra.co.jp/people/m-kasahr/ndtpd/"
SRC_URI="ftp://ftp.sra.co.jp/pub/net/ndtp/ndtpd/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~amd64"
+KEYWORDS="~x86"
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.57"
-RDEPEND=">=dev-libs/eb-3
+DEPEND=">=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 -1 /usr/share/dict ndtpgrp
-}
-
-src_unpack() {
-
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-eb4-gentoo.diff
-}
+S="${WORKDIR}/${P}"
src_compile() {
- autoconf || die
-
econf --with-eb-conf=/etc/eb.conf || die
emake || die
}
@@ -44,12 +29,24 @@ src_install() {
einstall || die
+ # getent doesn't exist on FreeBSD system
+ if ! $(cut -d':' -f3 /etc/group | grep 2010 >/dev/null 2>&1) ; then
+ enewgroup ndtpgrp 2010
+ else
+ enewgroup ndtpgrp
+ fi
+
+ if ! $(cut -d':' -f3 /etc/passwd | grep 2010 >/dev/null 2>&1) ; then
+ enewuser ndtpuser 2010 /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
ndtp 2010/tcp # Network Dictionary Transfer Protocol
EOF
- insinto /etc
doins ${T}/services
fi
@@ -60,7 +57,7 @@ src_install() {
newins ndtpd.conf{.sample,}
keepdir /var/lib/ndtpd
- fowners ndtpuser:ndtpgrp /var/lib/ndtpd
+ fowners ndtpuser.ndtpgrp /var/lib/ndtpd
fperms 4710 /var/lib/ndtpd
dodoc AUTHORS ChangeLog* INSTALL* NEWS README* UPGRADE*