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