summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-02 23:54:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-02 23:54:22 +0000
commita339accd5a5786381aebfed782d4ec2e1d67806c (patch)
treecf05da1b64c565151d65c3a1462fef9a5fb6119d
parentamd64/arm/hppa/ia64/s390/sh/x86 stable (diff)
downloadgentoo-2-a339accd5a5786381aebfed782d4ec2e1d67806c.tar.gz
gentoo-2-a339accd5a5786381aebfed782d4ec2e1d67806c.tar.bz2
gentoo-2-a339accd5a5786381aebfed782d4ec2e1d67806c.zip
amd64 stable
(Portage version: 2.0.51-r15)
-rw-r--r--net-nds/portmap/files/portmap-5b-loopback-only.patch3
-rw-r--r--net-nds/portmap/portmap-5b-r9.ebuild8
2 files changed, 5 insertions, 6 deletions
diff --git a/net-nds/portmap/files/portmap-5b-loopback-only.patch b/net-nds/portmap/files/portmap-5b-loopback-only.patch
index 4684319ce574..e34623f6cc35 100644
--- a/net-nds/portmap/files/portmap-5b-loopback-only.patch
+++ b/net-nds/portmap/files/portmap-5b-loopback-only.patch
@@ -41,7 +41,8 @@ diff -u portmap_5beta/portmap.c portmap_5beta_elros/portmap.c
+ break;
+
default:
- (void) fprintf(stderr, "usage: %s [-dv]\n", argv[0]);
+- (void) fprintf(stderr, "usage: %s [-dv]\n", argv[0]);
++ (void) fprintf(stderr, "usage: %s [-dvl]\n", argv[0]);
(void) fprintf(stderr, "-d: debugging mode\n");
(void) fprintf(stderr, "-v: verbose logging\n");
+ (void) fprintf(stderr, "-l: listen only on loopback address (not on external address)\n");
diff --git a/net-nds/portmap/portmap-5b-r9.ebuild b/net-nds/portmap/portmap-5b-r9.ebuild
index 389e6514b726..2d0d6e0f904c 100644
--- a/net-nds/portmap/portmap-5b-r9.ebuild
+++ b/net-nds/portmap/portmap-5b-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r9.ebuild,v 1.10 2005/01/22 23:51:20 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/portmap/portmap-5b-r9.ebuild,v 1.11 2005/02/02 23:54:22 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -12,7 +12,7 @@ SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="alpha ~amd64 arm hppa ia64 mips ppc ~ppc64 s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc64 s390 sh sparc x86"
IUSE="selinux tcpd"
DEPEND="virtual/libc
@@ -27,7 +27,6 @@ pkg_setup() {
src_unpack() {
unpack ${A}
-
cd ${S}
epatch ${FILESDIR}/${PN}_5beta.dif
@@ -42,11 +41,10 @@ src_unpack() {
# <azarah@gentoo.org> (31 Dec 2002).
epatch ${FILESDIR}/${P}-include-errno_h.patch
- # Path to listen on loopback only #65199
+ # Patch to listen on loopback only #65199
epatch ${FILESDIR}/${P}-loopback-only.patch
# Make tcp wrapper checks easier
- cp Makefile Makefile.orig
epatch ${FILESDIR}/${P}-optional-tcpd.patch
}