From patchwork Sat Jun 2 15:09:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Souffriau X-Patchwork-Id: 162423 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 5E509B6FFC for ; Sun, 3 Jun 2012 01:11:09 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E01B290EB9; Sat, 2 Jun 2012 15:11:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xzWL2FA8CfWu; Sat, 2 Jun 2012 15:10:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 6DD2B90ECE; Sat, 2 Jun 2012 15:10:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 1983C8F753 for ; Sat, 2 Jun 2012 15:10:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DC7D590E57 for ; Sat, 2 Jun 2012 15:10:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eQ-WvDVSVmed for ; Sat, 2 Jun 2012 15:10:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6EE1A90EAD for ; Sat, 2 Jun 2012 15:10:22 +0000 (UTC) Received: from [172.16.0.18] (helo=localhost.localdomain) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1Sapxx-0003va-Nt; Sat, 02 Jun 2012 17:10:20 +0200 From: Stijn Souffriau To: buildroot@busybox.net Date: Sat, 2 Jun 2012 17:09:18 +0200 Message-Id: <1338649758-11225-4-git-send-email-stijn.souffriau@essensium.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1338649758-11225-1-git-send-email-stijn.souffriau@essensium.com> References: <1338649758-11225-1-git-send-email-stijn.souffriau@essensium.com> Subject: [Buildroot] [PATCH resend 4/4] Added the gnupg package. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net --- package/Config.in | 1 + package/gnupg/Config.in | 13 ++++++++ ...gnupg-0001-removed-autogenerated-stdint.h.patch | 31 ++++++++++++++++++++ package/gnupg/gnupg.mk | 23 +++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 package/gnupg/Config.in create mode 100644 package/gnupg/gnupg-0001-removed-autogenerated-stdint.h.patch create mode 100644 package/gnupg/gnupg.mk diff --git a/package/Config.in b/package/Config.in index ed25424..a18a2ae 100644 --- a/package/Config.in +++ b/package/Config.in @@ -438,6 +438,7 @@ endmenu endmenu menu "Miscellaneous" +source "package/gnupg/Config.in" source "package/shared-mime-info/Config.in" endmenu diff --git a/package/gnupg/Config.in b/package/gnupg/Config.in new file mode 100644 index 0000000..6735fb2 --- /dev/null +++ b/package/gnupg/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_GNUPG + bool "gnupg" + depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_glibc || BR2_TOOLCHAIN_CTNG_eglibc + select BR2_PACKAGE_LIBGPG_ERROR + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBKSBA + select BR2_PACKAGE_LIBASSUAN + select BR2_PACKAGE_LIBPTH + select BR2_PACKAGE_ZLIB + help + GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME + + http://www.gnupg.org/ diff --git a/package/gnupg/gnupg-0001-removed-autogenerated-stdint.h.patch b/package/gnupg/gnupg-0001-removed-autogenerated-stdint.h.patch new file mode 100644 index 0000000..a382cf6 --- /dev/null +++ b/package/gnupg/gnupg-0001-removed-autogenerated-stdint.h.patch @@ -0,0 +1,31 @@ +From 53a02ec3a77ecd0d57660a55c55764bdc0063ec1 Mon Sep 17 00:00:00 2001 +From: Stijn Souffriau +Date: Sun, 6 May 2012 23:19:38 +0200 +Subject: [PATCH] removed autogenerated stdint.h + +--- + gl/Makefile.in | 7 +++---- + 1 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/gl/Makefile.in b/gl/Makefile.in +index 7cc38e0..df06b73 100644 +--- a/gl/Makefile.in ++++ b/gl/Makefile.in +@@ -298,11 +298,10 @@ libgnu_a_SOURCES = allocsa.h allocsa.c mkdtemp.h setenv.h size_max.h \ + strpbrk.h xsize.h + libgnu_a_LIBADD = $(LIBOBJS) + noinst_HEADERS = +-EXTRA_DIST = alloca_.h allocsa.valgrind stdint_.h +-BUILT_SOURCES = $(ALLOCA_H) $(STDINT_H) $(UNISTD_H) ++EXTRA_DIST = alloca_.h allocsa.valgrind ++BUILT_SOURCES = $(ALLOCA_H) $(UNISTD_H) + SUFFIXES = +-MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t stdint.h \ +- stdint.h-t unistd.h ++MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t unistd.h + MOSTLYCLEANDIRS = + CLEANFILES = + DISTCLEANFILES = +-- +1.7.0.4 + diff --git a/package/gnupg/gnupg.mk b/package/gnupg/gnupg.mk new file mode 100644 index 0000000..25e624d --- /dev/null +++ b/package/gnupg/gnupg.mk @@ -0,0 +1,23 @@ +############################################################# +# +# gnupg +# +############################################################# + +GNUPG_VERSION = 2.0.19 +GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2 +GNUPG_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg/ +GNUPG_DEPENDENCIES= libgpg-error libgcrypt libassuan libksba pth zlib libiconv + +GNUPG_INSTALL_STAGING = YES + +GNUPG_CONF_OPT = \ + --with-gpg-error-prefix=$(STAGING_DIR)/usr \ + --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ + --with-libassuan-prefix=$(STAGING_DIR)/usr \ + --with-ksba-prefix=$(STAGING_DIR)/usr \ + --with-pth-prefix=$(STAGING_DIR)/usr \ + --with-zlib=$(STAGING_DIR)/usr/lib \ + --with-libiconv-prefix=$(STAGING_DIR)/usr + +$(eval $(call AUTOTARGETS))