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