source: trunk/dports/security/dirmngr/Portfile @ 29974

Last change on this file since 29974 was 29974, checked in by boeyms@…, 12 years ago

dirmngr: Update to latest version (1.0.1).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 29974 2007-10-17 05:16:34Z boeyms@macports.org $
2
3PortSystem  1.0
4name        dirmngr
5version     1.0.1
6categories  security mail
7maintainers boeyms openmaintainer
8description X.509 certificate directory manager for GnuPG
9long_description    \
10    Dirmngr is a server for managing and downloading certificate \
11    revocation lists (CRLs) for X.509 certificates and for downloading \
12    the certificates themselves. Dirmngr also handles OCSP requests as \
13    an alternative to CRLs. Dirmngr is either invoked internaly by \
14    gpgsm (from gnupg 1.9) or when running as a system daemon through \
15    the dirmngr-client tool.
16homepage    http://www.gnupg.org
17platforms   darwin
18master_sites    gnupg
19
20use_bzip2   yes
21checksums   md5 3b969ee763fa9160319abe3f24b5959d \
22            sha1 39eb62907e5c4ddc29da00b1291c24e5267f113e \
23            rmd160 eca2e5622ffe7af7ddece1b76977e5f696465385
24
25post-patch {
26    reinplace "s|/var|${prefix}/var|" \
27        ${worksrcpath}/src/dirmngr.c \
28        ${worksrcpath}/src/dirmngr-client.c
29}
30
31# Need to define LDAP_DEPRECATED as dirmngr uses ldap_init(),
32# ldap_simple_bind_s() and ldap_search_st(), which are deprecated at least as of
33# OpenLDAP 2.3.35.
34configure.cppflags  -DLDAP_DEPRECATED
35
36depends_lib port:libiconv       \
37            port:gettext        \
38            port:libassuan      \
39            port:libksba        \
40            port:libgcrypt      \
41            port:libgpg-error   \
42            port:pth            \
43            port:openldap       
44
45test.run    yes
46test.dir    ${worksrcpath}/tests
47test.target     check
48
49platform darwin {
50    configure.env-append    MACOSX_DEPLOYMENT_TARGET=10.3
51    build.env-append        MACOSX_DEPLOYMENT_TARGET=10.3
52#   Get around the fact that Darwin linker complains about multiply defined
53#   symbols since DirMngr doesn't currently test for presence strcasecmp
54    configure.cflags-append -DHAVE_STRCASECMP=1
55#   Do something to fix the fact that, for some reason, -llber is required
56    configure.env-append    LDAPLIBS="-lldap -llber"
57}
58
59platform darwin 7 {
60    configure.ldflags-append    -framework IOKit
61}
62
63livecheck.check regex
64livecheck.url   http://mirrors.rootmode.com/ftp.gnupg.org/gnupg/?O=D
65livecheck.regex gnupg-(\\d+\\.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.