parent
ce9f6eca9c
commit
4265063cb7
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/lsof_4.88-rh.tar.xz
|
||||
/lsof_4.89-rh.tar.xz
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -upr lsof_4.88-rh.orig/dialects/linux/dnode.c lsof_4.88-rh/dialects/linux/dnode.c
|
||||
--- lsof_4.88-rh.orig/dialects/linux/dnode.c 2014-10-14 00:26:03.000000000 +0200
|
||||
+++ lsof_4.88-rh/dialects/linux/dnode.c 2015-01-05 19:57:05.562294509 +0100
|
||||
@@ -580,7 +580,7 @@ process_proc_node(p, pbr, s, ss, l, ls)
|
||||
Lf->inp_ty = 1;
|
||||
|
||||
#if defined(HASEPTOPTS)
|
||||
- if (Lf->ntype == N_FIFO) {
|
||||
+ if ((Lf->ntype == N_FIFO) && FpipeE) {
|
||||
(void) enter_pinfo();
|
||||
Lf->sf |= SELPINFO;
|
||||
}
|
11
lsof.spec
11
lsof.spec
@ -1,7 +1,7 @@
|
||||
Summary: A utility which lists open files on a Linux/UNIX system
|
||||
Name: lsof
|
||||
Version: 4.88
|
||||
Release: 3%{?dist}
|
||||
Version: 4.89
|
||||
Release: 1%{?dist}
|
||||
# Sendmail .. lib/snpf.c
|
||||
# LGPLv2+ .. lib/regex.c, regex.h
|
||||
License: zlib and Sendmail and LGPLv2+
|
||||
@ -18,9 +18,6 @@ URL: http://people.freebsd.org/~abe/
|
||||
Source0: %{lsofrh}.tar.xz
|
||||
Source1: upstream2downstream.sh
|
||||
|
||||
# upstream patch: eliminates unwanted pipe file output
|
||||
Patch0: lsof-4.88-pipe-files.patch
|
||||
|
||||
BuildRequires: libselinux-devel
|
||||
|
||||
%description
|
||||
@ -29,7 +26,6 @@ about files that are open by the processes running on a UNIX system.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{lsofrh}
|
||||
%patch0 -p1 -b .pipe-files
|
||||
|
||||
%build
|
||||
./Configure -n linux
|
||||
@ -47,6 +43,9 @@ install -p -m 0644 lsof.8 ${RPM_BUILD_ROOT}%{_mandir}/man8
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 29 2015 Peter Schiffer <pschiffe@redhat.com> - 4.89-1
|
||||
- updated to 4.89
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.88-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user