🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132
pkgname: lsof
pkgver: '4.99.7'
pkgrel: '1'
pkgdesc: 'Useful to List Open Files for a given running application or process.'
url: 'http://ftp.u-strasbg.fr/securite'
arch: x86_64
depends: []
makedepends:
- libtirpc
source:
- 'https://github.com/lsof-org/lsof/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
#sed -i 's|/\* #define\tHASSECURITY\t1 \*/|#define\tHASSECURITY\t1|' dialects/linux/machine.h
sed -i "s|.so ./version|.ds VN ${pkgver}|" -i Lsof.8
./Configure -n linux
make CC="cc $CFLAGS $CPPFLAGS $LDFLAGS"
install -v -m755 -d ${PKGDIR}/usr/bin
install -v -m755 -d ${PKGDIR}/usr/share/man/man8
install -v -m0755 -o root -g root lsof ${PKGDIR}/usr/bin
install -v Lsof.8 ${PKGDIR}/usr/share/man/man8/lsof.8
package: |
true