Skip to content
Permalink
Browse files

dirmngr: update to latest version (1.0.2), incorporating bugfix.

This patch updates dirmngr to version 1.0.2, and incorporates a fix for the
bug reported in https://trac.macports.org/ticket/13729, which dirmngr 1.0.2 also suffers.  This patch
has been incorporated into the update to 1.0.2 as it has not been tested
against 1.0.1.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40454 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Boey Maun Suang
Boey Maun Suang committed Oct 2, 2008
1 parent 5c1e19d commit 45917e1aff7ef388313e48b00bfa06131ffbd3be
Showing with 17 additions and 14 deletions.
  1. +5 −14 security/dirmngr/Portfile
  2. +12 −0 security/dirmngr/files/patch-tests__Makefile.in.diff
@@ -3,7 +3,7 @@
PortSystem 1.0

name dirmngr
version 1.0.1
version 1.0.2
categories security mail
maintainers boeyms openmaintainer
description X.509 certificate directory manager for GnuPG
@@ -19,20 +19,11 @@ platforms darwin
master_sites gnupg

use_bzip2 yes
checksums md5 3b969ee763fa9160319abe3f24b5959d \
sha1 39eb62907e5c4ddc29da00b1291c24e5267f113e \
rmd160 eca2e5622ffe7af7ddece1b76977e5f696465385
checksums md5 88d62a348903009cbc96212e4684c89c \
sha1 55c82f918731f142cbe26d598a97c0c08bd7d1f8 \
rmd160 671d853b53fc83c96e5d0005316442c70cf497dd

post-patch {
reinplace "s|/var|${prefix}/var|" \
${worksrcpath}/src/dirmngr.c \
${worksrcpath}/src/dirmngr-client.c
}

# Need to define LDAP_DEPRECATED as dirmngr uses ldap_init(),
# ldap_simple_bind_s() and ldap_search_st(), which are deprecated at least as of
# OpenLDAP 2.3.35.
configure.cppflags -DLDAP_DEPRECATED
patchfiles patch-tests__Makefile.in.diff

depends_lib port:libiconv \
port:gettext \
@@ -0,0 +1,12 @@
--- tests/Makefile.in 2008-07-31 12:24:20.000000000 +0000
+++ tests/Makefile.in.new 2008-09-29 12:19:00.000000000 +0000
@@ -218,7 +218,8 @@
$(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS)

AM_LDFLAGS = $(LDFLAGS)
-LDADD = ../jnlib/libjnlib.a $(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(KSBA_LIBS)
+LDADD = ../jnlib/libjnlib.a $(LIBASSUAN_LIBS) $(LIBGCRYPT_LIBS) $(KSBA_LIBS) \
+ $(LIBICONV) $(LIBINTL)
asschk_SOURCES = asschk.c
show_multi_SOURCERS = show-multi.c
show_multi_LDADD =

0 comments on commit 45917e1

Please sign in to comment.
You can’t perform that action at this time.