summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-01-27 12:42:18 +0100
committertnut <thierryn1 at hispeed dot ch>2011-01-27 12:42:18 +0100
commit4a6be02f98ad0e52925d8a51415392e96bc6d5d7 (patch)
treeb63fe277d00543979e89b18674271e237394eb23
parent5fa4911efa62c56ca17e0705d7a09c610c5cc04d (diff)
parent7ae446388e9aa3d82a65e90fcc3e53485c1573ee (diff)
downloadnutyx-pakxe-4a6be02f98ad0e52925d8a51415392e96bc6d5d7.tar.gz
nutyx-pakxe-4a6be02f98ad0e52925d8a51415392e96bc6d5d7.tar.bz2
nutyx-pakxe-4a6be02f98ad0e52925d8a51415392e96bc6d5d7.tar.xz
nutyx-pakxe-4a6be02f98ad0e52925d8a51415392e96bc6d5d7.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/pakxe
-rw-r--r--base/lsof/.footprint7
-rw-r--r--base/lsof/.md5sum1
-rw-r--r--base/lsof/Pkgfile24
3 files changed, 32 insertions, 0 deletions
diff --git a/base/lsof/.footprint b/base/lsof/.footprint
new file mode 100644
index 000000000..0cf4e796e
--- /dev/null
+++ b/base/lsof/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/lsof
+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/lsof.8.gz
diff --git a/base/lsof/.md5sum b/base/lsof/.md5sum
new file mode 100644
index 000000000..805f46d29
--- /dev/null
+++ b/base/lsof/.md5sum
@@ -0,0 +1 @@
+a09326df500ef7e4550af546868338d6 lsof_4.84.tar.bz2
diff --git a/base/lsof/Pkgfile b/base/lsof/Pkgfile
new file mode 100644
index 000000000..6d18df433
--- /dev/null
+++ b/base/lsof/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Liste les fichiers ouverts sous un process Unix
+# URL: http://people.freebsd.org/~abe/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on:
+# Run on:
+
+name=lsof
+version=4.84
+release=1
+source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/${name}_${version}.tar.bz2)
+
+build() {
+ cd ${name}_${version}
+ tar xf ${name}_${version}_src.tar
+ cd ${name}_${version}_src
+ sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
+
+ ./Configure -n linux
+ make
+ install -Dm0755 -o root -g root lsof $PKG/usr/sbin/lsof
+ install -Dm0644 -o root -g root lsof.8 $PKG/usr/share/man/man8/lsof.8
+}
+