public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 7fbbee2a91ec58408251cbba650ac2cf41f8cbe0
@ 2012-03-23 12:57 git
  0 siblings, 0 replies; only message in thread
From: git @ 2012-03-23 12:57 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 11207 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  7fbbee2a91ec58408251cbba650ac2cf41f8cbe0 (commit)
       via  355df181b402058e1200097fe8539d3ab4f3dfaa (commit)
      from  3bbe332e0b61b9a4ef97de5cfeb3fbf6cbfa08ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7fbbee2a91ec58408251cbba650ac2cf41f8cbe0
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Mar 23 13:53:22 2012 +0100

    pygpgme: New package.
    
    This is a python module which makes libgpgme usable with python.

commit 355df181b402058e1200097fe8539d3ab4f3dfaa
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Fri Mar 23 13:52:24 2012 +0100

    gpgme: New package.
    
    This is a high-level crypto library which provides and easy
    to use interface to deal with PGP messages.

-----------------------------------------------------------------------

Summary of changes:
 gpgme/gpgme.nm                                     |   63 +++++++++++++++++
 gpgme/patches/gpgme-1.2.0-largefile.patch          |   24 +++++++
 gpgme/patches/gpgme-1.3.0-ImplicitDSOLinking.patch |   72 ++++++++++++++++++++
 gpgme/patches/gpgme-1.3.0-config_extras.patch      |   36 ++++++++++
 .../python-pyaspects.nm => pygpgme/pygpgme.nm      |   21 +++---
 5 files changed, 206 insertions(+), 10 deletions(-)
 create mode 100644 gpgme/gpgme.nm
 create mode 100644 gpgme/patches/gpgme-1.2.0-largefile.patch
 create mode 100644 gpgme/patches/gpgme-1.3.0-ImplicitDSOLinking.patch
 create mode 100644 gpgme/patches/gpgme-1.3.0-config_extras.patch
 copy python-pyaspects/python-pyaspects.nm => pygpgme/pygpgme.nm (53%)

