From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3 15/16] gnu: Add perl-mail-spf. Date: Thu, 28 Jul 2016 13:07:28 +0200 Message-ID: <20160728130728.7d2a3d92@scratchpost.org> References: <20160728130126.12fda106@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjA8-0001XO-Mk for guix-devel@gnu.org; Thu, 28 Jul 2016 07:07:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSjA4-00060w-G7 for guix-devel@gnu.org; Thu, 28 Jul 2016 07:07:36 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:54684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSjA4-00060q-9U for guix-devel@gnu.org; Thu, 28 Jul 2016 07:07:32 -0400 Received: from localhost (178.112.81.47.wireless.dyn.drei.com [178.112.81.47]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 938D31CA06E3 for ; Thu, 28 Jul 2016 13:07:31 +0200 (CEST) In-Reply-To: <20160728130126.12fda106@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org gnu: Add perl-mail-spf. * gnu/package/mail.scm (perl-mail-spf): New variable. --- gnu/packages/mail.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index f7a7623..4169464 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1262,3 +1262,44 @@ synchronizing with a remote address book, @command{vdirsyncer} is recommended. Khard can also be used from within the email client @command{mutt}.") (home-page "https://github.com/scheibler/khard") (license gpl3+))) + +(define-public perl-mail-spf + (package + (name "perl-mail-spf") + (version "v2.9.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JM/JMEHNLE/mail-spf/Mail-SPF-" + version + ".tar.gz")) + (sha256 + (base32 + "0qk1rfgfm5drj4iyniiabrasrpqv570vzhgz66lwgb67y4amkjv1")))) + (build-system perl-build-system) + (native-inputs + `(("perl-module-build" ,perl-module-build) + ("perl-net-dns-resolver-programmable" + ,perl-net-dns-resolver-programmable))) + (arguments + `(#:phases (modify-phases %standard-phases + (add-before 'configure 'modify-Build.PL + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Build.PL" + (("'/usr/sbin'") (string-append "'" + (assoc-ref outputs "out") + "/sbin'"))) + #t))))) + (inputs + `(("perl-error" ,perl-error) + ("perl-net-dns" ,perl-net-dns) + ("perl-netaddr-ip" ,perl-netaddr-ip) + ("perl-uri" ,perl-uri))) + (home-page + "http://search.cpan.org/dist/Mail-SPF") + (synopsis + "Perl implementation of Sender Policy Framework") + (description "Mail::SPF is the Sender Policy Framework implemented +in Perl.") + (license bsd-3)))