Change-Id: I6af4f9693c2b504499bcd412f3ba7ec23c441a57
Reviewed-on: http://photon-jenkins.eng.vmware.com/131
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,70 @@ |
0 |
+Summary: Advanced Trivial File Transfer Protocol (ATFTP) - TFTP server |
|
1 |
+Name: atftp |
|
2 |
+Version: 0.7.1 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+URL: http://sourceforge.net/projects/atftp |
|
5 |
+License: GPLv2+ and GPLv3+ and LGPLv2+ |
|
6 |
+Group: System Environment/Daemons |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://sourceforge.net/projects/atftp/files/latest/download/%{name}-%{version}.tar.gz |
|
10 |
+ |
|
11 |
+%define sha1 atftp=fc9e9f821dfd2f257b4a5c32b948ed60b4e31fd1 |
|
12 |
+ |
|
13 |
+%description |
|
14 |
+Multithreaded TFTP server implementing all options (option extension and |
|
15 |
+multicast) as specified in RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349. |
|
16 |
+Atftpd also support multicast protocol knowed as mtftp, defined in the PXE |
|
17 |
+specification. The server supports being started from inetd(8) as well as |
|
18 |
+a deamon using init scripts. |
|
19 |
+ |
|
20 |
+%package client |
|
21 |
+Summary: Advanced Trivial File Transfer Protocol (ATFTP) - TFTP client |
|
22 |
+Group: Applications/Internet |
|
23 |
+ |
|
24 |
+ |
|
25 |
+%description client |
|
26 |
+Advanced Trivial File Transfer Protocol client program for requesting |
|
27 |
+files using the TFTP protocol. |
|
28 |
+ |
|
29 |
+ |
|
30 |
+%prep |
|
31 |
+%setup |
|
32 |
+ |
|
33 |
+ |
|
34 |
+%build |
|
35 |
+%configure |
|
36 |
+make |
|
37 |
+ |
|
38 |
+ |
|
39 |
+%install |
|
40 |
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != '/' ] && rm -rf $RPM_BUILD_ROOT |
|
41 |
+%makeinstall |
|
42 |
+ |
|
43 |
+ |
|
44 |
+%files |
|
45 |
+%{_mandir}/man8/atftpd.8.gz |
|
46 |
+%{_sbindir}/atftpd |
|
47 |
+%{_mandir}/man8/in.tftpd.8.gz |
|
48 |
+%{_sbindir}/in.tftpd |
|
49 |
+ |
|
50 |
+ |
|
51 |
+%files client |
|
52 |
+%{_mandir}/man1/atftp.1.gz |
|
53 |
+%{_bindir}/atftp |
|
54 |
+ |
|
55 |
+ |
|
56 |
+%preun |
|
57 |
+ |
|
58 |
+ |
|
59 |
+%post |
|
60 |
+ |
|
61 |
+ |
|
62 |
+%clean |
|
63 |
+[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != '/' ] && rm -rf $RPM_BUILD_ROOT |
|
64 |
+ |
|
65 |
+ |
|
66 |
+%changelog |
|
67 |
+* Thu Nov 12 2015 Kumar Kaushik <kaushikk@vmware.com> 0.7.1-1 |
|
68 |
+- Initial build. First version |
|
69 |
+ |
... | ... |
@@ -9,5 +9,5 @@ |
9 | 9 |
"dhcp-client","dhcp-server","dhcp-libs","dhcp-devel","initscripts","net-tools", |
10 | 10 |
"jaxws-ri","commons-daemon","runit", "python-pyasn1", "WALinuxAgent", "linux-esx", |
11 | 11 |
"python-Twisted", "python-zope.interface", "python-ipaddr", "chkconfig", "libnss-ato", |
12 |
- "procmail","dmidecode","iperf"] |
|
12 |
+ "procmail","dmidecode","iperf","atftp"] |
|
13 | 13 |
} |