Difference in files:
diff --git a/gpgme/gpgme.nm b/gpgme/gpgme.nm
new file mode 100644
index 0000000..317a046
--- /dev/null
+++ b/gpgme/gpgme.nm
@@ -0,0 +1,63 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = gpgme
+version    = 1.3.0
+release    = 1
+
+groups     = Applications/System
+url        = http://www.gnupg.org/related_software/gpgme/
+license    = LGPLv2+
+summary    = GnuPG Made Easy - high level crypto API.
+
+description
+	GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
+	easier for applications.  It provides a high-level crypto API for
+	encryption, decryption, signing, signature verification and key
+	management.
+end
+
+source_dl  = ftp://ftp.gnupg.org/gcrypt/gpgme/
+sources    = %{thisapp}.tar.bz2
+
+build
+	requires
+		gawk
+		gnupg2
+		libassuan-devel
+		libgpg-error-devel
+		pth-devel
+		which
+	end
+
+	configure_options += \
+		--with-gpg=%{bindir}/gpg2 \
+		--disable-gpg-test
+
+	test
+		make -C tests check
+	end
+
+	install_cmds
+		# Remove LISP examples.
+		rm -rfv %{BUILDROOT}%{datadir}/common-lisp/
+	end
+end
+
+packages
+	package %{name}
+		requires = gnupg2
+	end
+
+	package %{name}-devel
+		template DEVEL
+
+		requires += libgpg-error-devel
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
diff --git a/gpgme/patches/gpgme-1.2.0-largefile.patch b/gpgme/patches/gpgme-1.2.0-largefile.patch
new file mode 100644
index 0000000..98f9039
--- /dev/null
+++ b/gpgme/patches/gpgme-1.2.0-largefile.patch
@@ -0,0 +1,24 @@
+diff -up gpgme-1.2.0/src/gpgme-config.in.largefile gpgme-1.2.0/src/gpgme-config.in
+--- gpgme-1.2.0/src/gpgme-config.in.largefile	2010-08-11 20:11:49.000000000 +0200
++++ gpgme-1.2.0/src/gpgme-config.in	2010-08-11 20:23:45.000000000 +0200
+@@ -42,6 +42,10 @@ cflags_pthread=""
+ cflags_glib="@GLIB_CFLAGS@"
+ with_glib=
+ 
++if test "0(a)NEED__FILE_OFFSET_BITS@" -gt "0" ; then
++    cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@"
++fi
++
+ output=""
+ 
+ usage()
+@@ -101,6 +105,9 @@ while test $# -gt 0; do
+ 	    exit 0
+ 	    ;;
+         --cflags)
++	    if test "x$cflags_lfs" != "x"; then
++		output="$output $cflags_lfs"
++	    fi
+ 	    if test "x$includedir" != "x/usr/include" -a "x$includedir" != "x/include"; then
+ 		output="$output -I$includedir"
+ 	    fi
diff --git a/gpgme/patches/gpgme-1.3.0-ImplicitDSOLinking.patch b/gpgme/patches/gpgme-1.3.0-ImplicitDSOLinking.patch
new file mode 100644
index 0000000..cd2f7a5
--- /dev/null
+++ b/gpgme/patches/gpgme-1.3.0-ImplicitDSOLinking.patch
@@ -0,0 +1,72 @@
+diff -up gpgme-1.3.0/src/Makefile.am.ImplicitDSOLinking gpgme-1.3.0/src/Makefile.am
+--- gpgme-1.3.0/src/Makefile.am.ImplicitDSOLinking	2010-01-06 04:02:19.000000000 +0100
++++ gpgme-1.3.0/src/Makefile.am	2011-02-11 18:14:54.000000000 +0100
+@@ -232,7 +232,7 @@ libgpgme_qt_la_LIBADD = $(gpgme_res) @LI
+ endif
+ 
+ noinst_PROGRAMS = gpgme-tool
+-gpgme_tool_LDADD = libgpgme.la
++gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
+ 
+ status-table.h : gpgme.h
+ 	$(srcdir)/mkstatus < $(builddir)/gpgme.h > status-table.h
+diff -up gpgme-1.3.0/src/Makefile.in.ImplicitDSOLinking gpgme-1.3.0/src/Makefile.in
+--- gpgme-1.3.0/src/Makefile.in.ImplicitDSOLinking	2010-01-11 12:06:54.000000000 +0100
++++ gpgme-1.3.0/src/Makefile.in	2011-02-11 18:17:10.000000000 +0100
+@@ -572,7 +572,7 @@ libgpgme_pth_la_LIBADD = $(gpgme_res) @L
+ @BUILD_W32_QT_TRUE(a)libgpgme_qt_la_LIBADD = $(gpgme_res) @LIBASSUAN_LIBS@ @LTLIBOBJS@ \
+ @BUILD_W32_QT_TRUE@	@GPG_ERROR_LIBS@ @QT4_CORE_LIBS@
+ 
+-gpgme_tool_LDADD = libgpgme.la
++gpgme_tool_LDADD = libgpgme.la @LIBASSUAN_LIBS@ @GPG_ERROR_LIBS@
+ all: $(BUILT_SOURCES)
+ 	$(MAKE) $(AM_MAKEFLAGS) all-am
+ 
+diff -up gpgme-1.3.0/tests/gpgsm/Makefile.am.ImplicitDSOLinking gpgme-1.3.0/tests/gpgsm/Makefile.am
+--- gpgme-1.3.0/tests/gpgsm/Makefile.am.ImplicitDSOLinking	2008-12-03 14:39:48.000000000 +0100
++++ gpgme-1.3.0/tests/gpgsm/Makefile.am	2011-02-11 17:36:32.000000000 +0100
+@@ -32,7 +32,7 @@ EXTRA_DIST = cert_dfn_pca01.der cert_dfn
+ INCLUDES = -I$(top_builddir)/src
+ 
+ AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
+-LDADD = ../../src/libgpgme.la
++LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
+ 
+ # We don't run t-genkey in the test suite, because it takes too long
+ # and needs a working pinentry.
+diff -up gpgme-1.3.0/tests/gpgsm/Makefile.in.ImplicitDSOLinking gpgme-1.3.0/tests/gpgsm/Makefile.in
+--- gpgme-1.3.0/tests/gpgsm/Makefile.in.ImplicitDSOLinking	2010-01-11 12:06:54.000000000 +0100
++++ gpgme-1.3.0/tests/gpgsm/Makefile.in	2011-02-11 17:36:32.000000000 +0100
+@@ -307,7 +307,7 @@ EXTRA_DIST = cert_dfn_pca01.der cert_dfn
+ 
+ INCLUDES = -I$(top_builddir)/src
+ AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
+-LDADD = ../../src/libgpgme.la
++LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
+ key_id = 32100C27173EF6E9C4E9A25D3D69F86D37A4F939
+ DISTCLEANFILES = pubring.kbx pubring.kbx~ gpgsm.conf trustlist.txt \
+ 	private-keys-v1.d/$(key_id).key random_seed
+diff -up gpgme-1.3.0/tests/opassuan/Makefile.am.ImplicitDSOLinking gpgme-1.3.0/tests/opassuan/Makefile.am
+--- gpgme-1.3.0/tests/opassuan/Makefile.am.ImplicitDSOLinking	2009-01-26 15:15:26.000000000 +0100
++++ gpgme-1.3.0/tests/opassuan/Makefile.am	2011-02-11 17:36:32.000000000 +0100
+@@ -27,7 +27,7 @@ EXTRA_DIST = 
+ INCLUDES = -I$(top_builddir)/src
+ 
+ AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
+-LDADD = ../../src/libgpgme.la
++LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
+ 
+ noinst_PROGRAMS = $(TESTS) t-command
+ 
+diff -up gpgme-1.3.0/tests/opassuan/Makefile.in.ImplicitDSOLinking gpgme-1.3.0/tests/opassuan/Makefile.in
+--- gpgme-1.3.0/tests/opassuan/Makefile.in.ImplicitDSOLinking	2010-01-11 12:06:54.000000000 +0100
++++ gpgme-1.3.0/tests/opassuan/Makefile.in	2011-02-11 17:36:32.000000000 +0100
+@@ -258,7 +258,7 @@ noinst_HEADERS = 
+ EXTRA_DIST = 
+ INCLUDES = -I$(top_builddir)/src
+ AM_CPPFLAGS = @GPG_ERROR_CFLAGS@
+-LDADD = ../../src/libgpgme.la
++LDADD = ../../src/libgpgme.la @GPG_ERROR_LIBS@
+ DISTCLEANFILES = 
+ all: all-am
+ 
diff --git a/gpgme/patches/gpgme-1.3.0-config_extras.patch b/gpgme/patches/gpgme-1.3.0-config_extras.patch
new file mode 100644
index 0000000..7b9a643
--- /dev/null
+++ b/gpgme/patches/gpgme-1.3.0-config_extras.patch
@@ -0,0 +1,36 @@
+diff -up gpgme-1.3.0/src/gpgme-config.in.config_extras gpgme-1.3.0/src/gpgme-config.in
+--- gpgme-1.3.0/src/gpgme-config.in.config_extras	2009-10-23 08:44:56.000000000 -0500
++++ gpgme-1.3.0/src/gpgme-config.in	2011-03-17 13:15:12.511565537 -0500
+@@ -20,26 +20,26 @@ LC_ALL=C
+ LANG=C
+ 
+ # Network libraries.
+-assuan_cflags="@LIBASSUAN_CFLAGS@"
+-assuan_libs="@LIBASSUAN_LIBS@"
++#assuan_cflags="@LIBASSUAN_CFLAGS@"
++#assuan_libs="@LIBASSUAN_LIBS@"
+ 
+ # Configure libgpg-error.
+ gpg_error_cflags="@GPG_ERROR_CFLAGS@"
+-gpg_error_libs="@GPG_ERROR_LIBS@"
++#gpg_error_libs="@GPG_ERROR_LIBS@"
+ 
+ # Configure thread packages.
+ thread_modules=""
+ 
+ @HAVE_PTH_TRUE(a)thread_modules="$thread_modules pth"
+-libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@"
++#libs_pth="@PTH_LDFLAGS@ @PTH_LIBS@"
+ cflags_pth="@PTH_CFLAGS@"
+ 
+ @HAVE_PTHREAD_TRUE(a)thread_modules="$thread_modules pthread"
+-libs_pthread="-lpthread"
++#libs_pthread="-lpthread"
+ cflags_pthread=""
+ 
+ # Configure glib.
+-libs_glib="@GLIB_LIBS@"
++#libs_glib="@GLIB_LIBS@"
+ cflags_glib="@GLIB_CFLAGS@"
+ with_glib=
+ 
diff --git a/pygpgme/pygpgme.nm b/pygpgme/pygpgme.nm
new file mode 100644
index 0000000..f3facd7
--- /dev/null
+++ b/pygpgme/pygpgme.nm
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = pygpgme
+version    = 0.3
+release    = 1
+
+groups     = Development/Languages
+url        = http://cheeseshop.python.org/pypi/pygpgme
+license    = LGPLv2+
+summary    = Python module for working with OpenPGP messages.
+
+description
+	PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt
+	files using the OpenPGP format.  It is built on top of GNU Privacy Guard and
+	the GPGME library.
+end
+
+source_dl  = http://cheeseshop.python.org/packages/source/p/%{name}/
+
+build
+	requires
+		gpgme-devel
+		python-devel
+	end
+
+	build
+		python setup.py build
+	end
+
+	install
+		python setup.py install --skip-build --root %{BUILDROOT}
+	end
+end
+
+packages
+	package %{name}
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end


hooks/post-receive
--
IPFire 3.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-23 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 12:57 [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 7fbbee2a91ec58408251cbba650ac2cf41f8cbe0 git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox