diff options
author | xtraeme <xtraeme> | 2005-10-03 14:24:29 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2005-10-03 14:24:29 +0000 |
commit | 17c6896436ffe839e8991b617a3198a9cb70be87 (patch) | |
tree | 6a10351719d1a46c8e7564449b7a478235d12526 /databases/mysql4-server | |
parent | 310c9e4c25587503d801831822fed83722a2f8b1 (diff) | |
download | pkgsrc-17c6896436ffe839e8991b617a3198a9cb70be87.tar.gz |
Apply patch from David A. Holland in PR pkg/31435 to honor rc.conf
values for mysql_user, mysql_group and mysql_datadir options.
Bump PKGREVISION.
Diffstat (limited to 'databases/mysql4-server')
-rw-r--r-- | databases/mysql4-server/Makefile | 4 | ||||
-rw-r--r-- | databases/mysql4-server/files/mysqld.sh | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql4-server/Makefile b/databases/mysql4-server/Makefile index 63ba96c1605..f7c66217a6f 100644 --- a/databases/mysql4-server/Makefile +++ b/databases/mysql4-server/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2005/08/23 11:48:47 rillig Exp $ +# $NetBSD: Makefile,v 1.22 2005/10/03 14:24:30 xtraeme Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} -#PKGREVISION= 1 +PKGREVISION= 1 SVR4_PKGNAME= mysqs COMMENT= MySQL 4, a free SQL database (server) diff --git a/databases/mysql4-server/files/mysqld.sh b/databases/mysql4-server/files/mysqld.sh index 17b5d9e857a..ee3222567dd 100644 --- a/databases/mysql4-server/files/mysqld.sh +++ b/databases/mysql4-server/files/mysqld.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: mysqld.sh,v 1.2 2004/07/21 17:45:13 jlam Exp $ +# $NetBSD: mysqld.sh,v 1.3 2005/10/03 14:24:30 xtraeme Exp $ # # PROVIDE: mysqld # REQUIRE: DAEMON LOGIN mountall @@ -24,9 +24,9 @@ name="mysqld" rcvar=${name} command="@PREFIX@/bin/mysqld_safe" procname="@PREFIX@/libexec/${name}" -mysqld_user="@MYSQL_USER@" -mysqld_group="@MYSQL_GROUP@" -mysqld_datadir="@MYSQL_DATADIR@" +: ${mysqld_user:=@MYSQL_USER@} +: ${mysqld_group:=@MYSQL_GROUP@} +: ${mysqld_datadir=@MYSQL_DATADIR@} pidfile="${mysqld_datadir}/`@HOSTNAME_CMD@`.pid" extra_commands="initdb" |