diff --git a/README.md b/README.md index 4108f7d..68f03f9 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ SMEServer Koozali developed git repo for smeserver-audittools smeserver
https://wiki.koozali.org/ ## Bugzilla -Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?component=smeserver-audittools&product=SME%20Server%2010.X&query_format=advanced&limit=0&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=CONFIRMED) +Show list of outstanding bugs: [here](https://bugs.koozali.org/buglist.cgi?quicksearch=smeserver-audittools) ## Description diff --git a/smeserver-audittools.spec.bak b/smeserver-audittools.spec.bak new file mode 100644 index 0000000..2a141a1 --- /dev/null +++ b/smeserver-audittools.spec.bak @@ -0,0 +1,174 @@ +# $Id: smeserver-audittools.spec,v 1.4 2022/04/05 23:31:38 jpp Exp $ + +Summary: SME Server auditing tools +%define name smeserver-audittools +Name: %{name} +%define version 11.0.0 +%define release 2 +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: System Environment/Base +Source: %{name}-%{version}.tar.xz + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +Requires: smeserver-lib +Requires: perl(RPM2) +BuildRequires: smeserver-devtools + +%description +Tools for consistency audits of SME Servers. Useful for determining local +modifications prior to upgrades. + +%changelog +* Sat Mar 23 2024 Brian Read 11.0.0-2.sme +- Change Requires: e-smith- to Requires:smeserver- + +* Sat Mar 23 2024 Brian Read 11.0.0-1.sme +- Update Release and Version to base version and 1st release for SME11 [SME: 12518] + +* Mon Jul 10 2023 cvs2git.sh aka Brian Read 1.6.0-5.sme +- Roll up patches and move to git repo [SME: 12338] + +* Mon Jul 10 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Tue Apr 05 2022 Jean-Philippe Pialasse 1.6.0-4.sme +- display yum repo as seen by yum and db [SME: 10880] +- add remi-safe in list of newrpms [SME: 11932] + +* Mon Aug 23 2021 Jean-Philippe Pialasse 1.6.0-3.sme +- fix temp event displayed by events audittool [SME: 11674] +- fix links to different rpm rported as modified [SME: 11673] + +* Fri Jan 08 2021 Jean-Philipe Pialasse 1.6.0-2.sme +- add update event [SME: 11161] + +* Sat Feb 06 2016 stephane de Labrusse 1.6.0-1.sme +- Initial release to sme10 + +* Sun Feb 2 2014 Ian Wells 1.4.0-3.sme +- Add logcheck to help analyse errors in the log files [SME: 8175] + +* Tue Dec 17 2013 Ian Wells 1.4.0-2.sme +- Add an audit for groups, by Stephane de Labrusse [SME: 1208] + +* Thu Jan 31 2013 Shad L. Lords 1.4.0-1.sme +- Roll new stream for sme9 + +* Sat Nov 7 2009 Jonathan Martens 1.2.0-7.sme +- Fix regular expression to actually replace the colon with a dot [SME: 5572] + +* Sat Nov 7 2009 Jonathan Martens 1.2.0-6.sme +- Undo changes made in 1.2.0-5 [SME: 5572] +- Properly fix output for usernames and groups containing a dot [SME: 5572] + +* Fri Nov 6 2009 Jonathan Martens 1.2.0-5.sme +- Remove comment lines from output of aliases [SME: 5572] + +* Thu Nov 5 2009 Jonathan Martens 1.2.0-4.sme +- Remove the leading path for yum in newrpms [SME: 5562] + +* Sat Oct 24 2009 Jonathan Martens 1.2.0-3.sme +- Revert changes made in [SME: 5417] + +* Sat Aug 1 2009 Jonathan Martens 1.2.0-2.sme +- Sort the output of the repositories audittool alphabetically [SME: 5417] + +* Tue Oct 7 2008 Shad L. Lords 1.2.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Thu Aug 14 2008 Jonathan Martens 0.0.2-7 +- New tool repositories, lists status of configured repositories [SME: 4438] + +* Wed Jan 09 2008 Stephen Noble 0.0.2-6 +- New tool events, lists modified events [SME: 3419] + +* Sat Jun 16 2007 Stephen Noble 0.0.2-5 +- New tool newrpms, lists installed rpms not in standard repos [SME: 1206] + +* Sun Apr 29 2007 Shad L. Lords +- Clean up spec so package can be built by koji/plague + +* Thu Dec 07 2006 Shad L. Lords +- Update to new release naming. No functional changes. +- Make Packager generic + +* Wed Apr 12 2006 Gordon Rowell 0.0.2-03 +- Change status output for templates audit. In particular + OK -> OWNED_BY_RPM. This means that custom templates will appear + as "OWNED_BY_RPM, OVERRIDE" rather than "OK, OVERRIDE". template + fragments should not be placed in templates-custom via RPMs [SME: 792] + +* Thu Mar 30 2006 Gordon Rowell 0.0.2-02 +- Fix output from pseudonyms audit [SME: 792] +- Display commands on stdout and warnings on stderr [SME: 792] +- Complain about pseudonyms with @, but no domain [SME: 792] +- Complain if virtualdomains pseudonym doesn't match accounts db [SME: 792] + +* Thu Mar 30 2006 Gordon Rowell 0.0.2-01 +- Roll new tarball with patches to 0.0.1-10 [SME: 792] + +* Thu Mar 30 2006 Gordon Rowell 0.0.1-10 +- Add pseudonyms audit [SME: 762] + +* Thu Mar 30 2006 Gordon Rowell 0.0.1-09 +- Moved all tools into /sbin/e-smith/audittools to reduce clutter + and make it easier to run all of them [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-08 +- audit-users2domains - What email address have been used? [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-07 +- Remove verbose option to rpm_status - not used [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-06 +- Determine how many RPMs own a template and whether it has been + modified since the install of the RPM [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-05 +- Only display commands required for conversion from virtualdomains + hacks to user@domain pseudonyms. These are audit tools - changing + the system should be a separate task [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-04 +- Examine custom templates: + - Are they owned by an RPM? + - Are they an override or an addition? +- Examine templates + - Are they owned by an RPM? + - TODO: Have they been modified since the install? [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-03 +- First cut at custom template audit [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-02 +- Add dependency on perl(RPM2) [SME: 762] + +* Thu Mar 23 2006 Gordon Rowell 0.0.1-01 +- Initial version [SME: 762] + +%prep +%setup +mkdir -p root/etc/e-smith/events/%{name}-update + +%build + +%pre + +%post + +%install +rm -rf $RPM_BUILD_ROOT +(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + --file /sbin/e-smith/audittools/ 'attr(0554,root,root)' \ + > %{name}-%{version}-%{release}-filelist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}-%{version}-%{release}-filelist +%defattr(-,root,root)