- fix #480694 - lsof manpage mismarked and formats badly
This commit is contained in:
parent
a7e8a17b77
commit
35cfceda22
@ -1,7 +1,7 @@
|
|||||||
Summary: A utility which lists open files on a Linux/UNIX system
|
Summary: A utility which lists open files on a Linux/UNIX system
|
||||||
Name: lsof
|
Name: lsof
|
||||||
Version: 4.81
|
Version: 4.81
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: zlib
|
License: zlib
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
|
|
||||||
@ -21,6 +21,8 @@ BuildRequires: libselinux-devel
|
|||||||
|
|
||||||
# 184338 - allow lsof access nptl threads
|
# 184338 - allow lsof access nptl threads
|
||||||
Patch1: lsof_4.81-threads.patch
|
Patch1: lsof_4.81-threads.patch
|
||||||
|
# 480694 - lsof manpage mismarked and formats badly
|
||||||
|
Patch2: lsof_4.81-man.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Lsof stands for LiSt Open Files, and it does just that: it lists
|
Lsof stands for LiSt Open Files, and it does just that: it lists
|
||||||
@ -30,6 +32,7 @@ UNIX system.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{lsofrh}
|
%setup -q -n %{lsofrh}
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
|
LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
|
||||||
@ -53,6 +56,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 30 2009 Karel Zak <kzak@redhat.com> 4.81-2
|
||||||
|
- fix #480694 - lsof manpage mismarked and formats badly
|
||||||
|
|
||||||
* Tue Dec 2 2008 Karel Zak <kzak@redhat.com> 4.81-1
|
* Tue Dec 2 2008 Karel Zak <kzak@redhat.com> 4.81-1
|
||||||
- upgrade to 4.81
|
- upgrade to 4.81
|
||||||
- lsof_4.80-threads.patch - rebased
|
- lsof_4.80-threads.patch - rebased
|
||||||
|
36
lsof_4.81-man.patch
Normal file
36
lsof_4.81-man.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
diff -up lsof_4.81-rh/lsof.8.kzak lsof_4.81-rh/lsof.8
|
||||||
|
--- lsof_4.81-rh/lsof.8.kzak 2009-01-30 12:19:34.000000000 +0100
|
||||||
|
+++ lsof_4.81-rh/lsof.8 2009-01-30 12:54:00.000000000 +0100
|
||||||
|
@@ -127,27 +127,27 @@ listing of all network files OR files be
|
||||||
|
by user ``foo''.
|
||||||
|
The exceptions are:
|
||||||
|
.IP
|
||||||
|
-.TP \w'1) 'u
|
||||||
|
+.TP \w'1)'u+1
|
||||||
|
1)
|
||||||
|
the `^' (negated) login name or user ID (UID), specified with the
|
||||||
|
.B \-u
|
||||||
|
option;
|
||||||
|
-.TP \w'1) 'u
|
||||||
|
+.TP \w'1)'u+1
|
||||||
|
2)
|
||||||
|
the `^' (negated) process ID (PID), specified with the
|
||||||
|
.B \-p
|
||||||
|
option;
|
||||||
|
-.TP \w'1) 'u
|
||||||
|
+.TP \w'1)'u+1
|
||||||
|
3)
|
||||||
|
the `^' (negated) process group ID (PGID), specified with the
|
||||||
|
.B \-g
|
||||||
|
option;
|
||||||
|
-.TP \w'1) 'u
|
||||||
|
+.TP \w'1)'u+1
|
||||||
|
4)
|
||||||
|
the `^' (negated) command, specified with the
|
||||||
|
.B \-c
|
||||||
|
option;
|
||||||
|
-.TP \w'1) 'u
|
||||||
|
+.TP \w'1)'u+1
|
||||||
|
5)
|
||||||
|
the ('^') negated TCP or UDP protocol state names, specified with the
|
||||||
|
.BI \-s " [p:s]"
|
Loading…
Reference in New Issue
Block a user