2007-01-16 00:40:43 +01:00
|
|
|
#
|
2011-02-25 11:57:21 +01:00
|
|
|
# spec file for package vsftpd
|
2007-01-16 00:40:43 +01:00
|
|
|
#
|
2023-03-20 15:04:41 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:40:43 +01:00
|
|
|
#
|
2008-09-13 12:26:56 +02:00
|
|
|
# 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.
|
|
|
|
|
2018-10-24 10:00:33 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:40:43 +01:00
|
|
|
#
|
|
|
|
|
2012-02-21 12:17:29 +01:00
|
|
|
|
2015-09-21 13:35:52 +02:00
|
|
|
%if 0%{?suse_version} > 1210
|
2015-09-21 13:27:21 +02:00
|
|
|
%global with_systemd 1
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
%global with_systemd 0
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2018-04-03 16:56:04 +02:00
|
|
|
%if 0%{?suse_version} >= 1500
|
|
|
|
%define use_firewalld 1
|
|
|
|
%else
|
|
|
|
%define use_firewalld 0
|
|
|
|
%endif
|
2007-01-16 00:40:43 +01:00
|
|
|
Name: vsftpd
|
2021-09-10 16:46:10 +02:00
|
|
|
Version: 3.0.5
|
2012-02-15 17:42:34 +01:00
|
|
|
Release: 0
|
2007-01-16 00:40:43 +01:00
|
|
|
Summary: Very Secure FTP Daemon - Written from Scratch
|
2014-04-10 15:24:27 +02:00
|
|
|
License: SUSE-GPL-2.0-with-openssl-exception
|
2007-01-16 00:40:43 +01:00
|
|
|
Group: Productivity/Networking/Ftp/Servers
|
2020-08-19 17:56:57 +02:00
|
|
|
URL: https://security.appspot.com/vsftpd.html
|
2012-10-22 15:40:00 +02:00
|
|
|
Source0: https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
|
2014-05-26 15:22:17 +02:00
|
|
|
Source1: %{name}.pam
|
|
|
|
Source2: %{name}.logrotate
|
2015-09-21 13:27:21 +02:00
|
|
|
Source3: %{name}.init
|
2007-01-16 00:40:43 +01:00
|
|
|
Source4: README.SUSE
|
2023-10-04 10:21:31 +02:00
|
|
|
Source5: %{name}.ftpusers
|
2014-05-26 15:22:17 +02:00
|
|
|
Source6: %{name}.firewall
|
2011-11-27 21:24:40 +01:00
|
|
|
Source7: vsftpd.service
|
2014-05-26 15:00:04 +02:00
|
|
|
Source8: vsftpd@.service
|
2014-05-26 15:22:17 +02:00
|
|
|
Source9: %{name}.keyring
|
2014-05-26 15:00:04 +02:00
|
|
|
Source10: vsftpd.socket
|
2018-04-03 16:56:04 +02:00
|
|
|
Source11: %{name}.firewalld
|
2012-10-22 15:40:00 +02:00
|
|
|
Source1000: https://security.appspot.com/downloads/%{name}-%{version}.tar.gz.asc
|
2011-12-25 23:14:07 +01:00
|
|
|
Patch1: vsftpd-2.0.4-lib64.diff
|
|
|
|
Patch3: vsftpd-2.0.4-xinetd.diff
|
|
|
|
Patch4: vsftpd-2.0.4-enable-ssl.patch
|
|
|
|
Patch5: vsftpd-2.0.4-dmapi.patch
|
|
|
|
Patch6: vsftpd-2.0.5-vuser.patch
|
|
|
|
Patch7: vsftpd-2.0.5-enable-debuginfo.patch
|
|
|
|
Patch8: vsftpd-2.0.5-utf8-log-names.patch
|
|
|
|
Patch9: vsftpd-2.3.5-conf.patch
|
2012-08-24 09:10:05 +02:00
|
|
|
Patch10: vsftpd-3.0.0_gnu_source_defines.patch
|
|
|
|
Patch11: vsftpd-3.0.0-optional-seccomp.patch
|
2013-04-04 12:09:44 +02:00
|
|
|
#PATCH-FIX-OPENSUSE: bnc#786024, second issue with pam_login_acct
|
|
|
|
Patch13: vsftpd-drop-newpid-from-clone.patch
|
|
|
|
#PATCH-FIX-OPENSUSE: bnc#812406
|
|
|
|
Patch14: vsftpd-enable-fcntl-f_setfl.patch
|
|
|
|
#PATCH-FIX-OPENSUSE: bnc#812406
|
|
|
|
Patch15: vsftpd-enable-dev-log-sendto.patch
|
2014-04-10 15:24:27 +02:00
|
|
|
#PATCH-FEATURE-SUSE: FATE#311051, call chroot with user credentials to enable nsf with squash_root option
|
|
|
|
Patch16: vsftpd-root-squashed-chroot.patch
|
|
|
|
#PATCH-FIX-UPSTREAM: bnc#870122
|
|
|
|
Patch17: vsftpd-enable-gettimeofday-sec.patch
|
2014-09-01 17:38:56 +02:00
|
|
|
#PATCH-FIX-UPSTREAM: bnc#890469 fix broken syscall on s390
|
|
|
|
Patch18: vsftpd-3.0.2-s390.patch
|
2015-03-23 21:22:32 +01:00
|
|
|
#PATCH-FIX-UPSTREAM: bnc#900326 deny_file filtering acts weirdly (19-22)
|
2015-01-02 11:33:48 +01:00
|
|
|
Patch19: vsftpd-2.1.0-filter.patch
|
2015-03-23 21:10:51 +01:00
|
|
|
Patch20: vsftpd-2.2.0-wildchar.patch
|
|
|
|
Patch21: vsftpd-2.3.4-sqb.patch
|
2015-03-23 21:22:32 +01:00
|
|
|
Patch22: vsftpd-path-normalize.patch
|
2016-03-10 19:20:17 +01:00
|
|
|
Patch23: vsftpd-ls-memleak.patch
|
2016-03-21 13:54:56 +01:00
|
|
|
#PATCH-FIX-UPSTREAM: bnc#970982
|
|
|
|
Patch24: vsftpd-3.0.2-wnohang.patch
|
2016-09-19 13:43:40 +02:00
|
|
|
Patch25: vsftpd-3.0.2-fix-chown-uploads.patch
|
2017-06-13 00:37:25 +02:00
|
|
|
#FIX-FIX-OPENSUSE: bsc#1042673
|
|
|
|
Patch26: vsftpd-3.0.3-build-with-openssl-1.1.patch
|
2017-09-07 15:55:51 +02:00
|
|
|
Patch27: vsftpd-mdtm-in-utc.patch
|
|
|
|
Patch28: vsftpd-die-with-session.patch
|
2017-09-07 16:51:06 +02:00
|
|
|
Patch29: vsftpd-append-seek-pipe.patch
|
2017-09-08 09:29:34 +02:00
|
|
|
Patch30: vsftpd-3.0.3-address_space_limit.patch
|
2018-05-14 13:49:10 +02:00
|
|
|
Patch31: vsftpd-enable-syscalls-needed-by-sle15.patch
|
2018-06-21 13:14:05 +02:00
|
|
|
Patch32: vsftpd-support-dsa-only-setups.patch
|
2019-06-18 17:41:06 +02:00
|
|
|
Patch33: vsftpd-avoid-bogus-ssl-write.patch
|
2020-11-13 11:29:04 +01:00
|
|
|
Patch35: 0001-When-handling-FEAT-command-check-ssl_tlsv1_1-and-ssl.patch
|
2021-01-16 16:15:09 +01:00
|
|
|
# PATCH-FIX-UPSTREAM https://bugzilla.suse.com/show_bug.cgi?id=1179553
|
|
|
|
Patch36: seccomp-fixes.patch
|
2022-02-01 20:19:28 +01:00
|
|
|
Patch37: vsftpd-openlog-force.patch
|
|
|
|
Patch38: vsftpd-seccomp-getrandom.patch
|
|
|
|
Patch39: vsftpd-seccomp-ssl.patch
|
|
|
|
Patch40: vsftpd-seccomp-wait4.patch
|
2022-02-01 20:42:35 +01:00
|
|
|
Patch41: revert-undocumented-config-file-format-changes.patch
|
2022-02-02 11:24:40 +01:00
|
|
|
Patch42: use-system-wide-tls-cipher-policy.patch
|
|
|
|
Patch43: vsftpd-allow-dev-log-socket.patch
|
|
|
|
Patch44: vsftpd-enable-sendto-for-prelogin-syslog.patch
|
2022-09-13 10:53:30 +02:00
|
|
|
Patch45: disable-tls13-to-support-older-openssl-versions.patch
|
2023-06-19 08:30:36 +02:00
|
|
|
Patch46: 0001-Fix-default-value-of-strict_ssl_read_eof-in-man-page.patch
|
2023-09-26 14:26:47 +02:00
|
|
|
#PATCH-FIX-OPENSUSE bsc#1211301 Enable crypto-policies support
|
|
|
|
Patch47: vsftpd-use-system-wide-crypto-policy.patch
|
2014-05-26 15:22:17 +02:00
|
|
|
BuildRequires: libcap-devel
|
2022-03-08 21:45:10 +01:00
|
|
|
%if 0%{?suse_version} == 1315
|
|
|
|
BuildRequires: libopenssl-1_1-devel >= 1.1.1
|
|
|
|
%else
|
2022-08-25 10:25:04 +02:00
|
|
|
%if 0%{?sle_version} == 150000
|
|
|
|
BuildRequires: libopenssl-1_1-devel >= 1.1.0
|
|
|
|
%else
|
2022-03-08 21:45:10 +01:00
|
|
|
BuildRequires: libopenssl-devel >= 1.1.1
|
|
|
|
%endif
|
2022-08-25 10:25:04 +02:00
|
|
|
%endif
|
2014-05-26 15:22:17 +02:00
|
|
|
BuildRequires: pam-devel
|
|
|
|
Requires: logrotate
|
2016-03-23 11:08:13 +01:00
|
|
|
Requires(pre): shadow
|
2018-04-03 16:56:04 +02:00
|
|
|
Provides: ftp-server
|
|
|
|
%if %{use_firewalld}
|
2018-10-24 10:00:33 +02:00
|
|
|
BuildRequires: firewall-macros
|
2018-04-03 16:56:04 +02:00
|
|
|
%endif
|
2017-05-02 14:29:24 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
2017-12-13 10:39:55 +01:00
|
|
|
Requires: group(nobody)
|
|
|
|
Requires: user(ftp)
|
2018-04-03 16:56:04 +02:00
|
|
|
Requires(pre): group(nobody)
|
2017-05-02 14:29:24 +02:00
|
|
|
%endif
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2019-06-12 17:10:34 +02:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2012-02-21 11:52:18 +01:00
|
|
|
%{?systemd_requires}
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
Requires(post): %insserv_prereq
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2010-08-13 02:40:09 +02:00
|
|
|
|
2007-01-16 00:40:43 +01:00
|
|
|
%description
|
2010-01-25 16:41:53 +01:00
|
|
|
Vsftpd is an FTP server, or daemon. The "vs" stands for Very Secure.
|
2007-01-16 00:40:43 +01:00
|
|
|
Obviously this is not a guarantee, but the entire codebase was written
|
|
|
|
with security in mind, and carefully designed to be resilient to
|
|
|
|
attack.
|
|
|
|
|
|
|
|
Recent evidence suggests that vsftpd is also extremely fast (and this
|
|
|
|
is before any explicit performance tuning!). In tests against wu-ftpd,
|
|
|
|
vsftpd was always faster, supporting over twice as many users in some
|
|
|
|
tests.
|
|
|
|
|
|
|
|
%prep
|
2022-09-13 10:53:30 +02:00
|
|
|
%setup -q
|
2024-02-21 11:17:20 +01:00
|
|
|
%patch -P 1 -p1
|
|
|
|
%patch -P 3 -p1
|
|
|
|
%patch -P 4 -p1
|
|
|
|
%patch -P 5 -p1
|
|
|
|
%patch -P 6 -p1
|
|
|
|
%patch -P 7 -p1
|
|
|
|
%patch -P 8 -p1
|
|
|
|
%patch -P 9 -p1
|
|
|
|
%patch -P 10 -p1
|
|
|
|
%patch -P 11 -p1
|
|
|
|
%patch -P 13 -p1
|
|
|
|
%patch -P 14 -p1
|
|
|
|
%patch -P 15 -p1
|
|
|
|
%patch -P 16 -p1
|
|
|
|
%patch -P 17 -p1
|
|
|
|
%patch -P 18 -p1
|
|
|
|
%patch -P 19 -p1
|
|
|
|
%patch -P 20 -p1
|
|
|
|
%patch -P 21 -p1
|
|
|
|
%patch -P 22 -p1
|
|
|
|
%patch -P 23 -p1
|
|
|
|
%patch -P 24 -p1
|
|
|
|
%patch -P 25 -p1
|
|
|
|
%patch -P 26 -p1
|
|
|
|
%patch -P 27 -p1
|
|
|
|
%patch -P 28 -p1
|
|
|
|
%patch -P 29 -p1
|
|
|
|
%patch -P 30 -p1
|
|
|
|
%patch -P 31 -p1
|
|
|
|
%patch -P 32 -p1
|
|
|
|
%patch -P 33 -p1
|
|
|
|
%patch -P 35 -p1
|
|
|
|
%patch -P 36 -p1
|
|
|
|
%patch -P 37 -p1
|
|
|
|
%patch -P 38 -p1
|
|
|
|
%patch -P 39 -p1
|
|
|
|
%patch -P 40 -p1
|
|
|
|
%patch -P 41 -p1
|
|
|
|
%patch -P 42 -p1
|
|
|
|
%patch -P 43 -p1
|
|
|
|
%patch -P 44 -p1
|
2022-09-13 10:53:30 +02:00
|
|
|
%if 0%{?sle_version} == 150000
|
2024-02-21 11:17:20 +01:00
|
|
|
%patch -P 45 -p1
|
2022-09-13 10:53:30 +02:00
|
|
|
%endif
|
2024-02-21 11:17:20 +01:00
|
|
|
%patch -P 46 -p1
|
|
|
|
%patch -P 47 -p1
|
2007-01-16 00:40:43 +01:00
|
|
|
|
|
|
|
%build
|
2012-04-24 15:17:54 +02:00
|
|
|
%define seccomp_opts -D_GNU_SOURCE -DUSE_SECCOMP
|
2017-09-11 15:02:10 +02:00
|
|
|
rm dummyinc/sys/capability.h vsf_findlibs.sh
|
2014-05-26 15:22:17 +02:00
|
|
|
make CFLAGS="%{optflags} -DOPENSSL_NO_SSL_INTERN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIE -fstack-protector --param=ssp-buffer-size=4 %{seccomp_opts}" \
|
2017-09-11 15:02:10 +02:00
|
|
|
LIBS="-lpam -lcap -lssl -lcrypto"
|
2007-01-16 00:40:43 +01:00
|
|
|
|
|
|
|
%install
|
2014-05-26 15:22:17 +02:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/empty
|
|
|
|
cp %{SOURCE4} .
|
|
|
|
install -D -m 755 %{name} %{buildroot}%{_sbindir}/%{name}
|
|
|
|
install -D -m 600 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
2017-06-14 13:44:16 +02:00
|
|
|
%if 0%{?suse_version} < 1330
|
2014-05-26 15:22:17 +02:00
|
|
|
install -D -m 600 xinetd.d/%{name} %{buildroot}%{_sysconfdir}/xinetd.d/%{name}
|
2017-06-14 13:44:16 +02:00
|
|
|
%endif
|
2023-09-04 16:01:26 +02:00
|
|
|
install -D -m 644 $RPM_SOURCE_DIR/%{name}.pam %{buildroot}%{_pam_vendordir}/%{name}
|
2023-10-04 10:21:31 +02:00
|
|
|
install -D -m 600 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/vsftpd/ftpusers
|
2022-06-29 19:58:03 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
|
|
|
|
install -D -m 644 $RPM_SOURCE_DIR/%{name}.logrotate %{buildroot}%{_distconfdir}/logrotate.d/%{name}
|
|
|
|
%else
|
2014-05-26 15:22:17 +02:00
|
|
|
install -D -m 644 $RPM_SOURCE_DIR/%{name}.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
2022-06-29 19:58:03 +02:00
|
|
|
%endif
|
2014-05-26 15:22:17 +02:00
|
|
|
install -D -m 644 %{name}.conf.5 %{buildroot}/%{_mandir}/man5/%{name}.conf.5
|
|
|
|
install -D -m 644 %{name}.8 %{buildroot}/%{_mandir}/man8/%{name}.8
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2014-05-26 15:22:17 +02:00
|
|
|
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}
|
|
|
|
install -D -m 0644 %{SOURCE7} %{buildroot}/%{_unitdir}/%{name}.service
|
2022-10-06 12:52:06 +02:00
|
|
|
%if 0%{?sle_version} && 0%{?sle_version} < 150300
|
2022-09-16 08:25:15 +02:00
|
|
|
sed -r -i '/^(Protect(Home|Hostname|KernelLogs|Clock|KernelTunables|KernelModules|ControlGroups)|RestrictRealtime|PrivateMounts)=/d' %{buildroot}/%{_unitdir}/%{name}.service
|
|
|
|
%endif
|
2014-05-26 15:22:17 +02:00
|
|
|
install -D -m 0644 %{SOURCE8} %{buildroot}/%{_unitdir}/%{name}@.service
|
|
|
|
install -D -m 0644 %{SOURCE10} %{buildroot}/%{_unitdir}/%{name}.socket
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
install -D -m 755 %{SOURCE3} %{buildroot}%{_initddir}/%{name}
|
|
|
|
ln -sf %{_initddir}/%{name} %{buildroot}/%{_sbindir}/rc%{name}
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2018-04-03 16:56:04 +02:00
|
|
|
# install firewall information file
|
|
|
|
%if %{use_firewalld}
|
2020-08-19 17:56:57 +02:00
|
|
|
install -D -m 644 %{SOURCE11} %{buildroot}%{_prefix}/lib/firewalld/services/%{name}.xml
|
2018-04-03 16:56:04 +02:00
|
|
|
%else
|
2014-05-26 15:22:17 +02:00
|
|
|
install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
|
|
|
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
2018-04-03 16:56:04 +02:00
|
|
|
%endif
|
2007-01-16 00:40:43 +01:00
|
|
|
|
2008-04-30 12:01:41 +02:00
|
|
|
%pre
|
2017-05-02 14:29:24 +02:00
|
|
|
getent passwd ftpsecure >/dev/null || useradd -r -g nobody -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2018-05-16 17:29:38 +02:00
|
|
|
%service_add_pre %{name}.service %{name}.socket
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2022-12-03 08:53:52 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
# Prepare for migration to /usr/etc; save any old .rpmsave
|
|
|
|
for i in logrotate.d/%{name} ; do
|
|
|
|
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||:
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
%posttrans
|
|
|
|
# Migration to /usr/etc, restore just created .rpmsave
|
|
|
|
for i in logrotate.d/%{name} ; do
|
|
|
|
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||:
|
|
|
|
done
|
|
|
|
%endif
|
2008-04-30 12:01:41 +02:00
|
|
|
|
2007-01-16 00:40:43 +01:00
|
|
|
%preun
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2018-05-16 17:29:38 +02:00
|
|
|
%service_del_preun %{name}.service %{name}.socket
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
%stop_on_removal %{name}
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2007-01-16 00:40:43 +01:00
|
|
|
|
2010-08-13 02:40:10 +02:00
|
|
|
%post
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2018-05-16 17:29:38 +02:00
|
|
|
%service_add_post %{name}.service %{name}.socket
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
2015-09-21 13:27:21 +02:00
|
|
|
%insserv_cleanup
|
|
|
|
%restart_on_update %{name}
|
|
|
|
%endif
|
2018-04-03 16:56:04 +02:00
|
|
|
%if %{use_firewalld}
|
|
|
|
%{firewalld_reload}
|
|
|
|
%endif
|
2015-09-21 13:27:21 +02:00
|
|
|
|
2015-09-21 13:35:52 +02:00
|
|
|
%postun
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2018-05-16 17:29:38 +02:00
|
|
|
%service_del_postun %{name}.service %{name}.socket
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
%insserv_cleanup
|
|
|
|
%restart_on_update %{name}
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2007-01-16 00:40:43 +01:00
|
|
|
|
|
|
|
%files
|
2015-09-21 13:27:21 +02:00
|
|
|
%if %{with_systemd}
|
2012-02-21 12:09:27 +01:00
|
|
|
%{_unitdir}/%{name}.service
|
2014-05-26 15:00:04 +02:00
|
|
|
%{_unitdir}/%{name}.socket
|
|
|
|
%{_unitdir}/%{name}@.service
|
2015-09-21 13:35:52 +02:00
|
|
|
%else
|
|
|
|
%{_initddir}/%{name}
|
2015-09-21 13:27:21 +02:00
|
|
|
%endif
|
2014-05-26 15:22:17 +02:00
|
|
|
%{_sbindir}/%{name}
|
|
|
|
%{_sbindir}/rc%{name}
|
|
|
|
%dir %{_datadir}/empty
|
2017-06-14 13:44:16 +02:00
|
|
|
%if 0%{?suse_version} < 1330
|
2014-05-26 15:22:17 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
|
2017-06-14 13:44:16 +02:00
|
|
|
%endif
|
2014-05-26 15:22:17 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
2022-06-29 19:58:03 +02:00
|
|
|
%if 0%{?suse_version} > 1500
|
2023-09-04 16:01:26 +02:00
|
|
|
%config %{_pam_vendordir}/%{name}
|
2022-06-29 19:58:03 +02:00
|
|
|
%{_distconfdir}/logrotate.d/%{name}
|
|
|
|
%else
|
2023-09-04 16:01:26 +02:00
|
|
|
%config %{_pam_sysconfdir}/pam.d/%{name}
|
2014-05-26 15:22:17 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
2022-06-29 19:58:03 +02:00
|
|
|
%endif
|
2023-10-04 10:21:31 +02:00
|
|
|
%dir %{_sysconfdir}/vsftpd
|
|
|
|
%config %{_sysconfdir}/vsftpd/ftpusers
|
2014-05-26 15:22:17 +02:00
|
|
|
%{_mandir}/man5/%{name}.conf.*
|
|
|
|
%{_mandir}/man8/%{name}.*
|
2018-04-03 16:56:04 +02:00
|
|
|
%license LICENSE
|
|
|
|
%doc BUGS AUDIT Changelog README README.security
|
|
|
|
%license COPYING
|
|
|
|
%doc REWARD SPEED TODO SECURITY TUNING SIZE FAQ EXAMPLE
|
2007-01-16 00:40:43 +01:00
|
|
|
%doc README.SUSE
|
2018-04-03 16:56:04 +02:00
|
|
|
%if %{use_firewalld}
|
2020-08-19 17:56:57 +02:00
|
|
|
%dir %{_prefix}/lib/firewalld
|
|
|
|
%dir %{_prefix}/lib/firewalld/services
|
|
|
|
%{_prefix}/lib/firewalld/services/%{name}.xml
|
2018-04-03 16:56:04 +02:00
|
|
|
%else
|
2011-12-25 23:14:07 +01:00
|
|
|
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
2018-04-03 16:56:04 +02:00
|
|
|
%endif
|
2007-01-16 00:40:43 +01:00
|
|
|
|
2007-03-01 21:05:20 +01:00
|
|
|
%changelog
|