From 2ca85998fc7d7ab1dc49fd600566a7f7be7e64ac Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 23 Sep 2010 11:17:35 +0000 Subject: main/portmap: removed it is replaced by rpcbind --- main/portmap/APKBUILD | 44 ---------------------------------- main/portmap/commit-queue | 1 - main/portmap/portmap-6.0-tcpd.patch | 18 -------------- main/portmap/portmap.confd | 5 ---- main/portmap/portmap.initd | 47 ------------------------------------- main/portmap/portmap.pre-install | 3 --- 6 files changed, 118 deletions(-) delete mode 100644 main/portmap/APKBUILD delete mode 100644 main/portmap/commit-queue delete mode 100644 main/portmap/portmap-6.0-tcpd.patch delete mode 100644 main/portmap/portmap.confd delete mode 100644 main/portmap/portmap.initd delete mode 100644 main/portmap/portmap.pre-install (limited to 'main') diff --git a/main/portmap/APKBUILD b/main/portmap/APKBUILD deleted file mode 100644 index fb86bac3a..000000000 --- a/main/portmap/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Natanael Copa -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 186b45ada..000000000 --- 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 c6af8f8c8..000000000 --- a/main/portmap/portmap-6.0-tcpd.patch +++ /dev/null @@ -1,18 +0,0 @@ -Enable compile without tcp-wrappers - -Patch by Timothy Redaelli - -http://bugs.gentoo.org/178242 - ---- portmap_6.0/pmap_check.c -+++ portmap_6.0/pmap_check.c -@@ -44,7 +44,9 @@ - #include - #include - #endif -+#ifdef HOSTS_ACCESS - #include -+#endif - #include - #include - diff --git a/main/portmap/portmap.confd b/main/portmap/portmap.confd deleted file mode 100644 index c2756c992..000000000 --- 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 67ce7cf95..000000000 --- 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 ea2baf9e3..000000000 --- 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 -- cgit v1.2.3