summaryrefslogtreecommitdiff
path: root/homebrew/pgtune
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pgtune')
-rw-r--r--homebrew/pgtune/.beer17
-rw-r--r--homebrew/pgtune/.make.sh-auto3
-rw-r--r--homebrew/pgtune/_metadata/description1
-rw-r--r--homebrew/pgtune/_metadata/homepage1
-rw-r--r--homebrew/pgtune/_metadata/name1
-rw-r--r--homebrew/pgtune/_metadata/version1
-rwxr-xr-xhomebrew/pgtune/download.sh1
7 files changed, 25 insertions, 0 deletions
diff --git a/homebrew/pgtune/.beer b/homebrew/pgtune/.beer
new file mode 100644
index 000000000..755ee0808
--- /dev/null
+++ b/homebrew/pgtune/.beer
@@ -0,0 +1,17 @@
+{
+ "name": "Pgtune",
+ "description": "Tuning wizard for postgresql.conf",
+ "url": "https://ftp.postgresql.org/pub/projects/pgFoundry/pgtune/pgtune/0.9.3/pgtune-0.9.3.tar.gz",
+ "mirror": "https://mirrorservice.org/sites/ftp.postgresql.org/projects/pgFoundry/pgtune/pgtune/0.9.3/pgtune-0.9.3.tar.gz",
+ "homepage": "http://pgfoundry.org/projects/pgtune",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"pgtune\" do |s|",
+ "s.sub! /(parser\\.add_option\\('-S'.*default=).*,/, \"\\\\1\\\"#{pkgshare}\\\",\""
+ ],
+ "version": "0.9.3",
+ "file": "pgtune.rb"
+} \ No newline at end of file
diff --git a/homebrew/pgtune/.make.sh-auto b/homebrew/pgtune/.make.sh-auto
new file mode 100644
index 000000000..100ddc114
--- /dev/null
+++ b/homebrew/pgtune/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+inreplace "pgtune" do |s|
+s.sub! /(parser\.add_option\('-S'.*default=).*,/, "\\1\"#{pkgshare}\","
diff --git a/homebrew/pgtune/_metadata/description b/homebrew/pgtune/_metadata/description
new file mode 100644
index 000000000..38c4e2554
--- /dev/null
+++ b/homebrew/pgtune/_metadata/description
@@ -0,0 +1 @@
+Tuning wizard for postgresql.conf
diff --git a/homebrew/pgtune/_metadata/homepage b/homebrew/pgtune/_metadata/homepage
new file mode 100644
index 000000000..5d401adeb
--- /dev/null
+++ b/homebrew/pgtune/_metadata/homepage
@@ -0,0 +1 @@
+http://pgfoundry.org/projects/pgtune
diff --git a/homebrew/pgtune/_metadata/name b/homebrew/pgtune/_metadata/name
new file mode 100644
index 000000000..de5cdc8a4
--- /dev/null
+++ b/homebrew/pgtune/_metadata/name
@@ -0,0 +1 @@
+Pgtune
diff --git a/homebrew/pgtune/_metadata/version b/homebrew/pgtune/_metadata/version
new file mode 100644
index 000000000..965065db5
--- /dev/null
+++ b/homebrew/pgtune/_metadata/version
@@ -0,0 +1 @@
+0.9.3
diff --git a/homebrew/pgtune/download.sh b/homebrew/pgtune/download.sh
new file mode 100755
index 000000000..3b448cd1d
--- /dev/null
+++ b/homebrew/pgtune/download.sh
@@ -0,0 +1 @@
+wget https://ftp.postgresql.org/pub/projects/pgFoundry/pgtune/pgtune/0.9.3/pgtune-0.9.3.tar.gz || wget https://mirrorservice.org/sites/ftp.postgresql.org/projects/pgFoundry/pgtune/pgtune/0.9.3/pgtune-0.9.3.tar.gz \ No newline at end of file