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

Contents 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.12 - (show annotations) (download)
Tue Jun 14 04:12:44 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-11_el7_sme
Changes since 1.11: +8 -2 lines
* Tue Jun 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-11.sme
- ease backup include and exclude of contribs [SME: 11993]

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

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