From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [PATCH] gnu: add asn1c Date: Thu, 1 Sep 2016 16:57:59 +0200 Message-ID: <1472741879-7459-2-git-send-email-h.goebel@crazy-compilers.com> References: <1472741879-7459-1-git-send-email-h.goebel@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfTRQ-0000Ij-Vy for guix-devel@gnu.org; Thu, 01 Sep 2016 10:58:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfTRM-0007Qv-3Q for guix-devel@gnu.org; Thu, 01 Sep 2016 10:58:07 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:54419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfTRL-0007QW-Tb for guix-devel@gnu.org; Thu, 01 Sep 2016 10:58:04 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3sQ53G56Gbz3hkBm for ; Thu, 1 Sep 2016 16:58:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3sQ53G47G7zvl7V for ; Thu, 1 Sep 2016 16:58:02 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id aTVGvCP-ydAI for ; Thu, 1 Sep 2016 16:58:01 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-152-68.dynamic.mnet-online.de [188.174.152.68]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Thu, 1 Sep 2016 16:58:01 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 575A161681 for ; Thu, 1 Sep 2016 16:57:59 +0200 (CEST) In-Reply-To: <1472741879-7459-1-git-send-email-h.goebel@crazy-compilers.com> 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/packages/tsl.scm (asn1c): New variable. --- gnu/packages/tls.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 4b87150..52136f6 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -7,6 +7,7 @@ ;;; Copyright =C2=A9 2015 Leo Famulari ;;; Copyright =C2=A9 2016 Efraim Flashner ;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -68,6 +69,34 @@ networking, allowing for formal validation of data acc= ording to some specifications.") (license license:lgpl2.0+))) =20 +(define-public asn1c + (package + (name "asn1c") + (version "0.9.27") + (source (origin + (method url-fetch) + (uri (string-append "https://lionet.info/soft/asn1c-" version ".ta= r.gz")) + (sha256 (base32 "17nvn2kzvlryasr9dzqg6gs27b9lvqpval0k31pb64bjqbhn8= pq2")))) + (build-system gnu-build-system) + (native-inputs + `(("perl" ,perl))) + (home-page "https://lionet.info/asn1c") + (synopsis "ASN.1 to C Compiler") + (description "The ASN.1 to C compiler takes the ASN.1 module +files (example) and generates the C++ compatible C source code. That co= de can +be used to serialize the native C structures into compact and unambiguou= s +BER/XER/PER-based data files, and deserialize the files back. + +Various ASN.1 based formats are widely used in the industry, such as to = encode +the X.509 certificates employed in the HTTPS handshake, to exchange cont= rol +data between mobile phones and cellular networks, to car-to-car communic= ation +in intelligent transportation networks. + +The ASN.1 standard is large and complex and no open source compiler supp= orts +it in its entirety. The asn1c is arguably the most evolved open source = ASN.1 +compiler.") + (license license:bsd-2))) + (define-public p11-kit (package (name "p11-kit") --=20 2.7.4