Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
tftp
tftp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tftp.spec of Package tftp
# # spec file for package tftp # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: tftp Version: 5.1 Release: 3 License: BSD3c Summary: Trivial File Transfer Protocol (TFTP) Url: http://www.kernel.org/pub/software/network/tftp/ Group: Productivity/Networking/Ftp/Clients Source: http://www.kernel.org/pub/software/network/tftp/tftp-hpa-%{version}.tar.bz2 Source1: tftp.xinetd Patch0: tftp-hpa-0.43_include_sys_params.patch Patch1: tftp-hpa-0.46_colon_check.patch Patch4: tftp-hpa-0.49-fortify-strcpy-crash.patch Patch5: tftp-hpa-0.48-tzfix.patch Patch42: tftp-hpa-0.43_old-autoconf.diff PreReq: pwdutils BuildRequires: pwdutils BuildRequires: tcpd-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1110 BuildRequires: binutils-devel %endif Requires: inet-daemon Requires: netcfg Conflicts: atftp %description The Trivial File Transfer Protocol (TFTP) is normally used only for booting diskless workstations and for getting or saving network component configuration files. %prep %setup -n %{name}-hpa-%{version} %patch0 %patch1 %patch4 -p1 %patch5 -p1 %if 0%{?suse_version} < 1030 %patch42 %endif %build autoreconf -fi %configure \ --enable-largefile \ --with-tcpwrappers \ --with-remap \ --without-editline \ --with-ipv6 make %install %makeinstall INSTALLROOT=%{buildroot} MANDIR="%{_mandir}" install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/tftp install -d -m 0750 %{buildroot}/srv/tftpboot %pre # This group/user is shared with atftp, so please # keep this in sync with atftp.spec # add group %{_sbindir}/groupadd -r tftp 2>/dev/null || : # add user %{_sbindir}/useradd -c "TFTP account" -d /srv/tftpboot -G tftp -g tftp \ -r -s /bin/false tftp 2>/dev/null || : %clean rm -rf %{buildroot}; %files %defattr(-,root,root) %doc README README.security tftpd/sample.rules %{_bindir}/tftp %{_sbindir}/in.tftpd %{_mandir}/man1/tftp.1.gz %{_mandir}/man8/in.tftpd.8.gz %{_mandir}/man8/tftpd.8.gz %config(noreplace) %{_sysconfdir}/xinetd.d/tftp %dir %attr(0750,root,tftp) /srv/tftpboot %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor