1 |
|
# $Id: smeserver-tftp-server.spec,v 1.5 2008/11/25 16:20:31 slords Exp $ |
2 |
|
# Authority: nocvs |
3 |
|
# Name: Trevor Batley |
4 |
|
|
5 |
%define name smeserver-tftp-server |
%define name smeserver-tftp-server |
6 |
%define version 1.0 |
%define version 1.0 |
7 |
%define release 2 |
%define release 3 |
8 |
|
|
9 |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
Summary: Wrapper for tftp-server for the Trivial File Transfer Protocol (TFTP). |
10 |
Name: %{name} |
Name: %{name} |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
|
Requires: ipsvd >= 0.11.1 |
21 |
|
Patch1: smeserver-tftp-server-1.0-dbdefaults.patch |
22 |
|
|
23 |
%description |
%description |
24 |
smeserver wrapper for tftp-server |
smeserver wrapper for tftp-server |
28 |
remote machine. This program and TFTP provide very little security, |
remote machine. This program and TFTP provide very little security, |
29 |
and should not be enabled unless it is expressly needed. |
and should not be enabled unless it is expressly needed. |
30 |
|
|
|
%package server |
|
|
Group: System Environment/Daemons |
|
|
Summary: The server for the Trivial File Transfer Protocol (TFTP). |
|
|
Requires: ipsvd >= 0.11.1 |
|
|
|
|
|
%description server |
|
|
The Trivial File Transfer Protocol (TFTP) is normally used only for |
|
|
booting diskless workstations. The tftp-server package provides the |
|
|
server for TFTP, which allows users to transfer files to and from a |
|
|
remote machine. TFTP provides very little security, and should not be |
|
|
enabled unless it is expressly needed. smeserver-tftp-server is a |
|
|
wrapper to allow the TFTP server to be run from /var/service/tftpd, |
|
|
and to run on SME SERVER 7 via daemontools. |
|
|
|
|
31 |
%prep |
%prep |
32 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
33 |
|
%patch1 -p1 |
34 |
|
|
35 |
%build |
%build |
36 |
perl createlinks |
perl createlinks |
45 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
46 |
|
|
47 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
|
|
|
48 |
%defattr(-,root,root) |
%defattr(-,root,root) |
49 |
|
|
|
%pre |
|
|
|
|
|
%preun |
|
|
/sbin/e-smith/db config setprop tftpd status disabled |
|
|
/etc/rc.d/init.d/supervise/tftpd stop |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|
|
|
|
50 |
%changelog |
%changelog |
51 |
|
* Mon Mar 07 2016 Trevor Batley <trevorbatley@users.sourceforge.net> 1.0-3 |
52 |
|
- Fixed default values [SME 9043] |
53 |
|
|
54 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
55 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |
56 |
|
|