From 68b7f83d68cb0a5ad779134639f03319af0cc448 Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 18 Dec 2016 19:46:48 +0200 Subject: [PATCH] lsof.paketlendi --- talimatname/genel/lsof/talimat | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/talimatname/genel/lsof/talimat b/talimatname/genel/lsof/talimat index 9f5267c4f..60d715ec3 100644 --- a/talimatname/genel/lsof/talimat +++ b/talimatname/genel/lsof/talimat @@ -1,27 +1,20 @@ # Description: The lsof package is useful to List Open Files for a given running application or process. -# URL: ftp://sunsite.ualberta.ca/pub/Mirror/lsof -# Packager: berlius at nutyx dot com -# Depends on: libtirpc +# URL: ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/ +# Packager: milisarge +# Depends on: name=lsof version=4.89 release=1 +source=(ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/lsof_$version.tar.bz2) -source=(ftp://sunsite.ualberta.ca/pub/Mirror/lsof/$name\_$version.tar.bz2) - -build () { - - cd $name\_$version - - tar -xf lsof_4.89_src.tar - cd lsof_4.89_src - ./Configure -n linux - make CFGL="-L./lib -ltirpc" - - install -v -m755 -d $PKG/usr/bin - install -v -m755 -d $PKG/usr/share/man/man8 - - install -v -m0755 -o root -g root lsof $PKG/usr/bin - install -v lsof.8 $PKG/usr/share/man/man8 - +build() { + cd lsof_${version} + tar -xf lsof_${version}_src.tar + cd lsof_${version}_src + yes "" | ./Configure linux + sed -i -e "s/-DLINUXV/${CFLAGS} -DLINUXV/" Makefile + make + install -D -m 755 lsof $PKG/usr/sbin/lsof + install -D -m 644 lsof.8 $PKG/usr/man/man8/lsof.8 }