aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJared Townsley2010-03-15 21:25:50 -0700
committerDavid Höppner2010-03-20 12:37:01 +0100
commitd24da141673a083e69a6b3461b728226b7a2980e (patch)
treee8b9842b27af3f1db516d64812bcf66ebf0c5041 /Library/Formula
parent2eb7ce2e96ad859a17b385a141e3b45538a44963 (diff)
downloadhomebrew-d24da141673a083e69a6b3461b728226b7a2980e.tar.bz2
New formula alpine (pine successor)
Alpine is a fast, easy to use email client that is suitable for both the inexperienced email user as well as for the most demanding of power users. Alpine is based on the Pine® Message System, which was also developed at the University of Washington. Signed-off-by: David Höppner <0xffea@gmail.com> * macports patch * ENV.j1
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/alpine.rb51
1 files changed, 51 insertions, 0 deletions
diff --git a/Library/Formula/alpine.rb b/Library/Formula/alpine.rb
new file mode 100644
index 000000000..690e638a8
--- /dev/null
+++ b/Library/Formula/alpine.rb
@@ -0,0 +1,51 @@
+require 'formula'
+
+class Alpine <Formula
+ url 'ftp://ftp.cac.washington.edu/alpine/alpine-2.00.tar.gz'
+ homepage 'http://www.washington.edu/alpine/'
+ md5 '0f4757167baf5c73aa44f2ffa4860093'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--with-ssl-include-dir=/usr/include/openssl"
+
+ ENV.j1
+ system "make install"
+ end
+
+ def patches
+ DATA if MACOS_VERSION >= 10.6
+ end
+end
+
+__END__
+diff -rc alpine-2.00/imap/Makefile alpine-2.00-10.6/imap/Makefile
+*** alpine-2.00/imap/Makefile 2008-06-04 19:43:35.000000000 +0100
+--- alpine-2.00-10.6/imap/Makefile 2009-09-02 10:55:38.000000000 +0100
+***************
+*** 418,424 ****
+ $(TOUCH) ip6
+ $(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
+ PASSWDTYPE=pam \
+- EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
+ SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
+
+ osx: osxok an
+--- 418,423 ----
+diff -rc alpine-2.00/imap/src/osdep/unix/ckp_pam.c alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c
+*** alpine-2.00/imap/src/osdep/unix/ckp_pam.c 2008-06-04 19:18:34.000000000 +0100
+--- alpine-2.00-10.6/imap/src/osdep/unix/ckp_pam.c 2009-09-02 10:56:36.000000000 +0100
+***************
+*** 27,37 ****
+ */
+
+
+- #ifdef MAC_OSX_KLUDGE /* why can't Apple be compatible? */
+- #include <pam/pam_appl.h>
+- #else
+ #include <security/pam_appl.h>
+- #endif
+
+ struct checkpw_cred {
+ char *uname; /* user name */
+--- 27,33 ----
+