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

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

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


Revision 1.3 - (show annotations) (download)
Sun Feb 2 21:51:15 2014 UTC (10 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-audittools-1_4_0-3_el6_sme, HEAD
Changes since 1.2: +7 -2 lines
* Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 1.4.0-3.sme
- Add logcheck to help analyse errors in the log files [SME: 8175]

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

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