/[smeserver]/rpms/e-smith-devtools/sme10/e-smith-devtools.spec
ViewVC logotype

Annotation of /rpms/e-smith-devtools/sme10/e-smith-devtools.spec

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


Revision 1.10 - (hide annotations) (download)
Thu Jan 7 18:45:37 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-9_el7_sme
Changes since 1.9: +6 -4 lines
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
- add update event [SME: 11126]

1 jpp 1.10 # $Id: e-smith-devtools.spec,v 1.9 2021/01/06 20:16:40 jpp Exp $
2 vip-ire 1.1
3     Summary: e-smith tools for building RPMs
4     %define name e-smith-devtools
5     Name: %{name}
6     %define version 2.6.0
7 jpp 1.10 %define release 9
8 vip-ire 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: Networking/Daemons
12     Source: %{name}-%{version}.tar.xz
13 vip-ire 1.2 Patch0: e-smith-devtools-2.6.0-no_dir_and_attr_for_symlinks.patch
14 vip-ire 1.3 Patch1: e-smith-devtools-2.6.0-ignore_more_system_dir.patch
15 vip-ire 1.5 Patch2: e-smith-devtools-2.6.0-use_c_wrapper_for_cgi.patch
16 vip-ire 1.6 Patch3: e-smith-devtools-2.6.0-quote_filenames.patch
17 jpp 1.8 Patch4: e-smith-devtools-2.6.0-bz10536-yum_update.patch
18 jpp 1.9
19 vip-ire 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20     BuildArchitectures: noarch
21     Requires: perl, perl(Test::Inline) >= 0.12, perl(XML::Parser)
22     AutoReqProv: no
23    
24     %changelog
25 jpp 1.10 * Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
26 jpp 1.9 - add update event [SME: 11126]
27    
28 jpp 1.8 * Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
29     - ease update of e-smith-devtools on non SME builders [SME: 10536]
30    
31 unnilennium 1.7 * Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
32     - added grub2 directories to ignore list [SME: 10325]
33    
34 vip-ire 1.6 * Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme
35     - Quote filenames in genfilelist so filenames containing spaces are correctly
36     handled [SME: 9750]
37    
38 vip-ire 1.5 * Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
39     - Panel links points on the manager's C wrapper, and original cgi are not
40     suid anymore. [SME: 9393]
41     - console is now also called through a C wrapper to replace perl-suid [SME: 9393]
42    
43 vip-ire 1.3 * Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
44     - Ignore more system directories [SME: 9347]
45    
46 vip-ire 1.2 * Sun Feb 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
47     - Don't add %dir and %attr in genfilelist for symlinks, code from
48     Charlie Brady [SME: 9232]
49    
50 vip-ire 1.1 * Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme
51     - Roll new stream for sme10
52    
53     * Mon Jun 22 2015 stephane de labrusse <stephdl@de-labrusse.fr> 2.4.0-4.sme
54     - Added new createlinks function [SME: 8951]
55     - event_templates event_actions event_services
56    
57     * Tue Sep 9 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme
58     - Don't claim to own /sbin and /sbin/e-smith [SME: 8550]
59    
60     * Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme
61     - Put vendor_perl in share not lib, so works on both 32 and 64 bit
62     build systems. [SME: 7268]
63    
64     * Thu Jan 24 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
65     - Change site_perl to vendor_perl
66    
67     * Tue Aug 17 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
68     - Ignore .orig files create is prep stage [SME: 6173]
69    
70     * Mon Oct 26 2009 Shad L. Lords <slords@mail.com> 2.2.0-3.sme
71     - Fix previous patch [SME: 5538]
72    
73     * Mon Oct 26 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
74     - Add compiled python files to the packaged files list [SME: 5538]
75    
76     * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
77     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
78    
79     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
80     - Clean up spec so package can be built by koji/plague
81    
82     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
83     - Update to new release naming. No functional changes.
84     - Make Packager generic
85    
86     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.14.0-01
87     - Roll stable stream version. [SME: 1016]
88    
89     * Tue Jan 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.13.1-08
90     - Remove % from changelog items - sigh it's a comment!
91    
92     * Tue Jan 24 2006 Charlie Brady <charlieb@e-smith.com> 1.13.1-07
93     - Remove /root/.vimrc [SME: 562]
94    
95     * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.13.1-06
96     - Bump release number only
97    
98     * Mon Jun 27 2005 Charlie Brady <charlieb@e-smith.com>
99     - [1.13.1-05]
100     - Fix file permissions (properly) inside /etc/cron.d. [SF: 1226700]
101    
102     * Fri Jun 24 2005 Charlie Brady <charlieb@e-smith.com>
103     - [1.13.1-04]
104     - Fix file permissions inside /etc/cron.d. [SF: 1226700]
105    
106     * Thu Jan 20 2005 Charlie Brady <charlieb@e-smith.com>
107     - [1.13.1-03]
108     - Add safe_touch() and templates2events() functions to support use
109     of the generic_template_expand action. [MN00064130]
110    
111     * Tue Sep 28 2004 Michael Soulier <msoulier@e-smith.com>
112     - [1.13.1-02]
113     - Updated requires with new perl dependencies. [msoulier MN00040240]
114    
115     * Thu Feb 5 2004 Michael Soulier <msoulier@e-smith.com>
116     - [1.13.1-01]
117     - Rolling as-source. [msoulier]
118    
119     * Thu Feb 5 2004 Michael Soulier <msoulier@e-smith.com>
120     - [1.13.0-03]
121     - Added esmith::Build::CreateLinks to this package. [msoulier 10992]
122    
123     * Mon Dec 22 2003 Michael Soulier <msoulier@e-smith.com>
124     - [1.13.0-02]
125     - Updating .vimrc settings. [msoulier 5740]
126    
127     * Mon Dec 22 2003 Michael Soulier <msoulier@e-smith.com>
128     - [1.13.0-01]
129     - rolling to dev - 1.13.0
130    
131     * Mon Nov 17 2003 Michael Soulier <msoulier@e-smith.com>
132     - [1.12.0-02]
133     - Updated file list to handle /etc/rc.d/init.d/supervise and it's files.
134     [msoulier 10648]
135    
136     * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
137     - [1.12.0-01]
138     - Changing version to stable stream number - 1.12.0
139    
140     * Wed Jun 11 2003 Charlie Brady <charlieb@e-smith.com>
141     - [1.11.0-12]
142     - Enhance genfilelist to take command line options to extend its internal
143     databases. Add /usr/lib/perl5/site_perl (and its components) to list
144     of ignored directories. Reformat ignoredirs list to make it easier to extend.
145     Strip trailing spaces from spec for dirs and files, and add it to the output
146     print statements (so that we don't need a trailing space for every extra spec.
147     [charlieb 7719]
148    
149     * Mon May 26 2003 Gordon Rowell <gordonr@e-smith.com>
150     - [1.11.0-11]
151     - Add missing cd .. after processing a .po directory [gordonr 8828]
152    
153     * Thu Apr 10 2003 Michael Soulier <msoulier@e-smith.com>
154     - [1.11.0-10]
155     - Updated the files list to pick up the .vimrc file. [msoulier 8044]
156    
157     * Thu Apr 10 2003 Michael Soulier <msoulier@e-smith.com>
158     - [1.11.0-09]
159     - Added a standard .vimrc file for the root user. [msoulier 8044]
160    
161     * Wed Apr 2 2003 Michael Soulier <msoulier@e-smith.com>
162     - [1.11.0-08]
163     - Added support for /sbin/e-smith/console-screens. [msoulier 7968]
164    
165     * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
166     - [1.11.0-07]
167     - Added support for /home/e-smith/files/samba/netlogon [gordonr 5241]
168    
169     * Tue Mar 25 2003 Tony Clayton <apc@e-smith.com>
170     - [1.11.0-06]
171     - small fix to update-po usage() function [tonyc 7794]
172    
173     * Tue Mar 25 2003 Tony Clayton <apc@e-smith.com>
174     - [1.11.0-05]
175     - Add update-po to install/files sections [tonyc 7794]
176    
177     * Tue Mar 25 2003 Tony Clayton <apc@e-smith.com>
178     - [1.11.0-04]
179     - Add update-po script [tonyc 7794]
180    
181     * Thu Mar 6 2003 Gordon Rowell <gordonr@e-smith.com>
182     - [1.11.0-03]
183     - And add generate-lexicons to install and files [gordonr 7578]
184    
185     * Thu Mar 6 2003 Gordon Rowell <gordonr@e-smith.com>
186     - [1.11.0-02]
187     - Added initial generate-lexicons [gordonr 7578]
188    
189     * Wed Nov 6 2002 Michael Soulier <msoulier@e-smith.com>
190     - [1.11.0-01]
191     - need new dev version to 1.11.0
192    
193     * Wed Nov 6 2002 Michael Soulier <msoulier@e-smith.com>
194     - [1.10.1-02]
195     - Added /usr/lib/perl5/site_perl/esmith/FormMagick/Panel/ to the fileperms
196     hash to set the panel libs to 0644 permissions. [msoulier 5516]
197    
198     * Tue Oct 15 2002 Charlie Brady <charlieb@e-smith.com>
199     - [1.10.1-01]
200     - Roll new version to fix tagging problem
201    
202     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
203     - [1.10.0-01]
204     - Roll to maintained version number to 1.10.0
205    
206     * Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
207     - [1.10.0-01]
208     - Roll to maintained version number to 1.10.0
209    
210     * Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com>
211     - [1.9.0-01]
212     - Changing version to maintained stream number to 1.9.0
213    
214     * Fri May 31 2002 Charlie Brady <charlieb@e-smith.com>
215     - [1.8.0-01]
216     - Changing version to maintained stream number to 1.8.0
217    
218     * Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com>
219     - [1.7.6-01]
220     - RPM rebuild forced by cvsroot2rpm
221    
222     * Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com>
223     - [1.7.5-01]
224     - Sigh. Hash-bang line brokenness. [gordonr 3155]
225    
226     * Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com>
227     - [1.7.4-01]
228     - Forced attributes on scripts so we don't rely on the repository
229     [gordonr 3155]
230    
231     * Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com>
232     - [1.7.3-01]
233     - Actually copy validate-lexicon to the correct place [gordonr 3155]
234    
235     * Fri May 3 2002 Gordon Rowell <gordonr@e-smith.com>
236     - [1.7.2-01]
237     - Added validate-lexicon which exits non-zero if the lexicon
238     doesn't parse properly [gordonr 3155]
239    
240     * Sat Apr 05 2002 Gordon Rowell <gordonr@e-smith.com>
241     - [1.7.1-01]
242     - New development stream. Added /sbin/e-smith/quicktest [gordonr]
243    
244     * Wed Apr 03 2002 Gordon Rowell <gordonr@e-smith.com>
245     - [1.6.10-01]
246     - /var/run/named -> /home/dns/var/run/named for chroot() [gordonr #3019]
247    
248     * Wed Apr 03 2002 Gordon Rowell <gordonr@e-smith.com>
249     - [1.6.9-01]
250     - Added /var/run/named [gordonr #3019]
251    
252     * Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com>
253     - [1.6.8-01]
254     - Botched the spec file. :(
255    
256     * Wed Feb 27 2002 Michael G Schwern <schwern@e-smith.com>
257     - [1.6.7-01]
258     - Adding smoketest's permissions from e-smith-test.
259    
260     * Fri Feb 22 2002 Charlie Brady <charlieb@e-smith.com>
261     - [1.6.6-01]
262     - Fix permissions on /var/spool/fax/faxrunqd directory (sticky, not setgid).
263    
264     * Fri Feb 22 2002 Charlie Brady <charlieb@e-smith.com>
265     - [1.6.5-01]
266     - Add specifications for directories and run scripts for mgetty's faxrunqd.
267    
268     * Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com>
269     - [1.6.4-01]
270     - Added buildtests to filelist so it actually installs. Bah.
271    
272     * Thu Feb 21 2002 Kirrily Robert <skud@e-smith.com>
273     - [1.6.3-01]
274     - Added buildtests script for building a package's test suite
275    
276     * Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com>
277     - [1.6.2-01]
278     - Imported to CVS; testing that it worked.
279    
280     * Mon Feb 18 2002 Kirrily Robert <skud@e-smith.com>
281     - [1.6.1-01]
282     - rollRPM: Rolled version number to 1.6.1-01. Includes patches up to 1.6.0-02.
283    
284     * Wed Jan 02 2002 Charlie Brady <charlieb@e-smith.com>
285     - [1.6.0-02]
286     - Add execute permissions to files under /etc/cron.daily and /etc/cron.weekly.
287    
288     * Tue Dec 11 2001 Adrian Chung <mac@e-smith.com>
289     - [1.6.0-01]
290     - rollRPM: Rolled version number to 1.6.0-01. Includes patches up to 1.5.0-07.
291    
292     * Thu Dec 06 2001 Charlie Brady <charlieb@e-smith.com>
293     - [1.5.0-07]
294     - Add missing trailing / to /etc/diald/scripts, to make scripts there
295     executable.
296    
297     * Tue Dec 04 2001 Charlie Brady <charlieb@e-smith.com>
298     - [1.5.0-06]
299     - Add specs for /var/lock/fetchmail and /etc/diald/scripts/*.
300     - Add execute permission for /etc/cron.d/* fragments
301     - Add spec for /home/e-smith/files/netlogon/netlogon.bat, for when we
302     need it.
303    
304     * Fri Nov 30 2001 Gordon Rowell <gordonr@e-smith.com>
305     - [1.5.0-05]
306     - Made /home/e-smith/files/samba/profiles 02750,admin,shared to allow
307     users to search that directory when accessing their profile subdirectory
308    
309     * Tue Nov 20 2001 Gordon Rowell <gordonr@e-smith.com>
310     - [1.5.0-04]
311     - Make /etc/e-smith/events/actions/create-machine-account 06554,root,root
312     to allow "admin" to create machine accounts through Samba
313    
314     * Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com>
315     - [1.5.0-03]
316     - Explicitly list printer driver and profiles directories
317     - Returned /home/e-smith/files/samba to default ownership by root
318    
319     * Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com>
320     - [1.5.0-02]
321     - Made /home/e-smith/files/samba 02755,admin,admin to allow admin write
322     access to the printer drivers share
323    
324     * Mon Nov 19 2001 Gordon Rowell <gordonr@e-smith.com>
325     - [1.5.0-01]
326     - Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-02.
327    
328     * Mon Sep 3 2001 Charlie Brady <charlieb@e-smith.com>
329     - [1.4.0-02]
330     - Include /var/named, plus lots of other directories which are from the
331     filesystem RPM.
332    
333     * Thu Aug 23 2001 Gordon Rowell <gordonr@e-smith.com>
334     - [1.4.0-01]
335     - Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-02.
336    
337     * Thu Aug 16 2001 Charlie Brady <charlieb@e-smith.com>
338     - [1.3.0-02]
339     - Configure a list of directories to omit from RPMs - e.g., RedHat supplied
340     directories.A
341     - Fix permissions/ownership of ~admin and ~admin/home
342     - Add space between %attr() and directory name
343    
344     * Thu Aug 16 2001 Charlie Brady <charlieb@e-smith.com>
345     - [1.3.0-01]
346     - Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-05.
347    
348     * Fri Jul 27 2001 Charlie Brady <charlieb@e-smith.com>
349     - [1.2.0-05]
350     - Fix up misplaced defattr, so that files are root owned, unless stated
351     otherwise (rather than by the developer building the package).
352    
353     * Fri Jul 6 2001 Peter Samuel <peters@e-smith.com>
354     - [1.2.0-04]
355     - Changed license to GPL
356    
357     * Sat May 05 2001 Paul Nesbit <pkn@e-smith.com>
358     - [1.2.0-03]
359     - Corrected permission in genfilelist.
360    
361     * Mon Jan 29 2001 Charlie Brady <charlieb@e-smith.com>
362     - [1.2.0-02]
363     - Mark netlogon.bat as a noreplace config file.
364     - Add some horde config files rules, and rule for /root/.ssh
365     directory
366     - Add e-smith Maildir rules
367     - Give admin ownership of admin home directory
368    
369     * Fri Jan 26 2001 Peter Samuel <peters@e-smith.com>
370     - [1.2.0-01]
371     - Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-3.
372    
373     * Sat Jan 06 2001 Charlie Brady <charlieb@e-smith.com>
374     - [1.1.0-3]
375     - Remove "other" execute permission for console and action scripts
376     - Add execute permission rule for /sbin/e-smith/dynamic-dns/*.
377     - Add permission rules for /etc/cron.d/* and /etc/profile.d/* files
378    
379     * Mon Dec 18 2000 Charlie Brady <charlieb@e-smith.com>
380     - [1.1.0-2]
381     - Include ownership and permission for netlogon share
382    
383     * Wed Dec 13 2000 Gordon Rowell <gordonr@e-smith.com>
384     - [1.1.0-1]
385     - Rolled version and tarball including patches to 0.1-11
386    
387     * Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com>
388     - Added settings for /home/dns/var/run and /home/dns/var/named
389    
390     * Mon Oct 30 2000 Charlie Brady <charlieb@e-smith.com>
391     - Added default permissions setting for directories
392    
393     * Tue Sep 12 2000 Adrian Chung <mac@e-smith.com>
394     - Changed /sbin/e-smith/web to /etc/e-smith/web.
395    
396     * Mon Sep 11 2000 Adrian Chung <mac@e-smith.com>
397     - Changed permissions on functions dir to 4750.
398    
399     * Thu Aug 31 2000 Adrian Chung <mac@e-smith.com>
400     - Added executable permissions to index.cgi.
401    
402     * Thu Aug 31 2000 Adrian Chung <mac@e-smith.com>
403     - Modified all panel directories to root,admin.
404    
405     * Wed Aug 30 2000 Adrian Chung <mac@e-smith.com>
406     - Modified web directories to (root,admin) permissions.
407    
408     * Wed Aug 30 2000 Adrian Chung <mac@e-smith.com>
409     - Moved %defattr below to under files section.
410     - Changed genfilelist for new web permissions.
411     - Changed genfilelist for new permissions on some other
412     files.
413    
414     * Tue Aug 29 2000 Charlie Brady <charlieb@e-smith.net>
415     - Fix another stupid ordering problem - can't get ordered searching of
416     hash. We only need to key by file and containing directory anyway.
417    
418     * Fri Aug 25 2000 Charlie Brady <charlieb@e-smith.net>
419     - Fix ordering problem with using hash before defined.
420    
421     * Thu Aug 24 2000 Charlie Brady <charlieb@e-smith.net>
422     - initial release
423    
424     %description
425     Tools for use in building RPMs for the e-smith serverand gateway.
426    
427     Use "genfilelist" to create a filelist file with correct ownerships and
428     permissions.
429    
430     %prep
431     %setup
432 vip-ire 1.2 %patch0 -p1
433 vip-ire 1.3 %patch1 -p1
434 vip-ire 1.5 %patch2 -p1
435 vip-ire 1.6 %patch3 -p1
436 jpp 1.8 %patch4 -p1
437 vip-ire 1.2
438 vip-ire 1.1 %build
439    
440     %install
441     rm -rf $RPM_BUILD_ROOT
442     mkdir -p $RPM_BUILD_ROOT/sbin/e-smith
443     mkdir -p $RPM_BUILD_ROOT/root
444     mkdir -p $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build
445 jpp 1.8 mkdir -p $RPM_BUILD_ROOT/etc/yum.repos.d
446 jpp 1.10 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update
447 jpp 1.8
448 vip-ire 1.1 cp genfilelist $RPM_BUILD_ROOT/sbin/e-smith
449     cp buildtests $RPM_BUILD_ROOT/sbin/e-smith
450     cp validate-lexicon $RPM_BUILD_ROOT/sbin/e-smith
451     cp generate-lexicons $RPM_BUILD_ROOT/sbin/e-smith
452     cp update-po $RPM_BUILD_ROOT/sbin/e-smith
453     cp CreateLinks.pm $RPM_BUILD_ROOT/usr/share/perl5/vendor_perl/esmith/Build
454 jpp 1.8 cp e-smith-devtools.repo $RPM_BUILD_ROOT/etc/yum.repos.d/
455 vip-ire 1.1
456 jpp 1.10
457 vip-ire 1.1 %clean
458     rm -rf $RPM_BUILD_ROOT
459    
460     %pre
461     %preun
462     %post
463     %postun
464    
465     %files
466     %defattr(-,root,root)
467     %attr(0755,root,root) /sbin/e-smith/genfilelist
468     %attr(0755,root,root) /sbin/e-smith/buildtests
469     %attr(0755,root,root) /sbin/e-smith/validate-lexicon
470     %attr(0755,root,root) /sbin/e-smith/generate-lexicons
471     %attr(0755,root,root) /sbin/e-smith/update-po
472     %attr(0644,root,root) /usr/share/perl5/vendor_perl/esmith/Build/CreateLinks.pm
473 jpp 1.8 %attr(0755,root,root) /etc/yum.repos.d/e-smith-devtools.repo
474 jpp 1.10 %attr(0755,root,root) /etc/e-smith/events/%{name}-update
475 vip-ire 1.1 %doc COPYING

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