commit acct for openSUSE:Factory

2019-03-18 Thread root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2019-03-18 10:44:01

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new.28833 (New)


Package is "acct"

Mon Mar 18 10:44:01 2019 rev:43 rq:685961 version:6.6.4

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2017-09-22 
21:34:37.966582983 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new.28833/acct.changes 2019-03-18 
10:44:04.211100130 +0100
@@ -1,0 +2,6 @@
+Sun Mar 17 10:55:00 UTC 2019 - Jan Engelhardt 
+
+- Reduce %systemd_requires to %systemd_ordering: %service_*
+  can handle the absence.
+
+---



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.bYaPyN/_old  2019-03-18 10:44:04.755099546 +0100
+++ /var/tmp/diff_new_pack.bYaPyN/_new  2019-03-18 10:44:04.759099541 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,7 +20,7 @@
 Version:6.6.4
 Release:0
 Summary:User-Specific Process Accounting
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Base
 Url:https://www.gnu.org/software/acct/
 Source: https://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz
@@ -34,7 +34,7 @@
 Requires:   logrotate
 Requires(post): %{install_info_prereq}
 Requires(postun): %{install_info_prereq}
-%{?systemd_requires}
+%{?systemd_ordering}
 
 %description
 This package contains the programs necessary for user-specific process






commit acct for openSUSE:Factory

2017-09-22 Thread root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2017-09-22 21:34:36

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is "acct"

