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