/[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.5 - (show annotations) (download)
Thu May 12 17:08:37 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-devtools-2_6_0-4_el7_sme
Changes since 1.4: +9 -2 lines
* Wed May 11 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
- Panel links points on the manager's C wrapper, and original cgi are not
  suid anymore. [SME: 9393]
- console is now also called through a C wrapper to replace perl-suid [SME: 9393]

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

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