diff --git a/pcp-init.patch b/pcp-init.patch new file mode 100644 index 0000000..b41a562 --- /dev/null +++ b/pcp-init.patch @@ -0,0 +1,39 @@ +--- src/pmcd/rc_pcp ++++ src/pmcd/rc_pcp +@@ -31,8 +31,8 @@ + # e.g. SuSE, where chkconfig is a perl script. + ### BEGIN INIT INFO + # Provides: pcp +-# Required-Start: $network +-# Required-Stop: ++# Required-Start: $network $remote_fs ++# Required-Stop: $network $remote_fs + # Default-Start: 2 3 5 + # Default-Stop: + # Description: Configure the Performance Co-Pilot and starts logging. +--- src/pmie/etc_init.d_pmie ++++ src/pmie/etc_init.d_pmie +@@ -30,8 +30,8 @@ + # e.g. SuSE, where chkconfig is a perl script. + ### BEGIN INIT INFO + # Provides: pmie +-# Required-Start: $network +-# Required-Stop: ++# Required-Start: $network $remote_fs ++# Required-Stop: $network $remote_fs + # Default-Start: 2 3 5 + # Default-Stop: + # Description: pmie is a performance monitoring inference engine +--- src/pmproxy/rc_pmproxy ++++ src/pmproxy/rc_pmproxy +@@ -31,8 +31,8 @@ + # e.g. SuSE, where chkconfig is a perl script. + ### BEGIN INIT INFO + # Provides: pmproxy +-# Required-Start: $network +-# Required-Stop: ++# Required-Start: $network $remote_fs ++# Required-Stop: $network $remote_fs + # Default-Start: 2 3 5 + # Default-Stop: + # Description: Control pmproxy for PCP diff --git a/pcp.changes b/pcp.changes index 8a92eca..27183a7 100644 --- a/pcp.changes +++ b/pcp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 28 23:28:57 CEST 2008 - cthiel@suse.de + +- fix init scripts + ------------------------------------------------------------------- Wed Dec 5 02:33:52 CET 2007 - ro@suse.de diff --git a/pcp.spec b/pcp.spec index 90d0056..311b268 100644 --- a/pcp.spec +++ b/pcp.spec @@ -1,19 +1,27 @@ # # spec file for package pcp (Version 2.5.0) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: pcp BuildRequires: bison flex gcc-c++ ncurses-devel procps Version: 2.5.0 -Release: 71 +Release: 116 Summary: Performance Co-Pilot (system-level performance monitoring) License: GPL v2 or later Url: http://oss.sgi.com/projects/pcp @@ -23,6 +31,7 @@ Patch0: pcp-%{version}-SuSE.diff Patch1: pcp-%{version}-ndbm.diff Patch2: pcp-%{version}-rpmlint.diff Patch3: pcp-gcc43.patch +Patch4: pcp-init.patch PreReq: %insserv_prereq %fillup_prereq permissions BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -58,6 +67,7 @@ Authors: %patch1 -p1 %patch2 -p1 %patch3 +%patch4 %build %{suse_update_config -f} @@ -247,91 +257,93 @@ fi exit 0 %changelog -* Wed Dec 05 2007 - ro@suse.de +* Fri Aug 29 2008 cthiel@suse.de +- fix init scripts +* Wed Dec 05 2007 ro@suse.de - fix build with gcc-4.3 (package could possibly be updated anyway) -* Thu Jul 12 2007 - rw@suse.de +* Thu Jul 12 2007 rw@suse.de - Split off development package. -* Fri Mar 30 2007 - ro@suse.de +* Fri Mar 30 2007 ro@suse.de - Add procps,ncurses-devel,bison to buildreq. -* Fri Jun 16 2006 - schwab@suse.de +* Fri Jun 16 2006 schwab@suse.de - Set datadir. - Use RPM_OPT_FLAGS. -* Fri Jun 02 2006 - rw@suse.de +* Fri Jun 02 2006 rw@suse.de - Remove fake dependency on gdbm-devel headers. (#177730) -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - Convert neededforbuild to BuildRequires -* Mon Jan 16 2006 - rw@suse.de +* Mon Jan 16 2006 rw@suse.de - Update to version 2.5.0. (FATE 153129) -* Thu Oct 20 2005 - rw@suse.de +* Thu Oct 20 2005 rw@suse.de - Fix permission of a demo directory. (#129486) -* Sat Apr 09 2005 - coolo@suse.de +* Sat Apr 09 2005 coolo@suse.de - Fix gcc4 compilation -* Fri Nov 12 2004 - ro@suse.de +* Fri Nov 12 2004 ro@suse.de - Correct permissions handling for pmpost -* Mon Oct 18 2004 - nashif@suse.de +* Mon Oct 18 2004 nashif@suse.de - Update to version 2.4.0 -* Wed Apr 28 2004 - nashif@suse.de +* Wed Apr 28 2004 nashif@suse.de - #39324: fixes for SuSE and 2.6 kernels in general from SGI -* Tue Mar 16 2004 - nashif@suse.de +* Tue Mar 16 2004 nashif@suse.de - Update to version 2.3.2 -* Wed Nov 05 2003 - ro@suse.de +* Wed Nov 05 2003 ro@suse.de - package according to permissions.secure and add run_permissions - don't build as root -* Mon Jul 21 2003 - nashif@suse.de +* Mon Jul 21 2003 nashif@suse.de - update to version 2.3.1 -* Thu Jun 19 2003 - nashif@suse.de +* Thu Jun 19 2003 nashif@suse.de - Update to version 2.3.0 - Fixed file list -* Fri Apr 11 2003 - ro@suse.de +* Fri Apr 11 2003 ro@suse.de - fix build with coreutils (deprecated calling syntax for head,tail,sort) -* Mon Jan 20 2003 - ro@suse.de +* Mon Jan 20 2003 ro@suse.de - make it compile with latest glibc (pcp-2.2.2-st_mtime.patch) -* Mon Dec 02 2002 - ro@suse.de +* Mon Dec 02 2002 ro@suse.de - include errno.h where needed - use yacc instead of bison for now (make it compile) -* Fri Aug 16 2002 - nashif@suse.de +* Fri Aug 16 2002 nashif@suse.de - Fixed bug #17954: Added PreReq -* Thu Apr 25 2002 - coolo@suse.de +* Thu Apr 25 2002 coolo@suse.de - fix build for x86_64 and s390x -* Fri Feb 15 2002 - nashif@suse.de +* Fri Feb 15 2002 nashif@suse.de - fix bug #13321: made init script pmie LSB compliant - Added header note - Status returns correct value - Fixed pcp init script: status did not work -* Fri Jan 18 2002 - nashif@suse.de +* Fri Jan 18 2002 nashif@suse.de - Update to version 2.2.2 -* Thu Dec 06 2001 - nashif@suse.de +* Thu Dec 06 2001 nashif@suse.de - Removed START_ variable - Changed escaped { to non escaped to stop awk from complaining -* Mon Jul 09 2001 - nashif@suse.de +* Tue Jul 10 2001 nashif@suse.de - Update to version 2.2.1 - Fixed bug # 9068 -* Thu Jun 07 2001 - nashif@suse.de +* Thu Jun 07 2001 nashif@suse.de - fixed configure.in -* Wed May 09 2001 - mfabian@suse.de +* Wed May 09 2001 mfabian@suse.de - bzip2 sources -* Thu Mar 15 2001 - nashif@suse.de +* Thu Mar 15 2001 nashif@suse.de - added -fpic to fix compile error on ia64 -* Fri Feb 09 2001 - nashif@suse.de +* Fri Feb 09 2001 nashif@suse.de - Update headers - Modified init scripts -* Sun Dec 03 2000 - nashif@suse.de +* Sun Dec 03 2000 nashif@suse.de - Fixed %%post (exit before insserv) - Added sub-package pcp-mysql - Added mysql PMDA to monitor mysql sessions -* Thu Nov 30 2000 - nashif@suse.de +* Thu Nov 30 2000 nashif@suse.de - Update to 2.2.11 -* Wed Nov 29 2000 - ro@suse.de +* Wed Nov 29 2000 ro@suse.de - move rcscript to etc/init.d -* Sun Nov 26 2000 - nashif@suse.de +* Sun Nov 26 2000 nashif@suse.de - Use insserv -* Mon Oct 30 2000 - nashif@suse.de +* Mon Oct 30 2000 nashif@suse.de - Update to version 2.2.10 -* Wed Sep 27 2000 - nashif@suse.de +* Wed Sep 27 2000 nashif@suse.de - Update to 2.1.7 -* Fri Jul 07 2000 - kukuk@suse.de +* Fri Jul 07 2000 kukuk@suse.de - Fix for SPARC -* Wed May 24 2000 - nashif@suse.de +* Wed May 24 2000 nashif@suse.de - Initial Release (2.1.4)