]> git.pld-linux.org Git - packages/ftpd-BSD.git/blobdiff - ftpd-BSD.spec
- username buffer increased from 16 to 17 characters, to allow usernames
[packages/ftpd-BSD.git] / ftpd-BSD.spec
index ef0fd78ece4955e418e339602a61706db3d21297..ece41e6b5aa19f9a3a9c7eb748e9bfd29caf187b 100644 (file)
@@ -1,9 +1,11 @@
 Summary:       OpenBSD's ftpd ported to Linux (with IPv6 support)
+Summary(pl):   Port ftpd z OpenBSD dla Linuxa (z wsparciem do IPv6)
 Name:          ftpd-BSD
 Version:       0.3.2
-Release:       4
+Release:       5
 License:       BSD-like
 Group:         Networking/Daemons
+Group(de):     Netzwerkwesen/Server
 Group(pl):     Sieciowe/Serwery
 Source0:       ftp://quatramaran.ens.fr/pub/madore/ftpd-BSD/%{name}-%{version}.tar.gz
 Source1:       %{name}.inetd
@@ -11,6 +13,7 @@ Source2:      %{name}.pamd
 Source3:       %{name}-ftpusers
 Patch0:                %{name}-anonuser.patch
 Patch1:                %{name}-paths.patch
+Patch2:                %{name}-username.patch
 Buildrequires: libwrap-devel
 Buildrequires: pam-devel
 Requires:      rc-inetd
@@ -45,9 +48,10 @@ wersji ftpd to 6.4, za
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch1 -p2
 
 %build
-%{__make} -C ftpd OPT_CFLAGS="$RPM_OPT_FLAGS"
+%{__make} -C ftpd OPT_CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,13 +59,13 @@ install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} \
        $RPM_BUILD_ROOT%{_sysconfdir}/{ftpd,pam.d,sysconfig/rc-inetd} \
        $RPM_BUILD_ROOT/home/ftp/{upload,pub}
 
-install -s ftpd/ftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd-BSD
+install ftpd/ftpd $RPM_BUILD_ROOT%{_sbindir}/ftpd-BSD
 install ftpd/ftpd.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/ftpd
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/ftp
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/ftpd/ftpusers
 
-gzip -9nf README $RPM_BUILD_ROOT%{_mandir}/man8/*
+gzip -9nf README
 
 %post
 if [ -f /var/lock/subsys/rc-inetd ]; then
This page took 0.080816 seconds and 4 git commands to generate.