summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-nds/portmap/Manifest1
-rw-r--r--net-nds/portmap/files/portmap-6.0-tcpd.patch18
-rw-r--r--net-nds/portmap/files/portmap.confd5
-rw-r--r--net-nds/portmap/files/portmap.rc658
-rw-r--r--net-nds/portmap/metadata.xml8
-rw-r--r--net-nds/portmap/portmap-6.0.ebuild55
-rw-r--r--net-nds/portmap/portmap-9999.ebuild47
7 files changed, 0 insertions, 192 deletions
diff --git a/net-nds/portmap/Manifest b/net-nds/portmap/Manifest
deleted file mode 100644
index b9e4220a2df4..000000000000
--- a/net-nds/portmap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST portmap-6.0.tgz 22251 BLAKE2B 55b222ab6987db4fe843dba0087fb802b9272c6607a8504135eaa0a41b49bc8e04c875690c1cdf547b6f6b39f273e0f261549c2b9e7639b0689c1f35d33affe5 SHA512 cbcbcff34d7f8c82b8e89464467c313a170d3d1756ae47faab1e90bc01fac8c3b6ff8bc8c35bfe32d9e584aafa8248eb37841d1a54f70db6b54ab54ad7e23665
diff --git a/net-nds/portmap/files/portmap-6.0-tcpd.patch b/net-nds/portmap/files/portmap-6.0-tcpd.patch
deleted file mode 100644
index c6af8f8c80b4..000000000000
--- a/net-nds/portmap/files/portmap-6.0-tcpd.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Enable compile without tcp-wrappers
-
-Patch by Timothy Redaelli <drizzt@gentoo.org>
-
-http://bugs.gentoo.org/178242
-
---- portmap_6.0/pmap_check.c
-+++ portmap_6.0/pmap_check.c
-@@ -44,7 +44,9 @@
- #include <netinet/in.h>
- #include <rpc/rpcent.h>
- #endif
-+#ifdef HOSTS_ACCESS
- #include <tcpd.h>
-+#endif
- #include <arpa/inet.h>
- #include <grp.h>
-
diff --git a/net-nds/portmap/files/portmap.confd b/net-nds/portmap/files/portmap.confd
deleted file mode 100644
index c2756c992b4a..000000000000
--- a/net-nds/portmap/files/portmap.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/conf.d/portmap: config file for /etc/init.d/portmap
-
-# Options for `portmap`.
-# For a full list, just run `portmap -h`.
-#PORTMAP_OPTS="-l"
diff --git a/net-nds/portmap/files/portmap.rc6 b/net-nds/portmap/files/portmap.rc6
deleted file mode 100644
index e123f3df1e6f..000000000000
--- a/net-nds/portmap/files/portmap.rc6
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use net
- before inetd
- before xinetd
-}
-
-checkconfig() {
- if [ -e /proc/config.gz ] ; then
- if zcat /proc/config.gz | grep -s SUNRPC_REGISTER_V4=y ; then
- eerror "portmap does not work with SUNRPC_REGISTER_V4=y;"
- eerror "disable it or use the net-nds/rpcbind package."
- return 1
- fi
- fi
- return 0
-}
-
-start() {
- checkconfig || return 1
-
- ebegin "Starting portmap"
- start-stop-daemon --start --quiet --exec /sbin/portmap -- ${PORTMAP_OPTS}
- 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() {
- ebegin "Stopping portmap"
- start-stop-daemon --stop --quiet --exec /sbin/portmap
- eend $?
-}
-
-restart() {
- # Dump the portmapper's table before stopping
- ebegin "Saving portmap table"
- local pmap=$(pmap_dump)
- eend $?
-
- # Stop and restart portmapper
- svc_stop
- sleep 1
- svc_start
-
- # Reload the portmapper's table
- if [ -n "${pmap}" ] ; then
- ebegin "Reloading portmap table"
- echo "${pmap}" | pmap_set
- eend $?
- fi
-}
diff --git a/net-nds/portmap/metadata.xml b/net-nds/portmap/metadata.xml
deleted file mode 100644
index 56c124413057..000000000000
--- a/net-nds/portmap/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>base-system@gentoo.org</email>
- <name>Gentoo Base System</name>
-</maintainer>
-</pkgmetadata>
diff --git a/net-nds/portmap/portmap-6.0.ebuild b/net-nds/portmap/portmap-6.0.ebuild
deleted file mode 100644
index 6beb27c6e571..000000000000
--- a/net-nds/portmap/portmap-6.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit eutils toolchain-funcs user
-
-DESCRIPTION="daemon for implementing remote procedure calls between computer programs"
-HOMEPAGE="http://neil.brown.name/portmap/"
-SRC_URI="http://neil.brown.name/portmap/${P}.tgz"
-
-LICENSE="BSD GPL-2" # GPL-2 only for init script
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="selinux tcpd"
-
-DEPEND="
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )
-"
-
-RDEPEND="
- selinux? ( sec-policy/selinux-portmap )
-"
-
-S=${WORKDIR}/${PN}_${PV}
-
-pkg_setup() {
- enewgroup rpc 111
- enewuser rpc 111 -1 /dev/null rpc
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-tcpd.patch #178242
-
- # Once HPPA gets PIE's fixed, this can go away
- use hppa && sed -e '/LDFLAGS/s/^/#/' -i "${S}/Makefile" #190458
-}
-
-src_compile() {
- tc-export CC
- emake NO_TCP_WRAPPER="$(use tcpd || echo NO)" || die
-}
-
-src_install() {
- into /
- dosbin portmap || die "portmap"
- into /usr
- dosbin pmap_dump pmap_set || die "pmap"
-
- doman *.8
- dodoc BLURBv5 CHANGES README*
-
- newinitd "${FILESDIR}"/portmap.rc6 portmap
- newconfd "${FILESDIR}"/portmap.confd portmap
-}
diff --git a/net-nds/portmap/portmap-9999.ebuild b/net-nds/portmap/portmap-9999.ebuild
deleted file mode 100644
index 76484e3a2d0e..000000000000
--- a/net-nds/portmap/portmap-9999.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-EGIT_REPO_URI="git://neil.brown.name/portmap"
-inherit toolchain-funcs user git-r3
-
-DESCRIPTION="Netkit - portmapper"
-HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
-SRC_URI=""
-
-LICENSE="BSD GPL-2" # GPL-2 only for init script
-SLOT="0"
-KEYWORDS=""
-IUSE="selinux tcpd"
-
-DEPEND="
- tcpd? ( >=sys-apps/tcp-wrappers-7.6-r7 )
-"
-
-RDEPEND="
- selinux? ( sec-policy/selinux-portmap )
-"
-
-pkg_setup() {
- enewgroup rpc 111
- enewuser rpc 111 -1 /dev/null rpc
-}
-
-src_compile() {
- tc-export CC
- emake NO_TCP_WRAPPER="$(use tcpd || echo NO)"
-}
-
-src_install() {
- into /
- dosbin portmap
- into /usr
- dosbin pmap_dump pmap_set
-
- doman *.8
- dodoc BLURBv5 CHANGES README*
-
- newinitd "${FILESDIR}"/portmap.rc6 portmap
- newconfd "${FILESDIR}"/portmap.confd portmap
-}