Files
uftpd/uftpd.spec
Dirk Mueller 066455fdee Accepting request 941590 from home:mnhauke
- Update to version 2.15
  Changes
  * Silence some developer debug messages
  * Always skip . and .. in FTP listings
  * Internal refactoring and code cleanup
  Fixes
  * Fix regression introduced in v2.14, server directory name shown
    in FTP
  * listings instead of ., e.g. MLST . showed the directory name
  * Fix #36: for real this time, now also with a test case to verify
  * Fix #38: duplicate entries in FTP listings, regression in v2.14
    Caused by (initially unintentional) removal of sorted listings,
    where directories prior to v2.14 were listed first. This change,
    albeit an accident, actually helped clean up the code base and
    speed up replies

OBS-URL: https://build.opensuse.org/request/show/941590
OBS-URL: https://build.opensuse.org/package/show/network/uftpd?expand=0&rev=24
2021-12-21 10:11:34 +00:00

78 lines
2.1 KiB
RPMSpec

#
# spec file for package uftpd
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2018-2021, Martin Hauke <mardnh@gmx.de>
#
# 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 https://bugs.opensuse.org/
#
Name: uftpd
Version: 2.15
Release: 0
Summary: A combined TFTP/FTP server
License: ISC
Group: Productivity/Networking/Ftp/Servers
URL: https://troglobit.com/uftpd.html
#Git-Clone: https://github.com/troglobit/uftpd.git
Source: https://github.com/troglobit/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libite)
BuildRequires: pkgconfig(libuev) >= 2.2.0
Conflicts: atftp
Conflicts: tftp
Provides: tftp(server)
# SECTION test requirements
BuildRequires: ftp
BuildRequires: netcfg
BuildRequires: tftp
# /SECTION
%description
uftpd serves both TFTP and FTP without any configuration file, starts
automatically from the traditional UNIX inetd super server, and is
tcpwrapped.
%prep
%setup -q
%build
autoreconf -fiv
%configure
%make_build
%install
%make_install
rm -rf %{buildroot}/%{_datadir}/doc
%check
# temporary run checks only on x86_64 until the issues on the other platforms are sorted out
%ifarch x86_64
ulimit -n 1024
make check || find . -name test-suite.log -exec cat {} +
%endif
%files
%doc README.md
%license LICENSE
%{_sbindir}/in.ftpd
%{_sbindir}/in.tftpd
%{_sbindir}/uftpd
%{_mandir}/man8/in.ftpd.8%{?ext_man}
%{_mandir}/man8/in.tftpd.8%{?ext_man}
%{_mandir}/man8/uftpd.8%{?ext_man}
%changelog