summaryrefslogtreecommitdiff
path: root/security/gpgme03
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-12-14 17:51:04 +0000
committerwiz <wiz@pkgsrc.org>2003-12-14 17:51:04 +0000
commit978951a7181639f434680b046cdb2b9139d7e549 (patch)
tree39ba9570f2cd79573c00f610f7f82cd2c18ac6ec /security/gpgme03
parent90da47a58949855642fc55999053741bf5df5e58 (diff)
downloadpkgsrc-978951a7181639f434680b046cdb2b9139d7e549.tar.gz
Re-import the previous gpgme version for packages that still use the
older interface. Does not coexist with newer version, so the PKGNAMEs are intended to be the same.
Diffstat (limited to 'security/gpgme03')
-rw-r--r--security/gpgme03/DESCR4
-rw-r--r--security/gpgme03/Makefile30
-rw-r--r--security/gpgme03/PLIST14
-rw-r--r--security/gpgme03/buildlink2.mk20
-rw-r--r--security/gpgme03/distinfo5
-rw-r--r--security/gpgme03/patches/patch-ab14
6 files changed, 87 insertions, 0 deletions
diff --git a/security/gpgme03/DESCR b/security/gpgme03/DESCR
new file mode 100644
index 00000000000..26a3a6aa608
--- /dev/null
+++ b/security/gpgme03/DESCR
@@ -0,0 +1,4 @@
+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.
diff --git a/security/gpgme03/Makefile b/security/gpgme03/Makefile
new file mode 100644
index 00000000000..52a4b9d67b6
--- /dev/null
+++ b/security/gpgme03/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+#
+
+DISTNAME= gpgme-0.3.15
+PKGREVISION= 1
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/gpgme/
+
+MAINTAINER= oishi@ims.ac.jp
+HOMEPAGE= http://www.gnupg.org/gpgme.html
+COMMENT= GnuPG Made Easy
+
+DEPENDS+= gnupg>=1.2.0:../../security/gnupg
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+PTHREAD_OPTS+= require
+
+.include "../../mk/pthread.buildlink2.mk"
+
+.if ${PTHREAD_TYPE} == "native"
+CONFIGURE_ARGS+= --without-pth --without-pth-test
+.endif
+
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+INFO_FILES= gpgme.info
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/gpgme03/PLIST b/security/gpgme03/PLIST
new file mode 100644
index 00000000000..0d667bd92ce
--- /dev/null
+++ b/security/gpgme03/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+bin/gpgme-config
+include/gpgme.h
+info/gpgme.info
+info/gpgme.info-1
+info/gpgme.info-2
+info/gpgme.info-3
+info/gpgme.info-4
+lib/libgpgme.a
+lib/libgpgme.la
+lib/libgpgme.so
+lib/libgpgme.so.9
+lib/libgpgme.so.9.6
+share/aclocal/gpgme.m4
diff --git a/security/gpgme03/buildlink2.mk b/security/gpgme03/buildlink2.mk
new file mode 100644
index 00000000000..2e4ebee1266
--- /dev/null
+++ b/security/gpgme03/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+#
+
+.if !defined(GPGME_BUILDLINK2_MK)
+GPGME_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gpgme
+BUILDLINK_DEPENDS.gpgme?= gpgme>=0.3.15nb1
+BUILDLINK_PKGSRCDIR.gpgme?= ../../security/gpgme
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gpgme=gpgme
+BUILDLINK_PREFIX.gpgme_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.gpgme+= include/gpgme.h
+BUILDLINK_FILES.gpgme+= lib/libgpgme.*
+
+BUILDLINK_TARGETS+= gpgme-buildlink
+
+gpgme-buildlink: _BUILDLINK_USE
+
+.endif # GPGME_BUILDLINK2_MK
diff --git a/security/gpgme03/distinfo b/security/gpgme03/distinfo
new file mode 100644
index 00000000000..3f1fd828b4c
--- /dev/null
+++ b/security/gpgme03/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+
+SHA1 (gpgme-0.3.15.tar.gz) = cc61450d2412786ab234d23b17b1682b51046443
+Size (gpgme-0.3.15.tar.gz) = 674568 bytes
+SHA1 (patch-ab) = d73b151c643d6ae5b2a321e58291a6b48892fd03
diff --git a/security/gpgme03/patches/patch-ab b/security/gpgme03/patches/patch-ab
new file mode 100644
index 00000000000..f2351ef6ec2
--- /dev/null
+++ b/security/gpgme03/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/12/14 17:51:04 wiz Exp $
+--- tests/gpg/mkdemodirs.orig Wed Oct 17 06:08:55 2001
++++ tests/gpg/mkdemodirs Wed Jan 30 14:17:56 2002
+@@ -25,7 +25,9 @@
+ echo -n "Creating:"
+ for name in $NAMES; do
+ echo -n " $name"
+- [ -d $name ] && rm -r $name
++ if [ -d $name ]; then
++ rm -r $name
++ fi
+ mkdir $name
+ $GPGDEMO --export-secret-key -o - $name > $name/Secret.gpg
+ $GPG --homedir $name --allow-secret-key-import --import $name/Secret.gpg