/[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.7 - (hide annotations) (download)
Thu May 25 15:48:49 2017 UTC (7 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-6_el7_sme
Changes since 1.6: +5 -2 lines
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
- added grub2 directories to ignore list [SME: 10325]

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

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