summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-09-20 18:20:26 +0000
committerMike Frysinger <vapier@gentoo.org>2004-09-20 18:20:26 +0000
commite417c2a45735cbec474f9b9dfbb59b50e4f4f7f6 (patch)
tree13981d06237380a929bb7be1ace08e0b172820b4 /net-nds
parentGCC 3.4 compile fix added (diff)
downloadgentoo-2-e417c2a45735cbec474f9b9dfbb59b50e4f4f7f6.tar.gz
gentoo-2-e417c2a45735cbec474f9b9dfbb59b50e4f4f7f6.tar.bz2
gentoo-2-e417c2a45735cbec474f9b9dfbb59b50e4f4f7f6.zip
fix start() in init script
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/portmap/files/digest-portmap-5b-r71
-rw-r--r--net-nds/portmap/files/portmap.rc66
-rw-r--r--net-nds/portmap/portmap-5b-r7.ebuild55
-rw-r--r--net-nds/portmap/portmap-5b-r8.ebuild4
4 files changed, 6 insertions, 60 deletions
diff --git a/net-nds/portmap/files/digest-portmap-5b-r7 b/net-nds/portmap/files/digest-portmap-5b-r7
deleted file mode 100644
index 61f9e105bbe8..000000000000
--- a/net-nds/portmap/files/digest-portmap-5b-r7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 781e16ed4487c4caa082c6fef09ead4f portmap_5beta.tar.gz 18702
diff --git a/net-nds/portmap/files/portmap.rc6 b/net-nds/portmap/files/portmap.rc6
index 436314d36a4c..ca8b2f692c01 100644
--- a/net-nds/portmap/files/portmap.rc6
+++ b/net-nds/portmap/files/portmap.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/files/portmap.rc6,v 1.7 2004/07/15 00:18:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/files/portmap.rc6,v 1.8 2004/09/20 18:20:26 vapier Exp $
depend() {
need net
@@ -12,10 +12,12 @@ depend() {
start() {
ebegin "Starting portmap"
start-stop-daemon --start --quiet --exec /sbin/portmap
- eend $?
+ local ret=$?
+ eend ${ret}
#without, if a service depending on portmap is started too fast,
#connecting to portmap will fail -- azarah
sleep 1
+ return ${ret}
}
stop() {
diff --git a/net-nds/portmap/portmap-5b-r7.ebuild b/net-nds/portmap/portmap-5b-r7.ebuild
deleted file mode 100644
index 28dfed0613fb..000000000000
--- a/net-nds/portmap/portmap-5b-r7.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r7.ebuild,v 1.16 2004/07/01 22:37:51 eradicator Exp $
-
-inherit eutils
-
-IUSE="selinux"
-MY_P=${PN}_${PV}eta
-S=${WORKDIR}/${MY_P}
-DESCRIPTION="Netkit - portmapper"
-SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
-HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
-
-SLOT="0"
-LICENSE="as-is"
-KEYWORDS="x86 ppc sparc mips alpha hppa amd64 ia64 ppc64"
-
-DEPEND="virtual/libc
- sys-apps/tcp-wrappers"
-
-RDEPEND="selinux? ( sec-policy/selinux-portmap )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${PN}_5beta.dif
-
- # Should include errno.h, and not define as external. Fix
- # relocation error and build problem with glibc-2.3.2 cvs ...
- # <azarah@gentoo.org> (31 Dec 2002).
- epatch ${FILESDIR}/${P}-include-errno_h.patch
-
- # Get portmap to use our CFLAGS ...
- mv Makefile Makefile.orig
- sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile || die
-}
-
-src_compile() {
- make || die
-}
-
-src_install() {
- into / ; dosbin portmap
- into /usr ; dosbin pmap_dump pmap_set
- doman portmap.8 pmap_dump.8 pmap_set.8
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/portmap.rc6 portmap
-
- # Is this really the sort of thing we wanna be doing? :)
- # ln -s ../../init.d/portmap ${D}/etc/runlevels/default/portmap
-
- dodoc BLURB CHANGES README
-}
diff --git a/net-nds/portmap/portmap-5b-r8.ebuild b/net-nds/portmap/portmap-5b-r8.ebuild
index c10cee18a051..31c3082cb8ff 100644
--- a/net-nds/portmap/portmap-5b-r8.ebuild
+++ b/net-nds/portmap/portmap-5b-r8.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-nds/portmap/portmap-5b-r8.ebuild,v 1.15 2004/08/02 04:21:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r8.ebuild,v 1.16 2004/09/20 18:20:26 vapier Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ~ppc64 s390"
+KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390"
IUSE="selinux"
DEPEND="virtual/libc