From patchwork Mon Jul 18 11:59:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 13842 Received: (qmail 95219 invoked by uid 89); 18 Jul 2016 12:03:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Projects, 25, 6, 24, 7, sk:develop X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 18 Jul 2016 12:02:48 +0000 Received: from localhost ([::1]:46340 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP7G2-0001VZ-7h for patchwork@sourceware.org; Mon, 18 Jul 2016 08:02:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP7ED-0000J7-BB for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP7E9-0003r7-51 for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:52 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:47724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP7E8-0003qs-UZ for guix-devel@gnu.org; Mon, 18 Jul 2016 08:00:49 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id EC05613F4F4; Mon, 18 Jul 2016 14:00:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received:received:received; s=mdc; t= 1468843242; x=1470657643; bh=2V2oqSMrYZiQBPbX5uqzgU3ClySesk7adZM em4GR4s8=; b=lPRc5jk+XsQjpPxpW88zA/naF8wro1bRhC5IXJUyag2PKVV5AYM C9KJBITUXjEZqjdw2NP5cqQ65rCOB9TQBa720padGX2sPjSxybyOcO71FMECZt/t +FAcbucSmbjlcigSkQXOYUgMJ7N7C/3PfFvGzeHx9npBrQyVsNUXDw10= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0DJIYjCCnInJ; Mon, 18 Jul 2016 14:00:42 +0200 (CEST) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Mon, 18 Jul 2016 14:00:42 +0200 (CEST) Received: from localhost (141.80.180.135) by HTCATWO.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.294.0; Mon, 18 Jul 2016 14:00:16 +0200 From: Ricardo Wurmus To: Subject: [PATCH 1/3] gnu: nss-certs: Stop inheriting from nss package. Date: Mon, 18 Jul 2016 13:59:39 +0200 Message-ID: <20160718115941.17707-2-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160718115941.17707-1-ricardo.wurmus@mdc-berlin.de> References: <20160718115941.17707-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.000.1202-22458.006 X-TM-AS-Result: No--4.697900-0.000000-31 X-TM-AS-MatchedID: 700486-703786-106640-188019-850104-139504-702358-700918-1 39704-704496-863828-701590-706817-709251-139705-703366-704568-701243-702112 -703371-704341-700040-148004-148133-42000-42003 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 141.80.25.24 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" From: Ricardo Wurmus * gnu/packages/certs.scm (nss-certs): Stop inheriting from nss package. --- gnu/packages/certs.scm | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/gnu/packages/certs.scm b/gnu/packages/certs.scm index dd7d339..f5a4372 100644 --- a/gnu/packages/certs.scm +++ b/gnu/packages/certs.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Andreas Enge ;;; Copyright © 2015 Mark H Weaver +;;; Copyright © 2016 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,7 +25,6 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages gnuzilla) #:use-module (gnu packages python) #:use-module (gnu packages perl) #:use-module (gnu packages tls)) @@ -71,8 +71,20 @@ (home-page "http://pkgs.fedoraproject.org/cgit/ca-certificates.git/"))) (define-public nss-certs - (package (inherit nss) ; to reuse the source, version and some metadata + (package (name "nss-certs") + (version "3.23") + (source (origin + (method url-fetch) + (uri (let ((version-with-underscores + (string-join (string-split version #\.) "_"))) + (string-append + "https://ftp.mozilla.org/pub/mozilla.org/security/nss/" + "releases/NSS_" version-with-underscores "_RTM/src/" + "nss-" version ".tar.gz"))) + (sha256 + (base32 + "1kqidv91icq96m9m8zx50n7px08km2l88458rkgyjwcn3kiq7cwl")))) (build-system gnu-build-system) (outputs '("out")) (native-inputs @@ -123,5 +135,7 @@ '(set-paths install-locale unpack))))) (synopsis "CA certificates from Mozilla") (description - "This package provides certificates for Certification Authorities (CA) -taken from the NSS package and thus ultimately from the Mozilla project."))) + "This package provides certificates for Certification Authorities (CA) +taken from the NSS package and thus ultimately from the Mozilla project.") + (home-page "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS") + (license license:mpl2.0)))