aboutsummaryrefslogtreecommitdiff
path: root/www/pgdriver
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2001-03-12 10:38:15 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2001-03-12 10:38:15 +0000
commitb229f25fba6bcd7202cab3060156c4fa22ad6765 (patch)
tree51d928e4a930f4a9fd7a85d7b4d96c905a0280ea /www/pgdriver
parent5ff72b2dc15f780a3179d778baf918f720f30bdb (diff)
downloadports-b229f25fba6bcd7202cab3060156c4fa22ad6765.tar.gz
ports-b229f25fba6bcd7202cab3060156c4fa22ad6765.zip
Notes
Diffstat (limited to 'www/pgdriver')
-rw-r--r--www/pgdriver/Makefile21
-rw-r--r--www/pgdriver/distinfo1
-rw-r--r--www/pgdriver/files/patch-aa31
-rw-r--r--www/pgdriver/files/patch-ab11
-rw-r--r--www/pgdriver/pkg-comment1
-rw-r--r--www/pgdriver/pkg-descr3
-rw-r--r--www/pgdriver/pkg-plist1
7 files changed, 69 insertions, 0 deletions
diff --git a/www/pgdriver/Makefile b/www/pgdriver/Makefile
new file mode 100644
index 000000000000..7afd9ade8313
--- /dev/null
+++ b/www/pgdriver/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: pgdriver
+# Date created: 12 March 2001
+# Whom: jkoshy
+#
+# $FreeBSD$
+#
+
+PORTNAME= pgdriver
+PORTVERSION= 1.1
+CATEGORIES= www databases
+MASTER_SITES= http://openacs.org/sdm/download-package/2/20/
+
+MAINTAINER= jkoshy@freebsd.org
+
+BUILD_DEPENDS= ${LOCALBASE}/aolserver/bin/nsd:${PORTSDIR}/www/aolserver \
+ ${LOCALBASE}/pgsql/bin/postmaster:${PORTSDIR}/databases/postgresql7
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+MAKEFILE= makefile
+
+.include <bsd.port.mk>
diff --git a/www/pgdriver/distinfo b/www/pgdriver/distinfo
new file mode 100644
index 000000000000..5171d31211db
--- /dev/null
+++ b/www/pgdriver/distinfo
@@ -0,0 +1 @@
+MD5 (pgdriver-1.1.tar.gz) = c7fb77755fe12f51929b8370b35141fc
diff --git a/www/pgdriver/files/patch-aa b/www/pgdriver/files/patch-aa
new file mode 100644
index 000000000000..cae7084d2bfa
--- /dev/null
+++ b/www/pgdriver/files/patch-aa
@@ -0,0 +1,31 @@
+--- makefile-- Thu Mar 1 12:44:27 2001
++++ makefile Thu Mar 1 12:46:38 2001
+@@ -33,15 +33,15 @@
+ # package installed AOLserver and PostgreSQL
+
+ # Location of the PostgreSQL libraries
+-#PGLIB=/usr/local/pgsql/lib
++PGLIB=/usr/local/pgsql/lib
+
+ # Location of the PostgreSQL includes
+-#PGINC=/usr/local/pgsql/include
++PGINC=/usr/local/pgsql/include
+
+ # Location of the AOLserver files (normally the ~nsadmin directory):
+ #NSHOME=/opt/aolserver
+ # Alternate location for AOLserver
+-#NSHOME=/usr/local/AOLserver
++NSHOME=/usr/local/aolserver
+
+ CC=gcc
+ COPTS=-Wall -fpic -shared -I/usr/local/pgsql/include -I/home/nsadmin/include -I-/usr/include
+@@ -82,8 +82,8 @@
+ # FreeBSD 3
+ # The make install target isn't what you want---just copy postgres.so to
+ # /usr/local/libexec/aolserver
+-#COPTS=-g -Wall -fpic -pthread -D_THREAD_SAFE -I/usr/local/include/aolserver -I/usr/local/pgsql/include
+-#LDFLAGS=-pthread -Wl,-E
++COPTS=-g -Wall -fpic -pthread -D_THREAD_SAFE -I${NSHOME}/include -I${PGINC}
++LDFLAGS=-pthread -Wl,-E
+
+ # You should not need to edit anything below this line.
diff --git a/www/pgdriver/files/patch-ab b/www/pgdriver/files/patch-ab
new file mode 100644
index 000000000000..50499b177c6e
--- /dev/null
+++ b/www/pgdriver/files/patch-ab
@@ -0,0 +1,11 @@
+--- postgres.c-- Fri Jun 30 01:42:10 2000
++++ postgres.c Thu Mar 1 14:41:54 2001
+@@ -1139,7 +1139,7 @@
+ char* filename)
+ {
+ int fd, i, j, segment, readlen;
+- char in_buf[6000], out_buf[8000], query[100];
++ char in_buf[6001], out_buf[8001], query[8100];
+ char *segment_pos;
+
+ fd = open (filename, O_RDONLY);
diff --git a/www/pgdriver/pkg-comment b/www/pgdriver/pkg-comment
new file mode 100644
index 000000000000..dddfe9a2ac45
--- /dev/null
+++ b/www/pgdriver/pkg-comment
@@ -0,0 +1 @@
+A driver for AOLserver to PostgreSQL connectivity
diff --git a/www/pgdriver/pkg-descr b/www/pgdriver/pkg-descr
new file mode 100644
index 000000000000..b72f99ebeadc
--- /dev/null
+++ b/www/pgdriver/pkg-descr
@@ -0,0 +1,3 @@
+A driver for AOLserver to PostgreSQL connectivity.
+
+This is the supported driver for the OpenACS project.
diff --git a/www/pgdriver/pkg-plist b/www/pgdriver/pkg-plist
new file mode 100644
index 000000000000..91d5ed0ce004
--- /dev/null
+++ b/www/pgdriver/pkg-plist
@@ -0,0 +1 @@
+aolserver/bin/postgres.so