rpms/psacct/devel psacct-6.5.1-acct_log.patch, NONE, 1.1 psacct.init, 1.8, 1.9 psacct.spec, 1.42, 1.43

Ivana Varekova varekova at fedoraproject.org
Mon Jan 4 13:35:56 UTC 2010


Author: varekova

Update of /cvs/pkgs/rpms/psacct/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11841

Modified Files:
	psacct.init psacct.spec 
Added Files:
	psacct-6.5.1-acct_log.patch 
Log Message:
- fix initscript (accton parameters changed)
- fix lastcomm setings (#550229 - confusion about accounting file 
  location)



psacct-6.5.1-acct_log.patch:
 configure |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE psacct-6.5.1-acct_log.patch ---
diff -up acct-6.5.1/configure.pom acct-6.5.1/configure
--- acct-6.5.1/configure.pom	2010-01-04 14:24:09.000000000 +0100
+++ acct-6.5.1/configure	2010-01-04 14:23:33.000000000 +0100
@@ -21351,10 +21351,10 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 #ifndef ACCT_FILE
 #  if defined(__FreeBSD__) || defined(__linux__)
-#    define ACCT_FILE "/var/log/account/pacct"
+#    define ACCT_FILE "/var/account/pacct"
 #  else
 #    if defined(__NetBSD__)
-#      define ACCT_FILE "/var/log/account/acct"
+#      define ACCT_FILE "/var/account/acct"
 #    else
 #      if defined(sun) || defined(AMIX)
 #        define ACCT_FILE "/var/adm/pacct"
@@ -21371,7 +21371,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 #ifndef SAVACCT_FILE
 #  if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
-#    define SAVACCT_FILE "/var/log/account/savacct"
+#    define SAVACCT_FILE "/var/account/savacct"
 #  else
 #    if defined(sun) || defined(AMIX)
 #      define SAVACCT_FILE "/var/adm/savacct"
@@ -21387,7 +21387,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 #ifndef USRACCT_FILE
 #  if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__)
-#    define USRACCT_FILE "/var/log/account/usracct"
+#    define USRACCT_FILE "/var/account/usracct"
 #  else
 #    if defined(sun) || defined(AMIX)
 #      define USRACCT_FILE "/var/adm/usracct"


Index: psacct.init
===================================================================
RCS file: /cvs/pkgs/rpms/psacct/devel/psacct.init,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- psacct.init	9 Dec 2009 07:13:20 -0000	1.8
+++ psacct.init	4 Jan 2010 13:35:55 -0000	1.9
@@ -37,7 +37,7 @@ start() {
 
 stop() {
 	
-	action $"Shutting down process accounting: " /sbin/accton
+	action $"Shutting down process accounting: " /sbin/accton off
 	RETVAL=$?
 	if [ $RETVAL -eq 0 ]; then
 	    rm -f $LOCKFILE


Index: psacct.spec
===================================================================
RCS file: /cvs/pkgs/rpms/psacct/devel/psacct.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -r1.42 -r1.43
--- psacct.spec	21 Dec 2009 14:36:13 -0000	1.42
+++ psacct.spec	4 Jan 2010 13:35:55 -0000	1.43
@@ -12,7 +12,7 @@
 Summary: Utilities for monitoring process activities
 Name: psacct
 Version: 6.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: ftp://ftp.gnu.org/pub/gnu/acct/
@@ -30,6 +30,7 @@ Patch7: psacct-6.5.1-LargeFile.patch
 Patch8: psacct-6.3.2-lastcomm_man.patch
 Patch9: acct-6.3.2-sa_manpage.patch
 Patch11: psacct-6.3.2-man-pages.patch
+Patch12: psacct-6.5.1-acct_log.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: /sbin/chkconfig /sbin/install-info
@@ -64,6 +65,7 @@ commands.
 %patch8 -p1 -b .man
 %patch9 -p1 -b .pct
 %patch11 -p1 -b .new
+%patch12 -p1 -b .log
 
 %build
 %if ! %{FHS_compliant}
@@ -177,8 +179,13 @@ fi
 %{_infodir}/accounting.info.gz
 
 %changelog
-* Fri Dec 18 2009 Ivana Hutarova Varekova <varekova at redhat.com> - 6.5-1
-- update to 6.5
+* Mon Jan  4 2010 Ivana Hutarova Varekova <varekova at redhat.com> - 6.5.1-2
+- fix initscript (accton parameters changed)
+- fix lastcomm setings (#550229 - confusion about accounting file 
+  location)
+
+* Fri Dec 18 2009 Ivana Hutarova Varekova <varekova at redhat.com> - 6.5.1-1
+- update to 6.5.1
   remove unnecessary patches, spec file changes
 
 * Fri Dec  9 2009 Ivana Hutarova Varekova <varekova at redhat.com> - 6.2.3-57




More information about the fedora-extras-commits mailing list