From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH] gnu: Add perl-mail-spf. Date: Wed, 27 Jul 2016 00:15:33 +0200 Message-ID: <20160727001533.1664e0d1@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]:47080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAdd-0007lf-9H for guix-devel@gnu.org; Tue, 26 Jul 2016 18:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSAdX-0007CR-Kl for guix-devel@gnu.org; Tue, 26 Jul 2016 18:15:44 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:34595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSAdX-0007CK-Di for guix-devel@gnu.org; Tue, 26 Jul 2016 18:15:39 -0400 Received: from localhost (77.116.159.65.wireless.dyn.drei.com [77.116.159.65]) by dd1012.kasserver.com (Postfix) with ESMTPSA id 6D6261CA06E3 for ; Wed, 27 Jul 2016 00:15:38 +0200 (CEST) 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/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 a6e2279..6d47016 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1285,3 +1285,44 @@ Khard can also be used from within the email client @command{mutt}.") (synopsis "Various e-mail related modules for Perl") (description "MailTools contains E-Mail related modules for Perl.") (license (package-license perl)))) + +(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)))