gpgme11 stable port information

Package: gpgme11
Version: 1.1.8
Revision: 1
Maintainer: Darian Lanx
BuildDepends: glib2-dev (>= 2.18.0-1), libiconv-dev, libgettext3-dev, libgpg-error, pth2-dev, gnupg2, fink (>= 0.24.12)
Depends: %N-shlibs (= %v-%r)
Replaces: gpgme, gpgme-shlibs, gpgme11-shlibs (<< 1.0.2-1)
Conflicts: gpgme
BuildDependsOnly: true
#Source: http://ftp.gnupg.org/gcrypt/gpgme/gpgme-%v.tar.gz
Source: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-%v.tar.gz
Source-MD5: 1f500e7b4e81fcc76b901f1249ec09fc
PatchFile: %n.patch
PatchFile-MD5: e0fb33c16b1accfe614c1c8c0e703f8a
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --prefix=%p --infodir=%p/share/info --enable-shared --enable-static --enable-fd-passing --disable-dependency-tracking --with-pic --with-gpg=%p/bin/gpg2

SplitOff: <<
Package: %N-shlibs
Files: lib/libgpgme*.*.dylib
Depends: pth2-shlibs, glib2-shlibs (>= 2.18.0-1), libgpg-error-shlibs, libgettext3-shlibs, libiconv, gnupg2
Shlibs: <<
%p/lib/libgpgme-pthread.11.dylib 18.0.0 %n (>= 1.1.3-12)
%p/lib/libgpgme.11.dylib 18.0.0 %n (>= 1.1.3-12)
%p/lib/libgpgme-pth.11.dylib 18.0.0 %n (>= 1.1.3-12)
<<
Description: gpgme shared libraries.
DescDetail: <<
Shared libraries needed to run and link against gpgme.
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README THANKS TODO
<<



DescPackaging: <<
Earlier versions by Max Horn

Some earlier versions of gpgme-shlibs and perhaps gpgme11-shlibs
had files in %N-shlibs that later moved to %N, so %N has
Replaces to smooth the upgrade path.

dmacks--if using pth, then even main lib uses pth (ath-pth-compa.o) so
make sure to link libpth.

dmacks updated 1.1.4-3 -> 1.1.8-1:

scrap patch to handler of ttyname_r return-value: ttyname_r()
is POSIX-compliant when __DARWIN_UNIX03 (default); ttyname_r()
only looks like (char*)ttyname() in pre-UNIX03 darwin.

not fixing a ton of implicit-declaration warnings

scrap empty %p/libexec (only used on win32)
<<
InstallScript: <<
make install DESTDIR=%d
rmdir %i/libexec
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README* THANKS TODO
InfoDocs: gpgme.info
Description: Application access library for GnuPG
Homepage: http://www.gnupg.org/gpgme.html
License: GPL

gpgme11 stable port .patch

diff -Nurd -x'*~' gpgme-1.1.8.orig/tests/gpg/Makefile.am gpgme-1.1.8/tests/gpg/Makefile.am
--- gpgme-1.1.8.orig/tests/gpg/Makefile.am 2008-12-03 08:39:37.000000000 -0500
+++ gpgme-1.1.8/tests/gpg/Makefile.am 2009-01-07 00:42:46.000000000 -0500
@@ -63,7 +63,7 @@
--import Alpha/Secret.gpg Zulu/Secret.gpg

./Alpha/Secret.gpg: secdemo.asc
- srcdir=$(srcdir) $(srcdir)/mkdemodirs
+ srcdir=$(srcdir) GPGCMD=@GPG@ $(srcdir)/mkdemodirs

./gpg.conf:
# This is required for t-sig-notations.
diff -Nurd -x'*~' gpgme-1.1.8.orig/tests/gpg/mkdemodirs gpgme-1.1.8/tests/gpg/mkdemodirs
--- gpgme-1.1.8.orig/tests/gpg/mkdemodirs 2005-09-08 10:42:32.000000000 -0400
+++ gpgme-1.1.8/tests/gpg/mkdemodirs 2009-01-07 00:42:46.000000000 -0500
@@ -19,7 +19,9 @@

set -e

-GPG="gpg --batch --quiet --no-secmem-warning"
+[ -z "$GPGCMD" ] && GPGCMD="gpg2"
+
+GPG="$GPGCMD --batch --quiet --no-secmem-warning"
NAMES='Alpha Bravo Charlie Delta Echo Foxtrot Golf Hotel India
Juliet Kilo Lima Mike November Oscar Papa Quebec Romeo
Sierra Tango Uniform Victor Whisky XRay Yankee Zulu'

gpgme11 _unstable_ port .patch