/[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.8 - (hide annotations) (download)
Sun Mar 18 03:47:58 2018 UTC (6 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-7_el7_sme
Changes since 1.7: +11 -2 lines
* Sat Mar 17 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- ease update of e-smith-devtools on non SME builders [SME: 10536]

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

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