diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /mail-client/alpine |
reinit the tree, so we can have metadata
Diffstat (limited to 'mail-client/alpine')
-rw-r--r-- | mail-client/alpine/Manifest | 11 | ||||
-rw-r--r-- | mail-client/alpine/alpine-2.00-r7.ebuild | 108 | ||||
-rw-r--r-- | mail-client/alpine/files/2.00-c-client.patch | 251 | ||||
-rw-r--r-- | mail-client/alpine/files/2.00-lcrypto.patch | 12 | ||||
-rw-r--r-- | mail-client/alpine/files/2.00-lpam.patch | 13 | ||||
-rw-r--r-- | mail-client/alpine/files/2.00-qa-chappa-115.patch | 40 | ||||
-rw-r--r-- | mail-client/alpine/files/2.00-qa.patch | 19 | ||||
-rw-r--r-- | mail-client/alpine/metadata.xml | 17 |
8 files changed, 471 insertions, 0 deletions
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest new file mode 100644 index 000000000000..04c288d902a0 --- /dev/null +++ b/mail-client/alpine/Manifest @@ -0,0 +1,11 @@ +AUX 2.00-c-client.patch 6320 SHA256 e68df15127a68147304fa097c524b891d78fb02666b76800f82756f0f12ec506 SHA512 123eb7d6310cba4908b90393e56bd9cc398ee40289fd328a3bc6b9ae37059cf73540cd9cdd2b16b0210555a696d501016b8e6b201e2c13738088a1d3728f5fb7 WHIRLPOOL 871633f9103eb6baec260e2af97e8f085cf39f6feb5789439c4a4650640fded533338ae20187ffcecd5542247fb36d02d84481e274c11be58639c2d52bff2ea0 +AUX 2.00-lcrypto.patch 496 SHA256 856c3623f9b6092730a6f550e7a3d4bd68d89b20e3eb6d637d339415a5c7692b SHA512 1d90950a3066f29cedf225283e58ac007deb0db4507000e05fc3ccf5ebbfcef6af076f04d4e0da5ec0f47cea823e651eae3ab1315efec5373245515cf1e640ea WHIRLPOOL 4642efdab4209d13e859573d6f0b6726e1bb8bdb711aab4e8c383b50e633ef56be14c54446f01a06a09abd94ba5b2ecbee13cbe38385d6b0f96505e8cacb18c8 +AUX 2.00-lpam.patch 295 SHA256 22c354937019693cfc03a8864a36c30579fd98475b729e089f83ec125e4225ad SHA512 5705c7736797b38c80a2b1bd96f283b00a06ea7b00868c0470cd4a33408aa00a49c5cbba986bf6f3d4d0d84d220f4ae0191003914b0e0651fead785068140d5a WHIRLPOOL 2d7655b9df96e9fd81d38f487a23c2dc078aa49bce9be5212cb2ce94f66f93e736d35847c3c056ae424c25f019f95ee8b1b972d55cd4018d8bc3adda7aae60cb +AUX 2.00-qa-chappa-115.patch 1312 SHA256 00a899711354f9b854a80c1e650c07bb98faa1a60b6696c221d8c88a75032a90 SHA512 ec6720bffdba5b853f696720ef9a74b13901ec918648c97170dce3ae8be4c2f1dc6de124662b1a9d9e08f7c626688aae81456f5afb6131594a427edc9de7c56b WHIRLPOOL 683266dae55235ea6258f84bc99c1692fc31c38891d3bd0b0e64268228fe4765bddb8f40c9a337653984d45b066e3652934b4e8f9755ff7133bc35e36f64f628 +AUX 2.00-qa.patch 409 SHA256 3c1c89588f85950b5d67f26ce5a5832648f0b923260c4ba168af7d1a818dfdb4 SHA512 4c9107fe2db7688f925054b31748fc10db5c445fda5177babbee2fe543c834658f4b65ea3b4e18259acb809755bf4fa2408f47ee379d6006554ee7556b334a26 WHIRLPOOL f33d9e4e0e703796a3dadb8f5cffabfe646e1cbe8f6f17c45c997476e0e204395728828954d392d18213ad99775c669f2f666d9b12b9bab275005027afca2f56 +DIST alpine-2.00-chappa-115-all.patch.gz 212705 SHA256 1503ae09b6a4a74828e3472c4987b48a310f817e7fd93ca385724660aa234d7f SHA512 5e9fcb6a80dbd18bed26109caa6b7aa5eeb88de420861d9998c32f031e8279d6367c28b6670fb54203d1b14c3dc47cf5ad25b42e4949157de64f3f1fd36d0aa7 WHIRLPOOL d9fef2fb0a07acfb8ba4e5bedbc0140a09020967e52b16853907db47b1a7e35286022c2a03b1670fe377015393d22b27bfa9f12780de05bac1f3458a81f75527 +DIST alpine-2.00.tar.bz2 5222673 SHA256 c85db8405af90375ba2440c85b7952d80996154e9916b83acca558dc82e0a2a6 SHA512 17c6e65fbe767d4f9ffb3d3c2bb3deeab9d3620cd046cbb0009290aa484c9254effa992957631f0603bd82b82aeca2923d391aee6d20a7684d5830fbca8ce4d2 WHIRLPOOL 6c1fed63e826c12c6e39e8f79e2b33f3b85545e54c32fdbe918636086c0aaaa26073883946061a6b52df50af711b7d6bb6647a177f051afccccdbd0cf473bbc3 +EBUILD alpine-2.00-r7.ebuild 2693 SHA256 5061710793354bb08cc8a448269b116f559218ae4a84b5c53e442c95927f4c68 SHA512 5135df89b3afe2df2af18a0f30908150065bc783431444b48ea19e9671ca4c52a409dd6977b47e5e8a6d60bd9a770693c0cc554ba2eccfc8cb1ae72820f2c574 WHIRLPOOL be021b0c86154aea03c356a61fee52b2a08be859bdbacdd3821cff29c58118f77bb87c2d4d024334067e8db97edf61c823d4f8cacecfcec9163710ca132c55d7 +MISC ChangeLog 3547 SHA256 c989af4de071be653ffab8c08b9b0e84b7671789eae599c10efe04a6b661b717 SHA512 765bde124fa470133857d078efe41f66daba6eb1f54f3a9a6a842b97dc0e954c56985ca1b6a573919c5221577fde7723f8c99c680d0fe816de261065f5c49dd1 WHIRLPOOL d0cca4d4d70fe543c74b0dc6c17b2c2f671a572ded543cc03fb18a904b4423f7923cf8371345f93a6f6d6682c7af69efdf3b66c652170807ebc325fe3a3f05ec +MISC ChangeLog-2015 3566 SHA256 6a335bec622e10faedb555c2973e6e06cd336eaf7f2592e87a15b42a933df6c4 SHA512 d25b4c63977c13425fd59a0cbcc10e2d98b378fad814fc97155437cd0a99528c8cdba5737eea4921750a72bb705215db7e5d2d5d5d82aee4fe2a1a6ac51eca59 WHIRLPOOL ed39708174a9d370e12be0d5648b5b00de27e9a49a7afd12f691e75dcc9ffb2ae7fd61f552b609e1549bc75dd0a446e00d882640cffc1c828053aa4195711292 +MISC metadata.xml 609 SHA256 703ceaf4566342c945e1f7abb4a3a39ef81166bfb2b62ccd202b159fa564d472 SHA512 c8ffdb3b2f3382ad862afbfc8e8d73540fa88acf8ab3d6a61e96a0e6165a13d2dca9ba6b891e3873032daa6f98cbd66b0a00860aa5fbea864d7f280901cca020 WHIRLPOOL dd6e9cf3305be35ce1ca19f54d7d2dbc8c8d26325baf285bb0807ab06985d947b88feaf96546d2e09c745ac0732b30c97d24d8e22c1b80e9b4262f255e375e9a diff --git a/mail-client/alpine/alpine-2.00-r7.ebuild b/mail-client/alpine/alpine-2.00-r7.ebuild new file mode 100644 index 000000000000..51635f64db95 --- /dev/null +++ b/mail-client/alpine/alpine-2.00-r7.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic autotools multilib toolchain-funcs + +CHAPPA_PL=115 +DESCRIPTION="alpine is an easy to use text-based based mail and news client" +HOMEPAGE="http://www.washington.edu/alpine/ http://alpine.freeiz.com/alpine/" +SRC_URI="ftp://ftp.cac.washington.edu/alpine/${P}.tar.bz2 + chappa? ( http://alpine.freeiz.com/alpine/patches/${P}/all.patch.gz + -> ${P}-chappa-${CHAPPA_PL}-all.patch.gz )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="alpha amd64 ia64 ppc sparc x86" +IUSE="doc ipv6 kerberos ldap libressl nls onlyalpine passfile smime spell ssl threads +chappa" + +DEPEND="virtual/pam + >=net-libs/c-client-2007f-r4[chappa=] + >=sys-libs/ncurses-5.1:0= + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + ldap? ( net-nds/openldap ) + kerberos? ( app-crypt/mit-krb5 ) + spell? ( app-text/aspell ) +" +RDEPEND="${DEPEND} + app-misc/mime-types + !onlyalpine? ( !mail-client/pine ) + !<=net-mail/uw-imap-2004g +" + +src_prepare() { + default + use chappa && epatch "${DISTDIR}/${P}-chappa-${CHAPPA_PL}-all.patch.gz" + + # do not use the bundled c-client + ebegin "Unbundling the c-client library" + rm -rf "${S}"/imap + local f + while read f ; do + sed -i -e \ + 's~^#include[[:blank:]]".*/c-client/\(.*\)"~#include <imap/\1>~g' "$f" + done < <(find "${S}" -name "*.c" -o -name "*.h") + eend $? + + epatch "${FILESDIR}"/2.00-lpam.patch + epatch "${FILESDIR}"/2.00-lcrypto.patch + epatch "${FILESDIR}"/2.00-c-client.patch + epatch "${FILESDIR}"/2.00-qa.patch + use chappa && epatch "${FILESDIR}/2.00-qa-chappa-${CHAPPA_PL}.patch" + + eautoreconf +} + +src_configure() { + local myconf="--without-tcl + --with-system-pinerc=/etc/pine.conf + --with-system-fixed-pinerc=/etc/pine.conf.fixed" + #--disable-debug" + # fixme + # --with-system-mail-directory=DIR? + + if use ssl; then + myconf+=" --with-ssl + --with-ssl-include-dir=/usr + --with-ssl-lib-dir=/usr/$(get_libdir) + --with-ssl-certs-dir=/etc/ssl/certs" + else + myconf+="--without-ssl" + fi + econf \ + $(use_with ldap) \ + $(use_with passfile passfile .pinepwd) \ + $(use_with kerberos krb5) \ + $(use_with threads pthread) \ + $(use_with spell interactive-spellcheck /usr/bin/aspell) \ + $(use_enable nls) \ + $(use_with ipv6) \ + $(use_with smime) \ + ${myconf} +} + +src_compile() { + emake AR=$(tc-getAR) +} + +src_install() { + if use onlyalpine ; then + dobin alpine/alpine + doman doc/alpine.1 + else + emake DESTDIR="${D}" install + doman doc/rpdump.1 doc/rpload.1 + fi + + dodoc NOTICE README* + + if use doc ; then + dodoc doc/brochure.txt doc/tech-notes.txt + + docinto html/tech-notes + dohtml -r doc/tech-notes/ + fi +} diff --git a/mail-client/alpine/files/2.00-c-client.patch b/mail-client/alpine/files/2.00-c-client.patch new file mode 100644 index 000000000000..b3b33bcc455e --- /dev/null +++ b/mail-client/alpine/files/2.00-c-client.patch @@ -0,0 +1,251 @@ +--- Makefile.am 2012-10-10 12:30:39.442107211 +0000 ++++ Makefile.am 2012-10-10 12:31:17.235528699 +0000 +@@ -16,7 +16,7 @@ + + SUBDIRS = m4 po $(REGEX_BUILD) pith pico alpine $(WEB_PUBCOOKIE_BUILD) $(WEB_BUILD) + +-BUILT_SOURCES = c-client.d c-client $(WEB_PUBCOOKIE_LINK) ++BUILT_SOURCES = $(WEB_PUBCOOKIE_LINK) + + CLEANFILES = c-client + +@@ -38,3 +38,4 @@ + man_MANS = doc/alpine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1 + + ACLOCAL_AMFLAGS = -I m4 ++AM_LDFLAGS = -lc-client +--- pico/Makefile.am 2012-10-10 13:01:06.851900583 +0000 ++++ pico/Makefile.am 2012-10-10 13:07:40.960017458 +0000 +@@ -24,8 +24,9 @@ + + pilot_LDADD = $(LDADD) $(INTLLIBS) + +-LDADD = ../c-client/utf8.o libpico.a osdep/libpicoosd.a \ ++LDADD = libpico.a osdep/libpicoosd.a \ + ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a ++AM_LDFLAGS = -lc-client + + noinst_LIBRARIES = libpico.a + +diff --git a/alpine/callbacks.c b/alpine/callbacks.c +new file mode 100644 +index 0000000..e92beb5 +--- /dev/null ++++ alpine/callbacks.c +@@ -0,0 +1,184 @@ ++/* ======================================================================== ++ * Copyright 1988-2007 University of Washington ++ * ++ * Licensed under the Apache License, Version 2.0 (the "License"); ++ * you may not use this file except in compliance with the License. ++ * You may obtain a copy of the License at ++ * ++ * http://www.apache.org/licenses/LICENSE-2.0 ++ * ++ * ++ * ======================================================================== ++ */ ++ ++#include <stdio.h> ++#include <signal.h> ++#include <imap/c-client.h> ++ ++/* Excellent reasons to hate ifdefs, and why my real code never uses them */ ++ ++#ifndef unix ++# define unix 0 ++#endif ++ ++#if unix ++# define UNIXLIKE 1 ++# define MACOS 0 ++# include <pwd.h> ++#else ++# define UNIXLIKE 0 ++# ifdef noErr ++# define MACOS 1 ++# include <Memory.h> ++# else ++# define MACOS 0 ++# endif ++#endif ++ ++char *curhst = NIL; /* currently connected host */ ++char *curusr = NIL; /* current login user */ ++ ++ ++/* Interfaces to C-client */ ++ ++ ++void mm_searched (MAILSTREAM *stream,unsigned long number) ++{ ++} ++ ++ ++void mm_exists (MAILSTREAM *stream,unsigned long number) ++{ ++} ++ ++ ++void mm_expunged (MAILSTREAM *stream,unsigned long number) ++{ ++} ++ ++ ++void mm_flags (MAILSTREAM *stream,unsigned long number) ++{ ++} ++ ++ ++void mm_notify (MAILSTREAM *stream,char *string,long errflg) ++{ ++ mm_log (string,errflg); ++} ++ ++ ++void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes) ++{ ++ putchar (' '); ++ if (delimiter) putchar (delimiter); ++ else fputs ("NIL",stdout); ++ putchar (' '); ++ fputs (mailbox,stdout); ++ if (attributes & LATT_NOINFERIORS) fputs (", no inferiors",stdout); ++ if (attributes & LATT_NOSELECT) fputs (", no select",stdout); ++ if (attributes & LATT_MARKED) fputs (", marked",stdout); ++ if (attributes & LATT_UNMARKED) fputs (", unmarked",stdout); ++ putchar ('\n'); ++} ++ ++ ++void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes) ++{ ++ putchar (' '); ++ if (delimiter) putchar (delimiter); ++ else fputs ("NIL",stdout); ++ putchar (' '); ++ fputs (mailbox,stdout); ++ if (attributes & LATT_NOINFERIORS) fputs (", no inferiors",stdout); ++ if (attributes & LATT_NOSELECT) fputs (", no select",stdout); ++ if (attributes & LATT_MARKED) fputs (", marked",stdout); ++ if (attributes & LATT_UNMARKED) fputs (", unmarked",stdout); ++ putchar ('\n'); ++} ++ ++ ++void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status) ++{ ++ printf (" Mailbox %s",mailbox); ++ if (status->flags & SA_MESSAGES) printf (", %lu messages",status->messages); ++ if (status->flags & SA_RECENT) printf (", %lu recent",status->recent); ++ if (status->flags & SA_UNSEEN) printf (", %lu unseen",status->unseen); ++ if (status->flags & SA_UIDVALIDITY) printf (", %lu UID validity", ++ status->uidvalidity); ++ if (status->flags & SA_UIDNEXT) printf (", %lu next UID",status->uidnext); ++ printf ("\n"); ++} ++ ++ ++void mm_log (char *string,long errflg) ++{ ++ switch ((short) errflg) { ++ case NIL: ++ printf ("[%s]\n",string); ++ break; ++ case PARSE: ++ case WARN: ++ printf ("%%%s\n",string); ++ break; ++ case ERROR: ++ printf ("?%s\n",string); ++ break; ++ } ++} ++ ++ ++void mm_dlog (char *string) ++{ ++ puts (string); ++} ++ ++ ++void mm_login (NETMBX *mb,char *user,char *pwd,long trial) ++{ ++ char *s,tmp[MAILTMPLEN]; ++ if (curhst) fs_give ((void **) &curhst); ++ curhst = (char *) fs_get (1+strlen (mb->host)); ++ strcpy (curhst,mb->host); ++ sprintf (s = tmp,"{%s/%s",mb->host,mb->service); ++ if (*mb->user) sprintf (tmp+strlen (tmp),"/user=%s",strcpy (user,mb->user)); ++ if (*mb->authuser) sprintf (tmp+strlen (tmp),"/authuser=%s",mb->authuser); ++ if (*mb->user) strcat (s = tmp,"} password:"); ++ else { ++ printf ("%s} username: ",tmp); ++ fgets (user,NETMAXUSER-1,stdin); ++ user[NETMAXUSER-1] = '\0'; ++ if (s = strchr (user,'\n')) *s = '\0'; ++ s = "password: "; ++ } ++ if (curusr) fs_give ((void **) &curusr); ++ curusr = cpystr (user); ++ strcpy (pwd,getpass (s)); ++} ++ ++ ++void mm_critical (MAILSTREAM *stream) ++{ ++} ++ ++ ++void mm_nocritical (MAILSTREAM *stream) ++{ ++} ++ ++ ++long mm_diskerror (MAILSTREAM *stream,long errcode,long serious) ++{ ++#if UNIXLIKE ++ kill (getpid (),SIGSTOP); ++#else ++ abort (); ++#endif ++ return NIL; ++} ++ ++ ++void mm_fatal (char *string) ++{ ++ printf ("?%s\n",string); ++} +diff --git a/pico/Makefile.am b/pico/Makefile.am +index f5f694b..e782324 100644 +--- pico/Makefile.am ++++ pico/Makefile.am +@@ -16,9 +16,9 @@ SUBDIRS = osdep + + bin_PROGRAMS = pico pilot + +-pico_SOURCES = main.c utf8stub.c ++pico_SOURCES = main.c utf8stub.c ../alpine/callbacks.c + +-pilot_SOURCES = pilot.c utf8stub.c ++pilot_SOURCES = pilot.c utf8stub.c ../alpine/callbacks.c + + pico_LDADD = $(LDADD) $(INTLLIBS) + +--- alpine/Makefile.am 2012-10-11 07:53:35.749024355 +0000 ++++ alpine/Makefile.am 2012-10-11 07:54:15.931528157 +0000 +@@ -35,11 +35,11 @@ + LDADD = ../pico/libpico.a ../pico/osdep/libpicoosd.a \ + ../pith/libpith.a ../pith/osdep/libpithosd.a \ + ../pith/charconv/libpithcc.a \ +- osdep/libpineosd.a ../c-client/c-client.a ++ osdep/libpineosd.a + + AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include -DLOCALEDIR=\"$(localedir)\" + +-AM_LDFLAGS = `cat $(top_srcdir)/c-client/LDFLAGS` ++AM_LDFLAGS = -lc-client + + CLEANFILES = date.c + diff --git a/mail-client/alpine/files/2.00-lcrypto.patch b/mail-client/alpine/files/2.00-lcrypto.patch new file mode 100644 index 000000000000..b0601503fece --- /dev/null +++ b/mail-client/alpine/files/2.00-lcrypto.patch @@ -0,0 +1,12 @@ +diff -urp alpine-2.00.org/configure.ac alpine-2.00/configure.ac +--- alpine-2.00.org/configure.ac 2008-08-08 19:11:31.000000000 +0200 ++++ alpine-2.00/configure.ac 2011-11-24 12:01:47.741607522 +0100 +@@ -954,7 +954,7 @@ dnl provide SSL support? + if test "x$alpine_SSLTYPE" != "xnone" ; then + AC_SEARCH_LIBS(SSL_library_init,ssl, + [ +- LIBS="$LIBS -lssl" ++ LIBS="$LIBS -lcrypto" + ]) + if test "x$alpine_SSLTYPE" = "xnone" ; then + AC_MSG_NOTICE([OpenSSL libraries NOT found]) diff --git a/mail-client/alpine/files/2.00-lpam.patch b/mail-client/alpine/files/2.00-lpam.patch new file mode 100644 index 000000000000..69e66d7efa07 --- /dev/null +++ b/mail-client/alpine/files/2.00-lpam.patch @@ -0,0 +1,13 @@ +--- alpine-2.00.orig/alpine/Makefile.in ++++ alpine-2.00/alpine/Makefile.in +@@ -169,7 +169,7 @@ + LIBICONV = @LIBICONV@ + LIBINTL = @LIBINTL@ + LIBOBJS = @LIBOBJS@ +-LIBS = @LIBS@ ++LIBS = @LIBS@ -lpam + LIBTOOL = @LIBTOOL@ + LN = @LN@ + LN_S = @LN_S@ + LTLIBICONV = @LTLIBICONV@ + LTLIBINTL = @LTLIBINTL@ diff --git a/mail-client/alpine/files/2.00-qa-chappa-115.patch b/mail-client/alpine/files/2.00-qa-chappa-115.patch new file mode 100644 index 000000000000..e13b80864730 --- /dev/null +++ b/mail-client/alpine/files/2.00-qa-chappa-115.patch @@ -0,0 +1,40 @@ +--- pith/send.c 2012-10-11 11:21:43.027665295 +0000 ++++ pith/send.c 2012-10-11 11:42:37.659237275 +0000 +@@ -48,6 +48,7 @@ + #include <imap/smtp.h> + #include <imap/nntp.h> + ++int maildir_file_path(char *name, char *tmp); + + /* this is used in pine_send and pine_simple_send */ + /* name::type::canedit::writehdr::localcopy::rcptto */ +--- pith/pattern.c 2012-10-11 11:21:48.069603095 +0000 ++++ pith/pattern.c 2012-10-11 11:44:19.868974380 +0000 +@@ -91,6 +91,7 @@ + ACTION_S *combine_inherited_role_guts(ACTION_S *); + int move_filtered_msgs(MAILSTREAM *, MSGNO_S *, char *, int, char *); + void set_some_flags(MAILSTREAM *, MSGNO_S *, long, char **, char **, int, char *); ++int maildir_file_path(char *name, char *tmp); + + + /* +--- pith/folder.c 2012-10-15 08:19:22.933383126 +0000 ++++ pith/folder.c 2012-10-15 08:19:06.314585696 +0000 +@@ -28,6 +28,7 @@ + #include "../pith/status.h" + #include "../pith/busy.h" + #include "../pith/mailindx.h" ++#include <imap/utf8aux.h> + + + typedef struct _build_folder_list_data { +--- pith/state.c 2012-10-15 08:31:20.378623246 +0000 ++++ pith/state.c 2012-10-15 08:38:07.089630169 +0000 +@@ -38,6 +38,7 @@ + * Globals referenced throughout pine... + */ + struct pine *ps_global; /* THE global variable! */ ++extern void free_allowed_qstr(void); + + #ifdef DEBUG + /* diff --git a/mail-client/alpine/files/2.00-qa.patch b/mail-client/alpine/files/2.00-qa.patch new file mode 100644 index 000000000000..da2535ef15cd --- /dev/null +++ b/mail-client/alpine/files/2.00-qa.patch @@ -0,0 +1,19 @@ +--- pith/charconv/utf8.c 2012-10-11 07:57:38.022062458 +0000 ++++ pith/charconv/utf8.c 2012-10-11 08:59:56.205068504 +0000 +@@ -16,6 +16,8 @@ + */ + + ++#define _XOPEN_SOURCE ++ + /* includable WITHOUT dependency on c-client */ + #include <imap/mail.h> + #include <imap/utf8.h> +@@ -38,6 +40,7 @@ + #include "utf8.h" + + #include <stdarg.h> ++#include <wchar.h> + + + unsigned single_width_chars_a_to_b(UCS *, int, int); diff --git a/mail-client/alpine/metadata.xml b/mail-client/alpine/metadata.xml new file mode 100644 index 000000000000..a2485d48e63f --- /dev/null +++ b/mail-client/alpine/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>net-mail@gentoo.org</email> + <name>Net-Mail</name> + </maintainer> + <use> + <flag name="chappa">enhance alpine by applying Eduardo Chappa's + patches</flag> + <flag name="onlyalpine">installs only the alpine binary, so it does + not collied with pico and/or pine</flag> + <flag name="passfile">Adds support for caching passwords into a file + between sessions</flag> + <flag name="smime">Enable support for S/MIME</flag> + </use> +</pkgmetadata> |