1 |
# $Id$ |
2 |
|
3 |
Summary: SME Server auditing tools |
4 |
%define name smeserver-audittools |
5 |
Name: %{name} |
6 |
%define version 1.2.0 |
7 |
%define release 1 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: System Environment/Base |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-audittools-0.0.2-pseudonymscommands.patch |
14 |
Patch1: smeserver-audittools-0.0.2-printwarn.patch |
15 |
Patch2: smeserver-audittools-0.0.2-pseudonymwithoutdomain.patch |
16 |
Patch3: smeserver-audittools-0.0.2-virtualdomains2pseudonyms.patch |
17 |
Patch4: smeserver-audittools-0.0.2-RenameFlags.patch |
18 |
Patch5: smeserver-audittools-0.0.2-newrpms.patch |
19 |
Patch6: smeserver-audittools-0.0.2-events.patch |
20 |
Patch7: smeserver-audittools-0.0.2-repositories.patch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
23 |
Requires: e-smith-lib |
24 |
Requires: perl(RPM2) |
25 |
BuildRequires: e-smith-devtools |
26 |
|
27 |
%description |
28 |
Tools for consistency audits of SME Servers. Useful for determining local |
29 |
modifications prior to upgrades. |
30 |
|
31 |
%changelog |
32 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 1.2.0-1.sme |
33 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
34 |
|
35 |
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.2-7 |
36 |
- New tool repositories, lists status of configured repositories [SME: 4438] |
37 |
|
38 |
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 0.0.2-6 |
39 |
- New tool events, lists modified events [SME: 3419] |
40 |
|
41 |
* Sat Jun 16 2007 Stephen Noble <support@dungog.net> 0.0.2-5 |
42 |
- New tool newrpms, lists installed rpms not in standard repos [SME: 1206] |
43 |
|
44 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
45 |
- Clean up spec so package can be built by koji/plague |
46 |
|
47 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
48 |
- Update to new release naming. No functional changes. |
49 |
- Make Packager generic |
50 |
|
51 |
* Wed Apr 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-03 |
52 |
- Change status output for templates audit. In particular |
53 |
OK -> OWNED_BY_RPM. This means that custom templates will appear |
54 |
as "OWNED_BY_RPM, OVERRIDE" rather than "OK, OVERRIDE". template |
55 |
fragments should not be placed in templates-custom via RPMs [SME: 792] |
56 |
|
57 |
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-02 |
58 |
- Fix output from pseudonyms audit [SME: 792] |
59 |
- Display commands on stdout and warnings on stderr [SME: 792] |
60 |
- Complain about pseudonyms with @, but no domain [SME: 792] |
61 |
- Complain if virtualdomains pseudonym doesn't match accounts db [SME: 792] |
62 |
|
63 |
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-01 |
64 |
- Roll new tarball with patches to 0.0.1-10 [SME: 792] |
65 |
|
66 |
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-10 |
67 |
- Add pseudonyms audit [SME: 762] |
68 |
|
69 |
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-09 |
70 |
- Moved all tools into /sbin/e-smith/audittools to reduce clutter |
71 |
and make it easier to run all of them [SME: 762] |
72 |
|
73 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-08 |
74 |
- audit-users2domains - What email address have been used? [SME: 762] |
75 |
|
76 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-07 |
77 |
- Remove verbose option to rpm_status - not used [SME: 762] |
78 |
|
79 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-06 |
80 |
- Determine how many RPMs own a template and whether it has been |
81 |
modified since the install of the RPM [SME: 762] |
82 |
|
83 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-05 |
84 |
- Only display commands required for conversion from virtualdomains |
85 |
hacks to user@domain pseudonyms. These are audit tools - changing |
86 |
the system should be a separate task [SME: 762] |
87 |
|
88 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-04 |
89 |
- Examine custom templates: |
90 |
- Are they owned by an RPM? |
91 |
- Are they an override or an addition? |
92 |
- Examine templates |
93 |
- Are they owned by an RPM? |
94 |
- TODO: Have they been modified since the install? [SME: 762] |
95 |
|
96 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-03 |
97 |
- First cut at custom template audit [SME: 762] |
98 |
|
99 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
100 |
- Add dependency on perl(RPM2) [SME: 762] |
101 |
|
102 |
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
103 |
- Initial version [SME: 762] |
104 |
|
105 |
%prep |
106 |
%setup |
107 |
|
108 |
%build |
109 |
|
110 |
%pre |
111 |
|
112 |
%post |
113 |
|
114 |
%install |
115 |
rm -rf $RPM_BUILD_ROOT |
116 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
117 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
118 |
--file /sbin/e-smith/audittools/ 'attr(0554,root,root)' \ |
119 |
> %{name}-%{version}-%{release}-filelist |
120 |
|
121 |
%clean |
122 |
rm -rf $RPM_BUILD_ROOT |
123 |
|
124 |
%files -f %{name}-%{version}-%{release}-filelist |
125 |
%defattr(-,root,root) |