From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuihZ-0003QH-D1 for guix-patches@gnu.org; Sun, 02 Apr 2017 12:50:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuihW-0002Dk-9L for guix-patches@gnu.org; Sun, 02 Apr 2017 12:50:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuihW-0002DU-62 for guix-patches@gnu.org; Sun, 02 Apr 2017 12:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cuihW-0000HC-0f for guix-patches@gnu.org; Sun, 02 Apr 2017 12:50:02 -0400 Subject: bug#26320: Alpine News and Mail client Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cuigm-0003MW-FR for guix-patches@gnu.org; Sun, 02 Apr 2017 12:49:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cuigj-000206-CW for guix-patches@gnu.org; Sun, 02 Apr 2017 12:49:16 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:58405 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cuigj-0001zU-0j for guix-patches@gnu.org; Sun, 02 Apr 2017 12:49:13 -0400 From: Kei Kebreau References: <20170331104944.ablaikrujybeqqmf@abyayala> Date: Sun, 02 Apr 2017 12:48:57 -0400 In-Reply-To: <20170331104944.ablaikrujybeqqmf@abyayala> (ng0's message of "Fri, 31 Mar 2017 10:49:44 +0000") Message-ID: <871sta69hi.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26320@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ng0 writes: > The appended patch adds Alpine. It was discontinued by its previous > developer team and is now being developed at > "http://patches.freeiz.com/alpine/index.html". There are two versions, > both released by the same developer. The one which every distro uses is > the one with extra, functionality enhancing and bugs fixing patches appli= ed. > This is the one I picked to not break expectations of people. > > It compiles, builds, and can be started. I don't know this client and > only worked on it to complete the dinosaurs of mail clients collection > as some people still seem to use Alpine on other distros. > I haven't tested sending mail or receiving mail for obvious reasons.=20 > and I do not trust applications I rarely use. > >>>From 932623f11a7f11173051c4f87683fe52052642ba Mon Sep 17 00:00:00 2001 > From: ng0 > Date: Wed, 15 Feb 2017 03:20:38 +0000 > Subject: [PATCH] gnu: Add alpine. > > * gnu/packages/mail.scm (alpine): New variable. > --- > gnu/packages/mail.scm | 56 +++++++++++++++++++++++++++++++++++++++++++++= ++++-- > 1 file changed, 54 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm > index e36f884ea..d62437aa5 100644 > --- a/gnu/packages/mail.scm > +++ b/gnu/packages/mail.scm > @@ -15,7 +15,7 @@ > ;;; Copyright =C2=A9 2016 Lukas Gradl > ;;; Copyright =C2=A9 2016 Alex Kost > ;;; Copyright =C2=A9 2016 Troy Sankey > -;;; Copyright =C2=A9 2016, 2017 > +;;; Copyright =C2=A9 2016, 2017 ng0 > ;;; Copyright =C2=A9 2016 Cl=C3=A9ment Lassieur > ;;; Copyright =C2=A9 2016, 2017 Arun Isaac > ;;; Copyright =C2=A9 2016 John Darrington > @@ -39,6 +39,7 @@ >=20=20 > (define-module (gnu packages mail) > #:use-module (gnu packages) > + #:use-module (gnu packages aspell) > #:use-module (gnu packages autotools) > #:use-module (gnu packages base) > #:use-module (gnu packages backup) > @@ -62,6 +63,7 @@ > #:use-module (gnu packages gtk) > #:use-module (gnu packages guile) > #:use-module (gnu packages flex) > + #:use-module (gnu packages kerberos) > #:use-module (gnu packages libcanberra) > #:use-module (gnu packages libevent) > #:use-module (gnu packages libidn) > @@ -69,6 +71,7 @@ > #:use-module (gnu packages lua) > #:use-module (gnu packages m4) > #:use-module (gnu packages ncurses) > + #:use-module (gnu packages openldap) > #:use-module (gnu packages pcre) > #:use-module (gnu packages perl) > #:use-module (gnu packages python) > @@ -84,6 +87,7 @@ > #:use-module (gnu packages ruby) > #:use-module (gnu packages samba) > #:use-module (gnu packages screen) > + #:use-module (gnu packages tcl) > #:use-module (gnu packages tls) > #:use-module (gnu packages networking) > #:use-module (gnu packages web) > @@ -94,7 +98,7 @@ > #:select (gpl2 gpl2+ gpl3 gpl3+ lgpl2.1 lgpl2.1+ lgpl3+ > non-copyleft (expat . license:expat) bsd-3 > public-domain bsd-4 isc (openssl . license:op= enssl) > - bsd-2 x11-style agpl3)) > + bsd-2 x11-style agpl3 asl2.0)) > #:use-module (guix packages) > #:use-module (guix download) > #:use-module (guix git-download) > @@ -2141,3 +2145,51 @@ Options can be specified in environment variables,= configuration files, and > the command line allowing maximum configurability and ease of use for > operators and scripters.") > (license gpl2+))) > + > +(define-public alpine > + (package > + (name "alpine") > + (version "2.21") > + (source > + (origin > + (method url-fetch) > + ;; There are two versions: the plain continuation of Alpine witho= ut extra > + ;; patches and the version which adds extra fixes. Every distro u= ses > + ;; the patched version, and so do we to not break expectations. > + ;; http://patches.freeiz.com/alpine/readme/README.patches > + (uri (string-append "http://patches.freeiz.com/alpine/patches/alp= ine-" > + version "/alpine-" version ".tar.xz")) > + (sha256 > + (base32 > + "1k9hcfjywfk3mpsl71hjza3nk6icgf1b6xxzgx10kdzg5yci5x5m")))) Could you add a snippet that corrects the time-dependent code? Grepping (is that a word?) for "datestamp" in alpine's source directory should show you the offending code. > + (build-system gnu-build-system) > + (arguments > + `(#:make-flags (list "CC=3Dgcc") > + #:configure-flags (list (string-append "--with-ssl-include-dir=3D" > + (assoc-ref %build-inputs "= openssl") > + "/include/openssl") > + (string-append "--with-ssl-dir=3D" > + (assoc-ref %build-inputs "= openssl")) > + (string-append "--with-ssl-certs-dir=3D" > + "/etc/ssl/certs/") > + (string-append "--with-ssl-lib-dir=3D" > + (assoc-ref %build-inputs "= openssl") > + "/lib") > + (string-append "--with-interactive-spellc= heck=3D" > + (assoc-ref %build-inputs "= aspell") > + "/bin/aspell")))) > + (inputs > + `(("ncurses" ,ncurses) > + ("openssl" ,openssl) > + ("gnutls" ,gnutls) > + ("openldap" ,openldap) > + ("cyrus-sasl" ,cyrus-sasl) > + ("mit-krb5" ,mit-krb5) > + ("aspell" ,aspell) > + ("tcl" ,tcl) > + ("linux-pam" ,linux-pam))) > + (home-page "http://patches.freeiz.com/alpine/") > + (synopsis "Alternatively Licensed Program for Internet News and Emai= l") > + (description > + "Alpine is a text-based mail and news client.") Maybe this can be a bit more descriptive, but then again, the mutt mail client has a fairly modest description as well. > + (license asl2.0))) Other than that, the patch looks good. Sadly I'm not a user of alpine so I can't test its functionality. Do any alpine users want to step up to the plate and try this out? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAljhK3kACgkQ5qXuPBlG eg3+IA//altAdXFddSN3RqiyYq3D+bE5sGFPi/mzLboxIKTWRHFxsvJnrq8OKYmF 8OuczRcjbkZA/2kmlOmPJVrNYOZ5m9Tcfy3sX7etspKbQ4WkFwekRHsVS6zJ2Crb x6Gptxd3o8zEJXG/33nPLWMZZJXceY7yYwekAUuIpzQyvD7VmjK2ScnpQyVKLA0c HUs0CBbsCMX2sHhNAiHg/UZ17tWxwkV0l7HbONZFDK1vEDRmMnjscDdzRRj/NNPW h0PtUM2CYRE8P7Eju0jV4l1sEObWro2gUAJDx/yyLdMaLlM+sH1ogrU4KB2vXor+ qpH0vIjKSWx68oSjteIHdFcDdFbyAKFPA6vTBOC8Lj/dCzdd1hDzMsknIuDqK83x UZCxGdEcR7WhvZB/PcMUZgYJC92EtSa/9ZLaVWY8TqqDknVwvniXzHSPZbE+EZFt I/T+PfUZZJB0hBzPC2wbIjPI7Bx8QThh/JrcX78liFxktp1UWAhMObCVnG40juGC Os/vko4tPg5pt5oxjpBzdCbBysTgj9fYpCngS5zv0jZFvtLtPgRvuqXQFEN7goNq FCpnwyEgwpuOFb4HVQ9a5BBKRJgZ64t6ihlgruPtmF5JUIdHTTGMGGLwMFViekyw 0DGcQ54sgLmFGUCYaEBL1KgWNMabguV6kRxElrHj68+8eDGUEfo= =/1hU -----END PGP SIGNATURE----- --=-=-=--