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