summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:26:44 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:26:44 +0200
commit06d94ceda9d39aab5a87877ed79f89d4001b5138 (patch)
treeef9dc97a74a4ca8551a128641cf1614905d9f556
parenta2f1003aa70e47fa40d1189e5516ca9bc76196c8 (diff)
downloadnutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.gz
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.bz2
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.tar.xz
nutyx-pakxe-06d94ceda9d39aab5a87877ed79f89d4001b5138.zip
Ajout de portmap#6.0-1
-rw-r--r--base/portmap/.footprint40
-rw-r--r--base/portmap/.md5sum2
-rwxr-xr-xbase/portmap/Pkgfile27
-rw-r--r--base/portmap/portmap41
4 files changed, 110 insertions, 0 deletions
diff --git a/base/portmap/.footprint b/base/portmap/.footprint
new file mode 100644
index 000000000..95998588b
--- /dev/null
+++ b/base/portmap/.footprint
@@ -0,0 +1,40 @@
+drwxr-xr-x root/root etc/
+drwxr-xr-x root/root etc/rc.d/
+drwxr-xr-x root/root etc/rc.d/init.d/
+-rwxr-xr-- root/root etc/rc.d/init.d/netfs
+-rwxr-xr-- root/root etc/rc.d/init.d/portmap
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K47netfs -> ../init.d/netfs
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K49portmap -> ../init.d/portmap
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K47netfs -> ../init.d/netfs
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K49portmap -> ../init.d/portmap
+drwxr-xr-x root/root etc/rc.d/rc2.d/
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K47netfs -> ../init.d/netfs
+lrwxrwxrwx root/root etc/rc.d/rc2.d/K49portmap -> ../init.d/portmap
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S22portmap -> ../init.d/portmap
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S28netfs -> ../init.d/netfs
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S22portmap -> ../init.d/portmap
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S28netfs -> ../init.d/netfs
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S22portmap -> ../init.d/portmap
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S28netfs -> ../init.d/netfs
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K47netfs -> ../init.d/netfs
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K49portmap -> ../init.d/portmap
+drwxr-xr-x root/root etc/rc.d/rcsysinit.d/
+drwxr-xr-x root/root etc/sysconfig/
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/pmap_dump
+-rwxr-xr-x root/root sbin/pmap_set
+-rwxr-xr-x root/root sbin/portmap
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pmap_dump.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pmap_set.8.gz
+-rw-r--r-- root/root usr/share/man/man8/portmap.8.gz
diff --git a/base/portmap/.md5sum b/base/portmap/.md5sum
new file mode 100644
index 000000000..fe19b4305
--- /dev/null
+++ b/base/portmap/.md5sum
@@ -0,0 +1,2 @@
+8190d7eae328566fc14a92a581dec3e9 portmap
+ac108ab68bf0f34477f8317791aaf1ff portmap-6.0.tgz
diff --git a/base/portmap/Pkgfile b/base/portmap/Pkgfile
new file mode 100755
index 000000000..e37fafae4
--- /dev/null
+++ b/base/portmap/Pkgfile
@@ -0,0 +1,27 @@
+# Description: used to forward RPC requests to RPC daemons
+# URL: http://neil.brown.name/portmap/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: tcp_wrappers
+
+name=portmap
+version=6.0
+release=1
+source=( http://neil.brown.name/$name/$name-$version.tgz\
+ portmap)
+
+
+build() {
+source /etc/blfs-bootscripts
+wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
+tar xvf $scripts-$scriptsversion.tar.bz2
+cd ${name}_$version
+install -d $PKG/{sbin,usr/{sbin,share/man/man8}}
+make
+make BASEDIR=$PKG install
+cd ../$scripts-$scriptsversion
+make DESTDIR=$PKG install-portmap
+make DESTDIR=$PKG install-netfs
+mkdir -p $PKG/etc/rc.d/init.d
+install -m 754 ../portmap $PKG/etc/rc.d/init.d/
+}
diff --git a/base/portmap/portmap b/base/portmap/portmap
new file mode 100644
index 000000000..b724ce151
--- /dev/null
+++ b/base/portmap/portmap
@@ -0,0 +1,41 @@
+#!/bin/sh
+# Begin $rc_base/init.d/portmap
+
+#$LastChangedBy: bdubbs $
+#$Date: 2007/09/26 14:05:19 $
+#$Id: portmap,v 1.2 2007/09/26 14:05:19 install Exp $
+. /etc/sysconfig/rc
+. $rc_functions
+newuser=bin
+newid=1
+getent passwd $newuser >/dev/null|| /usr/sbin/useradd -g $newid \
+-u $newid -d /dev/null -s /bin/false $newuser
+case "$1" in
+ start)
+ boot_mesg "Starting RPC Portmap"
+ loadproc /sbin/portmap
+ ;;
+
+ stop)
+ boot_mesg "Stopping Portmap"
+ killproc /sbin/portmap
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ status)
+ statusproc /sbin/portmap
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop|restart|status}"
+ exit 1
+ ;;
+
+esac
+
+# End $rc_base/init.d/portmap