Browse code

Adding/fixing packages

Initial packaging for:
* chkconfig
* slang
* newt
* python ipaddr module
* python Twisted module
* python zope.interface module
Minor fixes for:
* filesystem
* syslog-ng

Change-Id: I26baf798b06e171f5947c4902653497bbf2c9b56
Reviewed-on: http://photon-jenkins.eng.vmware.com/77
Reviewed-by: Sharath George
Tested-by: jenkins-photon <wangnan2015@hotmail.com>

mbassiouny authored on 2015/10/28 10:42:58
Showing 9 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,591 @@
0
+Summary: A system tool for maintaining the /etc/rc*.d hierarchy
1
+Name: chkconfig
2
+Version: 1.5
3
+Release: 1%{?dist}
4
+License: GPLv2
5
+Group: System Environment/Base
6
+URL: https://git.fedorahosted.org/git/chkconfig.git
7
+Source: http://fedorahosted.org/releases/c/h/chkconfig/%{name}-%{version}.tar.bz2
8
+Requires: libselinux
9
+Requires: libsepol
10
+Requires: newt
11
+Requires: popt
12
+Requires: slang
13
+BuildRequires: newt-devel 
14
+BuildRequires: gettext 
15
+BuildRequires: popt-devel 
16
+BuildRequires: libselinux-devel
17
+Conflicts: initscripts
18
+
19
+%description
20
+Chkconfig is a basic system utility.  It updates and queries runlevel
21
+information for system services.  Chkconfig manipulates the numerous
22
+symbolic links in /etc/rc.d, to relieve system administrators of some 
23
+of the drudgery of manually editing the symbolic links.
24
+
25
+%package -n ntsysv
26
+Summary: A tool to set the stop/start of system services in a runlevel
27
+Group: System Environment/Base
28
+Requires: chkconfig
29
+
30
+%description -n ntsysv
31
+Ntsysv provides a simple interface for setting which system services
32
+are started or stopped in various runlevels (instead of directly
33
+manipulating the numerous symbolic links in /etc/rc.d). Unless you
34
+specify a runlevel or runlevels on the command line (see the man
35
+page), ntsysv configures the current runlevel (5 if you're using X).
36
+
37
+%prep
38
+%setup -q
39
+
40
+%build
41
+
42
+make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags}
43
+
44
+%install
45
+rm -rf %{buildroot}
46
+make DESTDIR=%{buildroot} MANDIR=%{_mandir} SBINDIR=%{_sbindir} install
47
+
48
+mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d
49
+ln -s rc.d/init.d %{buildroot}%{_sysconfdir}/init.d
50
+for n in 0 1 2 3 4 5 6; do
51
+    mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc${n}.d
52
+    ln -s rc.d/rc${n}.d %{buildroot}%{_sysconfdir}/rc${n}.d
53
+done
54
+mkdir -p %{buildroot}%{_sysconfdir}/chkconfig.d
55
+
56
+%find_lang %{name}
57
+
58
+%clean
59
+rm -rf %{buildroot}
60
+
61
+%files -f %{name}.lang
62
+%defattr(-,root,root)
63
+%{!?_licensedir:%global license %%doc}
64
+%license COPYING
65
+%dir %{_sysconfdir}/alternatives
66
+/sbin/chkconfig
67
+%{_sbindir}/update-alternatives
68
+%{_sbindir}/alternatives
69
+%{_sysconfdir}/chkconfig.d
70
+%{_sysconfdir}/init.d
71
+%{_sysconfdir}/rc.d
72
+%{_sysconfdir}/rc.d/init.d
73
+%{_sysconfdir}/rc[0-6].d
74
+%{_sysconfdir}/rc.d/rc[0-6].d
75
+%dir /var/lib/alternatives
76
+%{_mandir}/*/chkconfig*
77
+%{_mandir}/*/update-alternatives*
78
+%{_mandir}/*/alternatives*
79
+%{_prefix}/lib/systemd/systemd-sysv-install
80
+
81
+%files -n ntsysv
82
+%defattr(-,root,root)
83
+%{_sbindir}/ntsysv
84
+%{_mandir}/*/ntsysv.8*
85
+
86
+%changelog
87
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
88
+- Initial build for PhotonOS.  First version
89
+
90
+* Mon Jun 01 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 1.5-1
91
+- add systemd-sysv-install alias
92
+- don't create symlinks if they already exist
93
+- fix wrongly behaving LDFLAGS
94
+
95
+* Thu Mar 26 2015 Lukáš Nykrýn <lnykryn@redhat.com> - 1.4-1
96
+- ntsysv: show systemd services and sockets
97
+- fix combination --type xinetd --list service
98
+- leveldb: restore selinux context for xinetd conf files
99
+- alternatives: remove unused variable
100
+- alternatives: warn if the target is not a symlink
101
+- spec: add link to git
102
+- lets simplify version
103
+
104
+* Wed Nov 05 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 1.3.63-1
105
+- alternatives: during install don't call preset on enabled services
106
+
107
+* Tue Aug 12 2014 Lukáš Nykrýn <lnykryn@redhat.com> - 1.3.62-1
108
+- use systemctl preset, not systemctl enable
109
+- fix typo in manpage
110
+- partly support socket activated services
111
+
112
+* Wed Jul 31 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 1.3.61-1
113
+- try to make install_initd work
114
+- fix permission issues with xinetd services
115
+
116
+* Tue Mar 12 2013 Lukáš Nykrýn <lnykryn@redhat.com> - 1.3.60-1
117
+- don't completely override LDFLAGS
118
+- pass along any rpm-configured LD flags
119
+- make sure install_initd/remove_initd provides appropriate help output for those commands (#803818)
120
+- check for overridden services in /etc too (#850899)
121
+- chconfig should own /etc/rc.d (#894328)
122
+- isXinetdEnabled should also ask systemd (#820363)
123
+- alternatives: look for service file also in /etc
124
+- alternatives: add --list option (#622635)
125
+- chkconfig: add hint to call systemctl list-unit-files and list-dependencies (#800334)
126
+- chkconfig: correctly handle unreadable init.d (#913807)
127
+- alternatives: call systemctl enable with --force (#915667)
128
+
129
+* Wed Mar  7 2012 Bill Nottingham <notting@redhat.com> 1.3.59-1
130
+- translation updates
131
+- xinetd may be a systemd service. Make sure we can still reload it (#800490)
132
+
133
+* Fri Feb 10 2012 Bill Nottingham <notting@redhat.com> 1.3.58-1
134
+- fix forwarding to systemctl with systemd >= 41 (#789256)
135
+- assorted regression fixes from 1.3.57 (#782152, etc.)
136
+
137
+* Wed Jan 04 2012 Bill Nottingham <notting@redhat.com> 1.3.57-1
138
+- assorted cleanups to LSB dependency support (#693202 fixed properly, #701573)
139
+- fix kill values for LSB-only scripts (#696305, <jbastian@redhat.com>)
140
+- don't apply start deps for services that aren't starting anywhere (#750446)
141
+
142
+* Tue Oct 11 2011 Bill Nottingham <notting@redhat.com> 1.3.56-1
143
+- add the systemd warning when no arguments are passed (<harald@redhat.com>)
144
+
145
+* Wed Aug 31 2011 Bill Nottingham <notting@redhat.com> 1.3.55-1
146
+- update translations (#734631)
147
+
148
+* Tue Jul 19 2011 Bill Nottingham <notting@redhat.com> 1.3.54-1
149
+- alternatives: fix --initscript systemd support (#714830)
150
+- revert forwarding of 'chkconfig --del' to 'systemctl disable'
151
+
152
+* Fri Jul 15 2011 Bill Nottingham <notting@redhat.com> 1.3.53-1
153
+- ntsysv: change the default to configure runlevels 2/3/4/5 (#709254)
154
+- alternatives: check whether the --initscript param is a systemd service, act appropriately (#714830)
155
+- forward chkconfig --del to systemctl disable where necessary
156
+
157
+* Wed Apr 27 2011 Bill Nottingham <notting@redhat.com> 1.3.52-1
158
+- set state before frobbing dependencies (#693202)
159
+- ntsysv: don't list or configure service overridden by systemd (#691224)
160
+- chkconfig: don't show services overridden by systemd in --list (#693504, #693500)
161
+- don't forward to systemd if it's not installed (<arvidjaar@gmail.com>)
162
+- update translations
163
+
164
+* Wed Mar 09 2011 Bill Nottingham <notting@redhat.com> 1.3.51-1
165
+- further fixes to systemctl integration (<lennart@poettering.net>, <arvidjaar@gmail.com>)
166
+
167
+* Wed Feb 16 2011 Bill Nottingham <notting@redhat.com> 1.3.50-1
168
+- forward actions to systemctl when necessary (<lennart@poettering.net>)
169
+- assorted translation updates
170
+
171
+* Tue Nov  9 2010 Bill Nottingham <notting@redhat.com> 1.3.49-1
172
+- fix abort on free of uninitialized data. (#649227)
173
+
174
+* Wed Oct 27 2010 Bill Nottingham <notting@redhat.com> 1.3.48-1
175
+- fix install_initd invocation for services that require $local_fs (#632294)
176
+
177
+* Tue Aug 10 2010 Bill Nottingham <notting@redhat.com> 1.3.47-1
178
+- Fix regression introduced in 1.3.45 (#622799)
179
+
180
+* Wed May 05 2010 Bill Nottingham <notting@redhat.com> 1.3.46-1
181
+- translation updates: hu, kn, ko (#589187)
182
+
183
+* Thu Mar 04 2010 Bill Nottingham <notting@redhat.com> 1.3.45-1
184
+- add support for Should-Start, Should-Stop (#98470, <iarnell@gmail.com>)
185
+- ntsysv: don't drop initscripts with '.' in the name (#556751)
186
+- translation updates: el, id
187
+
188
+* Tue Sep 29 2009 Bill Nottingham <notting@redhat.com> 1.3.44-1
189
+- alternatives: update symlinks if they exist on installation (#104940)
190
+- alternatives: clarify error messages with more context (#441443)
191
+- alternatives: fix removal of manual links (#525021, <dtardon@redhat.com>)
192
+- translation updates: ml, mr, pl, ta, uk
193
+
194
+* Mon Sep 14 2009 Bill Nottingham <notting@redhat.com> 1.3.43-1
195
+- ntsysv man page tweak (#516599)
196
+- another minor LSB tweak (#474223)
197
+- translation updates
198
+
199
+* Fri Mar  6 2009 Bill Nottingham <notting@redhat.com> 1.3.42-1
200
+- further LSB fixes (#474223)
201
+- throw errors on various malformed init scripts (#481198)
202
+- man page updates re: LSB (#487979)
203
+- translation updates: mai, gu, pt_BR, ro, ca, pa, sr, fr, hu
204
+
205
+* Tue Jan 20 2009 Bill Nottingham <notting@redhat.com> 1.3.41-1
206
+- restore return code & error on unconfigured services (#480805)
207
+
208
+* Fri Dec  5 2008 Bill Nottingham <notting@redhat.com> 1.3.40-1
209
+- fix some overflows. (#176944)
210
+- add --type parameter to specify either xinetd or sysv services.
211
+  (#467863, <mschmidt@redhat.com>
212
+- do a permissions check before add/remove/on/off/resetpriorities. (#450254)
213
+- parse Short-Description correctly (#441813, <peter_e@gmx.net>)
214
+
215
+* Thu Dec  4 2008 Bill Nottingham <notting@redhat.com> 1.3.39-1
216
+- fail if dependencies fail on add/remove in LSB mode (#474223)
217
+
218
+* Wed Oct 29 2008 Bill Nottingham <notting@redhat.com> 1.3.38-1
219
+- Fix runlevel list in man page (#466739)
220
+- translation updates
221
+
222
+* Thu Nov  8 2007 Bill Nottingham <notting@redhat.com> 1.3.37-1
223
+- make no options do --list (#290241, #176184)
224
+- sr@Latn -> sr@latin
225
+
226
+* Tue Sep 25 2007 Bill Nottingham <notting@redhat.com> 1.3.36-1
227
+- buildreq popt-devel, link it dynamically (#279531)
228
+- translation updates: kn, ko, mr, ro
229
+
230
+* Fri Aug  3 2007 Bill Nottingham <notting@redhat.com> 1.3.35-1
231
+- clarify licensing
232
+
233
+* Mon Apr 16 2007 Bill Nottingham <notting@redhat.com> 1.3.34-1
234
+- translation updates: as, bg, bn_IN, bs, ca, de, fr, hi, hu, id, ja,
235
+  ka, ml, ms, nb, or, sk, sl
236
+- add resetpriorities to the man page (#197399)
237
+  
238
+* Tue Feb  6 2007 Bill Nottingham <notting@redhat.com> 1.3.33-1
239
+- various changes from review - support alternate %%{_sbindir}, fix
240
+  summaries, add version to requires, assorted other bits
241
+
242
+* Fri Feb  2 2007 Bill Nottingham <notting@redhat.com> 1.3.32-1
243
+- support overriding various defaults via /etc/chkconfig.d (<johnsonm@rpath.com>)
244
+
245
+* Thu Feb  1 2007 Bill Nottingham <notting@redhat.com> 1.3.31-1
246
+- fix man page (#220558, <esr@thyrus.com>)
247
+- add some more verbiage in alternatives man page (#221089)
248
+- don't print usage message on a nonexstent service (#226804)
249
+
250
+* Fri Dec  1 2006 Bill Nottingham <notting@redhat.com> 1.3.30.1-1
251
+- translation updates: as, ka, lv, ml, te (#216617)
252
+
253
+* Thu Sep  7 2006 Bill Nottingham <notting@redhat.com> 1.3.30-1
254
+- license cleanup
255
+
256
+* Fri Feb 24 2006 Bill Nottingham <notting@redhat.com> 1.3.29-1
257
+- fix accidental enabling of services on --add (#182729)
258
+
259
+* Mon Feb 13 2006 Bill Nottingham <notting@redhat.com> 1.3.27-1
260
+- translation updates
261
+
262
+* Thu Feb  2 2006 Bill Nottingham <notting@redhat.com> 1.3.26-1
263
+- add support for resetting priorities without on/off status (#178864)
264
+
265
+* Wed Nov 30 2005 Bill Nottingham <notting@redhat.com> 1.3.25-1
266
+- return an error if changing services fails (#150235)
267
+
268
+* Fri Nov 18 2005 Bill Nottingham <notting@redhat.com> 1.3.24-1
269
+- when removing alternatives links, check to make sure they're
270
+  actually links (#173685)
271
+
272
+* Fri Nov 11 2005 Bill Nottingham <notting@redhat.com> 1.3.23-1
273
+- fix ntsysv (#172996)
274
+
275
+* Wed Nov  9 2005 Bill Nottingham <notting@redhat.com>
276
+- fix doSetService call in frobOneDependencies
277
+
278
+* Tue Nov  8 2005 Bill Nottingham <notting@redhat.com>
279
+- for LSB scripts, use any chkconfig: priorities as a basis,
280
+  instead of 50/50 (#172599)
281
+- fix LSB script dependency setting when no chkconfig: line
282
+  is present (#161870, <jean-francois.larvoire@hp.com>)
283
+- fix LSB script dependency setting when one of Required-Stop
284
+  or Required-Start: is missing (#168457)
285
+
286
+* Fri Oct  7 2005 Bill Nottingham <notting@redhat.com>
287
+- fix segfault on directories in /etc/xinetd.d (#166385)
288
+- don't needlessly rewrite xinetd files (#81008)
289
+
290
+* Thu May  5 2005 Bill Nottingham <notting@redhat.com> 1.3.20-1
291
+- fix deletion of orphaned slave links (#131496, <mitr@redhat.com>)
292
+
293
+* Fri Apr 29 2005 Bill Nottingham <notting@redhat.com> 1.3.19-1
294
+- build with updated translations
295
+
296
+* Thu Mar  3 2005 Bill Nottingham <notting@redhat.com> 1.3.18-1
297
+- actually return an error code if changing a service info fails
298
+
299
+* Tue Feb 22 2005 Bill Nottingham <notting@redhat.com> 1.3.17-1
300
+- more chkconfig: vs. LSB fixes (#149066)
301
+
302
+* Thu Feb 10 2005 Bill Nottingham <notting@redhat.com> 1.3.16-1
303
+- prefer chkconfig: start/stop priorities in LSB mode unless
304
+  Required-Start/Stop are used
305
+
306
+* Mon Feb  7 2005 Bill Nottingham <notting@redhat.com> 1.3.15-1
307
+- print usage when various invalid args are passed (#147393)
308
+
309
+* Wed Feb  2 2005 Bill Nottingham <notting@redhat.com> 1.3.14-1
310
+- resize reasonably with larger screens (#74156)
311
+- don't error out completely on bad symlink (#74324)
312
+- use ngettext (#106176)
313
+- error out on invalid start/stop values (#109858)
314
+- some man page updates
315
+- fix return code of chkconfig for xinetd services (#63123)
316
+- sort chkconfig --list display (#61576, <shishz@alum.rpi.edu>)
317
+
318
+* Tue Jan 11 2005 Bill Nottingham <notting@redhat.com> 1.3.13-1
319
+- fix LSB comment parsing some more (#144739)
320
+
321
+* Thu Oct 28 2004 Bill Nottingham <notting@redhat.com> 1.3.11.2-1
322
+- fix manpage reference (#137492)
323
+
324
+* Fri Oct  1 2004 Bill Nottingham <notting@redhat.com> 1.3.11.1-1
325
+- rebuild with updated translations
326
+
327
+* Fri Jun  4 2004 Bill Nottingham <notting@redhat.com> 1.3.11-1
328
+- fix LSB comment parsing (#85678)
329
+
330
+* Wed May 29 2004 Bill Nottingham <notting@redhat.com> 1.3.10-1
331
+- mark alternatives help output for translation (#110526)
332
+
333
+* Wed Oct 22 2003 Bill Nottingham <notting@redhat.com> 1.3.9-1
334
+- update translations
335
+
336
+* Mon Jul 28 2003 Bill Nottingham <notting@redhat.com> 1.3.8-4
337
+- rebuild
338
+
339
+* Tue May 13 2003 Dan Walsh <dwalsh@redhat.com> 1.3.8-3
340
+- Update for RHEL
341
+
342
+* Thu May 8 2003 Dan Walsh <dwalsh@redhat.com> 1.3.8-2
343
+- Fix readXinetdServiceInfo to return error on not regular files
344
+- Fix chkconfig to not write messages if readXinetdServiceInfo gets an error
345
+
346
+* Fri Jan 31 2003 Bill Nottingham <notting@redhat.com> 1.3.8-1
347
+- fix some wording in alternatives (#76213)
348
+- actually mark alternatives for translation
349
+
350
+* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 1.3.7-1
351
+- Link to libpopt in a multilib-safe fashion.
352
+
353
+* Thu Aug 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.6-3
354
+- bump
355
+
356
+* Thu Aug 15 2002 Bill Nottingham <notting@redhat.com> 1.3.6-2
357
+- rebuild against new newt
358
+
359
+* Mon Aug 12 2002 Bill Nottingham <notting@redhat.com> 1.3.6-1
360
+- make on and off handle runlevel 2 too (#70766)
361
+
362
+* Mon Apr 15 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.5-3
363
+- Update translations
364
+
365
+* Mon Apr 15 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.5-2
366
+- Update translations
367
+
368
+* Sun Apr  7 2002 Jeremy Katz <katzj@redhat.com> 1.3.5-1
369
+- alternatives: handle default with --config properly (#62009)
370
+
371
+* Thu Mar 14 2002 Bill Nottingham <notting@redhat.com> 1.3.4-1
372
+- don't apply the dependency logic to things that already have
373
+  start/stop priorities
374
+- fix silly display bug in --config
375
+
376
+* Tue Mar 12 2002 Bill Nottingham <notting@redhat.com> 1.3.2-1
377
+- chkconfig: LSB support
378
+
379
+* Fri Mar  8 2002 Bill Nottingham <notting@redhat.com>
380
+- alternatives: handle initscripts too; --initscript command-line option
381
+- chkconfig/ntsysv (and serviceconf, indirectly): services with
382
+   *no* links in /etc/rc*.d are no longer displayed with --list, or
383
+   available for configuration except via chkconfig command-line options
384
+- alternatives: fix trying to enable disable a null service
385
+
386
+* Tue Mar  5 2002 Bill Nottingham <notting@redhat.com>
387
+- alternatives: handle things with different numbers of slave links
388
+
389
+* Mon Mar  4 2002 Bill Nottingham <notting@redhat.com>
390
+- minor alternatives tweaks: don't install the same thing multiple times
391
+
392
+* Wed Jan 30 2002 Bill Nottingham <notting@redhat.com>
393
+- actually, put the alternatives stuff back in /usr/sbin
394
+- ship /etc/alternatives dir
395
+- random alternatives fixes
396
+
397
+* Sun Jan 27 2002 Erik Troan <ewt@redhat.com>
398
+- reimplemented update-alternatives as just alternatives
399
+
400
+* Thu Jan 25 2002 Bill Nottingham <notting@redhat.com>
401
+- add in update-alternatives stuff (perl ATM)
402
+
403
+* Mon Aug 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
404
+- Update translations
405
+
406
+* Tue Jun 12 2001 Bill Nottingham <notting@redhat.com>
407
+- don't segfault on files that are exactly the length of a page size
408
+  (#44199, <kmori@redhat.com>)
409
+
410
+* Sun Mar  4 2001 Bill Nottingham <notting@redhat.com>
411
+- don't show xinetd services in ntsysv if xinetd doesn't appear to be
412
+  installed (#30565)
413
+
414
+* Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
415
+- final translation update.
416
+
417
+* Tue Feb 13 2001 Preston Brown <pbrown@redhat.com>
418
+- warn in ntsysv if not running as root.
419
+
420
+* Fri Feb  2 2001 Preston Brown <pbrown@redhat.com>
421
+- use lang finder script
422
+
423
+* Fri Feb  2 2001 Bill Nottingham <notting@redhat.com>
424
+- finally fix the bug Nalin keeps complaining about :)
425
+
426
+* Wed Jan 24 2001 Preston Brown <pbrown@redhat.com>
427
+- final i18n update before Beta.
428
+
429
+* Wed Oct 18 2000 Bill Nottingham <notting@redhat.com>
430
+- ignore .rpmnew files (#18915)
431
+- fix typo in error message (#17575)
432
+
433
+* Wed Aug 30 2000 Nalin Dahyabhai <nalin@redhat.com>
434
+- make xinetd config files mode 0644, not 644
435
+
436
+* Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
437
+- updated it and es translations
438
+
439
+* Sun Aug 20 2000 Bill Nottingham <notting@redhat.com>
440
+- get man pages in proper packages
441
+
442
+* Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
443
+- new translations
444
+
445
+* Tue Aug 16 2000 Nalin Dahyabhai <nalin@redhat.com>
446
+- don't worry about extra whitespace on chkconfig: lines (#16150)
447
+
448
+* Wed Aug 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
449
+- i18n merge
450
+
451
+* Wed Jul 26 2000 Matt Wilson <msw@redhat.com>
452
+- new translations for de fr it es
453
+
454
+* Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
455
+- change prereqs
456
+
457
+* Sun Jul 23 2000 Bill Nottingham <notting@redhat.com>
458
+- fix ntsysv's handling of xinetd/init files with the same name
459
+
460
+* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
461
+- fix segv when reading malformed files
462
+
463
+* Wed Jul 19 2000 Bill Nottingham <notting@redhat.com>
464
+- put links, rc[0-6].d dirs back, those are necessary
465
+
466
+* Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
467
+- add quick hack support for reading descriptions from xinetd files
468
+
469
+* Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
470
+- don't own the /etc/rc[0-6].d symlinks; they're owned by initscripts
471
+
472
+* Sat Jul 15 2000 Matt Wilson <msw@redhat.com>
473
+- move back to old file layout
474
+
475
+* Thu Jul 13 2000 Preston Brown <pbrown@redhat.com>
476
+- bump copyright date
477
+
478
+* Tue Jul 11 2000 Bill Nottingham <notting@redhat.com>
479
+- no %%pre today. Maybe tomorrow.
480
+
481
+* Thu Jul  6 2000 Bill Nottingham <notting@redhat.com>
482
+- put initscripts %%pre here too
483
+
484
+* Mon Jul  3 2000 Bill Nottingham <notting@redhat.com>
485
+- oops, if we don't prereq initscripts, we *need* to own /etc/rc[0-6].d
486
+
487
+* Sun Jul  2 2000 Bill Nottingham <notting@redhat.com>
488
+- add xinetd support
489
+
490
+* Tue Jun 27 2000 Matt Wilson <msw@redhat.com>
491
+- changed Prereq: initscripts >= 5.18 to Conflicts: initscripts < 5.18
492
+- fixed sumary and description where a global string replace nuked them
493
+
494
+* Mon Jun 26 2000 Matt Wilson <msw@redhat.com>
495
+- what Bill said, but actually build this version
496
+
497
+* Thu Jun 15 2000 Bill Nottingham <notting@redhat.com>
498
+- don't own /etc/rc.*
499
+
500
+* Fri Feb 11 2000 Bill Nottingham <notting@redhat.com>
501
+- typo in man page
502
+
503
+* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
504
+- fix description
505
+
506
+* Wed Jan 12 2000 Bill Nottingham <notting@redhat.com>
507
+- link chkconfig statically against popt
508
+
509
+* Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
510
+- fix querying alternate levels
511
+
512
+* Mon Aug 23 1999 Jeff Johnson <jbj@redhat.com>
513
+- don't use strchr to skip unwanted files, look at extension instead (#4166).
514
+
515
+* Thu Aug  5 1999 Bill Nottingham <notting@redhat.com>
516
+- fix --help, --verson
517
+
518
+* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
519
+- rebuilt ntsysv against newt 0.50
520
+
521
+* Mon Aug  2 1999 Jeff Johnson <jbj@redhat.com>
522
+- fix i18n problem in usage message (#4233).
523
+- add --help and --version.
524
+
525
+* Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
526
+- release for Red Hat 6.0
527
+
528
+* Thu Apr  8 1999 Matt Wilson <msw@redhat.com>
529
+- added support for a "hide: true" tag in initscripts that will make
530
+  services not appear in ntsysv when run with the "--hide" flag
531
+
532
+* Thu Apr  1 1999 Matt Wilson <msw@redhat.com>
533
+- added --hide flag for ntsysv that allows you to hide a service from the
534
+  user.
535
+
536
+* Mon Mar 22 1999 Bill Nottingham <notting@redhat.com>
537
+- fix glob, once and for all. Really. We mean it.
538
+
539
+* Thu Mar 18 1999 Bill Nottingham <notting@redhat.com>
540
+- revert fix for services@levels, it's broken
541
+- change default to only edit the current runlevel
542
+
543
+* Mon Mar 15 1999 Bill Nottingham <notting@redhat.com>
544
+- don't remove scripts that don't support chkconfig
545
+
546
+* Tue Mar 09 1999 Erik Troan <ewt@redhat.com>
547
+- made glob a bit more specific so xinetd and inetd don't cause improper matches
548
+
549
+* Thu Feb 18 1999 Matt Wilson <msw@redhat.com>
550
+- removed debugging output when starting ntsysv
551
+
552
+* Thu Feb 18 1999 Preston Brown <pbrown@redhat.com>
553
+- fixed globbing error
554
+- fixed ntsysv running services not at their specified levels.
555
+
556
+* Tue Feb 16 1999 Matt Wilson <msw@redhat.com>
557
+- print the value of errno on glob failures.
558
+
559
+* Sun Jan 10 1999 Matt Wilson <msw@redhat.com>
560
+- rebuilt for newt 0.40 (ntsysv)
561
+
562
+* Tue Dec 15 1998 Jeff Johnson <jbj@redhat.com>
563
+- add ru.po.
564
+
565
+* Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
566
+- build for Raw Hide (slang-1.2.2)
567
+
568
+* Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
569
+- translation updates
570
+
571
+* Thu Oct 08 1998 Cristian Gafton <gafton@redhat.com>
572
+- updated czech translation (and use cs instead of cz)
573
+
574
+* Tue Sep 22 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
575
+- added pt_BR translations
576
+- added more translatable strings
577
+- support for i18n init.d scripts description
578
+
579
+* Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
580
+- built against newt 0.30
581
+- split ntsysv into a separate package
582
+
583
+* Thu May 07 1998 Erik Troan <ewt@redhat.com>
584
+- added numerous translations
585
+
586
+* Mon Mar 23 1998 Erik Troan <ewt@redhat.com>
587
+- added i18n support
588
+
589
+* Sun Mar 22 1998 Erik Troan <ewt@redhat.com>
590
+- added --back
... ...
@@ -51,7 +51,6 @@ ln -svfn ../run/lock %{buildroot}/var/lock
51 51
 install -vdm 755 %{buildroot}/var/{opt,cache,lib/{color,misc,locate},local}
52 52
 install -vdm 755 %{buildroot}/mnt/cdrom
53 53
 install -vdm 755 %{buildroot}/mnt/hgfs
54
-ln -svfn var/opt %{buildroot}/opt
55 54
 
56 55
 #
57 56
 #	6.6. Creating Essential Files and Symlinks
... ...
@@ -344,6 +343,9 @@ EOF
344 344
 
345 345
 ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
346 346
 
347
+%post
348
+ln -svfn /var/opt /opt
349
+
347 350
 %files
348 351
 %defattr(-,root,root)
349 352
 #	Root filesystem
... ...
@@ -356,7 +358,6 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
356 356
 
357 357
 /media
358 358
 %dir /mnt
359
-/opt
360 359
 %dir /proc
361 360
 %dir /root
362 361
 %dir /run
363 362
new file mode 100644
... ...
@@ -0,0 +1,55 @@
0
+Summary:	A library for text mode user interfaces
1
+Name:		newt
2
+Version:	0.52.18
3
+Release:	1%{?dist}
4
+License:	GNU Library General Public License
5
+URL:		https://admin.fedoraproject.org/pkgdb/package/newt/
6
+Group:		Development/Languages
7
+Source0:	https://fedorahosted.org/releases/n/e/newt/%{name}-%{version}.tar.gz
8
+%define sha1 newt=2992c926bd3699ff0d6fd7549d4a8a018e3ac8fd  
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+Requires: slang
12
+BuildRequires: slang-devel
13
+BuildRequires: popt-devel
14
+%description
15
+
16
+Newt is a programming library for color text mode, widget based user
17
+interfaces.  Newt can be used to add stacked windows, entry widgets,
18
+checkboxes, radio buttons, labels, plain text fields, scrollbars,
19
+etc., to text mode user interfaces.  This package also contains the
20
+shared library needed by programs built with newt, as well as a
21
+/usr/bin/dialog replacement called whiptail.  Newt is based on the
22
+slang library.
23
+
24
+%package	devel
25
+Summary:	Header and development files for ncurses
26
+Requires:	%{name} = %{version}
27
+
28
+%description	devel
29
+It contains the libraries and header files to create applications 
30
+
31
+%prep
32
+%setup -q -n %{name}-%{version}
33
+%build
34
+./configure --prefix=/usr --with-gpm-support
35
+make
36
+%install
37
+make DESTDIR=%{buildroot} install
38
+
39
+%files
40
+%defattr(-,root,root)
41
+%{_libdir}/libnewt.so.0*
42
+%{_bindir}/*
43
+%{_datadir}/*
44
+
45
+
46
+%files devel
47
+%{_includedir}/*
48
+%{_libdir}/*.a
49
+%{_libdir}/libnewt.so
50
+%{_libdir}/pkgconfig/*.pc
51
+
52
+%changelog
53
+*	Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
54
+-	Initial build.	First version
0 55
new file mode 100644
... ...
@@ -0,0 +1,43 @@
0
+Name:           python-Twisted
1
+Version:        15.4.0
2
+Release:        1%{?dist}
3
+Url:            https://twistedmatrix.com
4
+Summary:        An asynchronous networking framework written in Python
5
+License:        MIT
6
+Group:          Development/Languages/Python
7
+Source0:        https://pypi.python.org/packages/source/T/Twisted/Twisted-%{version}.tar.bz2
8
+%define sha1 Twisted=eb3607f58ac3d046fa38f513e15a68544f038c58
9
+
10
+BuildRequires: python2
11
+BuildRequires: python2-libs
12
+BuildRequires: python2-devel
13
+BuildRequires: python-setuptools
14
+
15
+Requires:       python2
16
+Requires:		python2-libs
17
+requires:       python-zope.interface
18
+
19
+BuildArch:      x86_64
20
+
21
+%description
22
+Twisted is an event-driven networking engine written in Python and licensed under the open source ​MIT license. Twisted runs on Python 2 and an ever growing subset also works with Python 3. 
23
+
24
+Twisted also supports many common network protocols, including SMTP, POP3, IMAP, SSHv2, and DNS.
25
+
26
+%prep
27
+%setup -q -n Twisted-%{version}
28
+
29
+%build
30
+python setup.py build
31
+
32
+%install
33
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
34
+
35
+%files
36
+%defattr(-,root,root)
37
+%{python_sitelib}/*
38
+%{_bindir}/*
39
+
40
+%changelog
41
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
42
+- Initial packaging for Photon
0 43
new file mode 100644
... ...
@@ -0,0 +1,38 @@
0
+Name:           python-ipaddr
1
+Version:        2.1.11
2
+Release:        1%{?dist}
3
+Url:            https://github.com/google/ipaddr-py
4
+Summary:        Google's Python IP address manipulation library
5
+License:        Apache2
6
+Group:          Development/Languages/Python
7
+Source0:        https://pypi.python.org/packages/source/i/ipaddr/ipaddr-%{version}.tar.gz
8
+%define sha1 ipaddr=f9a16ddb3cf774b8dcf8894c2f4295c4e17d0ed3
9
+
10
+BuildRequires: python2
11
+BuildRequires: python2-libs
12
+BuildRequires: python-setuptools
13
+
14
+Requires:       python2
15
+Requires:		python2-libs
16
+
17
+BuildArch:      noarch
18
+
19
+%description
20
+ipaddr.py is a library for working with IP addresses, both IPv4 and IPv6. It was developed by Google for internal use, and is now open source.
21
+
22
+%prep
23
+%setup -q -n ipaddr-%{version}
24
+
25
+%build
26
+python setup.py build
27
+
28
+%install
29
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
30
+
31
+%files
32
+%defattr(-,root,root)
33
+%{python_sitelib}/*
34
+
35
+%changelog
36
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
37
+- Initial packaging for Photon
0 38
new file mode 100644
... ...
@@ -0,0 +1,42 @@
0
+Name:           python-zope.interface
1
+Version:        4.1.3
2
+Release:        1%{?dist}
3
+Url:            https://github.com/zopefoundation/zope.interface
4
+Summary:        Interfaces for Python
5
+License:        ZPL 2.1
6
+Group:          Development/Languages/Python
7
+Source0:        https://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
8
+%define sha1 zope.interface=207161e27880d07679aff6d712ed12f55e3d91b6
9
+
10
+BuildRequires: python2
11
+BuildRequires: python2-libs
12
+BuildRequires: python-setuptools
13
+
14
+Requires:       python2
15
+Requires:		python2-libs
16
+
17
+BuildArch:      noarch
18
+
19
+%description
20
+This package is intended to be independently reusable in any Python project. It is maintained by the Zope Toolkit project.
21
+
22
+This package provides an implementation of “object interfaces” for Python. Interfaces are a mechanism for labeling objects as conforming to a given API or contract. So, this package can be considered as implementation of the Design By Contract methodology support in Python.
23
+
24
+For detailed documentation, please see http://docs.zope.org/zope.interface
25
+
26
+%prep
27
+%setup -q -n zope.interface-%{version}
28
+
29
+%build
30
+python setup.py build
31
+
32
+%install
33
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
34
+
35
+%files
36
+%defattr(-,root,root)
37
+%{python_sitelib}/*
38
+
39
+%changelog
40
+* Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
41
+- Initial packaging for Photon
0 42
new file mode 100644
... ...
@@ -0,0 +1,62 @@
0
+Summary:	An interpreted language that may be embedded into an application to make the application extensible.
1
+Name:		slang
2
+Version:	2.2.4
3
+Release:	1%{?dist}
4
+License:	GNU General Public License
5
+URL:		http://www.jedsoft.org/slang/index.html
6
+Group:		Development/Languages
7
+Source0:	http://www.jedsoft.org/releases/slang/old/%{name}-%{version}.tar.bz2
8
+%define sha1 slang=34e68a993888d0ae2ebc7bc31b40bc894813a7e2
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+BuildRequires: readline-devel
12
+
13
+%description
14
+S-Lang is a multi-platform programmer's library designed to allow a developer to create robust multi-platform software. It provides facilities required by interactive applications such as display/screen management, keyboard input, keymaps, and so on. The most exciting feature of the library is the slang interpreter that may be easily embedded into a program to make it extensible. While the emphasis has always been on the embedded nature of the interpreter, it may also be used in a stand-alone fashion through the use of slsh, which is part of the S-Lang distribution.
15
+
16
+Unlike many interpreters, the S-Lang interpreter supports all of the native C integer types (signed and unsigned versions of char, short, int, long, and long long), and both single and double precision types, as well as a double precision complex type. Other data types supported by the interpreter include strings, lists, associative arrays (hashes), user-defined structures, and multi-dimensional arrays of any data-type.
17
+
18
+The S-Lang interpreter has very strong support for array-based operations making it ideal for numerical applications.
19
+
20
+%package	devel
21
+Summary:	Header and development files for ncurses
22
+Requires:	%{name} = %{version}
23
+
24
+%description	devel
25
+It contains the libraries and header files to create applications 
26
+
27
+%prep
28
+%setup -q -n %{name}-%{version}
29
+
30
+%build
31
+./configure --prefix=%{_prefix} \
32
+            --sysconfdir=%{_sysconfdir} \
33
+            --with-readline=gnu
34
+make -j1
35
+
36
+%install
37
+make DESTDIR=%{buildroot} install_doc_dir=%{_docdir}/slang-2.2.4   \
38
+     SLSH_DOC_DIR=%{_docdir}/slang-2.2.4/slsh \
39
+     install-all
40
+
41
+chmod -v 755 %{buildroot}%{_libdir}/libslang.so.2.2.4 \
42
+             %{buildroot}%{_libdir}/slang/v2/modules/*.so
43
+
44
+%files
45
+%defattr(-,root,root)
46
+%{_sysconfdir}/*
47
+%{_libdir}/slang/*
48
+%{_libdir}/libslang.so.2*
49
+%{_bindir}/*
50
+%{_datadir}/*
51
+
52
+%files devel
53
+%{_includedir}/*
54
+%{_libdir}/*.a
55
+%{_libdir}/libslang.so
56
+%{_libdir}/pkgconfig/*.pc
57
+
58
+
59
+%changelog
60
+*	Tue Oct 27 2015 Mahmoud Bassiouny <mbassiouny@vmware.com>
61
+-	Initial build.	First version
... ...
@@ -10,6 +10,7 @@ Distribution: 	Photon
10 10
 Source0:	http://my.balabit.com/downloads/syslog-ng/open-source-edition/%{version}/source/%{name}_%{version}.tar.gz
11 11
 %define sha1 syslog-ng=36eeaf920383ee8cb1c17d945205b7562f9fbbb2
12 12
 Requires:	glib
13
+Requires:   eventlog
13 14
 Requires:	python2
14 15
 BuildRequires:	eventlog
15 16
 BuildRequires:	glib-devel
... ...
@@ -7,5 +7,6 @@
7 7
 		"librelp-devel","libtasn1-devel","libunistring-devel","nettle-devel",
8 8
 	        "apache-ant","ant-contrib","apache-maven","apache-tomcat","jna","gnome-common","libgudev",
9 9
 		"dhcp-client","dhcp-server","dhcp-libs","dhcp-devel","initscripts","net-tools",
10
-	        "jaxws-ri","commons-daemon","runit", "python-pyasn1", "WALinuxAgent", "linux-esx"]
10
+	        "jaxws-ri","commons-daemon","runit", "python-pyasn1", "WALinuxAgent", "linux-esx",
11
+	        "python-Twisted", "python-zope.interface", "python-ipaddr", "chkconfig"]
11 12
 }