# $Id: smeserver-thinclient.spec,v 1.6 2022/06/30 04:55:01 trevorb Exp $ # Authority: nocvs # Name: Trevor Batley Summary: Manage pxeboot of Thin Client workstations over network %define name smeserver-thinclient Name: %{name} %define version 2.2 %define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Network Source: %{name}-%{version}.tar.xz BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArch: noarch Requires: e-smith-base, smeserver-pxe BuildRequires: e-smith-devtools >= 1.13.1-03 AutoReq: yes Patch1: smeserver-thinclient-2.2-migrate_DB_open_RW.patch Patch2: smeserver-thinclient-2.2-12085-workstation_trigger_update.patch %description Manage diskless workstation/device booting over network. PXE capable NIC and BIOS required on target machine Basic PXE booting is enabled via smeserver-pxe. This contrib manages what the pxe clients use. A tftp server is reqired. Can be on sme server (eg smeserver-tftp) or elsewhere in network Requires sme server to be acting as the dhcp server %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 %changelog * Thu Jun 30 2022 Trevor Batley 2.2-3.sme - trigger update event on all save of workstation [SME 12085] - move templates2expand and services2adjust into createlinks [SME 12086] - move changelog in spec to end * Tue May 10 2022 Trevor Batley 2.2-2.sme - added missing migrate/00openRW fragment for thinslient DB [SME 11967] * Thu Apr 28 2022 Trevor Batley 2.2-1.sme - added /etc/dhcpd.thinclient include file for pxe clients - remove core pxe components and add requirement for smeserver-pxe [SME: 11960] - add options for different architectures [SME: 10821] - change back to using / updating tftp [SME: 11939] - fixed some dodgy db parameter processing - rollup patches (archive.patch, tftpd.conf) * Thu Oct 29 2020 Brian Read 2.1-4.sme - Initial import to SME10 tree [SME: 11073] * Mon Apr 25 2016 Trevor Batley 2.1-3 - Allow upload and extract of 'Distribution' archives for loading into /tftpboot [9481] - Always set tftproot as /tftpboot as default [9441] * Mon Apr 4 2016 Trevor Batley 2.1-2 - Run tftpd-conf when tftp server is set to Self and tftpd exists [9417] - Also remove the services2adjust restart of tftpd, which was trying to do the same * Tue Nov 12 2013 Daniel Berteaud 2.1-1 - Rebuild for SME9 * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Mon Jun 12 2006 Trevor Batley - 2.0-5 - Cater for missing tftpd parameter in configuration database - Set dhcpd Bootp parameter in configuration database * Tue Apr 4 2006 Trevor Batley - 2.0-4 - Got rid of superfluous 3 level version number and reverted to 2 levels * Sat Apr 1 2006 Trevor Batley - 2.0.0-3 - Tidied up some of the references to pxe parameters in panel - Changed panel to look for the tftpd{directory} parameter for populating tftproot * Sun Mar 26 2006 Trevor Batley - 2.0.0-2 - Change update to tftp key in config database to tftpd to align with tftpd package from Daniel Warnet * Sat Feb 11 2006 Trevor Batley - 2.0.0-1 - Amend to work with smeserver v7rc2 +> + rename pxeclients database thinclient + panel - remove hardcoded thinclient & hosts database paths + panel - remove references to dhcpd{DenyBootp} database property + templates - remove /etc/dhcpd.conf/25DenyBootp fragment + events - use services2update for conf-thinclient + actions - remove conf-thinclient script + spec - remove all coding in %pre tag + createlinks - only do panel (remove all other c**p) * Thu Nov 11 2004 Trevor Batley - 1.2.0-5 - Fix error when changing distribution and NOT regenerating /etc/dhcpd.config - Added option to allow changing the default filename to be executed (per distribution) * Sat Apr 17 2004 Trevor Batley - 1.2.0-4 - Fix error when adding new Workstation and 'Default Distribution' set as 'None' * Wed Apr 14 2004 Trevor Batley - 1.2.0-3 - Fix stupid error with use of Self for tftp server (template for /etc/dhcpd.conf/48NextServer) * Wed Apr 14 2004 Trevor Batley - 1.2.0-2 - Multiple validation changes - Add log file capture and display for rpm & signal-event handling - Display error messages on Workstation & Distribution panels - Added tick/cross and coloured Operation Status report * Thu Apr 1 2004 Trevor Batley - 1.2.0-1 - Add functionality into panel to add/remove distributions via rpm (file on local workstation) * Wed Mar 24 2004 Trevor Batley - Removed postun action of navigation-conf-hidden and replaced with correct action of navigation-conf * Fri Mar 19 2004 Trevor Batley - Formatting changes to sub-panels within thinclient server-manager panel and addition of cancel button to workstation settings * Thu Mar 18 2004 Trevor Batley - Removed post action of navigation-conf-hidden and replaced with correct action of navigation-conf * Thu Mar 18 2004 Trevor Batley - Removed tftp components from this rpm and put them in smeserver-tftpd - added requirement to use smeserver-tftpd and removed requirement for generic tftp * Mon Mar 15 2004 Trevor Batley - Fixed bug in mac address checking - included call to navigation-conf-hidden in post install event * Fri Mar 12 2004 Trevor Batley - Revamped rpm build spec file and associated pre & post scripts etc. * Sat Mar 6 2004 Trevor Batley - Updated thinclient server-manager panel using suggestions from Darrell May & Gordon Rowell * Wed Feb 4 2004 Trevor Batley - Initial working (sort of) pxeboot server-manager panel * Wed Feb 4 2004 Trevor Batley - Add initial pxeboot server-manager panel * Tue Feb 3 2004 Trevor Batley - Fix problem with quoting around default tftpboot directory * Sat Jan 31 2004 Trevor Batley - Fix template problem with * Sat Jan 24 2004 Trevor Batley - Initial release * Sat Jan 24 2004 Trevor Batley - Initial release