lsof: initial import, both branches

This commit is contained in:
Nick Steeves 2006-02-25 09:55:18 +00:00
parent a1ddcb25ea
commit cdc15c086f
3 changed files with 27 additions and 0 deletions

6
lsof/.footprint Normal file
View File

@ -0,0 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rwxr-xr-x root/root usr/man/man8/lsof.8.gz
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/lsof

1
lsof/.md5sum Normal file
View File

@ -0,0 +1 @@
0c4160ceeb753c58eaefb29dbea505eb lsof_4.76.tar.bz2

20
lsof/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: list open files
# URL: http://freshmeat.net/projects/lsof/
# Maintainer:
# Packager: Martin Opel, mo at obbl-net dot de
name=lsof
version=4.76
release=1
source=(http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_$version.tar.bz2)
build() {
cd ${name}_${version}
tar xf ${name}_${version}_src.tar
cd ${name}_${version}_src
yes "" | ./Configure linux
sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile
make
install -D lsof $PKG/usr/sbin/lsof
install -D lsof.8 $PKG/usr/man/man8/lsof.8
}