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

Contents of /rpms/e-smith-lib/sme10/e-smith-lib.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.19 - (show annotations) (download)
Wed Jun 28 08:24:32 2023 UTC (16 months, 3 weeks ago) by trevorb
Branch: MAIN
CVS Tags: e-smith-lib-2_6_0-17_el7_sme
Changes since 1.18: +35 -4 lines
incorporate create special user and group adds from e-smith

1 # $Id: e-smith-lib.spec,v 1.18 2022/11/23 22:07:12 jpp Exp $
2
3 %define copykooz 2013-2021
4
5 Summary: e-smith server and gateway - library module
6 %define name e-smith-lib
7 Name: %{name}
8 %define version 2.6.0
9 %define release 17
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: Artistic
13 Group: Networking/Daemons
14 Source: %{name}-%{version}.tar.xz
15 Patch0: e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch
16 Patch1: e-smith-lib-2.6.0-mariadb.patch
17 Patch2: e-smith-lib-2.6.0.bz9691.syslof.patch
18 Patch3: e-smith-lib-2.6.0.bz9585.fix_startup_display.patch
19 Patch4: e-smith-lib-2.6.0.bz9478.patch
20 Patch5: e-smith-lib-2.6.0.bz10848.systemctl-reload-or-restart.patch
21 Patch6: e-smith-lib-2.6.0-bz11177-systemd.patch
22 Patch7: e-smith-lib-2.6.0-bz11177-signals.patch
23 Patch8: e-smith-lib-2.6.0-bz11570-copyrights.patch
24 Patch9: e-smith-lib-2.6.0-bz11723.patch
25 Patch10: e-smith-lib-2.6.0-bz12194-allowSystemctlAliases.patch
26
27 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
28 BuildArchitectures: noarch
29 BuildRequires: e-smith-devtools >= 1.6.3-01
30 Obsoletes: %{name}-Tai64n
31 Obsoletes: whiptail
32 Requires: dialog
33 Requires: perl, perl(Text::Template)
34 Requires: perl(Time::HiRes), perl(MIME::Base64)
35 Requires: perl(Authen::PAM), perl(I18N::AcceptLanguage)
36 Requires: perl(I18N::LangTags) >= 0.27
37 Requires: perl(Net::IPv4Addr) >= 0.10
38 Requires: perl(Taint::Util)
39 Requires: pciutils
40
41 %description
42 e-smith server and gateway software - library module.
43
44 %changelog
45 * Wed Jun 28 2023 Trevor Batley <trevor@batley.id.au> 2.6.0-17.sme
46 - add in user and group adds from e-smith package [SME: 12369]
47
48 * Wed Nov 23 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-16.sme
49 - allow call to systemctl aliases in etc [SME: 12194]
50 fix network=>networking service is not restarted.
51
52 * Thu Oct 28 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-15.sme
53 - add support for service with instances [SME: 11723]
54
55 * Mon Apr 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-14.sme
56 - update copyright dates, and make it easier to change from spec file [SME: 11570]
57
58 * Sat Jan 02 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
59 - partial revert of signals [SME: 11177]
60 signal s not passed to runit services (dnscache*, qmail, qpsmtpd...)
61 services handled by systemd crash if they do not have Restart=always defined
62
63 * Fri Jan 01 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme
64 - add support for signals SIG* with systemd [SME: 11177]
65 fix typo for reload-or-try-restart
66 unsupervised services: really stop when disabled and start stopped enabled ones
67
68 * Thu Nov 26 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
69 - remove error when sending sighup event [SME: 11177]
70
71 * Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme
72 - allow more systemctl controls [SME: 11177]
73 convert unrecognized signals from service2adjust in events for systemd
74 handle unsupervised services the same way supervised were in adjust-services
75 - create e-smith-lib-event [SME: 11141]
76
77 * Thu Dec 12 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme
78 - add support for systemctl reload-or-restart, try-restart, enable -now [SME: 10848]
79
80 * Wed Oct 25 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-8.sme
81 - Revert prev change regarding tap_soft, as it's not needed [SME: 10445]
82
83 * Mon Oct 23 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme
84 - Skip tap_soft interfaces (eg SoftEther, code from Hsing-Foo Wang)
85 [SME: 10445]
86
87 * Wed Apr 12 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
88 - remove reference to smtpd in configuration.conf [SME: 9478]
89
90 * Thu Aug 04 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
91 - fix console startup display [SME: 9352]
92
93 * Sat Jul 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
94 - fix service name syslog to rsyslog [SME: 9691]
95
96 * Mon Jul 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
97 - fix mysqld to mariadb [SME: 9438]
98 - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
99 by assuming the date is correct and changing the weekday.
100 Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
101 Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or ....
102
103 * Thu Jul 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-2.sme
104 - fix esmith::util::serviceControl to manage systemd service [SME: 9660]
105 - Added e-smith-lib-2.6.0.bz9660.serviceControlSystemd.patch
106
107 * Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
108 - Initial release to sme10
109
110 * Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme
111 - Adjust regex so adjust-service accepts sigusr1 and sigusr2 from files
112 [SME: 9184]
113
114 * Thu Jun 18 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-15.sme
115 - Added a password creation (set_secret) [SME: 8943]
116 - code from Charlie Brady <charlieb-contribs-bugzilla@budge.apana.org.au>
117
118 * Sat Apr 5 2014 Ian Wells <esmith@wellsi.com> 2.4.0-14.sme
119 - Untaint the license filename [SME: 8305]
120 - Non-functional perl::Critic changes.
121
122 * Sun Mar 16 2014 Ian Wells <esmith@wellsi.com> 2.4.0-13.sme
123 - Add textbox() to console.pm, getLicenseFile to util.pm [SME: 8264]
124
125 * Sun Feb 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-12.sme
126 - Update frame header and footer [SME: 8183]
127
128 * Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-11.sme
129 - Remove the "swap interface" feature [SME: 7993]
130
131 * Sat Nov 30 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-10.sme
132 - Return nic names in probeAdapters so we can drop HWAddress [SME: 7991]
133
134 * Sat May 25 2013 Ian Wells <esmith@wellsi.com> 2.4.0-9.sme
135 - Correctly display accented letters in the console [SME: 7591]
136 by Filippo Carletti
137
138 * Sun May 05 2013 Ian Wells <esmith@wellsi.com> 2.4.0-8.sme
139 - Add e-smith as a Requires(pre) and remove adding users in %pre
140 - Fix uid and gid to be the same in create-system-user [SME: 7547]
141
142 * Sat Mar 9 2013 Shad L. Lords <slords@mail.com> 2.4.0-7.sme
143 - Ensure group www exists before user [SME: 7319]
144
145 * Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme
146 - Fix pre script to make www and apache the same [SME: 7319]
147
148 * Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
149 - Untaint variable in probeAdapters() [SME: 7416]
150
151 * Thu Feb 28 2013 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
152 - Improve error checking in isValidIP [SME: 7410]
153
154 * Sun Feb 24 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme
155 - Fix MAC detection for bond slaves [SME: 3596]
156
157 * Thu Jan 31 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-2.sme
158 - Stop using kudzu for NIC detection [SME: 3596]
159
160 * Fri Jan 25 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
161 - Bump version in prep for SME9
162 - Perl module rpms moved to /usr/share/perl5/vendor_perl [SME: 7223]
163
164 * Mon Oct 11 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme
165 - Serialize configure_peers to prevent errors [SME: 5831]
166
167 * Fri Feb 5 2010 Stephen Noble <support@dungog.net> 2.2.0-6.sme
168 - adds the hwaddr parameter to probeAdapters() [SME: 4528]
169
170 * Thu Feb 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
171 - Update path for 64-bit compatibility [SME: 5756]
172
173 * Tue Dec 22 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
174 - Really apply previous patch in the spec file. [SME: 5659]
175
176 * Wed Dec 9 2009 Charlie Brady <charlieb@budge.apana.org.au> 2.2.0-3.sme
177 - Add patch (Federico Simoncelli) to prevent re-use of uids. [SME: 5659]
178
179 * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme
180 - Add patch to support multiple samba roles [SME: 4172]
181
182 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
183 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
184
185 * Wed Aug 20 2008 Shad L. Lords <slords@mail.com> 1.19.0-1
186 - Roll new dev stream.
187
188 * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 1.18.0-28
189 - Read /dev/urandmon instead of /dev/random [SME: 4492]
190
191 * Sat Aug 9 2008 Shad L. Lords <slords@mail.com> 1.18.0-27
192 - Make dialog not use STDERR for return values [SME: 3663]
193 - Remove requires for whiptail. No longer needed [SME: 4491]
194
195 * Thu Jul 31 2008 Shad L. Lords <slords@mail.com> 1.18.0-26
196 - Make binmode properties of db class [SME: 4317]
197 - Add new navigation db & utf8 classes [SME: 4317]
198
199 * Wed Apr 2 2008 Shad L. Lords <slords@mail.com> 1.18.0-25
200 - Add .utf8 to locale unless server-console [SME: 4162]
201 - Add new languages to langtag2locale [SME: 4163]
202
203 * Sun Mar 30 2008 Shad L. Lords <slords@mail.com> 1.18.0-24
204 - Gracefully handle encoding errors in navigation dbs [SME: 4147]
205
206 * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.18.0-23
207 - Make PAM conv routine not look for english strings [SME: 4117]
208
209 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.18.0-22
210 - Fix wide output to syslog and allow navigations db to be utf8 [SME: 4101]
211
212 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.18.0-21
213 - Output navigation in UTF-8 [SME: 3858]
214
215 * Sun Jan 20 2008 Gavin Weight <gweight@gmail.com> 1.18.0-20
216 - Call smbpasswd -e - to reset user correctly. [SME: 3755]
217
218 * Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.18.0-19
219 - modify validate password strong match for console [SME: 2173]
220
221 * Thu Nov 01 2007 Gavin Weight <gweight@gmail.com> 1.18.0-18
222 - Fix I18N.pm file descriptor leak. [SME: 3509]
223
224 * Wed Oct 31 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-17
225 - Remove undocumented and unused template metadata handling from
226 generic_template_expand action (Take II). [SME: 2798]
227
228 * Fri Jun 1 2007 Shad L. Lords <slords@mail.com> 1.18.0-16
229 - pam_unix requires passwords >= 6 [SME: 3039]
230
231 * Mon May 21 2007 Shad L. Lords <slords@mail.com> 1.18.0-15
232 - Fix ip addr shift to work on 64-bit
233
234 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
235 - Clean up spec so package can be built by koji/plague
236
237 * Thu Apr 05 2007 Shad L. Lords <slords@mail.com> 1.18.0-14
238 - Reverse changes for 1.18.0-12 as it is being used. [SME: 2838]
239
240 * Wed Apr 04 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-13
241 - Allow gauge console widget to be used without following message_page.
242 [SME: 2832].
243
244 * Mon Mar 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-12
245 - Remove undocumented and unused template metadata handling from
246 generic_template_expand action. [SME: 2798]
247
248 * Mon Mar 26 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-11
249 - Split logfile rotation code out of generic_template_expand.
250 Code moved to a new action in e-smith-base. [SME: 2795]
251
252 * Mon Mar 19 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-10
253 Don't try to read template.metadata from subdirectories (affects
254 initialize_database_defaults). [SME: 2690]
255
256 * Fri Mar 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-9
257 - Allow template.metadata to be provided via a directory of
258 small files. [SME: 2690]
259 - Add support for a DELETE boolean template.metadata item. [SME: 2691]
260
261 * Wed Feb 28 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-8
262 - Add gauge widget to esmith::console. [SME: 2579]
263
264 * Sun Feb 25 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-7
265 - Default infobox height to 8 rows, and allow override via params.
266 [SME: 2560]
267
268 * Fri Feb 23 2007 Shad L. Lords <slords@mail.com> 1.18.0-6
269 - Really fix clear parameter for inputbox dialog screen [SME: 2533]
270
271 * Fri Feb 23 2007 Shad L. Lords <slords@mail.com> 1.18.0-5
272 - Fix clear parameter for dialog screens [SME: 2533]
273
274 * Thu Feb 22 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-4
275 - switch esmith::console::password_page() to use dialog rather than
276 whiptail. [SME: 2534]
277
278 * Thu Feb 22 2007 Charlie Brady <charlie_brady@mitel.com> 1.18.0-3
279 - Add infobox widget. [SME: 2533]
280
281 * Sun Jan 28 2007 Shad L. Lords <slords@mail.com> 1.18.0-2
282 - Fix backtitle spacing for new dialog menus [SME: 2328]
283
284 * Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.18.0-1
285 - Roll stable stream. [SME: 2328]
286
287 * Fri Dec 15 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.17.0-8
288 Tue Dec 15 2006 --> Tue Dec 12 2006 or Fri Dec 15 2006 or Tue Dec 19 2006 or ....
289 - Added the validatePassword function to esmith::util. [SME: 2100]
290
291 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
292 - Update to new release naming. No functional changes.
293 - Make Packager generic
294
295 * Fri Nov 24 2006 Gordon Rowell <gordonr@gormand.com.au> 1.17.0-06
296 - Allow optional path to peeers directory in
297 esmith::tcpsvd::configure_peers() [SME: 2086]
298
299 * Tue Nov 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-05
300 - Allow defaulno option to esmith::console::yesno.
301 - Fix I/O redirection in esmith::console::new.
302
303 * Tue Nov 07 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-04
304 - Allow display of "0" in iesmith::cgi::genSmallCell. [SME: 2038]
305
306 * Mon Oct 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-03
307 - Make dialog the default console app, with whiptail used only when
308 required.
309
310 * Wed Oct 11 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-02
311 - Allow 'dialog' to be called from esmith::console. [SME: 1958]
312
313 * Wed Oct 11 2006 Charlie Brady <charlie_brady@mitel.com> 1.17.0-01
314 - Roll development branch.
315
316 * Mon Sep 25 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-06
317 - Fix problem with greedy RE in template.metadata parsing. [SME: 1906]
318
319 * Fri Sep 08 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-05
320 - Fix taint problem in template.metadata handling. [SME: 1906]
321
322 * Thu Apr 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-04
323 - Use "kudzu --probe --class network" for NIC detection. [SME: 727]
324
325 * Fri Apr 7 2006 Gordon Rowell <gordonr@gormand.com.au> 1.16.0-03
326 - Don't call smbpasswd -e - setting the password is sufficient [SME: 1193]
327
328 * Tue Mar 28 2006 Gordon Rowell <gordonr@gormand.com.au> 1.16.0-02
329 - Log previous contents of db entry in DELETE log [SME: 1066]
330
331 * Tue Mar 14 2006 Charlie Brady <charlie_brady@mitel.com> 1.16.0-01
332 - Roll to stable stream version number. [SME: 1016]
333
334 * Fri Mar 10 2006 Charlie Brady <charlie_brady@mitel.com> 1.15.4-02
335 - Suppress warning from genSmallCell if text is undefined. [SME: 986]
336
337 * Fri Feb 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.4-01
338 - Roll patches up to 1.15.3-42
339 - Trim changelog prior to 1.15.0-01 [SME: 828]
340
341 * Thu Feb 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-42
342 - Adjust console title bar to 'SME Server' [SME: 726]
343
344 * Tue Feb 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-41
345 - Reworded text for template-begin and change URL to /development/
346 rather than /custom/ [SME: 773]
347
348 * Mon Feb 13 2006 Charlie Brady <charlie_brady@mitel.com> 1.15.3-40
349 - Update URL in default template-begin fragment. [SME: 773]
350
351 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-39
352 - Remove obsolete e-smith-lib-Tai64n package. [SME: 689]
353
354 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-38
355 - [Null changelog for missing version - we accidentally skipped
356 this version.]
357
358 * Sat Feb 11 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-37
359 - Fix get_all_by_prop in scalar context. [SME: 669,721]
360
361 * Mon Feb 6 2006 Shad L. Lords <slords@mail.com> 1.15.3-37
362 - Add ability to pass many props to get_all_by_prop [SME: 669]
363
364 * Mon Jan 23 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-36
365 - Fix warning during pseudonym deletion. [SME: 491]
366
367 * Fri Jan 20 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-35
368 - Fix up use of Sys::Syslog::syslog. [SME: 526]
369
370 * Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-34
371 - Remove running of kudzu during NIC probing. TODO: Find a solution
372 to system reconfiguration when new hardware is added. [SME: 192]
373
374 * Tue Jan 10 2006 Charlie Brady <charlieb@e-smith.com> 1.15.3-33
375 - Fold a.b.c.d/255.255.255.255 to a.b.c.d in local_access_spec() to
376 work around bugs in applications which don't accept such specs.
377 [SME: 430]
378
379 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-32
380 - Check whether an accounts db record exists before trying to create
381 the dot and underscore pseudonyms (new_record will fail silently)
382 and check that the records are pseudonyms before deleting them [SME: 24]
383
384 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-31
385 - And update POD for last change [SME: 24]
386
387 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-30
388 - Allow dot and underscore in account names [SME: 24]
389
390 * Tue Dec 27 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-29
391 - Remove newlines from cluck() string and just note that the old
392 path was used [SME: 365]
393
394 * Sun Dec 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-28
395 Sat Dec 25 2005 --> Sat Dec 24 2005 or Sun Dec 25 2005 or Sat Dec 31 2005 or ....
396 - If db exists in both the old and new locations in
397 initialize_default_databases, rename the one in the new
398 location to db.time(), avoiding the conflict and saving the
399 evidence in case it is needed later [SME: 229]
400
401 * Mon Dec 05 2005 Mark Knox <mark_knox@mitel.com>
402 - [1.15.3-27]
403 - Moved queueing logic to separate daemon, replaced with FIFO IPC [BZ252
404
405 * Thu Dec 01 2005 Mark Knox <mark_knox@mitel.com>
406 - [1.15.3-26]
407 - Added event queueing (open source portion) for clustered systems [BZ250]
408
409 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.15.3-25
410 - Bump release number only
411
412 * Thu Nov 24 2005 Gordon Rowell <gordonr@e-smith.com>
413 - [1.15.3-24]
414 - Add missing 'use Locale::gettext' to esmith::console.pm [MN00108804]
415
416 * Sun Nov 20 2005 Charlie Brady <charlieb@e-smith.com>
417 - [1.15.3-23]
418 - Clarify logic for stopped services in adjust-services. [SF: 1357629]
419
420 * Sun Nov 20 2005 Gordon Rowell <gordonr@e-smith.com>
421 - [1.15.3-22]
422 - Correct adjust-services logic for stopped services [SF: 1357629]
423
424 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
425 - [1.15.3-21]
426 - Allow services2adjust directories to contain files rather than just dangling
427 symlinks. Files can contain more than one actions to perform. [SF: 1270644]
428
429 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
430 - [1.15.3-20]
431 - Also don't start services if we just want to "once" them. [SF: 1357629]
432
433 * Wed Nov 16 2005 Charlie Brady <charlieb@e-smith.com>
434 - [1.15.3-19]
435 - Fix restart of enabled supervised services which we are attempting to stop.
436 [SF: 1357629]
437
438 * Tue Nov 15 2005 Charlie Brady <charlieb@e-smith.com>
439 - [1.15.3-18]
440 - Set default for $type in esmith::cgi::genSmallCell, to prevent some log
441 noise. [SF: 1357830]
442
443 * Tue Nov 15 2005 Charlie Brady <charlieb@e-smith.com>
444 - [1.15.3-17]
445 - Pass $EVENT to template expansions in generic_template_expand.
446 [SF: MN00106104]
447
448 * Tue Nov 15 2005 Gordon Rowell <gordonr@e-smith.com>
449 - [1.15.3-16]
450 - Redirect esmith::config calls on old db paths to the new
451 location [SF: 1335865]
452
453 * Thu Oct 27 2005 Charlie Brady <charlieb@e-smith.com>
454 - [1.15.3-15]
455 - Fix a few minor spec file portability issues. [SF: 1339729]
456
457 * Wed Oct 26 2005 Charlie Brady <charlieb@e-smith.com>
458 - [1.15.3-14]
459 - Add it and de to the langtag2locale fixups. [SF: 1338236]
460
461 * Tue Oct 11 2005 Charlie Brady <charlieb@e-smith.com>
462 - [1.15.3-13]
463 - Build driver list from .ko files as well as .o files. Untaint driver
464 names while building list. [SF: 1323270]
465
466 * Mon Sep 26 2005 Charlie Brady <charlieb@e-smith.com>
467 - [1.15.3-12]
468 - Fix "defaults" handling so that values which evaluate to false are
469 not overridden by default. [SF: 1303885]
470
471 * Fri Sep 23 2005 Charlie Brady <charlieb@e-smith.com>
472 - [1.15.3-11]
473 - Untaint db names before attempting to move them. [MN00098405]
474
475 * Thu Sep 22 2005 Charlie Brady <charlieb@e-smith.com>
476 - [1.15.3-10]
477 - Provide networks method in esmith::NetworksDB. [SF: 1296099]
478 - Support a "localhost" configuration in esmith::tcpsvd:configure_peers
479 [SF: 1294719]
480
481 * Tue Sep 20 2005 Charlie Brady <charlieb@e-smith.com>
482 - [1.15.3-09]
483 - Remove deprecated functions from esmith::utils. [SF: 1295851]
484 - Include only "network" records in local_access_spec. [SF: 1296099]
485
486 * Mon Sep 12 2005 Charlie Brady <charlieb@e-smith.com>
487 - [1.15.3-08]
488 - Remove warning about explicit path in esmith::db::_db_path.
489 [SF: 1286294]
490
491 * Fri Sep 9 2005 Charlie Brady <charlieb@e-smith.com>
492 - [1.15.3-07]
493 - Tolerate, but warn about, symlinks in /home/e-smith. [SF: 1216546]
494
495 * Fri Sep 9 2005 Charlie Brady <charlieb@e-smith.com>
496 - [1.15.3-06]
497 - Reduce the noise from _file_path() in esmith::DB::db. [SF: 1286294]
498
499 * Wed Sep 7 2005 Charlie Brady <charlieb@e-smith.com>
500 - [1.15.3-05]
501 - Fix operation of expandTemplate when taint check is enabled.
502 [SF: 1284301]
503
504 * Wed Aug 17 2005 Mark Knox <markk@e-smith.com>
505 - [1.15.3-04]
506 - Added open_local and open_ro_local methods for clustering [markk MN00094831]
507
508 * Tue Aug 16 2005 Charlie Brady <charlieb@e-smith.com>
509 - [1.15.3-03]
510 - Fix POD error in util.pm.
511
512 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
513 - [1.15.3-02]
514 - Move databases default location from /home/e-smith to /home/e-smith/db.
515 During esmith::utils::initialize_default_databases, move from old to new
516 location before doing db migrate actions. [SF: 1216546]
517
518 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
519 - [1.15.3-01]
520 - Roll a new development stream - 1.15.3
521
522 * Wed Jul 27 2005 Charlie Brady <charlieb@e-smith.com>
523 - [1.15.2-04]
524 - Remove broken MergeDB stuff. [SF: 1246315]
525
526 * Wed Jul 27 2005 Mark Knox <markk@e-smith.com>
527 - [1.15.2-03]
528 - Fixed misleading comment in util.pm
529 - Added 'use' statements in Record classes for SOAP compatibility
530 - Fixed undefined max_len warning
531 - Added explicit writeconf calls in db::Record.pm, needed for setting props
532 via SOAP
533
534 * Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com>
535 - [1.15.2-02]
536 - Allow db open API to use default path if a simple filename
537 is provided as arg. This is preparation for move of dbs to
538 /home/e-smith/db. Patch by Shad Lords.
539
540 * Mon Jul 18 2005 Charlie Brady <charlieb@e-smith.com>
541 - [1.15.2-01]
542 - Roll new development stream - 1.15.2
543
544 * Fri Jul 15 2005 Mark Knox <markk@e-smith.com>
545 - [1.15.1-44]
546 - Tweak to allow calling _writeconf from SOAP [markk MN00090738]
547
548 * Tue Jun 21 2005 Charlie Brady <charlieb@e-smith.com>
549 - [1.15.1-43]
550 - Ensure that esmith::util::LdapPassword returns bare string without
551 newline terminator.
552
553 * Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com>
554 - [1.15.1-42]
555 - Remove .rpmsave and .rpmnew symlinks (as well as files). [SF: 1217969]
556 - Handle missing description in pcitables entries.
557
558 * Sun Jun 12 2005 Charlie Brady <charlieb@e-smith.com>
559 - [1.15.1-41]
560 - Provide feedback (via log messages) from services2adjust. [SF: 1218920]
561
562 * Mon May 30 2005 Charlie Brady <charlieb@e-smith.com>
563 - [1.15.1-40]
564 - Add preinstall scripting to create required accounts/groups if they
565 don't already exist. [SF: 1210723]
566
567 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
568 - [1.15.1-39]
569 - Show Text::Template error text rather than inappropriate $! if template
570 expansion fails.
571 - Change error to warning if a config item is set with an empty "type"
572 property.
573
574 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
575 - [1.15.1-38]
576 - Fix esmith::DB::get_prop_and_delete fail if prop is "false" [From Gordon].
577
578 * Tue May 3 2005 Charlie Brady <charlieb@e-smith.com>
579 - [1.15.1-37]
580 - Update directory list so that ethernet drivers from kernel-unsupported are
581 added to "choose by driver" list.
582
583 * Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com>
584 - [1.15.1-36]
585 - Rework esmith::tcpsvd::configure_peers so that it doesn't chdir.
586 - Fix generic_template_expand so that templates.metadata doesn't
587 need to set OUTPUT_FILENAME is TEMPLATE_PATH is changed. This
588 matches what expand-template already does.
589
590 * Fri Mar 18 2005 Charlie Brady <charlieb@e-smith.com>
591 - [1.15.1-35]
592 - Change numerous calls to "croak" in esmith::template
593 to "carp ...; return", so that problem with any single
594 template expansion doesn't terminate calling program.
595 [MN00075009]
596
597 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
598 - [1.15.1-34]
599 - Add missing "use esmith::util" in esmith::tcpsvd.
600
601 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
602 - [1.15.1-33]
603 - Add esmith::tcpsvd library for managing tcpsvd "peers"
604 directories.
605
606 * Mon Mar 14 2005 Charlie Brady <charlieb@e-smith.com>
607 - [1.15.1-32]
608 - Make template expansion message more succinct.
609
610 * Thu Mar 10 2005 Charlie Brady <charlieb@e-smith.com>
611 - [1.15.1-31]
612 - Remove pseudonyms of pseudonyms when removing user
613 accounts. Adapted from patch submitted by Shad. [MN00039941]
614
615 * Wed Feb 23 2005 Charlie Brady <charlieb@e-smith.com>
616 - [1.15.1-30]
617 - Fix incompatibility with CentOS's CGI.pm.
618
619 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
620 - [1.15.1-29]
621 - Fix bug in output to empty file when FILTER is used
622 during template expansion. [charlieb MN00050075]
623
624 * Tue Feb 22 2005 Charlie Brady <charlieb@e-smith.com>
625 - [1.15.1-28]
626 - Refresh contents of /etc/sysconfig/hwconf before listing
627 network adaptors [MN00069993]
628 - Fix typo in documentation of esmith::DB::db - reported from Tanna -
629 http://www.livejournal.com/users/gcrumb/61169.html (thanks Dan!)
630
631 * Wed Feb 16 2005 Charlie Brady <charlieb@e-smith.com>
632 - [1.15.1-27]
633 - Fix typo. [MN00066059]
634
635 * Wed Feb 16 2005 Charlie Brady <charlieb@e-smith.com>
636 - [1.15.1-26]
637 - Use /sbin/e-smith/whiptail if it is available. [MN00066059]
638
639 * Mon Feb 7 2005 Charlie Brady <charlieb@e-smith.com>
640 - [1.15.1-25]
641 - Update perms and ownership when expanding templates, regardless of
642 whether file content has changed or not. [MN00068043]
643
644 * Wed Feb 2 2005 Charlie Brady <charlieb@e-smith.com>
645 - [1.15.1-24]
646 - Fix the insertion of implicit actions into sorted action list in
647 event.pm. Problem was perl syntax ambiguity. [MN00066406]
648
649 * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
650 - [1.15.1-23]
651 - Really move /home/e-smith/* to e-smith-base. [MN00066635]
652
653 * Fri Jan 28 2005 Charlie Brady <charlieb@e-smith.com>
654 - [1.15.1-22]
655 - Move /home/e-smith/* to e-smith-base. [MN00066635]
656 - Move generic-template expand to S05 position in sort, and
657 adjust-service to S90. Fix run-time error. [MN00066406]
658 - Don't attempt to execute non-executable action scripts.
659
660 * Thu Jan 27 2005 Charlie Brady <charlieb@e-smith.com>
661 - [1.15.1-21]
662 - Implicitly include template expand and services adjust actions
663 in each event if the respective metadata directory exists.
664 [MN00066406]
665
666 * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
667 - [1.15.1-20]
668 - Add "adjust" to list of verbs which serviceControl groks,
669 to allow for "masq adjust". [MN00065576]
670
671 * Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
672 - [1.15.1-19]
673 - Add adjust-services generic action script [MN00065576]
674
675 * Tue Jan 18 2005 Charlie Brady <charlieb@e-smith.com>
676 - [1.15.1-18]
677 - Fix typo. [MN00064412]
678 - Improve die() message in esmith::config::STORE. [MN00064394]
679
680 * Mon Jan 17 2005 Charlie Brady <charlieb@e-smith.com>
681 - [1.15.1-17]
682 - Fix broken logging (and reduce logging) in initialize_default_databases.
683 [MN00064412]
684 - Fix inappropriate use of global $_ in initialize_default_databases.
685 [MN00064415]
686
687 * Thu Dec 23 2004 Charlie Brady <charlieb@e-smith.com>
688 - [1.15.1-16]
689 - Read templated file metadata (if any) from file tree under
690 /etc/e-smith/templates.metadata. Update expand-template to
691 use current API. [MN00061830]
692
693 * Tue Dec 14 2004 Mark Knox <markk@e-smith.com>
694 - [1.15.1-15]
695 - Change copyright date to 2004 [markk MN00060958]
696
697 * Fri Nov 5 2004 Charlie Brady <charlieb@e-smith.com>
698 - [1.15.1-14]
699 - Fix Authen::PAM dependency header [charlieb MN00040240]
700 - Use kudzu's generated /etc/sysconfig/hwconf file for NIC detection
701 [charlieb MN00056220]
702
703 * Thu Oct 14 2004 Michael Soulier <msoulier@e-smith.com>
704 - [1.15.1-13]
705 - Updated esmith::ethernet's search code to remove File::Find, as it doesn't
706 get along with taint checking. [msoulier MN00052510]
707
708 * Wed Oct 13 2004 Michael Soulier <msoulier@e-smith.com>
709 - [1.15.1-12]
710 - Updated esmith::ethernet's search code such that is it more adaptable, and
711 recurses the directories given. [msoulier MN00052510]
712
713 * Wed Oct 13 2004 Michael Soulier <msoulier@e-smith.com>
714 - [1.15.1-11]
715 - Updated esmith::ethernet's search paths for network drivers.
716 [msoulier MN00052510]
717
718 * Mon Oct 4 2004 Charlie Brady <charlieb@e-smith.com>
719 - [1.15.1-10]
720 - Remove dependency on perl(Filter::Handle) [charlieb MN00050075]
721
722 * Fri Sep 24 2004 Charlie Brady <charlieb@e-smith.com>
723 - [1.15.1-09]
724 - Updated requires with new perl dependencies. [msoulier MN00040240]
725 - Remove "AutoReqProv: no" so that "Provides" headers are auto-generated.
726 [charlieb MN00040240]
727 - Remove anachronistic "require v5.6.0" directives. [charlieb MN00050370]
728 - Avoid use of Filter::Handle in esmith::template. [charlieb MN00050075]
729
730 * Fri Aug 27 2004 Michael Soulier <msoulier@e-smith.com>
731 - [1.15.1-08]
732 - Added esmith::util::network::isValidEmail function. [msoulier MN00023814]
733
734 * Thu Aug 26 2004 Michael Soulier <msoulier@e-smith.com>
735 - [1.15.1-07]
736 - Added svdisable to permissible actions in serviceControl.
737 [msoulier MN00043056]
738
739 * Tue Aug 10 2004 Michael Soulier <msoulier@e-smith.com>
740 - [1.15.1-06]
741 - Fixed new methods. Bad else case. [msoulier MN00044891]
742
743 * Fri Aug 6 2004 Michael Soulier <msoulier@e-smith.com>
744 - [1.15.1-05]
745 - Added a keys() method. [msoulier MN00041968]
746
747 * Fri Aug 6 2004 Michael Soulier <msoulier@e-smith.com>
748 - [1.15.1-04]
749 - Added set_prop and set_value methods in esmith::DB. [msoulier MN00044891]
750
751 * Tue Jul 20 2004 Michael Soulier <msoulier@e-smith.com>
752 - [1.15.1-03]
753 - Undeprecated esmith::util::serviceControl. [msoulier MN00043056]
754
755 * Fri Jun 25 2004 Tony Clayton <apc@e-smith.com>
756 - [1.15.1-02]
757 - Merge language_tag2locale() function from perl-I18N-LangTags [tonyc
758 MN00040170]
759
760 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
761 - [1.15.1-01]
762 - Rolling to collect patches.
763
764 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
765 - [1.15.0-23]
766 - Reordered the create code slightly to catch more errors.
767 [msoulier MN00035059]
768
769 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
770 - [1.15.0-22]
771 - Added yet more error handling and reporting. [msoulier MN00035059]
772
773 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
774 - [1.15.0-21]
775 - Fixed one $Error reference that I missed in the last rev.
776 [msoulier MN00035059]
777
778 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
779 - [1.15.0-20]
780 - Moved error handling from esmith::DB::db to esmith::DB, since it should not
781 be database implementation specific. [msoulier MN00035059]
782
783 * Fri May 28 2004 Michael Soulier <msoulier@e-smith.com>
784 - [1.15.0-19]
785 - Propagated migration failures up to calling code for reporting to syslog.
786 - Propagated creation failures up to calling code.
787 - Moved lexicon $Error in esmith::DB::db to a class property so it can be used
788 by subclasses. [msoulier MN00035059]
789
790 * Thu May 27 2004 Michael Soulier <msoulier@e-smith.com>
791 - [1.15.0-18]
792 - Changed print statements to calls to the logger. [msoulier MN00035059]
793
794 * Thu May 27 2004 Michael Soulier <msoulier@e-smith.com>
795 - [1.15.0-17]
796 - Added print statements to initialize-default-databases for post-install
797 debugging. [msoulier MN00035059]
798
799 * Fri May 7 2004 Michael Soulier <msoulier@e-smith.com>
800 - [1.15.0-16]
801 - Fixed migrate to report the caught error message. [msoulier MN00032503]
802
803 * Thu May 6 2004 Michael Soulier <msoulier@e-smith.com>
804 - [1.15.0-15]
805 - Added isValidHostname function to esmith::util::network.
806 [msoulier MN00024212]
807
808 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
809 - [1.15.0-14]
810 - Greatly simplified the _mysystem function by ripping out open3.
811 [msoulier dpar-20385]
812
813 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
814 - [1.15.0-13]
815 - Backed-out change in esmith::util, as it's non-trivial there with the exec.
816 Completed update of esmith::event, and separated the esmith::Logger class.
817 [msoulier dpar-20385]
818
819 * Fri Feb 13 2004 Michael Soulier <msoulier@e-smith.com>
820 - [1.15.0-12]
821 - Removed use of the logger entirely, replacing it with an abstracted
822 interface to the Sys::Syslog module. [msoulier dpar-20385]
823
824 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
825 - [1.15.0-11]
826 - Fixed esmith::util::network::isValidIP() so valid IP substrings no longer
827 return true values. [msoulier 9308]
828
829 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
830 - [1.15.0-10]
831 - Added a check in STORE in esmith::config for invalid attempts to set a value
832 without a type. Also escalated previous warnings for undef key and value to
833 fatal exceptions. [msoulier 7386]
834
835 * Thu Jan 8 2004 Michael Soulier <msoulier@e-smith.com>
836 - [1.15.0-09]
837 - Now trimming whitespace around keys and values during esmith::config STORE
838 events, to prevent invalid keys and values from being saved. [msoulier 7021]
839
840 * Mon Jan 5 2004 Michael Soulier <msoulier@e-smith.com>
841 - [1.15.0-08]
842 - Fixed POD around merge_props. [msoulier 9482]
843
844 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
845 - [1.15.0-07]
846 - And again [tonyc 10569]
847
848 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
849 - [1.15.0-06]
850 - Change Merge API a bit, fix pod [tonyc 10569]
851
852 * Fri Nov 7 2003 Tony Clayton <apc@e-smith.com>
853 - [1.15.0-05]
854 - Add esmith::DB::Merge library [tonyc 10569]
855
856 * Fri Oct 10 2003 Michael Soulier <msoulier@e-smith.com>
857 - [1.15.0-04]
858 - Fixed AccountsDB.pm to handle group names with hyphens and periods, to match
859 the error message in the groups panel, and the rest of the group/user
860 behaviour. [msoulier 10236]
861
862 * Sun Sep 21 2003 Charlie Brady <charlieb@e-smith.com>
863 - [1.15.0-03]
864 - Skip any directries when iterating over action scripts in esmith::event.
865 Add logfile timestamp symlinking to generic_template_expand action.
866 Use templates2expand and logfiles2timestamp subdirectories of the event
867 directory. Fix shebang line. [charlieb 10035]
868
869 * Thu Sep 18 2003 Charlie Brady <charlieb@e-smith.com>
870 - [1.15.0-02]
871 - Add generic_template_expand action. [charlieb 10035]
872
873 * Thu Sep 18 2003 Charlie Brady <charlieb@e-smith.com>
874 - [1.15.0-01]
875 - Changing version to development stream number - 1.15.0
876
877 %prep
878 %setup
879 %patch0 -p1
880 %patch1 -p1
881 %patch2 -p1
882 %patch3 -p1
883 %patch4 -p1
884 %patch5 -p1
885 %patch6 -p1
886 # creating an event that do nothing. db init is done every time by yum already.
887 mkdir root/etc/e-smith/events/e-smith-lib-update
888 %patch7 -p1
889 %patch8 -p1
890 %patch9 -p1
891 %patch10 -p1
892
893 %pre
894 #--------------------------------------------------
895 # add admin, public and www user accounts
896 #--------------------------------------------------
897 /usr/sbin/groupadd \
898 -g 500 shared 2>/dev/null || :
899 /usr/sbin/groupadd \
900 -g 102 -o www 2>/dev/null || :
901 /usr/sbin/useradd \
902 -u 102 -g 102 -o -c 'SME Server web server' -d /home/e-smith \
903 -G shared -M -s /bin/false www || :
904 /usr/sbin/groupadd \
905 -g 102 -o apache 2>/dev/null || :
906 /usr/sbin/useradd \
907 -u 102 -g 102 -o -c 'Apache' -d /var/www \
908 -M -s /sbin/nologin apache || :
909 /usr/sbin/groupadd \
910 -g 101 -o admin 2>/dev/null || :
911 /usr/sbin/useradd \
912 -u 101 -g 101 -c 'SME Server administrator' -d /home/e-smith \
913 -G shared,root,www -M -s /sbin/e-smith/console admin || :
914 /usr/sbin/groupadd \
915 -g 103 -o public 2>/dev/null || :
916 /usr/sbin/useradd \
917 -u 103 -g 103 -c 'SME Server guest' -d /home/e-smith \
918 -G shared -M -s /bin/false public || :
919 /usr/sbin/groupadd \
920 -g 1002 -o smelog 2>/dev/null || :
921 /usr/sbin/useradd \
922 -u 1002 -g 1002 -c 'SME Server log user' -d /var/log/smelog \
923 -M -s /bin/false smelog || :
924
925 %post
926
927 %build
928 for event in post-install post-upgrade bootstrap-console-save console-save
929 do
930 mkdir -p root/etc/e-smith/events/$event
931 done
932 perl createlinks
933 find root/ -type f | xargs grep -l ____COPYYEARS____ | xargs sed -i -e 's/____COPYYEARS____/%{copykooz}/g'
934
935 %install
936 rm -rf $RPM_BUILD_ROOT
937 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
938 rm -f %{name}-%{version}-%{release}-filelist
939 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
940 >%{name}-%{version}-%{release}-filelist
941 echo "%doc Copying" >> %{name}-%{version}-%{release}-filelist
942 echo "%doc Artistic" >> %{name}-%{version}-%{release}-filelist
943 echo "%doc LICENSE" >> %{name}-%{version}-%{release}-filelist
944
945 %clean
946 rm -rf $RPM_BUILD_ROOT
947
948 %files -f %{name}-%{version}-%{release}-filelist
949 %defattr(-,root,root)

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