- Add rc.d script.
- Bump PORTREVISION PR: 94137 Submitted by: Chris St Denis <chris___ctgameinfo.com> Approved by: maintainer timeout, 39 days
This commit is contained in:
parent
0025f82662
commit
15b73f9e08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159502
10 changed files with 190 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/426/
|
||||
|
||||
|
@ -16,11 +17,13 @@ COMMENT= A connection pool server for PostgreSQL
|
|||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
|
||||
PORTDOCS= README AUTHORS COPYING ChangeLog INSTALL NEWS TODO README.euc_jp
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
.endfor
|
||||
|
|
34
databases/pgpool-II-22/files/pgpool.in
Normal file
34
databases/pgpool-II-22/files/pgpool.in
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pgpool
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/426/
|
||||
|
||||
|
@ -16,11 +17,13 @@ COMMENT= A connection pool server for PostgreSQL
|
|||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
|
||||
PORTDOCS= README AUTHORS COPYING ChangeLog INSTALL NEWS TODO README.euc_jp
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
.endfor
|
||||
|
|
34
databases/pgpool-II-23/files/pgpool.in
Normal file
34
databases/pgpool-II-23/files/pgpool.in
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pgpool
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/426/
|
||||
|
||||
|
@ -16,11 +17,13 @@ COMMENT= A connection pool server for PostgreSQL
|
|||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
|
||||
PORTDOCS= README AUTHORS COPYING ChangeLog INSTALL NEWS TODO README.euc_jp
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
.endfor
|
||||
|
|
34
databases/pgpool-II-30/files/pgpool.in
Normal file
34
databases/pgpool-II-30/files/pgpool.in
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pgpool
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/426/
|
||||
|
||||
|
@ -16,11 +17,13 @@ COMMENT= A connection pool server for PostgreSQL
|
|||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
|
||||
PORTDOCS= README AUTHORS COPYING ChangeLog INSTALL NEWS TODO README.euc_jp
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
.endfor
|
||||
|
|
34
databases/pgpool-II/files/pgpool.in
Normal file
34
databases/pgpool-II/files/pgpool.in
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pgpool
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= pgpool
|
||||
PORTVERSION= 2.6.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://pgfoundry.org/frs/download.php/426/
|
||||
|
||||
|
@ -16,11 +17,13 @@ COMMENT= A connection pool server for PostgreSQL
|
|||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
USE_RC_SUBR= pgpool
|
||||
|
||||
PORTDOCS= README AUTHORS COPYING ChangeLog INSTALL NEWS TODO README.euc_jp
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_MAN} ${WRKSRC}/$f ${DOCSDIR}
|
||||
.endfor
|
||||
|
|
34
databases/pgpool/files/pgpool.in
Normal file
34
databases/pgpool/files/pgpool.in
Normal file
|
@ -0,0 +1,34 @@
|
|||
#!/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"
|
||||
#
|
||||
|
||||
. %%RC_SUBR%%
|
||||
|
||||
name=pgpool
|
||||
rcvar=${name}_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${pgpool_enable="NO"}
|
||||
: ${pgpool_conf="%%PREFIX%%/etc/pgpool.conf"}
|
||||
|
||||
command="%%PREFIX%%/bin/pgpool"
|
||||
command_args="-f ${pgpool_conf}"
|
||||
stop_cmd="${command} ${command_args} stop"
|
||||
|
||||
required_files="${pgpool_conf}"
|
||||
|
||||
run_rc_command "$1"
|
Loading…
Reference in a new issue