summaryrefslogtreecommitdiffstats
path: root/extra/portmap/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-15 17:00:23 +0200
committertnut <tnut at nutyx dot com>2011-10-15 17:00:23 +0200
commitf51597cb94012950ba22a70bc8e284e8b937316f (patch)
treea163830031c4aa2c5bdd008500e4dc276702a8de /extra/portmap/Pkgfile
parent3bb5548ad172ade4854e5925302dd3f38f460a8d (diff)
downloadnutyx-pakxe-f51597cb94012950ba22a70bc8e284e8b937316f.tar.gz
nutyx-pakxe-f51597cb94012950ba22a70bc8e284e8b937316f.tar.bz2
nutyx-pakxe-f51597cb94012950ba22a70bc8e284e8b937316f.tar.xz
nutyx-pakxe-f51597cb94012950ba22a70bc8e284e8b937316f.zip
portmap dans extra
Diffstat (limited to 'extra/portmap/Pkgfile')
-rwxr-xr-xextra/portmap/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/portmap/Pkgfile b/extra/portmap/Pkgfile
new file mode 100755
index 000000000..4689ac406
--- /dev/null
+++ b/extra/portmap/Pkgfile
@@ -0,0 +1,29 @@
+# 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
+# Run on: tcp_wrappers
+
+name=portmap
+version=6.0
+release=2
+source=( http://neil.brown.name/$name/$name-$version.tgz\
+ http://nutyx.meticul.eu/files/patchs/$name/portmap-nutyx-01.patch)
+
+
+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
+patch -Np1 -i ../portmap-nutyx-01.patch
+make DESTDIR=$PKG install-portmap
+make DESTDIR=$PKG install-netfs
+mkdir -p $PKG/etc/rc.d/init.d
+}