summaryrefslogtreecommitdiff
path: root/homebrew/perconaserver
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/perconaserver')
-rw-r--r--homebrew/perconaserver/.beer51
-rw-r--r--homebrew/perconaserver/.make.sh-auto5
-rw-r--r--homebrew/perconaserver/_metadata/description1
-rw-r--r--homebrew/perconaserver/_metadata/homepage1
-rw-r--r--homebrew/perconaserver/_metadata/name1
-rw-r--r--homebrew/perconaserver/_metadata/version1
-rwxr-xr-xhomebrew/perconaserver/download.sh1
7 files changed, 61 insertions, 0 deletions
diff --git a/homebrew/perconaserver/.beer b/homebrew/perconaserver/.beer
new file mode 100644
index 000000000..92b4b7040
--- /dev/null
+++ b/homebrew/perconaserver/.beer
@@ -0,0 +1,51 @@
+{
+ "name": "PerconaServer",
+ "description": "Drop-in MySQL replacement",
+ "url": "https://www.percona.com/downloads/Percona-Server-8.0/Percona-Server-8.0.13-4/source/tarball/percona-server-8.0.13-4.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.percona.com",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "macos",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "boost",
+ "url": "https://downloads.sourceforge.net/project/boost/boost/1.67.0/boost_1_67_0.tar.bz2"
+ }
+ ],
+ "conflicts": [
+ {
+ "conflict": "mariadb",
+ "reason": null
+ },
+ {
+ "conflict": "mysql-connector-c",
+ "reason": null
+ },
+ {
+ "conflict": "mariadb-connector-c",
+ "reason": null
+ }
+ ],
+ "patches": [],
+ "install": [
+ "datadir.mkpath",
+ "unless (datadir/\"mysql/user.frm\").exist?",
+ "ENV[\"TMPDIR\"] = nil",
+ "system bin/\"mysqld\", \"--initialize-insecure\", \"--user=#{ENV[\"USER\"]}\",",
+ "\"--basedir=#{prefix}\", \"--datadir=#{datadir}\", \"--tmpdir=/tmp\""
+ ],
+ "version": "8.0.13",
+ "file": "percona-server.rb"
+} \ No newline at end of file
diff --git a/homebrew/perconaserver/.make.sh-auto b/homebrew/perconaserver/.make.sh-auto
new file mode 100644
index 000000000..eb2f3d514
--- /dev/null
+++ b/homebrew/perconaserver/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+datadir.mkpath
+unless (datadir/"mysql/user.frm").exist?
+ENV["TMPDIR"] = nil
+bin/"mysqld" --initialize-insecure --user=#{ENV[USER"]}" --basedir=${PKG_TAPF} --datadir=#{datadir} --tmpdir=/tmp
diff --git a/homebrew/perconaserver/_metadata/description b/homebrew/perconaserver/_metadata/description
new file mode 100644
index 000000000..3b0ce9ee5
--- /dev/null
+++ b/homebrew/perconaserver/_metadata/description
@@ -0,0 +1 @@
+Drop-in MySQL replacement
diff --git a/homebrew/perconaserver/_metadata/homepage b/homebrew/perconaserver/_metadata/homepage
new file mode 100644
index 000000000..646639d7f
--- /dev/null
+++ b/homebrew/perconaserver/_metadata/homepage
@@ -0,0 +1 @@
+https://www.percona.com
diff --git a/homebrew/perconaserver/_metadata/name b/homebrew/perconaserver/_metadata/name
new file mode 100644
index 000000000..f3b77697e
--- /dev/null
+++ b/homebrew/perconaserver/_metadata/name
@@ -0,0 +1 @@
+PerconaServer
diff --git a/homebrew/perconaserver/_metadata/version b/homebrew/perconaserver/_metadata/version
new file mode 100644
index 000000000..483e72853
--- /dev/null
+++ b/homebrew/perconaserver/_metadata/version
@@ -0,0 +1 @@
+8.0.13
diff --git a/homebrew/perconaserver/download.sh b/homebrew/perconaserver/download.sh
new file mode 100755
index 000000000..9874c564d
--- /dev/null
+++ b/homebrew/perconaserver/download.sh
@@ -0,0 +1 @@
+wget https://www.percona.com/downloads/Percona-Server-8.0/Percona-Server-8.0.13-4/source/tarball/percona-server-8.0.13-4.tar.gz \ No newline at end of file