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