summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorabs <abs>2007-05-03 12:11:37 +0000
committerabs <abs>2007-05-03 12:11:37 +0000
commit47fb79a423dd546bef7715a228bbb525fd141d2e (patch)
tree63a8c70f43678d3bc24d80bd149eb70766b6b8f3 /mail
parente5feb84b75f37940cd6653de6211397bf7039102 (diff)
downloadpkgsrc-47fb79a423dd546bef7715a228bbb525fd141d2e.tar.gz
Import alpine-0.99 into pkgsrc:
Alpine is the replacement for the Pine email and news client. Alpine is a screen-oriented message-handling tool. In its default configuration, Alpine offers an intentionally limited set of functions geared toward the novice user, but it also has a large list of optional "power-user" and personal-preference features. This package currently only installs the alpine binary, excluding the pilot and pico binaries which would cause it to conflict with the pine package.
Diffstat (limited to 'mail')
-rw-r--r--mail/alpine/DESCR10
-rw-r--r--mail/alpine/Makefile22
-rw-r--r--mail/alpine/PLIST3
-rw-r--r--mail/alpine/distinfo6
-rw-r--r--mail/alpine/patches/patch-aa15
5 files changed, 56 insertions, 0 deletions
diff --git a/mail/alpine/DESCR b/mail/alpine/DESCR
new file mode 100644
index 00000000000..f25e3d080bf
--- /dev/null
+++ b/mail/alpine/DESCR
@@ -0,0 +1,10 @@
+Alpine is the replacement for the Pine email and news client.
+
+Alpine is a screen-oriented message-handling tool. In its default
+configuration, Alpine offers an intentionally limited set of
+functions geared toward the novice user, but it also has a large
+list of optional "power-user" and personal-preference features.
+
+This package currently only installs the alpine binary, excluding
+the pilot and pico binaries which would cause it to conflict with
+the pine package.
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
new file mode 100644
index 00000000000..3b80ce81e75
--- /dev/null
+++ b/mail/alpine/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+#
+
+DISTNAME= alpine-0.99
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= abs@NetBSD.org
+HOMEPAGE= http://www.washington.edu/alpine/
+COMMENT= Program for Internet News and E-mail
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-ssl-dir=${SSLBASE:Q}
+USE_LIBTOOL= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/alpine/alpine ${PREFIX}/bin/alpine
+ ${INSTALL_DATA} ${WRKSRC}/doc/alpine.1 ${PREFIX}/${PKGMANDIR}/man1/alpine.1
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/alpine/PLIST b/mail/alpine/PLIST
new file mode 100644
index 00000000000..b45ae5ff890
--- /dev/null
+++ b/mail/alpine/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+bin/alpine
+man/man1/alpine.1
diff --git a/mail/alpine/distinfo b/mail/alpine/distinfo
new file mode 100644
index 00000000000..a21dc1e372a
--- /dev/null
+++ b/mail/alpine/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+
+SHA1 (alpine-0.99.tar.bz2) = 240f2b3d5229714ab1e7cc1ef3a4339dfaccf2e7
+RMD160 (alpine-0.99.tar.bz2) = a896213860badede88500e746f9186310b4d1364
+Size (alpine-0.99.tar.bz2) = 4920156 bytes
+SHA1 (patch-aa) = 1269dcd9b9a86980ac02facc65ec5beb6dd45221
diff --git a/mail/alpine/patches/patch-aa b/mail/alpine/patches/patch-aa
new file mode 100644
index 00000000000..d81421e2ed3
--- /dev/null
+++ b/mail/alpine/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/05/03 12:11:37 abs Exp $
+
+--- alpine/after.c.orig 2007-04-01 00:06:28.000000000 +0100
++++ alpine/after.c
+@@ -60,8 +60,10 @@ start_after(AFTER_S *a)
+ /* Initialize and set thread detached attribute */
+ pthread_attr_init(&attr);
+ pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE);
++#if defined(PTHREAD_STACK_MIN)
+ stack = PTHREAD_STACK_MIN + 0x10000;
+ pthread_attr_setstacksize(&attr, stack);
++#endif /*defined(PTHREAD_STACK_MIN)
+
+ if(rc = pthread_create(&after_thread, &attr, do_after, (void *) a)){
+ after_active = 0;