1 |
|
# $Id: smeserver-tftp-server.spec,v 1.3 2008/04/02 15:03:59 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 2 |
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 |
|
|
22 |
%description |
%description |
23 |
smeserver wrapper for tftp-server |
smeserver wrapper for tftp-server |
27 |
remote machine. This program and TFTP provide very little security, |
remote machine. This program and TFTP provide very little security, |
28 |
and should not be enabled unless it is expressly needed. |
and should not be enabled unless it is expressly needed. |
29 |
|
|
|
%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. |
|
|
|
|
30 |
%prep |
%prep |
31 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
32 |
|
|
43 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
44 |
|
|
45 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
|
|
|
46 |
%defattr(-,root,root) |
%defattr(-,root,root) |
47 |
|
|
|
%pre |
|
|
|
|
|
%preun |
|
|
/sbin/e-smith/db config setprop tftpd status disabled |
|
|
/etc/rc.d/init.d/supervise/tftpd stop |
|
|
|
|
|
%post |
|
|
|
|
|
%postun |
|
|
|
|
48 |
%changelog |
%changelog |
49 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
50 |
- Clean up spec so package can be built by koji/plague |
- Clean up spec so package can be built by koji/plague |