|
@@ -1,20 +1,24 @@
|
|
-%define with_pidof 0
|
|
+Name: psmisc
|
|
-
|
|
|
|
Summary: Utilities for managing processes on your system.
|
|
Summary: Utilities for managing processes on your system.
|
|
Summary(ja): システムのプロセスを管理するユーティリティ
|
|
Summary(ja): システムのプロセスを管理するユーティリティ
|
|
-Name: psmisc
|
|
+Version: 22.13
|
|
-Version: 22.6
|
|
+Release: 1%{?_dist_release}
|
|
-Release: 2%{?_dist_release}
|
|
+
|
|
-License: BSD/GPLv2+
|
|
|
|
Group: Applications/System
|
|
Group: Applications/System
|
|
|
|
+License: GPLv2+
|
|
|
|
+URL: http://sourceforge.net/projects/psmisc
|
|
|
|
+
|
|
Source: ftp://ftp.sf.net/pub/sourceforge/psmisc/psmisc-%{version}.tar.gz
|
|
Source: ftp://ftp.sf.net/pub/sourceforge/psmisc/psmisc-%{version}.tar.gz
|
|
-Patch0: psmisc-22.6-types.patch
|
|
+Patch1: psmisc-22.13-peekfd-segv.patch
|
|
-Patch1: psmisc-22.6-pstree-overflow.patch
|
|
+Patch2: psmisc-22.13-fuser-silent.patch
|
|
|
|
+Patch3: psmisc-22.13-killall-pgid.patch
|
|
|
|
+Patch4: psmisc-22.13-ppc64.patch
|
|
|
|
+
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: gettext ncurses-devel
|
|
+BuildRequires: gettext
|
|
|
|
+BuildRequires: ncurses-devel
|
|
BuildRequires: autoconf automake
|
|
BuildRequires: autoconf automake
|
|
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
The psmisc package contains utilities for managing processes on your
|
|
The psmisc package contains utilities for managing processes on your
|
|
system: pstree, killall and fuser. The pstree command displays a tree
|
|
system: pstree, killall and fuser. The pstree command displays a tree
|
|
@@ -35,12 +39,12 @@ fuser コマンドは,指定したファイルやファイルシステムを
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1 -b .types
|
|
+%patch1 -p1
|
|
-%patch1 -p1 -b .pstree-overflow
|
|
+%patch2 -p1
|
|
|
|
+%patch3 -p1
|
|
|
|
+%patch4 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
|
|
|
-autoreconf
|
|
|
|
%configure --prefix=%{_prefix}
|
|
%configure --prefix=%{_prefix}
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
@@ -51,12 +55,8 @@ make install DESTDIR="$RPM_BUILD_ROOT"
|
|
mkdir -p $RPM_BUILD_ROOT%{_syssbindir}
|
|
mkdir -p $RPM_BUILD_ROOT%{_syssbindir}
|
|
mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_syssbindir}
|
|
mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_syssbindir}
|
|
|
|
|
|
-%if ! %{with_pidof}
|
|
|
|
-rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/pidof.1*
|
|
|
|
-%endif
|
|
|
|
-rm -f $RPM_BUILD_ROOT/%{_bindir}/oldfuser
|
|
|
|
-
|
|
|
|
%ifnarch %ix86 x86_64 ppc ppc64
|
|
%ifnarch %ix86 x86_64 ppc ppc64
|
|
|
|
+rm -f $RPM_BUILD_ROOT/%{_bindir}/peekfd
|
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1*
|
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1*
|
|
%endif
|
|
%endif
|
|
|
|
|
|
@@ -68,20 +68,34 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
|
|
+%doc AUTHORS ChangeLog COPYING README
|
|
%{_syssbindir}/fuser
|
|
%{_syssbindir}/fuser
|
|
%{_bindir}/killall
|
|
%{_bindir}/killall
|
|
%{_bindir}/pstree
|
|
%{_bindir}/pstree
|
|
%{_bindir}/pstree.x11
|
|
%{_bindir}/pstree.x11
|
|
|
|
+%{_bindir}/prtstat
|
|
%{_mandir}/man1/fuser.1*
|
|
%{_mandir}/man1/fuser.1*
|
|
%{_mandir}/man1/killall.1*
|
|
%{_mandir}/man1/killall.1*
|
|
%{_mandir}/man1/pstree.1*
|
|
%{_mandir}/man1/pstree.1*
|
|
|
|
+%{_mandir}/man1/prtstat.1*
|
|
%ifarch %ix86 x86_64 ppc ppc64
|
|
%ifarch %ix86 x86_64 ppc ppc64
|
|
%{_bindir}/peekfd
|
|
%{_bindir}/peekfd
|
|
%{_mandir}/man1/peekfd.1*
|
|
%{_mandir}/man1/peekfd.1*
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Apr 9 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 22.13-1
|
|
|
|
+- updated to 22.13
|
|
|
|
+- added Patch1-4 from Fedora
|
|
|
|
+ * Thu Jan 27 2011 Jan Görig <jgorig@redhat.com> 22.13-7
|
|
|
|
+ - fix #671135 - peekfd utility doesn't work on ppc64 architecture
|
|
|
|
+ * Fri Jan 7 2011 Jan Görig <jgorig@redhat.com> 22.13-6
|
|
|
|
+ - fix #666213 - uninitialized memory leading to `killall -g name` failure
|
|
|
|
+ * Tue Nov 16 2010 Jan Görig <jgorig@redhat.com> 22.13-5
|
|
|
|
+ - fix #651794 - incorrect exit code of fuser -m -s
|
|
|
|
+ * Thu Oct 14 2010 Jan Görig <jgorig@redhat.com> 22.13-3
|
|
|
|
+ - fix #642800 - peekfd regression
|
|
|
|
+
|
|
* Mon Aug 18 2008 Shu KONNO <owa@bg.wakwak.com> 22.6-2
|
|
* Mon Aug 18 2008 Shu KONNO <owa@bg.wakwak.com> 22.6-2
|
|
- added psmisc-22.6-types.patch by fedora
|
|
- added psmisc-22.6-types.patch by fedora
|
|
- added psmisc-22.6-pstree-overflow.patch by fedora
|
|
- added psmisc-22.6-pstree-overflow.patch by fedora
|