2011-06-29 17:58:07 +00:00
|
|
|
# Our /usr/bin/last is in the SysVInit package
|
2007-01-02 10:59:08 +00:00
|
|
|
%define with_last 0
|
2004-09-09 10:48:03 +00:00
|
|
|
|
2007-01-02 10:59:08 +00:00
|
|
|
Summary: Utilities for monitoring process activities
|
2004-09-09 10:46:23 +00:00
|
|
|
Name: psacct
|
2014-11-28 18:13:41 +00:00
|
|
|
Version: 6.6.2
|
|
|
|
Release: 1%{?dist}
|
2010-02-12 13:05:15 +00:00
|
|
|
License: GPLv3+
|
2004-09-09 10:46:23 +00:00
|
|
|
Group: Applications/System
|
2013-08-21 16:48:23 +00:00
|
|
|
URL: http://www.gnu.org/software/acct/
|
|
|
|
|
2009-12-21 14:36:13 +00:00
|
|
|
Source: ftp://ftp.gnu.org/pub/gnu/acct/acct-%{version}.tar.gz
|
2011-06-29 17:58:07 +00:00
|
|
|
Source1: psacct.service
|
2010-01-28 11:41:10 +00:00
|
|
|
Source2: psacct-logrotate.in
|
2013-04-11 18:56:49 +00:00
|
|
|
Source3: accton-create
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2010-11-09 16:30:13 +00:00
|
|
|
Patch1: psacct-6.3.2-lastcomm_man.patch
|
|
|
|
Patch2: acct-6.3.2-sa_manpage.patch
|
2013-07-31 17:35:49 +00:00
|
|
|
# The upstream man page is more correct than the usage
|
|
|
|
# .. the C sources need to be fixed, not the man page
|
|
|
|
#Patch3: psacct-6.3.2-man-pages.patch
|
2014-11-28 18:13:41 +00:00
|
|
|
Patch4: psacct-6.6.2-unnumberedsubsubsec.patch
|
2013-07-31 16:23:59 +00:00
|
|
|
Patch5: psacct-6.6.1-RH-man-page-scan.patch
|
2013-07-31 17:35:49 +00:00
|
|
|
# Partial replacement for Patch3: psacct-6.3.2-man-pages.patch
|
|
|
|
Patch6: psacct-6.6.1-man-dump-acct.patch
|
2013-10-10 12:28:17 +00:00
|
|
|
# Preventing SEGVs when an incomplete record appears
|
|
|
|
Patch7: psacct-6.6.1-SEGV-when-record-incomplete.patch
|
2004-09-09 10:47:19 +00:00
|
|
|
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibility symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 18:11:06 +00:00
|
|
|
Conflicts: filesystem < 3
|
|
|
|
Conflicts: systemd < 39-1
|
2011-06-29 17:58:07 +00:00
|
|
|
Requires: /sbin/install-info
|
2007-01-23 09:21:45 +00:00
|
|
|
Requires: coreutils
|
2011-06-29 17:58:07 +00:00
|
|
|
Requires(post): chkconfig
|
|
|
|
Requires(post): systemd-sysv
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibility symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 18:11:06 +00:00
|
|
|
Requires(post): systemd-units >= 39-2
|
2011-06-29 17:58:07 +00:00
|
|
|
Requires(preun): systemd-units
|
|
|
|
Requires(postun): systemd-units
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibility symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 18:11:06 +00:00
|
|
|
BuildRequires: systemd-units >= 39-2
|
2011-06-29 17:58:07 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The psacct package contains several utilities for monitoring process
|
|
|
|
activities, including ac, lastcomm, accton and sa. The ac command
|
|
|
|
displays statistics about how long users have been logged on. The
|
|
|
|
lastcomm command displays information about previous executed
|
|
|
|
commands. The accton command turns process accounting on or off. The
|
|
|
|
sa command summarizes information about previously executed
|
2006-01-03 10:32:39 +00:00
|
|
|
commands.
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n acct-%{version}
|
2004-09-09 10:47:19 +00:00
|
|
|
|
2010-11-09 16:30:13 +00:00
|
|
|
%patch1 -p1 -b .man
|
|
|
|
%patch2 -p1 -b .pct
|
2013-07-31 17:35:49 +00:00
|
|
|
#%%patch3 -p1 -b .new
|
2013-04-11 17:02:56 +00:00
|
|
|
%patch4 -p1 -b .subsubsec
|
2013-07-31 16:23:59 +00:00
|
|
|
%patch5 -p1 -b .rh-man-scan
|
2013-07-31 17:35:49 +00:00
|
|
|
%patch6 -p1 -b .man-dump-acct
|
2013-10-10 12:28:17 +00:00
|
|
|
%patch7 -p1
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2012-08-28 15:25:40 +00:00
|
|
|
# fixing 'gets' undeclared
|
|
|
|
sed -i 's|.*(gets,.*||g' lib/stdio.in.h
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
# workaround for broken autotools stuff
|
|
|
|
sed -i 's|@ACCT_FILE_LOC@|/var/account/pacct|g' files.h.in
|
|
|
|
sed -i 's|@SAVACCT_FILE_LOC@|/var/account/savacct|g' files.h.in
|
|
|
|
sed -i 's|@USRACCT_FILE_LOC@|/var/account/usracct|g' files.h.in
|
|
|
|
|
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%build
|
2010-06-25 10:47:22 +00:00
|
|
|
%configure --enable-linux-multiformat
|
2012-08-28 15:25:40 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
make
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%install
|
2013-01-16 15:39:15 +00:00
|
|
|
mkdir -p %{buildroot}{/sbin,%{_bindir},%{_mandir},%{_sbindir}}
|
|
|
|
make install prefix=%{buildroot}%{_prefix} \
|
|
|
|
bindir=%{buildroot}%{_bindir} sbindir=%{buildroot}%{_sbindir} \
|
|
|
|
infodir=%{buildroot}%{_datadir}/info mandir=%{buildroot}%{_mandir}
|
|
|
|
cp dump-acct.8 %{buildroot}%{_mandir}/man8/
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2008-06-03 08:58:30 +00:00
|
|
|
# remove unwanted file
|
2013-01-16 15:39:15 +00:00
|
|
|
rm -f %{buildroot}%{_infodir}/dir
|
2008-06-03 08:58:30 +00:00
|
|
|
|
2013-01-16 15:39:15 +00:00
|
|
|
mkdir -p %{buildroot}/var/account
|
|
|
|
touch %{buildroot}/var/account/pacct
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
# create logrotate config file
|
2013-01-16 15:39:15 +00:00
|
|
|
mkdir -p %{buildroot}/etc/logrotate.d
|
|
|
|
sed -e 's|%%{_bindir}|%{_bindir}|g' -e 's|%%{_sbindir}|%{_sbindir}|g' %{SOURCE2} > %{buildroot}/etc/logrotate.d/psacct
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
# install systemd unit file
|
2013-01-16 15:39:15 +00:00
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}
|
2004-09-09 10:47:19 +00:00
|
|
|
|
2013-04-11 18:56:49 +00:00
|
|
|
# install accton-create script
|
|
|
|
install -d -m 0755 %{buildroot}%{_libexecdir}/psacct
|
|
|
|
install -m 755 %{SOURCE3} %{buildroot}%{_libexecdir}/psacct/
|
|
|
|
|
2004-09-09 10:48:58 +00:00
|
|
|
%if ! %{with_last}
|
2013-01-16 15:39:15 +00:00
|
|
|
rm -f %{buildroot}%{_bindir}/last %{buildroot}%{_mandir}/man1/last.1*
|
2004-09-09 10:48:58 +00:00
|
|
|
%endif
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%post
|
2012-08-27 14:27:38 +00:00
|
|
|
%systemd_post psacct.service
|
2011-06-29 17:58:07 +00:00
|
|
|
|
2010-11-09 16:30:13 +00:00
|
|
|
/sbin/install-info %{_infodir}/accounting.info %{_infodir}/dir || :
|
|
|
|
touch /var/account/pacct
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%preun
|
2012-08-27 14:27:38 +00:00
|
|
|
%systemd_preun psacct.service
|
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
# Package removal, not upgrade
|
|
|
|
/sbin/install-info --delete %{_infodir}/accounting.info %{_infodir}/dir || :
|
|
|
|
fi
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
%postun
|
2012-08-27 14:27:38 +00:00
|
|
|
%systemd_postun_with_restart psacct.service
|
2004-09-09 10:46:23 +00:00
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
%triggerun -- psacct < 6.5.5-3
|
|
|
|
# Save the current service runlevel info
|
|
|
|
# User must manually run systemd-sysv-convert --apply psacct
|
|
|
|
# to migrate them to systemd targets
|
|
|
|
%{_bindir}/systemd-sysv-convert --save psacct >/dev/null 2>&1 ||:
|
|
|
|
|
|
|
|
# Run these because the SysV package being removed won't do them
|
|
|
|
/sbin/chkconfig --del psacct >/dev/null 2>&1 || :
|
|
|
|
/bin/systemctl try-restart psacct.service >/dev/null 2>&1 || :
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%files
|
2010-03-05 12:26:07 +00:00
|
|
|
%doc README COPYING
|
2004-09-09 10:47:19 +00:00
|
|
|
%dir /var/account
|
2011-06-29 17:58:07 +00:00
|
|
|
%{_unitdir}/psacct.service
|
2010-11-09 16:30:13 +00:00
|
|
|
%attr(0600,root,root) %ghost %config /var/account/pacct
|
2007-01-02 10:59:08 +00:00
|
|
|
%attr(0644,root,root) %config(noreplace) /etc/logrotate.d/*
|
2004-09-09 10:46:23 +00:00
|
|
|
%{_sbindir}/accton
|
|
|
|
%{_sbindir}/sa
|
|
|
|
%{_sbindir}/dump-utmp
|
|
|
|
%{_sbindir}/dump-acct
|
2013-04-11 18:56:49 +00:00
|
|
|
%{_libexecdir}/psacct/accton-create
|
2004-09-09 10:46:23 +00:00
|
|
|
%{_bindir}/ac
|
2004-09-09 10:48:58 +00:00
|
|
|
%if %{with_last}
|
|
|
|
%{_bindir}/last
|
|
|
|
%endif
|
2004-09-09 10:46:23 +00:00
|
|
|
%{_bindir}/lastcomm
|
|
|
|
%{_mandir}/man1/ac.1*
|
2004-09-09 10:48:58 +00:00
|
|
|
%if %{with_last}
|
|
|
|
%{_mandir}/man1/last.1*
|
|
|
|
%endif
|
2004-09-09 10:46:23 +00:00
|
|
|
%{_mandir}/man1/lastcomm.1*
|
|
|
|
%{_mandir}/man8/sa.8*
|
|
|
|
%{_mandir}/man8/accton.8*
|
2009-12-02 13:37:42 +00:00
|
|
|
%{_mandir}/man8/dump-acct.8*
|
|
|
|
%{_mandir}/man8/dump-utmp.8*
|
2004-09-09 10:46:23 +00:00
|
|
|
%{_infodir}/accounting.info.gz
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
|
2004-09-09 10:46:23 +00:00
|
|
|
%changelog
|
2014-11-28 18:13:41 +00:00
|
|
|
* Fri Nov 28 2014 Jaromir Capik <jcapik@redhat.com> - 6.6.2-1
|
|
|
|
- Updating to 6.6.2
|
|
|
|
|
2014-08-17 20:02:53 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 17:21:47 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-10-10 12:28:17 +00:00
|
|
|
* Thu Oct 10 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-7
|
|
|
|
- Preventing SEGVs when an incomplete record appears (#1017715)
|
|
|
|
|
2013-08-21 16:48:23 +00:00
|
|
|
* Wed Aug 21 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-6
|
|
|
|
- Unifying the default file paths (#985150)
|
|
|
|
|
2013-07-31 17:35:49 +00:00
|
|
|
* Wed Jul 31 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-5
|
|
|
|
- Dropping psacct-6.3.2-man-pages.patch
|
|
|
|
- (Re)introducing modified dump-acct man page
|
|
|
|
|
2013-07-31 16:23:59 +00:00
|
|
|
* Wed Jul 31 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-4
|
|
|
|
- RH man page scan (#948523)
|
|
|
|
|
2013-06-17 12:50:13 +00:00
|
|
|
* Mon Jun 17 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-3
|
|
|
|
- Service fails to start if accounting file already exists (#974716)
|
|
|
|
|
2013-04-11 18:56:49 +00:00
|
|
|
* Thu Apr 11 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-2
|
|
|
|
- Logfile creation in the systemd unit file (#918132)
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Tue Apr 09 2013 Jaromir Capik <jcapik@redhat.com> - 6.6.1-1
|
|
|
|
- Update to 6.6.1
|
|
|
|
- Fixing bogus dates in the changelog
|
|
|
|
|
2013-02-14 18:26:18 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-16 15:39:15 +00:00
|
|
|
* Wed Jan 16 2013 Jaromir Capik <jcapik@redhat.com> - 6.5.5-8
|
|
|
|
- #759321 - psacct logrotate script references init.d service
|
|
|
|
- #735300 - Enabling psacct causes daily cron spam
|
|
|
|
|
2012-08-28 15:25:40 +00:00
|
|
|
* Tue Aug 28 2012 Jaromir Capik <jcapik@redhat.com> - 6.5.5-7
|
2012-08-27 14:27:38 +00:00
|
|
|
- Migration to new systemd scriptlet macros
|
2012-08-28 15:25:40 +00:00
|
|
|
- Fixing the build (new glibc) - 'gets' undeclared
|
2012-08-27 14:27:38 +00:00
|
|
|
|
2012-07-21 03:19:26 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
install everything in /usr
This patch is needed for the /usr-move feature
https://fedoraproject.org/wiki/Features/UsrMove
This package requires now 'filesystem' >= 3, which is only installable
on a system which has /bin, /sbin, /lib, /lib64 as symlinks to /usr and
not regular directories. The 'filesystem' package acts as a guard, to
prevent *this* package to be installed on old unconverted systems.
New installations will have the 'filesystem' >=3 layout right away, old
installations need to be converted with anaconda or dracut first; only
after that, the 'filesystem' package, and also *this* package can be
installed.
Packages *should* not install files in /bin, /sbin, /lib, /lib64, but
only in the corresponding directories in /usr. Packages *must* not
install conflicting files with the same names in the corresponding
directories in / and /usr. Especially compatibility symlinks must not be
installed.
Feel free to modify any of the changes to the spec file, but keep the
above in mind.
2012-01-25 18:11:06 +00:00
|
|
|
* Wed Jan 25 2012 Harald Hoyer <harald@redhat.com> 6.5.5-5
|
|
|
|
- install everything in /usr
|
|
|
|
https://fedoraproject.org/wiki/Features/UsrMove
|
|
|
|
|
2012-01-14 01:16:09 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-29 17:58:07 +00:00
|
|
|
* Wed Jun 29 2011 Jaromir Capik <jcapik@redhat.com> - 6.5.5-3
|
|
|
|
- Migration to systemd unit file
|
|
|
|
|
2011-02-09 17:04:12 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.5.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-09 16:30:13 +00:00
|
|
|
* Tue Nov 09 2010 Jan Görig <jgorig@redhat.com> - 6.5.5-1
|
|
|
|
- upgrade to new upstream release
|
|
|
|
- remove obsolete patches
|
|
|
|
- remove FHS_compliant condition
|
|
|
|
- remove obsolete conflicts with initscripts
|
|
|
|
- info installation fix
|
|
|
|
- modified man-pages patch
|
|
|
|
- spec fixes
|
|
|
|
|
2010-08-16 08:49:06 +00:00
|
|
|
* Mon Aug 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-6
|
|
|
|
- fix two man-pages links
|
|
|
|
|
2010-06-28 07:37:10 +00:00
|
|
|
* Mon Jun 28 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-5
|
|
|
|
- remove obsolete patches
|
|
|
|
|
2010-06-25 10:47:22 +00:00
|
|
|
* Fri Jun 18 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-4
|
|
|
|
- Resolves: #575975
|
|
|
|
Build psacct with --enable-linux-multiformat
|
|
|
|
- remove obsolete change
|
|
|
|
- fix sa problem with hzval variable
|
|
|
|
|
2010-04-19 09:21:22 +00:00
|
|
|
* Mon Apr 19 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-3
|
|
|
|
- add force-reload action to init script
|
|
|
|
|
2010-03-05 12:26:07 +00:00
|
|
|
* Fri Mar 5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-2
|
|
|
|
- add the documentation
|
|
|
|
fix init script
|
|
|
|
|
2010-02-12 13:05:15 +00:00
|
|
|
* Fri Feb 12 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.4-1
|
|
|
|
- update to 6.5.4
|
|
|
|
- remove obsolete patches
|
|
|
|
- fix license tag
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Thu Jan 28 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.1-5
|
2010-01-28 11:41:10 +00:00
|
|
|
- Fix the logrotate script and split its template to a separate file.
|
|
|
|
(Michal Schmidt patch, thanks)
|
|
|
|
|
2010-01-28 08:30:26 +00:00
|
|
|
* Thu Jan 28 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.1-4
|
|
|
|
- fix the logrotate change
|
|
|
|
|
2010-01-27 15:44:46 +00:00
|
|
|
* Wed Jan 27 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 6.5.1-3
|
|
|
|
- Resolves: #523774
|
|
|
|
process accounting enabled unconditionally from daily cron job
|
|
|
|
|
2010-01-04 13:35:55 +00:00
|
|
|
* Mon Jan 4 2010 Ivana Hutarova Varekova <varekova@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@redhat.com> - 6.5.1-1
|
|
|
|
- update to 6.5.1
|
2009-12-21 14:36:13 +00:00
|
|
|
remove unnecessary patches, spec file changes
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Wed Dec 9 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 6.2.3-57
|
2009-12-09 07:13:20 +00:00
|
|
|
- fix the initscript (service restart does not work)
|
|
|
|
|
2009-12-02 13:37:42 +00:00
|
|
|
* Wed Dec 2 2009 Ivana Hutarova Varekova <varekova@redhat.com> - 6.2.3-56
|
|
|
|
- add dump-utmp.8 and dump-acct.8 man-pages
|
|
|
|
|
2009-09-16 07:20:45 +00:00
|
|
|
* Wed Sep 16 2009 Ivana Varekova <varekova@redhat.com> - 6.2.3-55
|
|
|
|
- fix init script (#521195)
|
|
|
|
|
2009-07-26 19:32:25 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.2-54
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 02:39:51 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.2-53
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Thu Nov 13 2008 Ivana Varekova <varekova@redhat.com> - 6.3.2-52
|
2008-11-13 12:19:35 +00:00
|
|
|
- remove link to nonexisting page from sa man-page
|
|
|
|
|
2008-06-03 08:58:30 +00:00
|
|
|
* Tue Jun 3 2008 Ivana Varekova <varekova@redhat.com> - 6.3.2-51
|
|
|
|
- remove unwanted file
|
|
|
|
|
2008-02-20 06:41:03 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.3.2-50
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-18 10:01:59 +00:00
|
|
|
* Fri Jan 18 2008 Ivana Varekova <varekova@redhat.com> - 6.3.2-49
|
|
|
|
- rebuilt
|
|
|
|
|
2007-08-28 18:04:07 +00:00
|
|
|
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 6.3.2-48
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-25 07:30:12 +00:00
|
|
|
* Wed Jul 25 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-47
|
|
|
|
- fix status service
|
|
|
|
|
2007-07-25 07:08:51 +00:00
|
|
|
* Wed Jul 25 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-46
|
|
|
|
- Resolves: #247034
|
|
|
|
fix init script
|
|
|
|
|
2007-05-28 09:34:22 +00:00
|
|
|
* Mon May 28 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-45
|
|
|
|
- fix the return value of "service psacct status" command
|
|
|
|
|
2007-04-05 13:40:43 +00:00
|
|
|
* Thu Apr 5 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-44
|
|
|
|
- small spec changes
|
|
|
|
- change buildroot
|
|
|
|
- remove makeinstall macro
|
|
|
|
|
2007-01-23 09:21:45 +00:00
|
|
|
* Tue Jan 23 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-43
|
|
|
|
- Resolves: 223728
|
|
|
|
psacct logrotate file looks for non existant directory
|
|
|
|
|
2007-01-02 10:59:08 +00:00
|
|
|
* Tue Jan 2 2007 Ivana Varekova <varekova@redhat.com> - 6.3.2-42
|
|
|
|
- Resolves: 221069
|
|
|
|
(fix lastcomm man page)
|
|
|
|
- spec file cleanup
|
|
|
|
|
2006-07-12 07:53:30 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.3.2-41.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-27 20:59:50 +00:00
|
|
|
* Mon Feb 27 2006 Peter Jones <pjones@redhat.com> - 6.3.2-41
|
|
|
|
- add touch to prereq
|
|
|
|
|
2006-02-27 09:10:09 +00:00
|
|
|
* Mon Feb 27 2006 Ivana Varekova <varekova@redhat.com> - 6.3.2-40
|
|
|
|
- add chkconfig to prereq - bug 182848
|
|
|
|
|
2006-02-20 10:04:22 +00:00
|
|
|
* Mon Feb 20 2006 Ivana Varekova <varekova@redhat.com> - 6.3.2-39
|
|
|
|
- add Large File Support
|
|
|
|
|
2006-02-11 05:18:30 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.3.2-38.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:37:39 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 6.3.2-38.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-03 10:32:39 +00:00
|
|
|
* Tue Jan 3 2006 Ivana Varekova <varekova@redhat.com> 6.3.2-38
|
|
|
|
- fix typo bug 176811
|
|
|
|
|
2005-12-09 22:42:48 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-04 13:05:08 +00:00
|
|
|
* Fri Mar 4 2005 Ivana Varekova <varekova@redhat.com> 6.3.2-37
|
|
|
|
- rebuilt
|
|
|
|
|
2005-02-15 13:09:59 +00:00
|
|
|
* Tue Feb 15 2005 Ivana Varekova <varekova@redhat.com> 6.3.2-36
|
|
|
|
- fix sa manpage - necessary becouse of bug #43294 and previous patch
|
|
|
|
|
2005-02-15 09:48:54 +00:00
|
|
|
* Tue Feb 15 2005 Ivana Varekova <varekova@redhat.com> 6.3.2-35
|
|
|
|
- fix #147782 logrotate script error
|
|
|
|
|
2005-02-07 17:21:14 +00:00
|
|
|
* Thu Feb 3 2005 Charles Bennett <ccb@redhat.com> 6.3.2-33.fc4
|
|
|
|
- rhbz 133077: logrotate fixed to continue accounting during rotate
|
|
|
|
- rhbz 141802: lastcomm was not handling all forms of --strict-match
|
|
|
|
- rhbz 141971: rpm -e no longer leaves /var/lock/subsys/psacct
|
|
|
|
- rhbz 43294: sa will never report any io because the kernel doesn't
|
|
|
|
provide it. Tweaked to ignore ac_io in acct.h
|
|
|
|
- integrate lastcomm hz patch from RH support
|
|
|
|
|
2004-09-09 10:50:13 +00:00
|
|
|
* Wed Sep 1 2004 root <ccb@redhat.com> - 6.3.2-31
|
|
|
|
- integrate JFenlason's hz patch, improve pts device reporting
|
2004-09-09 10:50:06 +00:00
|
|
|
|
2004-09-09 10:50:01 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 10:49:31 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 10:48:58 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Dec 26 2002 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- make /etc/info-dir an optional file
|
|
|
|
|
|
|
|
* Wed Nov 13 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-25
|
|
|
|
- Added with_last conditional to disable /usr/bin/last because ours is in
|
|
|
|
the SysVInit package. This fixes unpackaged files terminate build prob.
|
|
|
|
|
2004-09-09 10:48:16 +00:00
|
|
|
* Thu Aug 22 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-24
|
|
|
|
- Fixed initscript reload/restart by creating start/stop functions and
|
|
|
|
making everything use them (#72261)
|
|
|
|
|
2004-09-09 10:48:03 +00:00
|
|
|
* Tue Aug 6 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-23
|
|
|
|
- Fixed chkconfig issue in rpm scripts (#61191)
|
|
|
|
- Excludearch ia64, not taking the time to debug/troubleshoot random
|
|
|
|
buildsystem failure due to higher priorities.
|
|
|
|
|
2004-09-09 10:47:49 +00:00
|
|
|
* Mon Jul 08 2002 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Take the time to make sure things get through on all archs, by simply
|
2004-09-09 10:48:03 +00:00
|
|
|
running it through the build system.
|
2004-09-09 10:47:49 +00:00
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Wed Mar 27 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-19
|
2004-09-09 10:47:24 +00:00
|
|
|
- Made initscript touch/chmod accounting file if it is not present during
|
|
|
|
startup, to ensure accounting works properly when enabled.
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Tue Mar 26 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-18
|
2004-09-09 10:47:19 +00:00
|
|
|
- Fixed duh in initscript pointing to wrong accounting file (#61939)
|
|
|
|
|
|
|
|
* Sun Mar 17 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-17
|
|
|
|
- Removed the files usracct and savacct, which are not used by psacct
|
|
|
|
utilities at all, but by the sa program. Our sa uses files in a different
|
|
|
|
location, and so these files are unused and unnecessary.
|
|
|
|
|
|
|
|
* Sat Mar 16 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-16
|
|
|
|
- Added chkconfig to post and preun scripts for bug (#61191)
|
|
|
|
|
|
|
|
* Tue Mar 12 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-15
|
|
|
|
- Added new feature - psacct initscript now controls process accounting so
|
|
|
|
that it is not just forced on if installed as was the previous behaviour
|
|
|
|
- Modified the initscripts package to not force psacct on anymore and made
|
|
|
|
the new psacct-6.3.2-15 conflict with previous initscripts packages.
|
|
|
|
- Fixed logrotate config to set perms/owner of new log files, and closed
|
|
|
|
bug (#54165)
|
|
|
|
|
|
|
|
* Thu Mar 7 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-14
|
|
|
|
- Fixed 64bit bug in calls to ctime() in lastcomm and dump-utmp (#60712)
|
|
|
|
|
|
|
|
* Wed Mar 6 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-13
|
|
|
|
- Removed Build_7x flag, added FHS_compliant flag, reworked specfile to use new
|
|
|
|
flag, and fixed bug (#60716)
|
|
|
|
|
|
|
|
* Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 6.3.2-12
|
|
|
|
- rebuild in new environment for FHS correctness
|
|
|
|
|
|
|
|
* Thu Jan 31 2002 Mike A. Harris <mharris@redhat.com> 6.3.2-11
|
|
|
|
- Conditionalized acct-6.3.2-config.patch to only be applied for RHL 7.x
|
|
|
|
builds, as it breaks FHS compliance by putting files in nonstandard
|
|
|
|
locations. Also fixed up other places in specfile for FHS 2.2.
|
|
|
|
- Added acct-6.3.2-I-HATE-GNU-AUTOCONK.patch because I hate GNU autoconk
|
|
|
|
really really badly.
|
|
|
|
|
|
|
|
- Bumped to -11 to avoid buildsystem stupidness
|
|
|
|
|
2004-09-09 10:46:28 +00:00
|
|
|
* Thu Sep 06 2001 Mike A. Harris <mharris@redhat.com> 6.3.2-9
|
|
|
|
- Fixed bug (#53307) psacct is enabled by default, and the log files
|
|
|
|
are huge, and will fill the disk up very quickly. logrotate will
|
|
|
|
now compress them daily.
|
|
|
|
|
|
|
|
* Sat Sep 01 2001 Florian La Roche <Florian.LaRoche@redhat.de> 6.3.2-8
|
2004-09-09 10:46:23 +00:00
|
|
|
- do not fail for ENOSYS to silently support kernels without
|
|
|
|
process accounting
|
|
|
|
|
|
|
|
* Sun Aug 26 2001 Mike A. Harris <mharris@redhat.com> 6.3.2-7
|
|
|
|
- Change spec tag Copyright -> License
|
|
|
|
- change logrotate to rotate daily, and keep 1 month (31 days) of data
|
|
|
|
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2013-04-11 17:02:56 +00:00
|
|
|
* Fri Feb 02 2001 Helge Deller <hdeller@redhat.de>
|
2004-09-09 10:46:23 +00:00
|
|
|
- added logrotate file for /var/log/pacct (#24900)
|
|
|
|
|
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jun 5 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- FHS fixes
|
|
|
|
|
|
|
|
* Sat May 6 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- fix for new patch
|
|
|
|
|
|
|
|
* Thu Feb 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- update to 6.3.2
|
|
|
|
|
|
|
|
* Mon Apr 05 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- wrap post script with reference count.
|
|
|
|
|
|
|
|
* Tue Mar 23 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- install-info sucks. Still.
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 8)
|
|
|
|
|
|
|
|
* Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- #define HAVE_LINUX_ACCT_H too, so it works. :)
|
|
|
|
|
|
|
|
* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- accton needs to be accessible to /etc/rc.d/init.d/halt
|
|
|
|
|
|
|
|
* Fri May 08 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- install-info sucks
|
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- updated from 6.2 to 6.3
|
|
|
|
|
|
|
|
* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|