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