1 |
wellsi |
1.2 |
# $Id: smeserver-audittools.spec,v 1.1 2013/01/31 22:23:31 slords Exp $ |
2 |
slords |
1.1 |
|
3 |
|
|
Summary: SME Server auditing tools |
4 |
|
|
%define name smeserver-audittools |
5 |
|
|
Name: %{name} |
6 |
|
|
%define version 1.4.0 |
7 |
wellsi |
1.2 |
%define release 2 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: System Environment/Base |
12 |
|
|
Source: %{name}-%{version}.tar.xz |
13 |
wellsi |
1.2 |
Patch1: smeserver-audittools-1.4.0-groups-users.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 |
wellsi |
1.2 |
* Tue Dec 17 2013 Ian Wells <esmith@wellsi.com> 1.4.0-2.sme |
26 |
|
|
- Add an audit for groups, by Stephane de Labrusse [SME: 1208] |
27 |
|
|
|
28 |
slords |
1.1 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 1.4.0-1.sme |
29 |
|
|
- Roll new stream for sme9 |
30 |
|
|
|
31 |
|
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-7.sme |
32 |
|
|
- Fix regular expression to actually replace the colon with a dot [SME: 5572] |
33 |
|
|
|
34 |
|
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-6.sme |
35 |
|
|
- Undo changes made in 1.2.0-5 [SME: 5572] |
36 |
|
|
- Properly fix output for usernames and groups containing a dot [SME: 5572] |
37 |
|
|
|
38 |
|
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-5.sme |
39 |
|
|
- Remove comment lines from output of aliases [SME: 5572] |
40 |
|
|
|
41 |
|
|
* Thu Nov 5 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-4.sme |
42 |
|
|
- Remove the leading path for yum in newrpms [SME: 5562] |
43 |
|
|
|
44 |
|
|
* Sat Oct 24 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-3.sme |
45 |
|
|
- Revert changes made in [SME: 5417] |
46 |
|
|
|
47 |
|
|
* Sat Aug 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-2.sme |
48 |
|
|
- Sort the output of the repositories audittool alphabetically [SME: 5417] |
49 |
|
|
|
50 |
|
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 1.2.0-1.sme |
51 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
52 |
|
|
|
53 |
|
|
* Thu Aug 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.0.2-7 |
54 |
|
|
- New tool repositories, lists status of configured repositories [SME: 4438] |
55 |
|
|
|
56 |
|
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net> 0.0.2-6 |
57 |
|
|
- New tool events, lists modified events [SME: 3419] |
58 |
|
|
|
59 |
|
|
* Sat Jun 16 2007 Stephen Noble <support@dungog.net> 0.0.2-5 |
60 |
|
|
- New tool newrpms, lists installed rpms not in standard repos [SME: 1206] |
61 |
|
|
|
62 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
63 |
|
|
- Clean up spec so package can be built by koji/plague |
64 |
|
|
|
65 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
66 |
|
|
- Update to new release naming. No functional changes. |
67 |
|
|
- Make Packager generic |
68 |
|
|
|
69 |
|
|
* Wed Apr 12 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-03 |
70 |
|
|
- Change status output for templates audit. In particular |
71 |
|
|
OK -> OWNED_BY_RPM. This means that custom templates will appear |
72 |
|
|
as "OWNED_BY_RPM, OVERRIDE" rather than "OK, OVERRIDE". template |
73 |
|
|
fragments should not be placed in templates-custom via RPMs [SME: 792] |
74 |
|
|
|
75 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-02 |
76 |
|
|
- Fix output from pseudonyms audit [SME: 792] |
77 |
|
|
- Display commands on stdout and warnings on stderr [SME: 792] |
78 |
|
|
- Complain about pseudonyms with @, but no domain [SME: 792] |
79 |
|
|
- Complain if virtualdomains pseudonym doesn't match accounts db [SME: 792] |
80 |
|
|
|
81 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.2-01 |
82 |
|
|
- Roll new tarball with patches to 0.0.1-10 [SME: 792] |
83 |
|
|
|
84 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-10 |
85 |
|
|
- Add pseudonyms audit [SME: 762] |
86 |
|
|
|
87 |
|
|
* Thu Mar 30 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-09 |
88 |
|
|
- Moved all tools into /sbin/e-smith/audittools to reduce clutter |
89 |
|
|
and make it easier to run all of them [SME: 762] |
90 |
|
|
|
91 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-08 |
92 |
|
|
- audit-users2domains - What email address have been used? [SME: 762] |
93 |
|
|
|
94 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-07 |
95 |
|
|
- Remove verbose option to rpm_status - not used [SME: 762] |
96 |
|
|
|
97 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-06 |
98 |
|
|
- Determine how many RPMs own a template and whether it has been |
99 |
|
|
modified since the install of the RPM [SME: 762] |
100 |
|
|
|
101 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-05 |
102 |
|
|
- Only display commands required for conversion from virtualdomains |
103 |
|
|
hacks to user@domain pseudonyms. These are audit tools - changing |
104 |
|
|
the system should be a separate task [SME: 762] |
105 |
|
|
|
106 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-04 |
107 |
|
|
- Examine custom templates: |
108 |
|
|
- Are they owned by an RPM? |
109 |
|
|
- Are they an override or an addition? |
110 |
|
|
- Examine templates |
111 |
|
|
- Are they owned by an RPM? |
112 |
|
|
- TODO: Have they been modified since the install? [SME: 762] |
113 |
|
|
|
114 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-03 |
115 |
|
|
- First cut at custom template audit [SME: 762] |
116 |
|
|
|
117 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
118 |
|
|
- Add dependency on perl(RPM2) [SME: 762] |
119 |
|
|
|
120 |
|
|
* Thu Mar 23 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
121 |
|
|
- Initial version [SME: 762] |
122 |
|
|
|
123 |
|
|
%prep |
124 |
|
|
%setup |
125 |
wellsi |
1.2 |
%patch1 -p1 |
126 |
slords |
1.1 |
|
127 |
|
|
%build |
128 |
|
|
|
129 |
|
|
%pre |
130 |
|
|
|
131 |
|
|
%post |
132 |
|
|
|
133 |
|
|
%install |
134 |
|
|
rm -rf $RPM_BUILD_ROOT |
135 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
136 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
137 |
|
|
--file /sbin/e-smith/audittools/ 'attr(0554,root,root)' \ |
138 |
|
|
> %{name}-%{version}-%{release}-filelist |
139 |
|
|
|
140 |
|
|
%clean |
141 |
|
|
rm -rf $RPM_BUILD_ROOT |
142 |
|
|
|
143 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
144 |
|
|
%defattr(-,root,root) |