]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - lsof/lsof.nm
glibc: Update to 2.20
[people/ms/ipfire-3.x.git] / lsof / lsof.nm
CommitLineData
892f5783 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
892f5783
SS
4###############################################################################
5
802ea3af 6name = lsof
4b050c77
SS
7version = 4.85
8release = 1
892f5783 9
832fe3cd 10groups = Development/Debuggers
f0b93618 11url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
802ea3af
MT
12license = zlib
13summary = A utility which lists open files on a Linux/UNIX system.
892f5783 14
802ea3af 15description
f0b93618
SS
16 Lsof stands for LiSt Open Files, and it does just that:
17 it lists information about files that are open by the
892f5783 18 processes running on a system.
802ea3af
MT
19end
20
f0b93618 21thisapp = %{name}_%{version}_src
892f5783 22
802ea3af
MT
23build
24 requires
25 libselinux-devel
26 end
892f5783 27
802ea3af 28 build
6f1ca1a1
MT
29 LINUX_BASE=/proc \
30 LSOF_VSTR="2.6.16" \
802ea3af
MT
31 ./Configure linux -n
32 make DEBUG="%{CFLAGS}" %{PARALLELISMFLAGS}
33 end
34
35 install
36 mkdir -pv %{BUILDROOT}/usr/sbin
37 install -m 755 lsof %{BUILDROOT}/usr/sbin
38 mkdir -pv %{BUILDROOT}/usr/share/man/man8
39 cp -vf lsof.8 %{BUILDROOT}/usr/share/man/man8
40 end
41end
42
43packages
44 package %{name}
1f9bc2f0
MT
45
46 package %{name}-debuginfo
47 template DEBUGINFO
48 end
802ea3af 49end