Fri Sep 22 21:34:36 2017 rev:42 rq:528082 version:6.6.4

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2017-07-12 
19:35:33.148192358 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2017-09-22 
21:34:37.966582983 +0200
@@ -1,0 +2,6 @@
+Tue Sep 19 19:26:56 UTC 2017 - kstreit...@suse.com
+
+- acct.service: fix chmod command call to use an absolute path
+  [bsc#1053528]
+
+---



Other differences:
--


++ acct.service ++
--- /var/tmp/diff_new_pack.GLpDUW/_old  2017-09-22 21:34:38.694480520 +0200
+++ /var/tmp/diff_new_pack.GLpDUW/_new  2017-09-22 21:34:38.698479956 +0200
@@ -5,7 +5,7 @@
 [Service]
 Type=oneshot
 RemainAfterExit=true
-ExecStartPre=chmod 600 /var/log/account/pacct
+ExecStartPre=/usr/bin/chmod 600 /var/log/account/pacct
 ExecStart=/usr/sbin/accton /var/log/account/pacct
 ExecStop=/usr/sbin/accton off
 




commit acct for openSUSE:Factory

2017-07-12 Thread root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2017-07-12 19:35:31

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is "acct"

Wed Jul 12 19:35:31 2017 rev:41 rq:509346 version:6.6.4

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2017-04-24 
09:48:52.847134130 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2017-07-12 
19:35:33.148192358 +0200
@@ -1,0 +2,6 @@
+Mon Jul 10 19:13:44 UTC 2017 - astie...@suse.com
+
+- update to 6.6.4:
+ * Added --pid to 'lastcomm'.
+
+---

Old:

  acct-6.6.3.tar.gz
  acct-6.6.3.tar.gz.sig

New:

  acct-6.6.4.tar.gz
  acct-6.6.4.tar.gz.sig



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.yYE7Nh/_old  2017-07-12 19:35:34.008070891 +0200
+++ /var/tmp/diff_new_pack.yYE7Nh/_new  2017-07-12 19:35:34.008070891 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   acct
-Version:6.6.3
+Version:6.6.4
 Release:0
 Summary:User-Specific Process Accounting
 License:GPL-2.0+
@@ -27,14 +27,13 @@
 Source1:acct.service
 Source2:logrotate.acct
 Source3:https://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
-Source4:acct.keyring
+Source4:
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=acct=1#/acct.keyring
 Patch0: acct-6.6.2-hz.patch
 BuildRequires:  makeinfo
 BuildRequires:  systemd-rpm-macros
 Requires:   logrotate
 Requires(post): %{install_info_prereq}
 Requires(postun): %{install_info_prereq}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %{?systemd_requires}
 
 %description
@@ -83,7 +82,6 @@
 %service_del_postun acct.service
 
 %files
-%defattr(-, root, root)
 %doc README NEWS
 %{_infodir}/*.info%{ext_info}
 %{_mandir}/man1/ac*

++ acct-6.6.3.tar.gz -> acct-6.6.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acct-6.6.3/ChangeLog new/acct-6.6.4/ChangeLog
--- old/acct-6.6.3/ChangeLog2017-04-05 23:15:04.0 +0200
+++ new/acct-6.6.4/ChangeLog2017-07-02 17:53:16.0 +0200
@@ -1,4 +1,8 @@
-Sat April 05  21:13:04 2017 Markus Gothe 
+Thu Jun 22 11:31:24 2017 Jan Rybar 
+
+   * Added patch for --pid to 'lastcomm'.
+
+Sat April 05 21:13:04 2017 Markus Gothe 
 
* Integrated patchsets from SUSE and Red Hat.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acct-6.6.3/NEWS new/acct-6.6.4/NEWS
--- old/acct-6.6.3/NEWS 2017-04-05 23:14:49.0 +0200
+++ new/acct-6.6.4/NEWS 2017-07-02 17:50:31.0 +0200
@@ -1,3 +1,7 @@
+New in 6.6.4:
+
+ * Added --pid to 'lastcomm'.
+
 New in 6.6.3:
 
  * Fixed manuals.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acct-6.6.3/accounting.info 
new/acct-6.6.4/accounting.info
--- old/acct-6.6.3/accounting.info  2017-04-05 23:15:21.0 +0200
+++ new/acct-6.6.4/accounting.info  2017-07-02 17:54:21.0 +0200
@@ -36,7 +36,7 @@
 information about any of the applications, see the chapter with the
 program's name.
 
-   This is version 6.6.3 of the GNU Accounting Utilities.
+   This is version 6.6.4 of the GNU Accounting Utilities.
 
 * Menu:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acct-6.6.3/config.h new/acct-6.6.4/config.h
--- old/acct-6.6.3/config.h 2017-04-05 23:11:45.0 +0200
+++ new/acct-6.6.4/config.h 2017-07-02 17:54:21.0 +0200
@@ -970,7 +970,7 @@
 #define PACKAGE_NAME "acct"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acct 6.6.3"
+#define PACKAGE_STRING "acct 6.6.4"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "acct"
@@ -979,7 +979,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "6.6.3"
+#define PACKAGE_VERSION "6.6.4"
 
 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'ptrdiff_t'. */
@@ -1079,7 +1079,7 @@
 
 
 /* Version number of package */
-#define VERSION "6.6.3"
+#define VERSION "6.6.4"
 
 /* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'wchar_t'. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/acct-6.6.3/configure new/acct-6.6.4/configure
--- old/acct-6.6.3/configure2017-04-05 23:11:09.0 +0200
+++ new/acct-6.6.4/configure2017-07-02 17:54:06.0 +0200
@@ 

commit acct for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2017-04-24 09:48:51

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is "acct"

Mon Apr 24 09:48:51 2017 rev:40 rq:489313 version:6.6.3

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2017-04-11 
09:46:20.351113499 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2017-04-24 
09:48:52.847134130 +0200
@@ -1,0 +2,8 @@
+Thu Apr 13 11:59:17 UTC 2017 - kstreit...@suse.com
+
+- remove acct-info.patch that is no longer needed (fixed upstream
+  in version 6.6.3)
+- note: acct-6.6.2-hz.patch was not accepted upstream as it might
+  break support for the HP alpha platform
+
+---

Old:

  acct-info.patch



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.YdWRqZ/_old  2017-04-24 09:48:53.603027220 +0200
+++ /var/tmp/diff_new_pack.YdWRqZ/_new  2017-04-24 09:48:53.607026654 +0200
@@ -29,7 +29,6 @@
 Source3:https://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
 Source4:acct.keyring
 Patch0: acct-6.6.2-hz.patch
-Patch2: acct-info.patch
 BuildRequires:  makeinfo
 BuildRequires:  systemd-rpm-macros
 Requires:   logrotate
@@ -45,7 +44,6 @@
 %prep
 %setup -q
 %patch0
-%patch2
 
 %build
 %configure





commit acct for openSUSE:Factory

2017-04-11 Thread root


bin1t4E3nB8d7.bin
Description: Binary data


commit acct for openSUSE:Factory

2016-07-18 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2016-07-18 21:23:39

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is "acct"

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2016-03-09 
16:48:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2016-07-18 
21:24:30.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 13 19:46:53 UTC 2016 - kstreit...@suse.com
+
+- remove syslog.target from acct.service file [bsc#983938] 
+
+---



Other differences:
--

++ acct.service ++
--- /var/tmp/diff_new_pack.9wS9hV/_old  2016-07-18 21:24:31.0 +0200
+++ /var/tmp/diff_new_pack.9wS9hV/_new  2016-07-18 21:24:31.0 +0200
@@ -1,7 +1,6 @@
 [Unit]
 Description=Process accounting
 Documentation=man:accton(8)
-After=syslog.target
 
 [Service]
 Type=oneshot




commit acct for openSUSE:Factory

2016-03-09 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2016-03-09 15:17:09

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is "acct"

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2015-07-08 
06:59:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2016-03-09 
16:48:36.0 +0100
@@ -1,0 +2,6 @@
+Fri Mar  4 17:41:25 UTC 2016 - o...@aepfle.de
+
+- Remove timestamp from info file
+  acct-timestamp.patch
+
+---

New:

  acct-timestamp.patch



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.uaTpOh/_old  2016-03-09 16:48:37.0 +0100
+++ /var/tmp/diff_new_pack.uaTpOh/_new  2016-03-09 16:48:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@
 Patch0: %{name}-%{version}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
+Patch4: acct-timestamp.patch
 BuildRequires:  libtool
 BuildRequires:  makeinfo
 BuildRequires:  systemd-rpm-macros
@@ -49,6 +50,7 @@
 %patch0 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 autoreconf -ivf


++ acct-timestamp.patch ++
---
 accounting.texi |4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: acct-6.6.2/accounting.texi
===
--- acct-6.6.2.orig/accounting.texi
+++ acct-6.6.2/accounting.texi
@@ -79,9 +79,7 @@ the accounting utilities, read the intro
 information about any of the applications, see the chapter with the
 program's name.
 
-This is Edition @value{EDITION} of the documentation, updated
-@value{UPDATED} for version @value{VERSION} of the GNU Accounting
-Utilities.
+This is version @value{VERSION} of the GNU Accounting Utilities.
 @end ifnottex
 
 @menu



commit acct for openSUSE:Factory

2015-07-07 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2015-07-08 06:59:39

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2015-06-23 
12:00:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2015-07-08 
06:59:40.0 +0200
@@ -1,0 +2,6 @@
+Thu Jul  2 20:31:14 UTC 2015 - tchva...@suse.com
+
+- The previous commit ghosted the log file, but we need it empty
+  and present to start with, so unghost it
+
+---
@@ -4 +10 @@
-- Use just /var/log/acct/pacct file and remove the tmpfiles creation
+- Use just /var/log/account/pacct file and remove the tmpfiles creation



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.1T2Lh7/_old  2015-07-08 06:59:41.0 +0200
+++ /var/tmp/diff_new_pack.1T2Lh7/_new  2015-07-08 06:59:41.0 +0200
@@ -69,6 +69,7 @@
 
 install -m 644 %{SOURCE2}  %{buildroot}%{_sysconfdir}/logrotate.d/acct
 mkdir -p %{buildroot}%{_localstatedir}/log/account
+touch %{buildroot}%{_localstatedir}/log/account/pacct
 
 rm -f %{buildroot}%{_bindir}/last
 rm -f %{buildroot}/%{_mandir}/man1/last.1*
@@ -96,7 +97,7 @@
 %{_mandir}/man8/*
 %config %{_sysconfdir}/logrotate.d/acct
 %dir %{_localstatedir}/log/account
-%ghost %{_localstatedir}/log/account/pacct
+%{_localstatedir}/log/account/pacct
 %{_bindir}/ac
 %{_bindir}/lastcomm
 %{_sbindir}/*





commit acct for openSUSE:Factory

2015-06-23 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2015-06-23 12:00:42

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2015-05-18 
22:30:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2015-06-23 
12:00:43.0 +0200
@@ -1,0 +2,14 @@
+Mon Jun 22 12:40:46 UTC 2015 - tchva...@suse.com
+
+- Use just /var/log/acct/pacct file and remove the tmpfiles creation
+  completely
+
+---
+Mon Jun 22 12:11:02 UTC 2015 - tchva...@suse.com
+
+- Use try-restart not restart on logrotate update, otherwise we could
+  suprisingly start the service for user, which is not desired
+- Cleanup with spec-cleaner
+- Use tmpfiles creation instead of hand-written shell script
+
+---

Old:

  accton-create



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.u0AY25/_old  2015-06-23 12:00:43.0 +0200
+++ /var/tmp/diff_new_pack.u0AY25/_new  2015-06-23 12:00:43.0 +0200
@@ -19,41 +19,26 @@
 Name:   acct
 Version:6.6.2
 Release:0
+Summary:User-Specific Process Accounting
+License:GPL-2.0+
+Group:  System/Base
+Url:http://www.gnu.org/software/acct/
 Source: http://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz
-Source4:http://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
-Source5:%name.keyring
 Source1:acct.service
 Source2:logrotate.acct
-Source3:accton-create
+Source3:http://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
+Source4:%{name}.keyring
+Patch0: %{name}-%{version}-hz.patch
+Patch2: %{name}-info.patch
+Patch3: %{name}-ac.patch
 BuildRequires:  libtool
-%if %suse_version = 1310
-BuildRequires:  systemd-rpm-macros
-%else
-BuildRequires:  systemd
-%endif
-%{?systemd_requires}
-%if %suse_version = 1230
 BuildRequires:  makeinfo
-%endif
+BuildRequires:  systemd-rpm-macros
 Requires:   logrotate
-Requires(pre):  fileutils
-Requires(pre):  coreutils
-Requires(preun): fileutils
-Requires(preun): coreutils
-Requires(post): %install_info_prereq
-Requires(post): fileutils
-Requires(post): coreutils
-Requires(postun): %install_info_prereq
-Requires(postun): fileutils
-Requires(postun): coreutils
-Patch:  %{name}-%{version}-hz.patch
-Patch2: %{name}-info.patch
-Patch3: %{name}-ac.patch
-Url:http://www.gnu.org/software/acct/
+Requires(post): %{install_info_prereq}
+Requires(postun): %{install_info_prereq}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Summary:User-Specific Process Accounting
-License:GPL-2.0+
-Group:  System/Base
+%{?systemd_requires}
 
 %description
 This package contains the programs necessary for user-specific process
@@ -61,14 +46,14 @@
 
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
 %patch2 -p1
 %patch3 -p1
 
 %build
 autoreconf -ivf
 %configure
-make %{?_smp_mflags} CC=%{__cc} CXX=%{__cxx}
+make %{?_smp_mflags}
 
 %install
 install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
@@ -77,23 +62,21 @@
 install -d -m 755 %{buildroot}%{_libexecdir}/account
 install -d -m 755 %{buildroot}%{_sbindir}
 install -d -m 755 %{buildroot}%{_bindir}
-%make_install CC=%{__cc} CXX=%{__cxx}
-install -m 644 %{S:1} %{buildroot}/%{_unitdir}/acct.service
-install -m 644 %{S:2}  %{buildroot}%{_sysconfdir}/logrotate.d/acct
- %{buildroot}%{_localstatedir}/account/pacct
-chmod 600 %{buildroot}%{_localstatedir}/account/pacct
-cd %{buildroot}/usr/sbin/
-ln -sf service rcacct
-rm -f %{buildroot}/usr/bin/last
+%make_install
+
+install -m 644 %{SOURCE1} %{buildroot}/%{_unitdir}/acct.service
+ln -sf service %{buildroot}%{_sbindir}/rcacct
+
+install -m 644 %{SOURCE2}  %{buildroot}%{_sysconfdir}/logrotate.d/acct
+mkdir -p %{buildroot}%{_localstatedir}/log/account
+
+rm -f %{buildroot}%{_bindir}/last
 rm -f %{buildroot}/%{_mandir}/man1/last.1*
-install -m 0755 %{S:3} %{buildroot}%{_libexecdir}/account/create
 
 %pre
 %service_add_pre acct.service
 
 %post
-echo Creating %{_localstatedir}/account/pacct
-%{_libexecdir}/account/create
 %install_info --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
 %service_add_post acct.service
 
@@ -107,18 +90,16 @@
 %files
 %defattr(-, root, root)
 %doc README NEWS
-%doc %{_infodir}/*.info.*
-%doc %{_mandir}/man1/ac*
-%doc %{_mandir}/man1/lastcomm*
-%doc %{_mandir}/man8/*
-%dir %{_localstatedir}/account
-%attr(600, root, root) %ghost %{_localstatedir}/account/pacct

commit acct for openSUSE:Factory

2015-05-18 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2015-05-18 22:30:23

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2015-03-03 
11:15:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2015-05-18 
22:30:25.0 +0200
@@ -1,0 +2,5 @@
+Sun May 17 09:09:27 UTC 2015 - meiss...@suse.com
+
+- install deinstall needs to be in preun
+
+---



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.2qcgT9/_old  2015-05-18 22:30:26.0 +0200
+++ /var/tmp/diff_new_pack.2qcgT9/_new  2015-05-18 22:30:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -98,10 +98,10 @@
 %service_add_post acct.service
 
 %preun
+%install_info_delete --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
 %service_del_preun acct.service
 
 %postun
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
 %service_del_postun acct.service
 
 %files





commit acct for openSUSE:Factory

2015-03-03 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2015-03-03 11:15:26

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2014-12-21 
12:04:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2015-03-03 
11:15:50.0 +0100
@@ -1,0 +2,5 @@
+Sun Mar  1 19:49:50 UTC 2015 - p.drou...@gmail.com
+
+- Fixthe log path in service and logrotate files; fix bnc#915654
+
+---



Other differences:
--

++ acct.service ++
--- /var/tmp/diff_new_pack.jXMt8v/_old  2015-03-03 11:15:51.0 +0100
+++ /var/tmp/diff_new_pack.jXMt8v/_new  2015-03-03 11:15:51.0 +0100
@@ -2,13 +2,13 @@
 Description=Process accounting
 Documentation=man:accton(8)
 After=syslog.target
-ConditionPathExists=/var/account
+ConditionPathExists=/var/log/account/pacct
 
 [Service]
 Type=oneshot
 RemainAfterExit=true
 ExecStartPre=/usr/lib/account/create
-ExecStart=/usr/sbin/accton /var/account/pacct
+ExecStart=/usr/sbin/accton /var/log/account/pacct
 ExecStop=/usr/sbin/accton off
 
 [Install]

++ logrotate.acct ++
--- /var/tmp/diff_new_pack.jXMt8v/_old  2015-03-03 11:15:51.0 +0100
+++ /var/tmp/diff_new_pack.jXMt8v/_new  2015-03-03 11:15:51.0 +0100
@@ -1,4 +1,4 @@
-/var/account/pacct {
+/var/log/account/pacct {
 compress
 dateext
 maxage 365

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2014-12-21 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2014-12-21 12:05:10

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2014-09-03 
19:30:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2014-12-21 
12:04:53.0 +0100
@@ -1,0 +2,19 @@
+Fri Dec 19 13:01:30 UTC 2014 - p.drou...@gmail.com
+
+- Add back .keyring and .sig files; OBS verify them too
+
+---
+Sat Dec 13 20:57:10 UTC 2014 - p.drou...@gmail.com
+
+- Update to version 6.6.2
+  + Link with -lm.
+  + Fix texi.
+  + The rest of fixes from 6.5.5 to 6.6.1.  
+- Update Url to new project home
+- Use download Url
+- Remove dependency on gpg-offline and keyring files; let OBS handle
+  source verification
+- Adapt acct-hz.patch to upstream changes
+   acct-6.6.2-hz.patch
+
+---

Old:

  acct-6.6.1.tar.gz
  acct-6.6.1.tar.gz.sig
  acct-hz.patch

New:

  acct-6.6.2-hz.patch
  acct-6.6.2.tar.gz
  acct-6.6.2.tar.gz.sig



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.B5TeXc/_old  2014-12-21 12:04:54.0 +0100
+++ /var/tmp/diff_new_pack.B5TeXc/_new  2014-12-21 12:04:54.0 +0100
@@ -17,15 +17,14 @@
 
 
 Name:   acct
-Version:6.6.1
+Version:6.6.2
 Release:0
-Source: %{name}-%{version}.tar.gz
+Source: http://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz
+Source4:http://ftp.gnu.org/gnu/acct/%{name}-%{version}.tar.gz.sig
+Source5:%name.keyring
 Source1:acct.service
 Source2:logrotate.acct
 Source3:accton-create
-Source10:   %{name}-%{version}.tar.gz.sig
-Source11:   %{name}.keyring
-BuildRequires:  gpg-offline
 BuildRequires:  libtool
 %if %suse_version = 1310
 BuildRequires:  systemd-rpm-macros
@@ -47,10 +46,10 @@
 Requires(postun): %install_info_prereq
 Requires(postun): fileutils
 Requires(postun): coreutils
-Patch:  %{name}-hz.patch
+Patch:  %{name}-%{version}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
-Url:http://www.gnu.org/directory/acct.html
+Url:http://www.gnu.org/software/acct/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:User-Specific Process Accounting
 License:GPL-2.0+
@@ -61,7 +60,6 @@
 accounting: sa, accton, and lastcomm.
 
 %prep
-%gpg_verify %{SOURCE10}
 %setup -q
 %patch -p1
 %patch2 -p1

++ acct-6.6.2-hz.patch ++
Subject: acct-hz.patch

---
 lastcomm.c |   14 +-
 sa.c   |   14 +-
 2 files changed, 26 insertions(+), 2 deletions(-)

Index: acct-6.6.1/lastcomm.c
===
--- acct-6.6.1.orig/lastcomm.c  2011-03-16 23:50:13.0 +0100
+++ acct-6.6.1/lastcomm.c   2013-12-21 23:54:26.496776873 +0100
@@ -71,7 +75,7 @@ int debugging_enabled = 0;/* Nonzero me
 int strict_match_flag = 0; /* Nonzero if each record has to match
   all items on the command line */
 int print_controls = 0;/* don't print control characters */
-int ahz = AHZ; /* for viewing logs from another system */
+int ahz = 0;   /* for viewing logs from another system */
 
 char *program_name;/* name of the program, for usage  errs */
 
@@ -328,6 +332,14 @@ void parse_entries(void)
   print_pacct_record (rec, stddebug);
 }
 
