summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2002-06-27 22:37:44 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2002-06-27 22:37:44 +0000
commited7b47c4ec0ad17afd4f33b2718d7316a5dd52a3 (patch)
treebac64d718946c10f415448f8c2e71a461c7b4b47 /net-ftp/proftpd
parentMasked the latest cups. (diff)
downloadgentoo-2-ed7b47c4ec0ad17afd4f33b2718d7316a5dd52a3.tar.gz
gentoo-2-ed7b47c4ec0ad17afd4f33b2718d7316a5dd52a3.tar.bz2
gentoo-2-ed7b47c4ec0ad17afd4f33b2718d7316a5dd52a3.zip
fix #3791 patching mod_sql_postgres.c
Diffstat (limited to 'net-ftp/proftpd')
-rw-r--r--net-ftp/proftpd/ChangeLog7
-rw-r--r--net-ftp/proftpd/proftpd-1.2.5-r1.ebuild11
2 files changed, 16 insertions, 2 deletions
diff --git a/net-ftp/proftpd/ChangeLog b/net-ftp/proftpd/ChangeLog
index 5fdb2356940e..ad83614bf490 100644
--- a/net-ftp/proftpd/ChangeLog
+++ b/net-ftp/proftpd/ChangeLog
@@ -1,10 +1,15 @@
# ChangeLog for net-ftp/proftpd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.6 2002/06/21 01:54:08 nitro Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/ChangeLog,v 1.7 2002/06/27 22:37:44 bass Exp $
*proftpd-1.2.5-r1 (20 Jun 2002)
+ 28 Jun 2002; J.Alberto Suárez L. <bass@gentoo.org> proftpd-1.2.5-r1.ebuild:
+
+ Fix bug #3791 In mod_sql_postgres.c line 38: #inlcude <pgsql/libpq-fe.h>
+ is patched to: #include <postgresql/libpq-fe.h>.
+
20 Jun 2002; Kyle Manna <nitro@gentoo.org> proftpd-1.2.5-r1.ebuild :
Now we copy pam ftp file if we 'use pam'
diff --git a/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild b/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
index df470b7c7a8b..ba9881a064e2 100644
--- a/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
+++ b/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild,v 1.1 2002/06/20 22:23:18 nitro Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/proftpd/proftpd-1.2.5-r1.ebuild,v 1.2 2002/06/27 22:37:44 bass Exp $
S=${WORKDIR}/${P}
DESCRIPTION="An advanced and very configurable FTP server"
@@ -16,6 +16,15 @@ DEPEND="virtual/glibc
ldap? ( >=net-nds/openldap-1.2.11 )
postgres? ( >=dev-db/postgresql-7.1 )"
+src_unpack() {
+
+#Fix bug #3791
+
+ unpack ${P}.tar.bz2
+ cd ${WORKDIR}/${P}
+ patch contrib/mod_sql_postgres.c < ${FILESDIR}/mod_sql_postgres.c.patch || die "config patch failed"
+}
+
src_compile() {
local modules myconf