summaryrefslogtreecommitdiff
path: root/databases/pgbouncer
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2007-12-12 23:17:51 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2007-12-12 23:17:51 +0000
commitd899e9b1aea45fa32379e8ebbd63a007ddfd665f (patch)
treec9d7408e930256c700a30eef5ef5de982733fea9 /databases/pgbouncer
parentUpdate to 2.2.4 (diff)
Update to 1.1.2
PR: ports/117639 Submitted by: Vivek Khera <vivek xx khera.org>
Notes
Notes: svn path=/head/; revision=203407
Diffstat (limited to 'databases/pgbouncer')
-rw-r--r--databases/pgbouncer/Makefile14
-rw-r--r--databases/pgbouncer/distinfo6
-rw-r--r--databases/pgbouncer/files/pkg-message.in3
3 files changed, 17 insertions, 6 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index c71bdb96f558..7bea6b3ed48f 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= pgbouncer
-PORTVERSION= 1.0.8
-PORTREVISION= 1
+PORTVERSION= 1.1.2
CATEGORIES= databases
-MASTER_SITES= http://pgfoundry.org/frs/download.php/1399/
+MASTER_SITES= http://pgfoundry.org/frs/download.php/1532/
MAINTAINER= skv@FreeBSD.org
COMMENT= Lightweight connection pooler for PostgreSQL
@@ -22,10 +21,19 @@ SUB_FILES= pkg-message
GNU_CONFIGURE= yes
USE_GMAKE= yes
+.if ! defined(NO_INSTALL_MANPAGES)
+MAN1= pgbouncer.1
+MAN5= pgbouncer.5
+.endif
+
CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pgbouncer ${PREFIX}/bin/
+.if ! defined(NO_INSTALL_MANPAGES)
+ ${INSTALL_MAN} ${WRKSRC}/doc/pgbouncer.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKSRC}/doc/pgbouncer.5 ${PREFIX}/man/man5/
+.endif
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/etc/pgbouncer.ini ${EXAMPLESDIR}
@${CAT} ${PKGMESSAGE}
diff --git a/databases/pgbouncer/distinfo b/databases/pgbouncer/distinfo
index 33f3817a3826..992a0e26272c 100644
--- a/databases/pgbouncer/distinfo
+++ b/databases/pgbouncer/distinfo
@@ -1,3 +1,3 @@
-MD5 (pgbouncer-1.0.8.tar.gz) = 6f4227e4f86f0d4959f9cb122501777b
-SHA256 (pgbouncer-1.0.8.tar.gz) = e3b611baa66af5fd653b9272da9aabbab8c622e2ed5d281e7bd83986dd2ab522
-SIZE (pgbouncer-1.0.8.tar.gz) = 93636
+MD5 (pgbouncer-1.1.2.tar.gz) = 47bde1402f1a99dfc69f2f610fc1a36c
+SHA256 (pgbouncer-1.1.2.tar.gz) = 155790b6edd8185f29b25c980506c612a69cf0b3133d4a033cefdf00990cd4dd
+SIZE (pgbouncer-1.1.2.tar.gz) = 122054
diff --git a/databases/pgbouncer/files/pkg-message.in b/databases/pgbouncer/files/pkg-message.in
index 6f781aab9913..4c892f3d75df 100644
--- a/databases/pgbouncer/files/pkg-message.in
+++ b/databases/pgbouncer/files/pkg-message.in
@@ -5,6 +5,9 @@
%%EXAMPLESDIR%%/pgbouncer.ini
to %%PREFIX%%/etc/pgbouncer.ini and edit appropriately.
+ You will also need to define the list of allowed users as
+ per the pgbouncer(5) man page.
+
To run pgbouncer from startup, add pgbouncer_enable="YES"
in your /etc/rc.conf.