New port: databases/pgpool-II-36
This is an repo-copy of databases/pgpool-II-35 updated to 3.6.4 PR: 206839
This commit is contained in:
@@ -580,6 +580,7 @@
|
||||
SUBDIR += pgpool-II-30
|
||||
SUBDIR += pgpool-II-33
|
||||
SUBDIR += pgpool-II-35
|
||||
SUBDIR += pgpool-II-36
|
||||
SUBDIR += pgpoolAdmin
|
||||
SUBDIR += pgreplay
|
||||
SUBDIR += pgrouting
|
||||
|
||||
45
databases/pgpool-II-36/Makefile
Normal file
45
databases/pgpool-II-36/Makefile
Normal file
@@ -0,0 +1,45 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 3.6.4
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
|
||||
DISTNAME= ${PORTNAME}-II-${PORTVERSION}
|
||||
|
||||
MAINTAINER= tz@FreeBSD.org
|
||||
COMMENT= Connection pool server for PostgreSQL
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
PORTSCOUT= limit:^3.6.[0-9]*
|
||||
|
||||
USES= gmake libtool pgsql:9.3+
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
DATADIR= ${PREFIX}/share/${PORTNAME}-II
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
CONFLICTS= pgpool-II-[0-9]*
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
OPTIONS_DEFINE= DOCS SSL
|
||||
OPTIONS_DEFAULT= SSL
|
||||
|
||||
SSL_CONFIGURE_WITH= openssl
|
||||
SSL_USES= ssl
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}/var/run/pgpool
|
||||
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.0.0 ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*"
|
||||
.for f in AUTHORS ChangeLog NEWS TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
databases/pgpool-II-36/distinfo
Normal file
3
databases/pgpool-II-36/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1494930033
|
||||
SHA256 (pgpool-II-3.6.4.tar.gz) = 6ad78b9878d126e8da1e03e8edf3c8d56bb0754fe6432f633e81f6faaf8e6dbf
|
||||
SIZE (pgpool-II-3.6.4.tar.gz) = 2623625
|
||||
36
databases/pgpool-II-36/files/pgpool.in
Normal file
36
databases/pgpool-II-36/files/pgpool.in
Normal file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: pgpool
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# 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.
|
||||
# Set it to YES to enable pgpool.
|
||||
# pgpool_conf (file): Set location of your config.
|
||||
# Default is "%%PREFIX%%/etc/pgpool.conf"
|
||||
# pgpool_user (uid): User ID to run as (default nobody)
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=pgpool
|
||||
rcvar=pgpool_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
: ${pgpool_user="nobody"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
||||
8
databases/pgpool-II-36/pkg-descr
Normal file
8
databases/pgpool-II-36/pkg-descr
Normal file
@@ -0,0 +1,8 @@
|
||||
pgpool is a connection pool server for PostgreSQL. pgpool runs between
|
||||
PostgreSQL's clients(front ends) and servers(back ends). A PostgreSQL client can
|
||||
connect to pgpool as if it were a standard PostgreSQL server.
|
||||
|
||||
pgpool caches the connection to PostgreSQL server to reduce the overhead to
|
||||
establish the connection to it.
|
||||
|
||||
WWW: http://pgpool.net/
|
||||
9
databases/pgpool-II-36/pkg-message
Normal file
9
databases/pgpool-II-36/pkg-message
Normal file
@@ -0,0 +1,9 @@
|
||||
In order to start pgpool you need some more configuration:
|
||||
|
||||
# sysrc -f /etc/rc.conf pgpool_enable="YES"
|
||||
# sysrc -f /etc/rc.conf pgpool_user="root"
|
||||
|
||||
Please consider the usage of another user. The user is
|
||||
required to have read/write access to /var/run/pgpool.
|
||||
|
||||
Using the root user is - as always - an security issue.
|
||||
32
databases/pgpool-II-36/pkg-plist
Normal file
32
databases/pgpool-II-36/pkg-plist
Normal file
@@ -0,0 +1,32 @@
|
||||
bin/pcp_attach_node
|
||||
bin/pcp_detach_node
|
||||
bin/pcp_node_count
|
||||
bin/pcp_node_info
|
||||
bin/pcp_pool_status
|
||||
bin/pcp_proc_count
|
||||
bin/pcp_proc_info
|
||||
bin/pcp_promote_node
|
||||
bin/pcp_recovery_node
|
||||
bin/pcp_stop_pgpool
|
||||
bin/pcp_watchdog_info
|
||||
bin/pg_md5
|
||||
bin/pgpool
|
||||
bin/pgpool_setup
|
||||
bin/watchdog_setup
|
||||
@sample etc/pcp.conf.sample
|
||||
@sample etc/pgpool.conf.sample
|
||||
etc/pgpool.conf.sample-master-slave
|
||||
etc/pgpool.conf.sample-replication
|
||||
etc/pgpool.conf.sample-stream
|
||||
@sample etc/pool_hba.conf.sample
|
||||
include/libpcp_ext.h
|
||||
include/pcp.h
|
||||
include/pool_process_reporting.h
|
||||
include/pool_type.h
|
||||
lib/libpcp.a
|
||||
lib/libpcp.so
|
||||
lib/libpcp.so.1
|
||||
lib/libpcp.so.1.0.0
|
||||
%%DATADIR%%/insert_lock.sql
|
||||
%%DATADIR%%/pgpool.pam
|
||||
@dir /var/run/pgpool
|
||||
Reference in New Issue
Block a user