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