aboutsummaryrefslogtreecommitdiff
path: root/databases/pgpool-II-37
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-23 14:23:23 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-03-23 14:25:48 +0000
commit9beeaa327d9180ebf9028c486371f07698664a17 (patch)
tree5a5b36bf7bef05fafe04bbd548aaf908293417d0 /databases/pgpool-II-37
parent04990a8bdb3ae9f3b11318d34b01227abba186ff (diff)
downloadports-9beeaa327d9180ebf9028c486371f07698664a17.tar.gz
ports-9beeaa327d9180ebf9028c486371f07698664a17.zip
Diffstat (limited to 'databases/pgpool-II-37')
-rw-r--r--databases/pgpool-II-37/Makefile12
-rw-r--r--databases/pgpool-II-37/distinfo6
-rw-r--r--databases/pgpool-II-37/files/pgpool.in15
3 files changed, 20 insertions, 13 deletions
diff --git a/databases/pgpool-II-37/Makefile b/databases/pgpool-II-37/Makefile
index 73f067304d35..2ba082eb0213 100644
--- a/databases/pgpool-II-37/Makefile
+++ b/databases/pgpool-II-37/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pgpool-II
-PORTVERSION= 3.7.22
+PORTVERSION= 3.7.23
CATEGORIES= databases
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
PKGNAMESUFFIX= 37
@@ -10,22 +10,26 @@ COMMENT= Connection pool server for PostgreSQL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
+DEPRECATED= Upstream EOL reaches on 2022-11 use pgpool-II-43
+EXPIRATION_DATE= 2022-12-30
+
USES= gmake libtool pgsql:9.6+
USE_LDCONFIG= yes
USE_RC_SUBR= pgpool
GNU_CONFIGURE= yes
-PORTSCOUT= limit:^3.7.[0-9]*
CONFLICTS= pgpool-II
+PORTSCOUT= limit:^3.7.[0-9]*
+
PORTDOCS= *
-OPTIONS_DEFINE= DOCS SSL
+OPTIONS_DEFINE= DOCS SSL
OPTIONS_DEFAULT= SSL
-SSL_CONFIGURE_WITH= openssl
SSL_USES= ssl
+SSL_CONFIGURE_WITH= openssl
post-install:
@${MKDIR} ${STAGEDIR}/var/run/pgpool
diff --git a/databases/pgpool-II-37/distinfo b/databases/pgpool-II-37/distinfo
index a4e5585d78f8..f04983f18279 100644
--- a/databases/pgpool-II-37/distinfo
+++ b/databases/pgpool-II-37/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640293928
-SHA256 (pgpool-II-3.7.22.tar.gz) = 8a72085a9b61bc68b13b70f7e85eab189c196b87f3f1f20099da2c85a297dffd
-SIZE (pgpool-II-3.7.22.tar.gz) = 3472889
+TIMESTAMP = 1648031684
+SHA256 (pgpool-II-3.7.23.tar.gz) = 3d0e87a8445ca85b5a52d3d3aeba645d1b4926500217d04177f5e5ebf71ca51b
+SIZE (pgpool-II-3.7.23.tar.gz) = 3485872
diff --git a/databases/pgpool-II-37/files/pgpool.in b/databases/pgpool-II-37/files/pgpool.in
index ca1b4d136fe0..ba398ac82068 100644
--- a/databases/pgpool-II-37/files/pgpool.in
+++ b/databases/pgpool-II-37/files/pgpool.in
@@ -7,14 +7,16 @@
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
-# pgpool_enable (bool): Set to NO by default.
+# pgpool_enable (bool): Set to NO by default.
# Set it to YES to enable pgpool.
-# pgpool_conf (file): Set location of your config.
+# pgpool_conf (file): Set location of your config.
# Default is "%%PREFIX%%/etc/pgpool.conf"
-# pgpool_user (uid): User ID to run as (default nobody)
+# pgpool_user (uid): User ID to run as (default nobody)
+# pgpool_flags (string): Flags pass to the program
+# Default is ""
# pgpool_stop_mode (string): Shutdown mode
-# Default is "smart"
-# Possibilities are "smart", "fast", or "immediate"
+# Default is "smart"
+# Possibilities are "smart", "fast", or "immediate"
#
. /etc/rc.subr
@@ -27,10 +29,11 @@ load_rc_config $name
: ${pgpool_enable="NO"}
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
: ${pgpool_user="nobody"}
+: ${pgpool_flags=""}
: ${pgpool_stop_mode="smart"}
command="%%PREFIX%%/bin/pgpool"
-command_args="-f ${pgpool_conf}"
+command_args="-f ${pgpool_conf} ${pgpool_flags}"
stop_cmd="${command} -m ${pgpool_stop_mode} ${command_args} stop"
required_files="${pgpool_conf}"