From: Jakub Bogusz Date: Sun, 28 Mar 2004 19:20:42 +0000 (+0000) Subject: - added configure patch to workaround configure braindamage (doing it even harder) X-Git-Tag: AC-STABLE X-Git-Url: http://git.pld-linux.org/?p=packages%2Fftp4all.git;a=commitdiff_plain;h=cc519fda107843feb874232740f1668f53d15eee - added configure patch to workaround configure braindamage (doing it even harder) - try without ppc workaround - release 4 Changed files: ftp4all.spec -> 1.19 --- diff --git a/ftp4all.spec b/ftp4all.spec index 422686f..495c6bf 100644 --- a/ftp4all.spec +++ b/ftp4all.spec @@ -2,7 +2,7 @@ Summary: Free, open source FTP server implementation Summary(pl): Darmowa implementacja serwera FTP Name: ftp4all Version: 3.012 -Release: 3 +Release: 4 License: GPL Group: Networking/Daemons Source0: http://www.ftp4all.de/v3/archives/ftpd-%{version}.tar.gz @@ -11,14 +11,11 @@ Source1: http://www.ftp4all.de/v3/f4awebsite.tar.gz # Source1-md5: 34b5c4712b8ed23af5beea1074f71fd7 Patch0: ftpd-opt.patch Patch1: ftpd-endian.patch +Patch2: ftpd-configure.patch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # this isn't ,,standard ftp''. Don't treat it as system ftp server # and don't put Provides:ftpserver etc here ! --misiek -%ifarch ppc -%define optflags -O0 -%endif - %description FTP4ALL was designed to require no superuser privileges. The advantages are that FTP4ALL cannot be exploited to gain root access on @@ -55,9 +52,14 @@ dost %setup -q -n ftpd-%{version} -a1 %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build -echo "y" | CFLAGS="%{rpmcflags}" ./configure +echo "y" | \ +CFLAGS="%{rpmcflags}" \ +LIBDIR="%{_libdir}" \ +SLIBDIR="/%{_lib}" \ +./configure %{__make} %install