diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-05-09 12:35:11 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-05-09 12:35:11 +0200 |
commit | d3e2e1243bb0dae95ce35b0380dd4f8f476b254d (patch) | |
tree | 8779ad6b2059f181770cc07e2437925d7d5d5d04 /support-files | |
parent | 229dad1f9b12f8e9f64b6a605bdf8e31c339d018 (diff) | |
parent | 124428a9e28e59f98b25d8ee07b57d264f63cbe4 (diff) | |
download | mariadb-git-d3e2e1243bb0dae95ce35b0380dd4f8f476b254d.tar.gz |
5.5 merge
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/MacOSX/Description.plist.sh | 1 | ||||
-rw-r--r-- | support-files/MacOSX/Info.plist.sh | 1 | ||||
-rwxr-xr-x | support-files/MacOSX/MySQLCOM | 1 | ||||
-rw-r--r-- | support-files/MacOSX/StartupItem.Description.plist | 1 | ||||
-rw-r--r-- | support-files/MacOSX/StartupItem.Info.plist | 1 | ||||
-rwxr-xr-x | support-files/MacOSX/StartupItem.postinstall | 1 | ||||
-rw-r--r-- | support-files/MacOSX/StartupParameters.plist.sh | 1 | ||||
-rwxr-xr-x | support-files/MacOSX/mwar-wrapper | 1 | ||||
-rwxr-xr-x | support-files/MacOSX/mwcc-wrapper | 1 | ||||
-rw-r--r-- | support-files/MacOSX/postflight.sh | 1 | ||||
-rw-r--r-- | support-files/MacOSX/preflight.sh | 1 | ||||
-rw-r--r-- | support-files/RHEL4-SElinux/mysql.fc | 1 | ||||
-rw-r--r-- | support-files/RHEL4-SElinux/mysql.te | 1 | ||||
-rw-r--r-- | support-files/db.opt | 2 | ||||
-rw-r--r-- | support-files/mysql.m4 | 1 | ||||
-rw-r--r-- | support-files/mysql.server.sh | 5 | ||||
-rw-r--r-- | support-files/rpm/server-prein.sh | 2 |
17 files changed, 22 insertions, 1 deletions
diff --git a/support-files/MacOSX/Description.plist.sh b/support-files/MacOSX/Description.plist.sh index 3d8a523f7c1..1acae093db2 100644 --- a/support-files/MacOSX/Description.plist.sh +++ b/support-files/MacOSX/Description.plist.sh @@ -2,6 +2,7 @@ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003 MySQL AB + Use is subject to license terms This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/Info.plist.sh b/support-files/MacOSX/Info.plist.sh index e7a8e462e33..4cc1957a3ea 100644 --- a/support-files/MacOSX/Info.plist.sh +++ b/support-files/MacOSX/Info.plist.sh @@ -2,6 +2,7 @@ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003, 2008 MySQL AB + Use is subject to license terms This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/MySQLCOM b/support-files/MacOSX/MySQLCOM index a0d90c9d4c0..4de6485ae7c 100755 --- a/support-files/MacOSX/MySQLCOM +++ b/support-files/MacOSX/MySQLCOM @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2003, 2004 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/StartupItem.Description.plist b/support-files/MacOSX/StartupItem.Description.plist index 6c06be0a9c0..e8d720ae5f1 100644 --- a/support-files/MacOSX/StartupItem.Description.plist +++ b/support-files/MacOSX/StartupItem.Description.plist @@ -2,6 +2,7 @@ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003, 2004 MySQL AB + Use is subject to license terms This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/StartupItem.Info.plist b/support-files/MacOSX/StartupItem.Info.plist index f4dd8c58d0c..9891668e283 100644 --- a/support-files/MacOSX/StartupItem.Info.plist +++ b/support-files/MacOSX/StartupItem.Info.plist @@ -2,6 +2,7 @@ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003 MySQL AB + Use is subject to license terms This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/StartupItem.postinstall b/support-files/MacOSX/StartupItem.postinstall index 355c0749928..b3814db5ddf 100755 --- a/support-files/MacOSX/StartupItem.postinstall +++ b/support-files/MacOSX/StartupItem.postinstall @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2003 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/StartupParameters.plist.sh b/support-files/MacOSX/StartupParameters.plist.sh index 804bccfc9da..66cc93fd842 100644 --- a/support-files/MacOSX/StartupParameters.plist.sh +++ b/support-files/MacOSX/StartupParameters.plist.sh @@ -2,6 +2,7 @@ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!-- Copyright (C) 2003 MySQL AB + Use is subject to license terms This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/mwar-wrapper b/support-files/MacOSX/mwar-wrapper index 9e8d4bb4d74..8d424df11b7 100755 --- a/support-files/MacOSX/mwar-wrapper +++ b/support-files/MacOSX/mwar-wrapper @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2005 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/mwcc-wrapper b/support-files/MacOSX/mwcc-wrapper index 7bcda73f47d..6de7a321833 100755 --- a/support-files/MacOSX/mwcc-wrapper +++ b/support-files/MacOSX/mwcc-wrapper @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2005 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/MacOSX/postflight.sh b/support-files/MacOSX/postflight.sh index d326ab80f88..00ba30dffc4 100644 --- a/support-files/MacOSX/postflight.sh +++ b/support-files/MacOSX/postflight.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2003, 2005 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public diff --git a/support-files/MacOSX/preflight.sh b/support-files/MacOSX/preflight.sh index 05f04baae71..52f18a54967 100644 --- a/support-files/MacOSX/preflight.sh +++ b/support-files/MacOSX/preflight.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright (C) 2003, 2005 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Library General Public diff --git a/support-files/RHEL4-SElinux/mysql.fc b/support-files/RHEL4-SElinux/mysql.fc index 208bf6af2c1..aa0fced4bbc 100644 --- a/support-files/RHEL4-SElinux/mysql.fc +++ b/support-files/RHEL4-SElinux/mysql.fc @@ -1,4 +1,5 @@ # Copyright (C) 2007 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/RHEL4-SElinux/mysql.te b/support-files/RHEL4-SElinux/mysql.te index 62c6a453b85..d2609244640 100644 --- a/support-files/RHEL4-SElinux/mysql.te +++ b/support-files/RHEL4-SElinux/mysql.te @@ -1,4 +1,5 @@ # Copyright (C) 2007 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/support-files/db.opt b/support-files/db.opt new file mode 100644 index 00000000000..d8429c4e0de --- /dev/null +++ b/support-files/db.opt @@ -0,0 +1,2 @@ +default-character-set=latin1 +default-collation=latin1_swedish_ci diff --git a/support-files/mysql.m4 b/support-files/mysql.m4 index eb1be0f5445..371700a9c08 100644 --- a/support-files/mysql.m4 +++ b/support-files/mysql.m4 @@ -1,4 +1,5 @@ # Copyright (C) 2007 MySQL AB +# Use is subject to license terms # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index cb55b21ca7b..a1ee5c4c653 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -283,6 +283,11 @@ else esac fi +# source other config files +[ -f /etc/default/mysql ] && . /etc/default/mysql +[ -f /etc/sysconfig/mysql ] && . /etc/sysconfig/mysql +[ -f /etc/conf.d/mysql ] && . /etc/conf.d/mysql + case "$mode" in 'start') # Start daemon diff --git a/support-files/rpm/server-prein.sh b/support-files/rpm/server-prein.sh index cf72aefb50f..75f7e7d64cf 100644 --- a/support-files/rpm/server-prein.sh +++ b/support-files/rpm/server-prein.sh @@ -3,7 +3,7 @@ installed=`rpm -q --whatprovides mysql-server 2> /dev/null` if [ $? -eq 0 -a -n "$installed" ]; then - installed=`echo "$installed"|sed -n -1p` + installed=`echo "$installed"|sed -n 1p` vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1` version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1` myvendor='%{mysql_vendor}' |