aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-23 11:17:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-23 12:55:50 +0000
commit2ca85998fc7d7ab1dc49fd600566a7f7be7e64ac (patch)
treed3ce805926991f4688df255bf8b77c4ee9ecfbb1 /main
parent2aebc427d1072ab5195104ce8b7f94b225fc584f (diff)
downloadaports-2ca85998fc7d7ab1dc49fd600566a7f7be7e64ac.tar.bz2
aports-2ca85998fc7d7ab1dc49fd600566a7f7be7e64ac.tar.xz
main/portmap: removed
it is replaced by rpcbind
Diffstat (limited to 'main')
-rw-r--r--main/portmap/APKBUILD44
-rw-r--r--main/portmap/commit-queue1
-rw-r--r--main/portmap/portmap-6.0-tcpd.patch18
-rw-r--r--main/portmap/portmap.confd5
-rw-r--r--main/portmap/portmap.initd47
-rw-r--r--main/portmap/portmap.pre-install3
6 files changed, 0 insertions, 118 deletions
diff --git a/main/portmap/APKBUILD b/main/portmap/APKBUILD
deleted file mode 100644
index fb86bac3a7..0000000000
--- a/main/portmap/APKBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=portmap
-pkgver=6.0
-pkgrel=5
-pkgdesc="RPC connection manager"
-url="http://neil.brown.name/portmap/"
-license="GPL"
-depends=
-makedepends=""
-install="$pkgname.pre-install"
-subpackages="$pkgname-doc"
-source="http://neil.brown.name/$pkgname/$pkgname-$pkgver.tgz
- $pkgname-6.0-tcpd.patch
- $pkgname.confd
- $pkgname.initd"
-
-
-prepare() {
- cd "$srcdir"/portmap_$pkgver
- for i in ../*.patch; do
- msg "Applying $i"
- patch -p1 < $i || return 1
- done
-}
-
-build() {
- cd "$srcdir"/portmap_$pkgver
- make NO_TCP_WRAPPER=NO || return 1
-}
-
-package() {
- cd "$srcdir"/portmap_$pkgver
- mkdir -p "$pkgdir"/sbin
- mkdir -p "$pkgdir"/usr/share/man/man8
- make BASEDIR="$pkgdir" install
- mkdir -p "$pkgdir"/etc/init.d "$pkgdir"/etc/conf.d
- install -m 755 "$startdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
- install -m 644 "$startdir"/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
-}
-
-md5sums="ac108ab68bf0f34477f8317791aaf1ff portmap-6.0.tgz
-bdcd217a0d459c75116d0b5aa90a372b portmap-6.0-tcpd.patch
-56b0f47cda2003f3394ef7c37ec4cdff portmap.confd
-b03305a6fc0bfb621e76e75a300acc4e portmap.initd"
diff --git a/main/portmap/commit-queue b/main/portmap/commit-queue
deleted file mode 100644
index 186b45adac..0000000000
--- a/main/portmap/commit-queue
+++ /dev/null
@@ -1 +0,0 @@
-portmap
diff --git a/main/portmap/portmap-6.0-tcpd.patch b/main/portmap/portmap-6.0-tcpd.patch
deleted file mode 100644
index c6af8f8c80..0000000000
--- a/main/portmap/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/main/portmap/portmap.confd b/main/portmap/portmap.confd
deleted file mode 100644
index c2756c992b..0000000000
--- a/main/portmap/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/main/portmap/portmap.initd b/main/portmap/portmap.initd
deleted file mode 100644
index 67ce7cf95d..0000000000
--- a/main/portmap/portmap.initd
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2007 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.12 2007/06/13 07:52:44 vapier Exp $
-
-depend() {
- use net
- after firewall
- before inetd
- before xinetd
-}
-
-start() {
- 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/main/portmap/portmap.pre-install b/main/portmap/portmap.pre-install
deleted file mode 100644
index ea2baf9e3a..0000000000
--- a/main/portmap/portmap.pre-install
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-adduser -h /var/lib/empty -H -s /bin/false -S -D rpc 2>/dev/null || true