Lines 1-8
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD: head/security/gnupg/Makefile 373043 2014-11-22 09:55:13Z kuriyama $ |
2 |
|
2 |
|
3 |
PORTNAME= gnupg |
3 |
PORTNAME= gnupg |
4 |
PORTVERSION= 2.1.0 |
4 |
PORTVERSION= 2.1.0 |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 3 |
6 |
CATEGORIES= security |
6 |
CATEGORIES= security |
7 |
MASTER_SITES= ${MASTER_SITE_GNUPG} |
7 |
MASTER_SITES= ${MASTER_SITE_GNUPG} |
8 |
MASTER_SITE_SUBDIR= gnupg |
8 |
MASTER_SITE_SUBDIR= gnupg |
Lines 25-46
BUILD_DEPENDS= libgpg-error>=1.11:${PORTSDIR}/security/libgpg-error
Link Here
|
25 |
RUN_DEPENDS= pinentry>0:${PORTSDIR}/security/pinentry |
25 |
RUN_DEPENDS= pinentry>0:${PORTSDIR}/security/pinentry |
26 |
|
26 |
|
27 |
GNU_CONFIGURE= YES |
27 |
GNU_CONFIGURE= YES |
28 |
USES= gmake iconv tar:bzip2 |
28 |
USES= gmake iconv pkgconfig tar:bzip2 |
29 |
USE_LDCONFIG= YES |
29 |
USE_LDCONFIG= YES |
30 |
CONFIGURE_ARGS+= --enable-symcryptrun --enable-gpgsm |
30 |
CONFIGURE_ARGS+= --enable-symcryptrun --enable-gpgsm |
31 |
CONFLICTS= gnupg-2.0.* |
31 |
CONFLICTS= gnupg-2.0.* |
32 |
|
32 |
|
33 |
OPTIONS_DEFINE= LDAP SCDAEMON KDNS NLS DOCS SUID_GPG |
33 |
OPTIONS_DEFINE= LDAP SCDAEMON KDNS NLS DOCS SUID_GPG GNUTLS |
34 |
LDAP_DESC= LDAP keyserver interface |
34 |
LDAP_DESC= LDAP keyserver interface |
35 |
SCDAEMON_DESC= Enable Smartcard daemon (with libusb) |
35 |
SCDAEMON_DESC= Enable Smartcard daemon (with libusb) |
36 |
KDNS_DESC= Use DNS CERT helper |
36 |
KDNS_DESC= Use DNS CERT helper |
37 |
SUID_GPG_DESC= Install GPG with suid |
37 |
SUID_GPG_DESC= Install GPG with suid |
38 |
OPTIONS_DEFAULT= # |
38 |
OPTIONS_DEFAULT= GNUTLS |
39 |
NO_OPTIONS_SORT= YES |
39 |
NO_OPTIONS_SORT= YES |
40 |
OPTIONS_SUB= YES |
40 |
OPTIONS_SUB= YES |
41 |
# In jail, SUID is required to avoid warning (security.bsd.unprivileged_mlock sysctl is not used in jail). |
41 |
# In jail, SUID is required to avoid warning (security.bsd.unprivileged_mlock sysctl is not used in jail). |
42 |
|
42 |
|
|
|
43 |
# One of two TLS libraries must be used for TLS to be available for key |
44 |
# retrieval; eg, through hkps:. One is "Not Too Bad TLS" from the GnuPG |
45 |
# developers themselves, the other is GnuTLS. |
46 |
# We don't currently package up ntbtls; patches welcome. |
47 |
# Thus we enable the GNUTLS option by default. |
48 |
|
43 |
DOCS_CONFIGURE_ENABLE= doc |
49 |
DOCS_CONFIGURE_ENABLE= doc |
|
|
50 |
GNUTLS_CONFIGURE_ENABLE= gnutls |
51 |
GNUTLS_LIB_DEPENDS+= libgnutls.so:${PORTSDIR}/security/gnutls |
44 |
KDNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns |
52 |
KDNS_LIB_DEPENDS= libadns.so:${PORTSDIR}/dns/adns |
45 |
KDNS_CONFIGURE_ON= --with-adns=${LOCALBASE} |
53 |
KDNS_CONFIGURE_ON= --with-adns=${LOCALBASE} |
46 |
NLS_USES= gettext |
54 |
NLS_USES= gettext |