+  if (!ahz) // if this is the first cycle run, ahz is not set yet
+  {
+if (rec-ac_version == 3)
+  ahz = 100; // value AHZ = 100 is hardcoded in acct.h, but in #ifdef 
__KERNEL__ block. too bad
+else
+  ahz = sysconf(_SC_CLK_TCK);
+  }
+
   if (desired_entry (this_uid, this_dev, rec-ac_comm))
 {
   double ut = ACUTIME_2_DOUBLE (rec-ac_utime);
Index: acct-6.6.1/sa.c
===
--- acct-6.6.1.orig/sa.c2011-03-16 23:50:13.0 +0100
+++ acct-6.6.1/sa.c 2013-12-21 23:54:26.497776877 +0100
@@ -190,7 +190,7 @@
 int percentages = 0;   /* include percentages in printout */
 int user_summary_flag = 0; /* are we printing a user summary? */
 int group_summary_flag = 0;/* are we printing a group summary? */
-int ahz = AHZ; /* for viewing logs from another system */
+int ahz = 0;   /* for viewing logs from another system */
 
 
 #if defined(HAVE_ACUTIME)  

commit acct for openSUSE:Factory

2014-09-03 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2014-09-03 18:22:56

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2014-03-21 
13:28:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2014-09-03 
19:30:44.0 +0200
@@ -1,0 +2,5 @@
+Thu Aug 28 13:18:29 UTC 2014 - vci...@suse.com
+
+- fixed libexec path in acct.service (bnc#893980)
+
+---



Other differences:
--

++ acct.service ++
--- /var/tmp/diff_new_pack.RQxO6u/_old  2014-09-03 19:30:46.0 +0200
+++ /var/tmp/diff_new_pack.RQxO6u/_new  2014-09-03 19:30:46.0 +0200
@@ -7,7 +7,7 @@
 [Service]
 Type=oneshot
 RemainAfterExit=true
-ExecStartPre=/usr/libexec/account/create
+ExecStartPre=/usr/lib/account/create
 ExecStart=/usr/sbin/accton /var/account/pacct
 ExecStop=/usr/sbin/accton off
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2014-03-21 13:28:27

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2013-12-23 
22:23:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2014-03-21 
13:28:28.0 +0100
@@ -1,0 +2,7 @@
+Mon Mar 17 10:41:47 UTC 2014 - wer...@suse.de
+
+- cleanup of acct
+  * Add install section in service unit (bnc#867138)
+  * Add a simple script to create pacct file
+
+---

New:

  accton-create



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.AIBhGm/_old  2014-03-21 13:28:29.0 +0100
+++ /var/tmp/diff_new_pack.AIBhGm/_new  2014-03-21 13:28:29.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,22 +17,36 @@
 
 
 Name:   acct
-PreReq: fileutils %install_info_prereq
 Version:6.6.1
 Release:0
 Source: %{name}-%{version}.tar.gz
 Source1:acct.service
 Source2:logrotate.acct
+Source3:accton-create
 Source10:   %{name}-%{version}.tar.gz.sig
 Source11:   %{name}.keyring
 BuildRequires:  gpg-offline
 BuildRequires:  libtool
+%if %suse_version = 1310
+BuildRequires:  systemd-rpm-macros
+%else
 BuildRequires:  systemd
+%endif
 %{?systemd_requires}
 %if %suse_version = 1230
 BuildRequires:  makeinfo
 %endif
 Requires:   logrotate
+Requires(pre):  fileutils
+Requires(pre):  coreutils
+Requires(preun): fileutils
+Requires(preun): coreutils
+Requires(post): %install_info_prereq
+Requires(post): fileutils
+Requires(post): coreutils
+Requires(postun): %install_info_prereq
+Requires(postun): fileutils
+Requires(postun): coreutils
 Patch:  %{name}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
@@ -54,37 +68,34 @@
 %patch3 -p1
 
 %build
-%define prefix   /usr
-%define sysconfdir /etc
 autoreconf -ivf
-CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure \
-  --mandir=%{_mandir} \
-  --prefix=%{prefix} \
-  --infodir=%{_infodir} \
-  --sysconfdir=%{sysconfdir}
+%configure
 make %{?_smp_mflags} CC=%{__cc} CXX=%{__cxx} 
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install CC=%{__cc} CXX=%{__cxx}
-install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d
-install -d -m 755 $RPM_BUILD_ROOT/%{_unitdir}
-install -m 644 %{S:1} $RPM_BUILD_ROOT/%{_unitdir}/acct.service
-install -m 644 %{S:2}  $RPM_BUILD_ROOT/etc/logrotate.d/acct
-install -d -m 755 $RPM_BUILD_ROOT/var/account/
-touch $RPM_BUILD_ROOT/var/account/pacct
-chmod 600 $RPM_BUILD_ROOT/var/account/pacct
-cd $RPM_BUILD_ROOT/usr/sbin/
+install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
+install -d -m 755 %{buildroot}/%{_unitdir}
+install -d -m 755 %{buildroot}%{_localstatedir}/account/
+install -d -m 755 %{buildroot}%{_libexecdir}/account
+install -d -m 755 %{buildroot}%{_sbindir}
+install -d -m 755 %{buildroot}%{_bindir}
+%make_install CC=%{__cc} CXX=%{__cxx}
+install -m 644 %{S:1} %{buildroot}/%{_unitdir}/acct.service
+install -m 644 %{S:2}  %{buildroot}%{_sysconfdir}/logrotate.d/acct
+ %{buildroot}%{_localstatedir}/account/pacct
+chmod 600 %{buildroot}%{_localstatedir}/account/pacct
+cd %{buildroot}/usr/sbin/
 ln -sf service rcacct
-rm -f $RPM_BUILD_ROOT/usr/bin/last
-rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/last.1*
+rm -f %{buildroot}/usr/bin/last
+rm -f %{buildroot}/%{_mandir}/man1/last.1*
+install -m 0755 %{S:3} %{buildroot}%{_libexecdir}/account/create
 
 %pre
 %service_add_pre acct.service
 
 %post
-echo Creating /var/account/pacct
-touch var/account/pacct
-chmod 600 var/account/pacct
+echo Creating %{_localstatedir}/account/pacct
+%{_libexecdir}/account/create
 %install_info --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
 %service_add_post acct.service
 
@@ -102,12 +113,14 @@
 %doc %{_mandir}/man1/ac*
 %doc %{_mandir}/man1/lastcomm*
 %doc %{_mandir}/man8/*
-%dir /var/account
-%attr(600, root, root) %ghost /var/account/pacct
-%config /etc/logrotate.d/acct
-/usr/bin/ac
-/usr/bin/lastcomm
-/usr/sbin/*
+%dir %{_localstatedir}/account
+%attr(600, root, root) %ghost 

commit acct for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2013-12-23 22:23:21

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2013-10-19 
18:52:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2013-12-23 
22:23:23.0 +0100
@@ -1,0 +2,10 @@
+Sat Dec 21 22:53:20 UTC 2013 - vci...@suse.com
+
+- update to 6.6.1
+  * Fixed vulnabilities, due to autmake. Thanks to Karl Berry
+for pointing this out.
+  * Update gnulib to latest git.
+- dropped acct-stdio.h.patch (upstream)
+- add gpg verification
+
+---

Old:

  acct-6.5.5.tar.gz
  acct-stdio.h.patch

New:

  acct-6.6.1.tar.gz
  acct-6.6.1.tar.gz.sig
  acct.keyring



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.4Cl9w6/_old  2013-12-23 22:23:25.0 +0100
+++ /var/tmp/diff_new_pack.4Cl9w6/_new  2013-12-23 22:23:25.0 +0100
@@ -18,11 +18,14 @@
 
 Name:   acct
 PreReq: fileutils %install_info_prereq
-Version:6.5.5
+Version:6.6.1
 Release:0
 Source: %{name}-%{version}.tar.gz
 Source1:acct.service
 Source2:logrotate.acct
+Source10:   %{name}-%{version}.tar.gz.sig
+Source11:   %{name}.keyring
+BuildRequires:  gpg-offline
 BuildRequires:  libtool
 BuildRequires:  systemd
 %{?systemd_requires}
@@ -33,7 +36,6 @@
 Patch:  %{name}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
-Patch4: acct-stdio.h.patch
 Url:http://www.gnu.org/directory/acct.html
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:User-Specific Process Accounting
@@ -45,11 +47,11 @@
 accounting: sa, accton, and lastcomm.
 
 %prep
+%gpg_verify %{SOURCE10}
 %setup -q
 %patch -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
 %define prefix   /usr

++ acct-6.5.5.tar.gz - acct-6.6.1.tar.gz ++
 197501 lines of diff (skipped)

++ acct-ac.patch ++
--- /var/tmp/diff_new_pack.4Cl9w6/_old  2013-12-23 22:23:26.0 +0100
+++ /var/tmp/diff_new_pack.4Cl9w6/_new  2013-12-23 22:23:26.0 +0100
@@ -4,11 +4,11 @@
  configure.ac |8 ++--
  1 files changed, 2 insertions(+), 6 deletions(-)
 
-diff --git a/configure.ac b/configure.ac
-index 743fe29..c150ca3 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -162,7 +162,7 @@ AC_CHECK_HEADER(sys/acct.h,
+Index: acct-6.6.1/configure.ac
+===
+--- acct-6.6.1.orig/configure.ac   2013-03-09 00:19:37.0 +0100
 acct-6.6.1/configure.ac2013-12-21 23:54:54.896897230 +0100
+@@ -231,7 +231,7 @@ AC_CHECK_HEADER(sys/acct.h,
  dnl
  dnl find out where utmp/pacct are stored
  dnl
@@ -17,7 +17,7 @@
  #include stdio.h
  #include stdlib.h
  #include sys/types.h
-@@ -241,9 +241,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
+@@ -310,9 +310,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
  #endif
  #  endif
  #endif
@@ -28,15 +28,12 @@
FILE *fp;
fp = fopen (locs, w);
fprintf (fp, WTMP_FILE_LOC=%s\n, WTMP_FILE);
-@@ -251,8 +249,6 @@ main ()
+@@ -320,8 +318,6 @@ main ()
fprintf (fp, SAVACCT_FILE_LOC=%s\n, SAVACCT_FILE);
fprintf (fp, USRACCT_FILE_LOC=%s\n, USRACCT_FILE);
fclose (fp);
 -  exit(0);
 -}
  ]])],[. ./locs; rm locs],[echo Error -- could not locate your wtmp and acct 
files.; exit 1],[echo Sorry -- you cannot cross-compile this package 
(FIXME).; exit 1 ])
- AC_TYPE_PID_T dnl for sys/acct.h
- AC_TYPE_UID_T dnl same as above
--- 
-1.7.7
-
+ 
+ dnl types

++ acct-hz.patch ++
--- /var/tmp/diff_new_pack.4Cl9w6/_old  2013-12-23 22:23:26.0 +0100
+++ /var/tmp/diff_new_pack.4Cl9w6/_new  2013-12-23 22:23:26.0 +0100
@@ -5,10 +5,10 @@
  sa.c   |   14 +-
  2 files changed, 26 insertions(+), 2 deletions(-)
 
-diff --git a/lastcomm.c b/lastcomm.c
-index 276f9fa..993118d 100644
 a/lastcomm.c
-+++ b/lastcomm.c
+Index: acct-6.6.1/lastcomm.c
+===
+--- acct-6.6.1.orig/lastcomm.c 2011-03-16 23:50:13.0 +0100
 acct-6.6.1/lastcomm.c  2013-12-21 23:54:26.496776873 +0100
 @@ -49,6 +49,10 @@ MA 02139, USA.  */
  
  #include pwd.h
@@ -20,7 +20,7 @@
  #include common.h
  #include files.h
  #include uid_hash.h
-@@ -71,7 +75,7 @@ int debugging_enabled = 0;   /* Nonzero means print internal
+@@ -71,7 +75,7 @@ int debugging_enabled = 0;   /* Nonzero me
  int strict_match_flag = 0;/* Nonzero if each record has to match
   all 

commit acct for openSUSE:Factory

2013-10-19 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2013-10-19 18:52:39

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2013-06-09 
16:32:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2013-10-19 
18:52:39.0 +0200
@@ -1,0 +2,6 @@
+Sat Oct 19 14:56:27 UTC 2013 - p.drou...@gmail.com
+
+- Remove useless %inserv_prereq and fillup_prereq macro; acct package
+  doesn't contain neither sysvinit script and sysconfig file
+
+---



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.u7U1x0/_old  2013-10-19 18:52:41.0 +0200
+++ /var/tmp/diff_new_pack.u7U1x0/_new  2013-10-19 18:52:41.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   acct
-PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq
+PreReq: fileutils %install_info_prereq
 Version:6.5.5
 Release:0
 Source: %{name}-%{version}.tar.gz

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2013-06-09 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2013-06-09 16:32:21

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2013-04-26 
15:35:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2013-06-09 
16:32:22.0 +0200
@@ -1,0 +2,7 @@
+Thu Jun  6 14:53:49 UTC 2013 - schue...@gmx.net
+
+- Converted rc file to systemd unit file.
+- Fixed a bug where the accounting file wasn't reopened after
+  logrotate, because force-reload isn't implemented.
+
+---

Old:

  rc.acct

New:

  acct.service



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.1kKKjo/_old  2013-06-09 16:32:23.0 +0200
+++ /var/tmp/diff_new_pack.1kKKjo/_new  2013-06-09 16:32:23.0 +0200
@@ -21,12 +21,15 @@
 Version:6.5.5
 Release:0
 Source: %{name}-%{version}.tar.gz
-Source1:rc.acct
+Source1:acct.service
 Source2:logrotate.acct
 BuildRequires:  libtool
+BuildRequires:  systemd
+%{?systemd_requires}
 %if %suse_version = 1230
 BuildRequires:  makeinfo
 %endif
+Requires:   logrotate
 Patch:  %{name}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
@@ -61,31 +64,34 @@
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install CC=%{__cc} CXX=%{__cxx}
-install -d -m 755 $RPM_BUILD_ROOT/etc/{init.d,logrotate.d}
-install -m 755 %{S:1}  $RPM_BUILD_ROOT/etc/init.d/acct
+install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d
+install -d -m 755 $RPM_BUILD_ROOT/%{_unitdir}
+install -m 644 %{S:1} $RPM_BUILD_ROOT/%{_unitdir}/acct.service
 install -m 644 %{S:2}  $RPM_BUILD_ROOT/etc/logrotate.d/acct
 install -d -m 755 $RPM_BUILD_ROOT/var/account/
 touch $RPM_BUILD_ROOT/var/account/pacct
 chmod 600 $RPM_BUILD_ROOT/var/account/pacct
 cd $RPM_BUILD_ROOT/usr/sbin/
-ln -sf ../../etc/init.d/acct rcacct
+ln -sf service rcacct
 rm -f $RPM_BUILD_ROOT/usr/bin/last
 rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/last.1*
 
+%pre
+%service_add_pre acct.service
+
 %post
-%{fillup_and_insserv acct}
 echo Creating /var/account/pacct
 touch var/account/pacct
 chmod 600 var/account/pacct
 %install_info --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
+%service_add_post acct.service
 
 %preun
-%stop_on_removal acct
+%service_del_preun acct.service
 
 %postun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/accounting.info.gz
-%restart_on_update acct
-%{insserv_cleanup}
+%service_del_postun acct.service
 
 %files
 %defattr(-, root, root)
@@ -97,9 +103,9 @@
 %dir /var/account
 %attr(600, root, root) %ghost /var/account/pacct
 %config /etc/logrotate.d/acct
-%config /etc/init.d/acct
 /usr/bin/ac
 /usr/bin/lastcomm
 /usr/sbin/*
+%{_unitdir}/acct.service
 
 %changelog

++ acct.service ++
[Unit]
Description=Process accounting
Documentation=man:accton(8)

[Service]
Type=oneshot
RemainAfterExit=true
ExecStartPre=/bin/sh -c 'test -e /var/account/pacct || touch /var/account/pacct'
ExecStart=/usr/sbin/accton /var/account/pacct
ExecStop=/usr/sbin/accton off

++ logrotate.acct ++
--- /var/tmp/diff_new_pack.1kKKjo/_old  2013-06-09 16:32:23.0 +0200
+++ /var/tmp/diff_new_pack.1kKKjo/_new  2013-06-09 16:32:23.0 +0200
@@ -8,7 +8,7 @@
 missingok
 create 640 root root
 postrotate
- /etc/init.d/acct force-reload
+ /usr/bin/systemctl restart acct.service
 endscript
 }
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2013-04-26 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2013-04-26 15:35:06

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2013-01-12 
14:50:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2013-04-26 
15:35:12.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr 26 08:06:16 UTC 2013 - mmeis...@suse.com
+
+- Added makeinfo BuildRequire to fix build with new automake
+
+---



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.mUdKBE/_old  2013-04-26 15:35:17.0 +0200
+++ /var/tmp/diff_new_pack.mUdKBE/_new  2013-04-26 15:35:17.0 +0200
@@ -24,6 +24,9 @@
 Source1:rc.acct
 Source2:logrotate.acct
 BuildRequires:  libtool
+%if %suse_version = 1230
+BuildRequires:  makeinfo
+%endif
 Patch:  %{name}-hz.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2013-01-12 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2013-01-12 14:50:15

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2012-09-06 
08:42:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2013-01-12 
14:50:16.0 +0100
@@ -1,0 +2,5 @@
+Sat Jan 12 07:32:04 UTC 2013 - co...@suse.com
+
+- remove suse_update_config
+
+---



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.ORR95v/_old  2013-01-12 14:50:19.0 +0100
+++ /var/tmp/diff_new_pack.ORR95v/_new  2013-01-12 14:50:19.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -48,7 +48,6 @@
 %build
 %define prefix   /usr
 %define sysconfdir /etc
-%{suse_update_config}
 autoreconf -ivf
 CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure \
   --mandir=%{_mandir} \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2012-09-06 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2012-09-06 08:42:38

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is vci...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2012-07-23 
10:15:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2012-09-06 
08:42:40.0 +0200
@@ -1,0 +2,5 @@
+Wed Sep  5 09:13:28 UTC 2012 - vci...@suse.com
+
+- drop useless acct-axp.patch 
+
+---

Old:

  acct-axp.patch



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.ATFRNq/_old  2012-09-06 08:42:45.0 +0200
+++ /var/tmp/diff_new_pack.ATFRNq/_new  2012-09-06 08:42:45.0 +0200
@@ -25,7 +25,6 @@
 Source2:logrotate.acct
 BuildRequires:  libtool
 Patch:  %{name}-hz.patch
-Patch1: %{name}-axp.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
 Patch4: acct-stdio.h.patch
@@ -42,7 +41,6 @@
 %prep
 %setup -q
 %patch -p1
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2012-07-23 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2012-07-23 09:52:21

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is mkudlv...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2012-02-07 
14:44:46.0 +0100
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2012-07-23 
10:15:11.0 +0200
@@ -1,0 +2,5 @@
+Sun Jul 22 06:56:58 UTC 2012 - a...@suse.de
+
+- Fix build with missing gets declaration (glibc 2.16)
+
+---

New:

  acct-stdio.h.patch



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.jJiVBM/_old  2012-07-23 10:15:12.0 +0200
+++ /var/tmp/diff_new_pack.jJiVBM/_new  2012-07-23 10:15:12.0 +0200
@@ -16,13 +16,10 @@
 #
 
 
-
 Name:   acct
-License:GPL-2.0+
-Group:  System/Base
 PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq
 Version:6.5.5
-Release:830
+Release:0
 Source: %{name}-%{version}.tar.gz
 Source1:rc.acct
 Source2:logrotate.acct
@@ -31,9 +28,12 @@
 Patch1: %{name}-axp.patch
 Patch2: %{name}-info.patch
 Patch3: %{name}-ac.patch
+Patch4: acct-stdio.h.patch
 Url:http://www.gnu.org/directory/acct.html
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:User-Specific Process Accounting
+License:GPL-2.0+
+Group:  System/Base
 
 %description
 This package contains the programs necessary for user-specific process
@@ -45,6 +45,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %define prefix   /usr

++ acct-stdio.h.patch ++
Index: acct-6.5.5/lib/stdio.in.h
===
--- acct-6.5.5.orig/lib/stdio.in.h
+++ acct-6.5.5/lib/stdio.in.h
@@ -142,7 +142,9 @@ _GL_WARN_ON_USE (fflush, fflush is not
so any use of gets warrants an unconditional warning.  Assume it is
always declared, since it is required by C89.  */
 #undef gets
+#if HAVE_RAW_DECL_GETS
 _GL_WARN_ON_USE (gets, gets is a security hole - use fgets instead);
+#endif
 
 #if @GNULIB_FOPEN@
 # if @REPLACE_FOPEN@
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2012-02-07 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2012-02-07 14:44:39

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is mkudlv...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/acct/acct.changes2011-10-04 
18:06:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.acct.new/acct.changes   2012-02-07 
14:44:46.0 +0100
@@ -1,0 +2,10 @@
+Mon Jan 23 08:43:45 UTC 2012 - bart.vanass...@gmail.com
+
+- switch from acct-6.3.5 to acct-6.5.5. From the upstream acct ChangeLog:
+   * Fix potential buffer-overflows.
+   * UNIX 98 pty support.
+   * Add Linux multiformat support.
+   * lastcomm.c: integrated patch from Paul Jones which adds
+ paging and swapping support to lastcomm and sa
+
+---

Old:

  acct-6.3.5-ac.dif
  acct-6.3.5-acct_v3-fix.diff
  acct-6.3.5-axp.dif
  acct-6.3.5-hz.patch
  acct-6.3.5-info.diff
  acct-6.3.5-time-fix.diff
  acct-6.3.5-warning.patch
  acct-6.3.5.tar.bz2

New:

  acct-6.5.5.tar.gz
  acct-ac.patch
  acct-axp.patch
  acct-hz.patch
  acct-info.patch



Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.11H38v/_old  2012-02-07 14:44:48.0 +0100
+++ /var/tmp/diff_new_pack.11H38v/_new  2012-02-07 14:44:48.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acct
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -21,19 +21,16 @@
 License:GPL-2.0+
 Group:  System/Base
 PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq
-Version:6.3.5
-Release:829
-Source: %{name}-%{version}.tar.bz2
+Version:6.5.5
+Release:830
+Source: %{name}-%{version}.tar.gz
 Source1:rc.acct
 Source2:logrotate.acct
 BuildRequires:  libtool
-Patch:  %{name}-%{version}-axp.dif
-Patch1: %{name}-%{version}-ac.dif
-Patch2: %{name}-%{version}-info.diff
-Patch3: %{name}-%{version}-acct_v3-fix.diff
-Patch4: %{name}-%{version}-time-fix.diff
-Patch5: %{name}-%{version}-hz.patch
-Patch6: %{name}-%{version}-warning.patch
+Patch:  %{name}-hz.patch
+Patch1: %{name}-axp.patch
+Patch2: %{name}-info.patch
+Patch3: %{name}-ac.patch
 Url:http://www.gnu.org/directory/acct.html
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 Summary:User-Specific Process Accounting
@@ -44,22 +41,16 @@
 
 %prep
 %setup -q
-%patch
-%patch1
-%patch2
-%patch3
-%patch4
-%patch5
-%patch6
+%patch -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 %define prefix   /usr
 %define sysconfdir /etc
 %{suse_update_config}
-libtoolize -f
-aclocal
-automake -a
-autoconf
+autoreconf -ivf
 CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS ./configure \
   --mandir=%{_mandir} \
   --prefix=%{prefix} \

++ acct-ac.patch ++
Subject: configure.ac: Change AC_LANG_SOURCE() into AC_LANG_PROGRAM()

---
 configure.ac |8 ++--
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 743fe29..c150ca3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -162,7 +162,7 @@ AC_CHECK_HEADER(sys/acct.h,
 dnl
 dnl find out where utmp/pacct are stored
 dnl
-AC_RUN_IFELSE([AC_LANG_SOURCE([[
+AC_RUN_IFELSE([AC_LANG_PROGRAM([[
 #include stdio.h
 #include stdlib.h
 #include sys/types.h
@@ -241,9 +241,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #endif
 #  endif
 #endif
-
-main ()
-{
+]], [[
   FILE *fp;
   fp = fopen (locs, w);
   fprintf (fp, WTMP_FILE_LOC=%s\n, WTMP_FILE);
@@ -251,8 +249,6 @@ main ()
   fprintf (fp, SAVACCT_FILE_LOC=%s\n, SAVACCT_FILE);
   fprintf (fp, USRACCT_FILE_LOC=%s\n, USRACCT_FILE);
   fclose (fp);
-  exit(0);
-}
 ]])],[. ./locs; rm locs],[echo Error -- could not locate your wtmp and acct 
files.; exit 1],[echo Sorry -- you cannot cross-compile this package 
(FIXME).; exit 1 ])
 AC_TYPE_PID_T dnl for sys/acct.h
 AC_TYPE_UID_T dnl same as above
-- 
1.7.7

++ acct-axp.patch ++
Subject: acct-axp.patch

---
 accton.c |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/accton.c b/accton.c
index eeb503d..4c8e2eb 100644
--- a/accton.c
+++ b/accton.c
@@ -21,6 +21,7 @@ MA 02139, USA.
 
 #include config.h
 
+#include stdlib.h
 #include 

commit acct for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package acct for openSUSE:Factory checked in 
at 2011-12-06 17:57:17

Comparing /work/SRC/openSUSE:Factory/acct (Old)
 and  /work/SRC/openSUSE:Factory/.acct.new (New)


Package is acct, Maintainer is mkudlv...@novell.com

Changes:




Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.HOsMCH/_old  2011-12-06 17:57:30.0 +0100
+++ /var/tmp/diff_new_pack.HOsMCH/_new  2011-12-06 17:57:30.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   acct
-License:GPLv2+
+License:GPL-2.0+
 Group:  System/Base
 PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq
 Version:6.3.5

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2011-10-04 Thread h_root

Hello community,

here is the log from the commit of package acct for openSUSE:Factory
checked in at Tue Oct 4 18:06:32 CEST 2011.




--- openSUSE:Factory/acct/acct.changes  2011-10-03 09:11:28.0 +0200
+++ /mounts/work_src_done/STABLE/acct/acct.changes  2011-10-04 
10:38:10.0 +0200
@@ -1,0 +2,5 @@
+Mon Oct  4 10:37:43 UTC 2011 - u...@suse.com
+
+- cross-build fix: use %__cc, %__cxx macros
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.cQH8Vv/_old  2011-10-04 18:06:29.0 +0200
+++ /var/tmp/diff_new_pack.cQH8Vv/_new  2011-10-04 18:06:29.0 +0200
@@ -65,10 +65,10 @@
   --prefix=%{prefix} \
   --infodir=%{_infodir} \
   --sysconfdir=%{sysconfdir}
-make %{?_smp_mflags}
+make %{?_smp_mflags} CC=%{__cc} CXX=%{__cxx} 
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
+make DESTDIR=$RPM_BUILD_ROOT install CC=%{__cc} CXX=%{__cxx}
 install -d -m 755 $RPM_BUILD_ROOT/etc/{init.d,logrotate.d}
 install -m 755 %{S:1}  $RPM_BUILD_ROOT/etc/init.d/acct
 install -m 644 %{S:2}  $RPM_BUILD_ROOT/etc/logrotate.d/acct

continue with q...



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit acct for openSUSE:Factory

2011-09-20 Thread h_root

Hello community,

here is the log from the commit of package acct for openSUSE:Factory
checked in at Tue Sep 20 09:27:48 CEST 2011.




--- acct/acct.changes   2011-03-03 15:44:04.0 +0100
+++ /mounts/work_src_done/STABLE/acct/acct.changes  2011-09-17 
12:43:57.0 +0200
@@ -1,0 +2,6 @@
+Sat Sep 17 10:43:53 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant tags/sections from specfile
+- Use %_smp_mflags for parallel build
+
+---

calling whatdependson for head-i586




Other differences:
--
++ acct.spec ++
--- /var/tmp/diff_new_pack.qQhmmQ/_old  2011-09-20 09:27:40.0 +0200
+++ /var/tmp/diff_new_pack.qQhmmQ/_new  2011-09-20 09:27:40.0 +0200
@@ -15,14 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   acct
 License:GPLv2+
 Group:  System/Base
 PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq
-AutoReqProv:on
 Version:6.3.5
 Release:829
 Source: %{name}-%{version}.tar.bz2
@@ -43,12 +41,6 @@
 This package contains the programs necessary for user-specific process
 accounting: sa, accton, and lastcomm.
 
-
-
-Authors:
-
-Noel Cragg n...@gnu.org
-
 %prep
 %setup -q
 %patch
@@ -72,7 +64,7 @@
   --prefix=%{prefix} \
   --infodir=%{_infodir} \
   --sysconfdir=%{sysconfdir}
-make
+make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
@@ -102,9 +94,6 @@
 %restart_on_update acct
 %{insserv_cleanup}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-, root, root)
 %doc README NEWS






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org