/[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.11 - (show annotations) (download)
Wed Apr 21 01:21:16 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-10_el7_sme
Changes since 1.10: +7 -2 lines
* Tue Apr 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme
- netlogon.bat +x [SME: 11566]

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

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