/[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.6 - (hide annotations) (download)
Tue Aug 23 08:36:56 2016 UTC (7 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-5_el7_sme
Changes since 1.5: +8 -2 lines
* Tue Aug 23 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme
- Quote filenames in genfilelist so filenames containing spaces are correctly
  handled [SME: 9750]

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

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