summaryrefslogtreecommitdiff
path: root/homebrew/exim
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/exim')
-rw-r--r--homebrew/exim/.beer43
-rw-r--r--homebrew/exim/.make.sh-auto16
-rw-r--r--homebrew/exim/_metadata/description1
-rw-r--r--homebrew/exim/_metadata/homepage1
-rw-r--r--homebrew/exim/_metadata/name1
-rw-r--r--homebrew/exim/_metadata/version1
-rwxr-xr-xhomebrew/exim/download.sh1
7 files changed, 64 insertions, 0 deletions
diff --git a/homebrew/exim/.beer b/homebrew/exim/.beer
new file mode 100644
index 000000000..107f6adc6
--- /dev/null
+++ b/homebrew/exim/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Exim",
+ "description": "Complete replacement for sendmail",
+ "url": "https://ftp.exim.org/pub/exim/exim4/exim-4.92.tar.xz",
+ "mirror": null,
+ "homepage": "https://exim.org",
+ "depends": [
+ {
+ "depend": "berkeley-db@4",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "pcre",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "cp \"src/EDITME\", \"Local/Makefile\"",
+ "inreplace \"Local/Makefile\" do |s|",
+ "s.remove_make_var! \"EXIM_MONITOR\"",
+ "s.change_make_var! \"EXIM_USER\", ENV[\"USER\"]",
+ "s.change_make_var! \"SYSTEM_ALIASES_FILE\", etc/\"aliases\"",
+ "s.gsub! \"/usr/exim/configure\", etc/\"exim.conf\"",
+ "s.gsub! \"/usr/exim\", prefix",
+ "s.gsub! \"/var/spool/exim\", var/\"spool/exim\"",
+ "s.gsub! 'TMPDIR=\"/tmp\"', \"TMPDIR=/tmp\"",
+ "s << \"AUTH_PLAINTEXT=yes\\n\"",
+ "s << \"SUPPORT_TLS=yes\\n\"",
+ "s << \"TLS_LIBS=-lssl -lcrypto\\n\"",
+ "s << \"TRANSPORT_LMTP=yes\\n\"",
+ "s << \"LOOKUP_INCLUDE=-I#{HOMEBREW_PREFIX}/include\\n\"",
+ "s << \"LOOKUP_LIBS=-L#{HOMEBREW_PREFIX}/lib\\n\""
+ ],
+ "version": "4.92",
+ "file": "exim.rb"
+} \ No newline at end of file
diff --git a/homebrew/exim/.make.sh-auto b/homebrew/exim/.make.sh-auto
new file mode 100644
index 000000000..f52843e20
--- /dev/null
+++ b/homebrew/exim/.make.sh-auto
@@ -0,0 +1,16 @@
+pkg:setup
+cp "src/EDITME", "Local/Makefile"
+inreplace "Local/Makefile" do |s|
+s.remove_make_var! "EXIM_MONITOR"
+s.change_make_var! "EXIM_USER", ENV["USER"]
+s.change_make_var! "SYSTEM_ALIASES_FILE", etc/"aliases"
+s.gsub! "/usr/exim/configure", etc/"exim.conf"
+s.gsub! "/usr/exim", prefix
+s.gsub! "/var/spool/exim", var/"spool/exim"
+s.gsub! 'TMPDIR="/tmp"', "TMPDIR=/tmp"
+s << "AUTH_PLAINTEXT=yes\n"
+s << "SUPPORT_TLS=yes\n"
+s << "TLS_LIBS=-lssl -lcrypto\n"
+s << "TRANSPORT_LMTP=yes\n"
+s << "LOOKUP_INCLUDE=-I#{HOMEBREW_PREFIX}/include\n"
+s << "LOOKUP_LIBS=-L#{HOMEBREW_PREFIX}/lib\n"
diff --git a/homebrew/exim/_metadata/description b/homebrew/exim/_metadata/description
new file mode 100644
index 000000000..b918e1f07
--- /dev/null
+++ b/homebrew/exim/_metadata/description
@@ -0,0 +1 @@
+Complete replacement for sendmail
diff --git a/homebrew/exim/_metadata/homepage b/homebrew/exim/_metadata/homepage
new file mode 100644
index 000000000..66707e2ac
--- /dev/null
+++ b/homebrew/exim/_metadata/homepage
@@ -0,0 +1 @@
+https://exim.org
diff --git a/homebrew/exim/_metadata/name b/homebrew/exim/_metadata/name
new file mode 100644
index 000000000..6f9b5b824
--- /dev/null
+++ b/homebrew/exim/_metadata/name
@@ -0,0 +1 @@
+Exim
diff --git a/homebrew/exim/_metadata/version b/homebrew/exim/_metadata/version
new file mode 100644
index 000000000..3cfbb8920
--- /dev/null
+++ b/homebrew/exim/_metadata/version
@@ -0,0 +1 @@
+4.92
diff --git a/homebrew/exim/download.sh b/homebrew/exim/download.sh
new file mode 100755
index 000000000..85b34e326
--- /dev/null
+++ b/homebrew/exim/download.sh
@@ -0,0 +1 @@
+wget https://ftp.exim.org/pub/exim/exim4/exim-4.92.tar.xz \ No newline at end of file