- upgrade to 4.82 (see the 00DIST file for list of changes)
- backport an upstream patch from 4.83A-linux - remove lsof_4.81-man.patch (fixed upstream)
This commit is contained in:
parent
d3a1eb9c90
commit
df43de004b
@ -1 +1 @@
|
|||||||
lsof_4.81-rh.tar.bz2
|
lsof_4.82-rh.tar.bz2
|
||||||
|
15
lsof.spec
15
lsof.spec
@ -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.82
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
License: zlib
|
License: zlib
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
|
|
||||||
@ -11,7 +11,7 @@ Group: Development/Debuggers
|
|||||||
# The script you can found in CVS or download from:
|
# The script you can found in CVS or download from:
|
||||||
# http://cvs.fedoraproject.org/viewcvs/rpms/lsof/devel/upstream2downstream.sh
|
# http://cvs.fedoraproject.org/viewcvs/rpms/lsof/devel/upstream2downstream.sh
|
||||||
#
|
#
|
||||||
%define lsofrh lsof_4.81-rh
|
%define lsofrh lsof_%{version}-rh
|
||||||
Source0: %{lsofrh}.tar.bz2
|
Source0: %{lsofrh}.tar.bz2
|
||||||
URL: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
|
URL: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
|
||||||
|
|
||||||
@ -21,8 +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
|
# Backport of upstream patch
|
||||||
Patch2: lsof_4.81-man.patch
|
Patch2: lsof_4.83A-selinux-typo.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
|
||||||
@ -56,6 +56,11 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 27 2009 Karel Zak <kzak@redhat.com> 4.82-1
|
||||||
|
- upgrade to 4.82 (see the 00DIST file for list of changes)
|
||||||
|
- backport an upstream patch from 4.83A-linux
|
||||||
|
- remove lsof_4.81-man.patch (fixed upstream)
|
||||||
|
|
||||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-4
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.81-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
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]"
|
|
16
lsof_4.83A-selinux-typo.patch
Normal file
16
lsof_4.83A-selinux-typo.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
Upstream patch, backported from 4.83A-linux.
|
||||||
|
-- kzak 27-Jul-2009
|
||||||
|
|
||||||
|
diff -up lsof_4.82-rh/Configure.kzak lsof_4.82-rh/Configure
|
||||||
|
--- lsof_4.82-rh/Configure.kzak 2009-07-27 09:50:15.000000000 +0200
|
||||||
|
+++ lsof_4.82-rh/Configure 2009-07-27 09:50:43.000000000 +0200
|
||||||
|
@@ -2700,7 +2700,7 @@ return(0); }
|
||||||
|
LSOF_TMP1=1
|
||||||
|
fi # }
|
||||||
|
else
|
||||||
|
- if test "X$LINUX_HASSELINUX" = "XY" -o "X$LINUX_HASSELINUX" = "xY" # {
|
||||||
|
+ if test "X$LINUX_HASSELINUX" = "XY" -o "X$LINUX_HASSELINUX" = "Xy" # {
|
||||||
|
then
|
||||||
|
LSOF_TMP1=1
|
||||||
|
fi # }
|
Loading…
Reference in New Issue
Block a user