/[smeserver]/rpms/smeserver-audittools/sme8/smeserver-audittools.spec
ViewVC logotype

Contents of /rpms/smeserver-audittools/sme8/smeserver-audittools.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (show annotations) (download)
Sun Feb 2 21:59:53 2014 UTC (10 years, 3 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-audittools-1_2_0-9_el5_sme, HEAD
Changes since 1.13: +7 -2 lines
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 1.2.0-9.sme
- Add logcheck to help analyse errors in the log files [SME: 8178]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed