summaryrefslogtreecommitdiffstats
path: root/portmap/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'portmap/Pkgfile')
-rwxr-xr-xportmap/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/portmap/Pkgfile b/portmap/Pkgfile
new file mode 100755
index 000000000..eaa6f3a2b
--- /dev/null
+++ b/portmap/Pkgfile
@@ -0,0 +1,30 @@
+# 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=3
+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
+wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$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
+}