summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-02-26 17:39:47 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-02-26 17:39:47 +0000
commitbc7c964be1034d17cfa413f8f9af666377d83630 (patch)
treed4a19b447823acc8da6b8301bb2de87819dd01fc /net-ftp/vsftpd/vsftpd-2.0.6.ebuild
parentDuplicate license file (see bug #211534) (diff)
downloadhistorical-bc7c964be1034d17cfa413f8f9af666377d83630.tar.gz
historical-bc7c964be1034d17cfa413f8f9af666377d83630.tar.bz2
historical-bc7c964be1034d17cfa413f8f9af666377d83630.zip
Finally fix the libcap mess, bug #210478
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-ftp/vsftpd/vsftpd-2.0.6.ebuild')
-rw-r--r--net-ftp/vsftpd/vsftpd-2.0.6.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-ftp/vsftpd/vsftpd-2.0.6.ebuild b/net-ftp/vsftpd/vsftpd-2.0.6.ebuild
index 198bf1ae0d21..da7a495b4427 100644
--- a/net-ftp/vsftpd/vsftpd-2.0.6.ebuild
+++ b/net-ftp/vsftpd/vsftpd-2.0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.0.6.ebuild,v 1.2 2008/02/21 17:28:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/vsftpd-2.0.6.ebuild,v 1.3 2008/02/26 17:39:46 armin76 Exp $
inherit eutils toolchain-funcs
@@ -31,7 +31,8 @@ src_unpack() {
epatch "${FILESDIR}/${PN}-2.0.3-gentoo.patch"
# Fix building without the libcap
- ! use caps && epatch "${FILESDIR}/${PN}-2.0.5-caps.patch"
+ epatch "${FILESDIR}/${PN}-2.0.6-caps.patch"
+ has_version "<sys-libs/libcap-2" && epatch "${FILESDIR}"/${PN}-2.0.6-libcap1.patch
# Configure vsftpd build defaults
use tcpd && echo "#define VSF_BUILD_TCPWRAPPERS" >> builddefs.h