1 |
# $Id: smeserver-thinclient.spec,v 1.1 2020/10/29 18:35:40 brianr Exp $ |
# $Id: smeserver-thinclient.spec,v 1.6 2022/06/30 04:55:01 trevorb Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Trevor Batley |
# Name: Trevor Batley |
4 |
|
|
5 |
Summary: Allow pxeboot of Thin Client workstations over network |
Summary: Manage pxeboot of Thin Client workstations over network |
6 |
%define name smeserver-thinclient |
%define name smeserver-thinclient |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 2.1 |
%define version 2.2 |
9 |
%define release 4 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
14 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArch: noarch |
BuildArch: noarch |
17 |
Requires: e-smith-base |
Requires: e-smith-base, smeserver-pxe |
18 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
AutoReq: yes |
AutoReq: yes |
20 |
Patch1: smeserver-thinclient-2.1-tftpdconf.patch |
Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch |
21 |
Patch2: smeserver-thinclient-2.1-archive.patch |
Patch2: smeserver-thinclient-2.2-12085-workstation_trigger_update.patch |
22 |
|
|
23 |
%description |
%description |
24 |
Allows for diskless workstation boot of Thin Clients over network. |
Manage diskless workstation/device booting over network. |
25 |
PXE capable NIC and BIOS required on target machine |
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 |
Basic PXE booting is enabled via smeserver-pxe. This contrib manages what the pxe clients use. |
27 |
Assumes sme server is acting as dhcp server |
A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network |
28 |
|
Requires sme server to be acting as the dhcp server |
29 |
|
|
30 |
|
%prep |
31 |
|
%setup -q -n %{name}-%{version} |
32 |
|
%patch1 -p1 |
33 |
|
%patch2 -p1 |
34 |
|
|
35 |
|
%build |
36 |
|
perl createlinks |
37 |
|
|
38 |
|
%install |
39 |
|
/bin/rm -rf $RPM_BUILD_ROOT |
40 |
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
41 |
|
/bin/rm -f %{name}-%{version}-filelist |
42 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
43 |
|
|
44 |
|
%clean |
45 |
|
rm -rf $RPM_BUILD_ROOT |
46 |
|
|
47 |
|
%files -f %{name}-%{version}-filelist |
48 |
|
|
49 |
|
%defattr(-,root,root) |
50 |
|
|
51 |
|
%pre |
52 |
|
|
53 |
|
%preun |
54 |
|
|
55 |
|
%post |
56 |
|
|
57 |
|
%postun |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Thu Jun 30 2022 Trevor Batley <trevor@batley.id.au> 2.2-3.sme |
61 |
|
- trigger update event on all save of workstation [SME 12085] |
62 |
|
- move templates2expand and services2adjust into createlinks [SME 12086] |
63 |
|
- move changelog in spec to end |
64 |
|
|
65 |
|
* Tue May 10 2022 Trevor Batley <trevor@batley.id.au> 2.2-2.sme |
66 |
|
- added missing migrate/00openRW fragment for thinslient DB [SME 11967] |
67 |
|
|
68 |
|
* Thu Apr 28 2022 Trevor Batley <trevor@batley.id.au> 2.2-1.sme |
69 |
|
- added /etc/dhcpd.thinclient include file for pxe clients |
70 |
|
- remove core pxe components and add requirement for smeserver-pxe [SME: 11960] |
71 |
|
- add options for different architectures [SME: 10821] |
72 |
|
- change back to using / updating tftp [SME: 11939] |
73 |
|
- fixed some dodgy db parameter processing |
74 |
|
- rollup patches (archive.patch, tftpd.conf) |
75 |
|
|
76 |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
* Thu Oct 29 2020 Brian Read <brianr@bjsystems.co.uk> 2.1-4.sme |
77 |
- Initial import to SME10 tree [SME: 11073] |
- Initial import to SME10 tree [SME: 11073] |
78 |
|
|
80 |
- Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] |
- Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] |
81 |
- Always set tftproot as /tftpboot as default [9441] |
- Always set tftproot as /tftpboot as default [9441] |
82 |
|
|
83 |
* Sun Apr 4 2016 Trevor Batley <trevorbatley@usres.sourceforge.net> 2.1-2 |
* Mon Apr 4 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 2.1-2 |
84 |
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
- Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] |
85 |
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
- Also remove the services2adjust restart of tftpd, which was trying to do the same |
86 |
|
|
101 |
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
* Tue Apr 4 2006 Trevor Batley <trevor@batley.id.au> - 2.0-4 |
102 |
- Got rid of superfluous 3 level version number and reverted to 2 levels |
- Got rid of superfluous 3 level version number and reverted to 2 levels |
103 |
|
|
104 |
* Sun Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
* Sat Apr 1 2006 Trevor Batley <trevor@batley.id.au> - 2.0.0-3 |
105 |
- Tidied up some of the references to pxe parameters in panel |
- Tidied up some of the references to pxe parameters in panel |
106 |
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
- Changed panel to look for the tftpd{directory} parameter for populating tftproot |
107 |
|
|
135 |
- Display error messages on Workstation & Distribution panels |
- Display error messages on Workstation & Distribution panels |
136 |
- Added tick/cross and coloured Operation Status report |
- Added tick/cross and coloured Operation Status report |
137 |
|
|
138 |
* Wed Apr 01 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
* Thu Apr 1 2004 Trevor Batley <trevor@batley.id.au> - 1.2.0-1 |
139 |
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
- Add functionality into panel to add/remove distributions via rpm (file on local workstation) |
140 |
|
|
141 |
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
* Wed Mar 24 2004 Trevor Batley <trevor@batley.id.au> |
179 |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
* Sat Jan 24 2004 Trevor Batley <trevor@batley.id.au> |
180 |
- Initial release |
- Initial release |
181 |
|
|
|
|
|
|
%prep |
|
|
%setup -q -n %{name}-%{version} |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
|
|
|
%build |
|
|
perl createlinks |
|
|
|
|
|
%install |
|
|
/bin/rm -rf $RPM_BUILD_ROOT |
|
|
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
|
|
/bin/rm -f %{name}-%{version}-filelist |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
|
|
|
|
|
%clean |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
%files -f %{name}-%{version}-filelist |
|
|
|
|
|
%defattr(-,root,root) |
|
|
|
|
|
%pre |
|
|
|
|
|
%preun |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|