############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = lsof version = 4.85 release = 1 groups = Development/Debuggers url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ license = zlib summary = A utility which lists open files on a Linux/UNIX system. description Lsof stands for LiSt Open Files, and it does just that: it lists information about files that are open by the processes running on a system. end thisapp = %{name}_%{version}_src build requires libselinux-devel end build LINUX_BASE=/proc \ LSOF_VSTR="2.6.16" \ ./Configure linux -n make DEBUG="%{CFLAGS}" %{PARALLELISMFLAGS} end install mkdir -pv %{BUILDROOT}/usr/sbin install -m 755 lsof %{BUILDROOT}/usr/sbin mkdir -pv %{BUILDROOT}/usr/share/man/man8 cp -vf lsof.8 %{BUILDROOT}/usr/share/man/man8 end end packages package %{name} package %{name}-debuginfo template DEBUGINFO end end