summaryrefslogtreecommitdiff
path: root/package/portmap
diff options
context:
space:
mode:
Diffstat (limited to 'package/portmap')
-rw-r--r--package/portmap/Makefile35
-rw-r--r--package/portmap/files/portmap.init28
-rw-r--r--package/portmap/files/portmap.postinst8
-rw-r--r--package/portmap/patches/patch-Makefile12
-rw-r--r--package/portmap/patches/patch-pmap_check_c16
5 files changed, 0 insertions, 99 deletions
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
deleted file mode 100644
index 2026c6670..000000000
--- a/package/portmap/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${TOPDIR}/rules.mk
-
-PKG_NAME:= portmap
-PKG_VERSION:= 6.0
-PKG_RELEASE:= 1
-PKG_MD5SUM:= ac108ab68bf0f34477f8317791aaf1ff
-PKG_DESCR:= RPC portmapper
-PKG_SECTION:= net/misc
-PKG_URL:= http://neil.brown.name/portmap/
-PKG_SITES:= http://neil.brown.name/portmap/
-
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
-WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
-
-include ${TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,PORTMAP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIG_STYLE:= manual
-INSTALL_STYLE:= manual
-
-MAKE_FLAGS+= NO_TCP_WRAPPER=1
-TARGET_CPPFLAGS+= -DDAEMON_UID=20 -DDAEMON_GID=20
-TARGET_CFLAGS+= -fPIC
-MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
- CFLAGS='${TARGET_CFLAGS}'
-
-do-install:
- ${INSTALL_DIR} ${IDIR_PORTMAP}/usr/sbin
- ${INSTALL_BIN} ${WRKBUILD}/portmap ${IDIR_PORTMAP}/usr/sbin
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/portmap/files/portmap.init b/package/portmap/files/portmap.init
deleted file mode 100644
index 36ce2aee0..000000000
--- a/package/portmap/files/portmap.init
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-#PKG portmap
-#INIT 60
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${portmap:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- mkdir -p /tmp/.portmap
- /usr/sbin/portmap -t /tmp/.portmap
- ;;
-stop)
- kill $(pgrep -f /usr/sbin/portmap)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?
diff --git a/package/portmap/files/portmap.postinst b/package/portmap/files/portmap.postinst
deleted file mode 100644
index b8b30f45b..000000000
--- a/package/portmap/files/portmap.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf portmap
-add_group portmap 20
-add_user portmap 20 20 /tmp/.portmap
-add_service sunrpc 111/tcp
-add_service sunrpc 111/udp
-
diff --git a/package/portmap/patches/patch-Makefile b/package/portmap/patches/patch-Makefile
deleted file mode 100644
index 63d559ac7..000000000
--- a/package/portmap/patches/patch-Makefile
+++ /dev/null
@@ -1,12 +0,0 @@
---- portmap_6.0.orig/Makefile 2007-05-11 05:02:10.000000000 +0200
-+++ portmap_6.0/Makefile 2010-12-19 22:23:02.000000000 +0100
-@@ -125,9 +125,7 @@ CFLAGS += -Wall -Wstrict-prototypes
- all: portmap pmap_dump pmap_set portmap.man
-
- CPPFLAGS += $(HOSTS_ACCESS)
--portmap: CFLAGS += -fpie
- portmap: LDLIBS += $(WRAP_LIB)
--portmap: LDFLAGS += -pie
- portmap: portmap.o pmap_check.o from_local.o
-
- from_local: CPPFLAGS += -DTEST
diff --git a/package/portmap/patches/patch-pmap_check_c b/package/portmap/patches/patch-pmap_check_c
deleted file mode 100644
index 9dc7cd67f..000000000
--- a/package/portmap/patches/patch-pmap_check_c
+++ /dev/null
@@ -1,16 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
-
-* do not include tcpd.h, when hosts access disabled
-
---- portmap_6.0.orig/pmap_check.c 2007-05-11 05:02:10.000000000 +0200
-+++ portmap_6.0/pmap_check.c 2009-04-24 12:26:06.041879543 +0200
-@@ -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>
-