pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Use RCD_SCRIPTS_SHELL on the scripts we inst...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b31ccc2bf26e
branches:  trunk
changeset: 494017:b31ccc2bf26e
user:      sketch <sketch%pkgsrc.org@localhost>
date:      Wed May 18 15:00:35 2005 +0000

description:
Use RCD_SCRIPTS_SHELL on the scripts we install, as they do not use fully
portable shell constructs.

diffstat:

 databases/mysql-client/Makefile.common  |  9 ++++++---
 databases/mysql4-client/Makefile.common |  9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r ce563c308946 -r b31ccc2bf26e databases/mysql-client/Makefile.common
--- a/databases/mysql-client/Makefile.common    Wed May 18 14:58:37 2005 +0000
+++ b/databases/mysql-client/Makefile.common    Wed May 18 15:00:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.41 2005/05/16 03:04:44 jlam Exp $
+# $NetBSD: Makefile.common,v 1.42 2005/05/18 15:00:35 sketch Exp $
 
 DISTNAME=              mysql-4.0.24
 CATEGORIES=            databases
@@ -93,8 +93,11 @@
 SUBST_SED.mk=          -e "/^install-exec:/s/install-pkglibLIBRARIES//"
 SUBST_MESSAGE.mk=      "Fixing Makefiles."
 SUBST_STAGE.scripts=   post-extract
-SUBST_FILES.scripts=   scripts/mysql_install_db.sh scripts/mysqld_safe.sh
-SUBST_SED.scripts=     -e "s,chown,${CHOWN},g"
+SUBST_FILES.scripts=   scripts/mysql_install_db.sh scripts/mysqld_safe.sh \
+                       scripts/mysql_secure_installation.sh \
+                       support-files/mysql.server.sh
+SUBST_SED.scripts=     -e "s,chown,${CHOWN},g" \
+                       -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
 SUBST_MESSAGE.scripts= "Fixing scripts."
 
 .include "../../security/openssl/buildlink3.mk"
diff -r ce563c308946 -r b31ccc2bf26e databases/mysql4-client/Makefile.common
--- a/databases/mysql4-client/Makefile.common   Wed May 18 14:58:37 2005 +0000
+++ b/databases/mysql4-client/Makefile.common   Wed May 18 15:00:35 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.37 2005/05/16 03:04:44 jlam Exp $
+# $NetBSD: Makefile.common,v 1.38 2005/05/18 15:08:24 sketch Exp $
 
 DISTNAME=              mysql-4.1.11
 CATEGORIES=            databases
@@ -99,8 +99,11 @@
 SUBST_SED.mk=          -e "/^install-exec:/s/install-pkglibLIBRARIES//"
 SUBST_MESSAGE.mk=      "Fixing Makefiles."
 SUBST_STAGE.scripts=   post-extract
-SUBST_FILES.scripts=   scripts/mysql_install_db.sh scripts/mysqld_safe.sh
-SUBST_SED.scripts=     -e "s,chown,${CHOWN},g"
+SUBST_FILES.scripts=   scripts/mysql_install_db.sh scripts/mysqld_safe.sh \
+                       scripts/mysql_secure_installation.sh \
+                       support-files/mysql.server.sh
+SUBST_SED.scripts=     -e "s,chown,${CHOWN},g" \
+                       -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
 SUBST_MESSAGE.scripts= "Fixing scripts."
 
 .include "../../security/openssl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index