/[smecontribs]/rpms/smeserver-tftp-server/contribs7/smeserver-tftp-server.spec
ViewVC logotype

Diff of /rpms/smeserver-tftp-server/contribs7/smeserver-tftp-server.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by slords, Mon Dec 24 16:15:11 2007 UTC Revision 1.6 by trevorbatley, Tue Mar 8 09:14:05 2016 UTC
# Line 1  Line 1 
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}
# Line 13  Requires: smeserver-release >= 7.0 tftp- Line 17  Requires: smeserver-release >= 7.0 tftp-
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
# Line 22  interface for TFTP, which allows users t Line 28  interface for TFTP, which allows users t
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
# Line 52  perl createlinks Line 45  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    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed