]>
Commit | Line | Data |
---|---|---|
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 MT |
6 | name = lsof |
7 | version = 4.82 | |
832fe3cd | 8 | release = 2 |
892f5783 | 9 | |
832fe3cd | 10 | groups = Development/Debuggers |
802ea3af MT |
11 | url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof |
12 | license = zlib | |
13 | summary = A utility which lists open files on a Linux/UNIX system. | |
892f5783 | 14 | |
802ea3af | 15 | description |
892f5783 SS |
16 | Lsof stands for LiSt Open Files, and it does just that: \ |
17 | it lists information about files that are open by the \ | |
18 | processes running on a system. | |
802ea3af MT |
19 | end |
20 | ||
21 | source_dl = | |
22 | sources = %{name}_%{version}_src.tar.gz | |
892f5783 | 23 | |
802ea3af MT |
24 | build |
25 | requires | |
26 | libselinux-devel | |
27 | end | |
892f5783 | 28 | |
802ea3af | 29 | DIR_APP = /usr/src/%{name}_%{version}_src |
892f5783 | 30 | |
802ea3af | 31 | build |
6f1ca1a1 MT |
32 | LINUX_BASE=/proc \ |
33 | LSOF_VSTR="2.6.16" \ | |
802ea3af MT |
34 | ./Configure linux -n |
35 | make DEBUG="%{CFLAGS}" %{PARALLELISMFLAGS} | |
36 | end | |
37 | ||
38 | install | |
39 | mkdir -pv %{BUILDROOT}/usr/sbin | |
40 | install -m 755 lsof %{BUILDROOT}/usr/sbin | |
41 | mkdir -pv %{BUILDROOT}/usr/share/man/man8 | |
42 | cp -vf lsof.8 %{BUILDROOT}/usr/share/man/man8 | |
43 | end | |
44 | end | |
45 | ||
46 | packages | |
47 | package %{name} | |
1f9bc2f0 MT |
48 | |
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
802ea3af | 52 | end |