summaryrefslogtreecommitdiff
path: root/homebrew/dovecot
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dovecot')
-rw-r--r--homebrew/dovecot/.beer48
-rw-r--r--homebrew/dovecot/.make.sh-auto9
-rw-r--r--homebrew/dovecot/_metadata/description1
-rw-r--r--homebrew/dovecot/_metadata/homepage1
-rw-r--r--homebrew/dovecot/_metadata/name1
-rw-r--r--homebrew/dovecot/_metadata/version1
-rwxr-xr-xhomebrew/dovecot/download.sh1
7 files changed, 62 insertions, 0 deletions
diff --git a/homebrew/dovecot/.beer b/homebrew/dovecot/.beer
new file mode 100644
index 000000000..242e59f28
--- /dev/null
+++ b/homebrew/dovecot/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Dovecot",
+ "description": "IMAP/POP3 server",
+ "url": "https://www.dovecot.org/releases/2.3/dovecot-2.3.5.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://dovecot.org/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "pigeonhole",
+ "url": "https://pigeonhole.dovecot.org/releases/2.3/dovecot-2.3-pigeonhole-0.5.5.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--disable-dependency-tracking",
+ "--libexecdir=#{libexec}",
+ "--sysconfdir=#{etc}",
+ "--localstatedir=#{var}",
+ "--with-bzlib",
+ "--with-pam",
+ "--with-sqlite",
+ "--with-ssl=openssl",
+ "--with-zlib",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\"",
+ "resource(\"pigeonhole\").stage do",
+ "args = %W[",
+ "--disable-dependency-tracking",
+ "--with-dovecot=#{lib}/dovecot",
+ "--prefix=#{prefix}",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.3.5.1",
+ "file": "dovecot.rb"
+} \ No newline at end of file
diff --git a/homebrew/dovecot/.make.sh-auto b/homebrew/dovecot/.make.sh-auto
new file mode 100644
index 000000000..3fc6640b0
--- /dev/null
+++ b/homebrew/dovecot/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --disable-dependency-tracking --libexecdir=#{libexec} --sysconfdir=#{etc} --localstatedir=#{var} --with-bzlib --with-pam --with-sqlite --with-ssl=openssl --with-zlib ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
+resource("pigeonhole").stage do
+args = %W[--disable-dependency-tracking --with-dovecot=#{lib}/dovecot --prefix=#{prefix} ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/dovecot/_metadata/description b/homebrew/dovecot/_metadata/description
new file mode 100644
index 000000000..678721450
--- /dev/null
+++ b/homebrew/dovecot/_metadata/description
@@ -0,0 +1 @@
+IMAP/POP3 server
diff --git a/homebrew/dovecot/_metadata/homepage b/homebrew/dovecot/_metadata/homepage
new file mode 100644
index 000000000..a3550f2f5
--- /dev/null
+++ b/homebrew/dovecot/_metadata/homepage
@@ -0,0 +1 @@
+https://dovecot.org/
diff --git a/homebrew/dovecot/_metadata/name b/homebrew/dovecot/_metadata/name
new file mode 100644
index 000000000..8684e7c79
--- /dev/null
+++ b/homebrew/dovecot/_metadata/name
@@ -0,0 +1 @@
+Dovecot
diff --git a/homebrew/dovecot/_metadata/version b/homebrew/dovecot/_metadata/version
new file mode 100644
index 000000000..ba327ee53
--- /dev/null
+++ b/homebrew/dovecot/_metadata/version
@@ -0,0 +1 @@
+2.3.5.1
diff --git a/homebrew/dovecot/download.sh b/homebrew/dovecot/download.sh
new file mode 100755
index 000000000..306f5325b
--- /dev/null
+++ b/homebrew/dovecot/download.sh
@@ -0,0 +1 @@
+wget https://www.dovecot.org/releases/2.3/dovecot-2.3.5.1.tar.gz \ No newline at end of file