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