summaryrefslogtreecommitdiff
path: root/www/ap-auth-postgresql
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-20 19:59:21 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-20 19:59:21 +0000
commitfe2e06881370689f880bbbf04739e3fb8f603edc (patch)
tree6e476024686720113954e0dc96b89ef2b35d76fb /www/ap-auth-postgresql
parent20320983b8ed7784623adae9308be150db6f8259 (diff)
downloadpkgsrc-fe2e06881370689f880bbbf04739e3fb8f603edc.tar.gz
Fix build with newer PostgreSQL versions, remove requirement for 7.3.
Diffstat (limited to 'www/ap-auth-postgresql')
-rw-r--r--www/ap-auth-postgresql/Makefile4
-rw-r--r--www/ap-auth-postgresql/distinfo3
-rw-r--r--www/ap-auth-postgresql/patches/patch-aa13
3 files changed, 16 insertions, 4 deletions
diff --git a/www/ap-auth-postgresql/Makefile b/www/ap-auth-postgresql/Makefile
index a8785890c16..d6c9abcf992 100644
--- a/www/ap-auth-postgresql/Makefile
+++ b/www/ap-auth-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2006/02/05 23:11:17 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2006/03/20 19:59:21 joerg Exp $
DISTNAME= AuthPG-1.4
PKGNAME= ap-auth-postgresql-1.4
@@ -13,8 +13,6 @@ COMMENT= Module to allow apache authentication against a Postgresql database
CONFLICTS= ap-auth-pgsql-[0-9]*
-PGSQL_VERSION_REQD= 73
-
APACHE_MODULE_NAME= mod_auth_pg.so
CPPFLAGS+= -I${PGSQL_PREFIX}/include/postgresql
diff --git a/www/ap-auth-postgresql/distinfo b/www/ap-auth-postgresql/distinfo
index 3b6f1fd9d91..34d974e658a 100644
--- a/www/ap-auth-postgresql/distinfo
+++ b/www/ap-auth-postgresql/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:08:27 wiz Exp $
+$NetBSD: distinfo,v 1.5 2006/03/20 19:59:21 joerg Exp $
SHA1 (AuthPG-1.4.tar.gz) = 06c73b8ea8b5e6145e351d5575d26eef4527532e
RMD160 (AuthPG-1.4.tar.gz) = 7fcfeb2ff1321f7bf128321f54da8210e04bc1be
Size (AuthPG-1.4.tar.gz) = 12681 bytes
+SHA1 (patch-aa) = 4654bae71c324c9614c3c8334717d8638c57ac42
diff --git a/www/ap-auth-postgresql/patches/patch-aa b/www/ap-auth-postgresql/patches/patch-aa
new file mode 100644
index 00000000000..c7fe538f658
--- /dev/null
+++ b/www/ap-auth-postgresql/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2006/03/20 19:59:22 joerg Exp $
+
+--- mod_auth_pg.c.orig 2006-03-20 19:56:45.000000000 +0000
++++ mod_auth_pg.c
+@@ -2,7 +2,7 @@
+ /* mod_auth_pg.c Copyright 1998-2003 Min Sik Kim <minskim@bawi.org> */
+ /* */
+
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+
+ #include "httpd.h"
+ #include "http_config.h"