1 |
# $Id: smeserver-thinclient.spec,v 1.3 2022/04/30 02:49:07 trevorb Exp $ |
2 |
# Authority: nocvs |
3 |
# Name: Trevor Batley |
4 |
|
5 |
Summary: Allow pxeboot of Thin Client workstations over network |
6 |
%define name smeserver-thinclient |
7 |
Name: %{name} |
8 |
%define version 2.2 |
9 |
%define release 2 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Network |
14 |
Source: %{name}-%{version}.tar.xz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
17 |
Requires: e-smith-base, smeserver-pxe |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReq: yes |
20 |
Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch |
21 |
|
22 |
%description |
23 |
Manage diskless workstation/device booting over network. |
24 |
PXE capable NIC and BIOS required on target machine |
25 |
Basic PXE booting is enabled via smeserver-pxe. This contrib manages what the pxe clients use. |
26 |
A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network |
27 |
Requires sme server to be acting as the dhcp server |
28 |
|
29 |
%changelog |
30 |
* Tue May 10 2022 Trevor Batley <trevor@batley.id.au> 2.2-2.sme |
31 |
* added missing migrate/00openRW fragment for thinslient DB [SME 11967] |
32 |
|
33 |
* Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 2.2-1.sme |
34 |
- added /etc/dhcpd.thinclient include file for pxe clients |
35 |
- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] |
36 |
- add options for different architectures [SME: 10821] |
37 |
- change back to using / updating tftp [SME: 11939] |
38 |
- fixed some dodgy db parameter processing |
39 |
- rollup patches (archive.patch, tftpd.conf) |
40 |
|
41 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
42 |
- Initial import to SME10 tree [SME: 11073] |
43 |
|
44 |
* Mon Apr 25 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 2.1-3 |
45 |
- Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] |
46 |
- Always set tftproot as /tftpboot as default [9441] |
47 |
|
48 |
* Mon Apr 4 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 2.1-2 |
49 |
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
50 |
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
51 |
|
52 |
* Tue Nov 12 2013 Daniel Berteaud <daniel@firewall-services.com> 2.1-1 |
53 |
- Rebuild for SME9 |
54 |
|
55 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
56 |
- Clean up spec so package can be built by koji/plague |
57 |
|
58 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
59 |
- Update to new release naming. No functional changes. |
60 |
- Make Packager generic |
61 |
|
62 |
* Mon Jun 12 2006 Trevor Batley <trevor@batley.id.au> - 2.0-5 |
63 |
- Cater for missing tftpd parameter in configuration database |
64 |
- Set dhcpd Bootp parameter in configuration database |
65 |
|
66 |
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
67 |
- Got rid of superfluous 3 level version number and reverted to 2 levels |
68 |
|
69 |
* Sat Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
70 |
- Tidied up some of the references to pxe parameters in panel |
71 |
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
72 |
|
73 |
* Sun Mar 26 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-2 |
74 |
- Change update to tftp key in config database to tftpd to align with tftpd package from Daniel Warnet |
75 |
|
76 |
* Sat Feb 11 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-1 |
77 |
- Amend to work with smeserver v7rc2 +> |
78 |
+ rename pxeclients database thinclient |
79 |
+ panel - remove hardcoded thinclient & hosts database paths |
80 |
+ panel - remove references to dhcpd{DenyBootp} database property |
81 |
+ templates - remove /etc/dhcpd.conf/25DenyBootp fragment |
82 |
+ events - use services2update for conf-thinclient |
83 |
+ actions - remove conf-thinclient script |
84 |
+ spec - remove all coding in %pre tag |
85 |
+ createlinks - only do panel (remove all other c**p) |
86 |
|
87 |
* Thu Nov 11 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-5 |
88 |
- Fix error when changing distribution and NOT regenerating /etc/dhcpd.config |
89 |
- Added option to allow changing the default filename to be executed (per distribution) |
90 |
|
91 |
* Sat Apr 17 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-4 |
92 |
- Fix error when adding new Workstation and 'Default Distribution' set as 'None' |
93 |
|
94 |
* Wed Apr 14 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-3 |
95 |
- Fix stupid error with use of Self for tftp server (template for /etc/dhcpd.conf/48NextServer) |
96 |
|
97 |
* Wed Apr 14 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-2 |
98 |
- Multiple validation changes |
99 |
- Add log file capture and display for rpm & signal-event handling |
100 |
- Display error messages on Workstation & Distribution panels |
101 |
- Added tick/cross and coloured Operation Status report |
102 |
|
103 |
* Thu Apr 1 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
104 |
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
105 |
|
106 |
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
107 |
- Removed postun action of navigation-conf-hidden and replaced with correct action of navigation-conf |
108 |
|
109 |
* Fri Mar 19 2004 Trevor Batley <trevor@batley.id.au> |
110 |
- Formatting changes to sub-panels within thinclient server-manager panel and addition of cancel button to workstation settings |
111 |
|
112 |
* Thu Mar 18 2004 Trevor Batley <trevor@batley.id.au> |
113 |
- Removed post action of navigation-conf-hidden and replaced with correct action of navigation-conf |
114 |
|
115 |
* Thu Mar 18 2004 Trevor Batley <trevor@batley.id.au> |
116 |
- Removed tftp components from this rpm and put them in smeserver-tftpd |
117 |
- added requirement to use smeserver-tftpd and removed requirement for generic tftp |
118 |
|
119 |
* Mon Mar 15 2004 Trevor Batley <trevor@batley.id.au> |
120 |
- Fixed bug in mac address checking |
121 |
- included call to navigation-conf-hidden in post install event |
122 |
|
123 |
* Fri Mar 12 2004 Trevor Batley <trevor@batley.id.au> |
124 |
- Revamped rpm build spec file and associated pre & post scripts etc. |
125 |
|
126 |
* Sat Mar 6 2004 Trevor Batley <trevor@batley.id.au> |
127 |
- Updated thinclient server-manager panel using suggestions from Darrell May & Gordon Rowell |
128 |
|
129 |
* Wed Feb 4 2004 Trevor Batley <trevor@batley.id.au> |
130 |
- Initial working (sort of) pxeboot server-manager panel |
131 |
|
132 |
* Wed Feb 4 2004 Trevor Batley <trevor@batley.id.au> |
133 |
- Add initial pxeboot server-manager panel |
134 |
|
135 |
* Tue Feb 3 2004 Trevor Batley <trevor@batley.id.au> |
136 |
- Fix problem with quoting around default tftpboot directory |
137 |
|
138 |
* Sat Jan 31 2004 Trevor Batley <trevor@batley.id.au> |
139 |
- Fix template problem with |
140 |
|
141 |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
142 |
- Initial release |
143 |
|
144 |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
145 |
- Initial release |
146 |
|
147 |
|
148 |
%prep |
149 |
%setup -q -n %{name}-%{version} |
150 |
%patch1 -p1 |
151 |
|
152 |
%build |
153 |
perl createlinks |
154 |
|
155 |
%install |
156 |
/bin/rm -rf $RPM_BUILD_ROOT |
157 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
158 |
/bin/rm -f %{name}-%{version}-filelist |
159 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
160 |
|
161 |
%clean |
162 |
rm -rf $RPM_BUILD_ROOT |
163 |
|
164 |
%files -f %{name}-%{version}-filelist |
165 |
|
166 |
%defattr(-,root,root) |
167 |
|
168 |
%pre |
169 |
|
170 |
%preun |
171 |
|
172 |
%post |
173 |
|
174 |
%postun |