summaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2019-08-26 15:01:02 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2019-08-26 15:01:02 +0000
commit1eaf6724ff51af28321bfa018c02be576afe4df2 (patch)
treec33deb929fbda64eedd9f02acd1182246a7ef8a3 /security/gnupg
parent- Fix build with SDL2 (diff)
gnupg: Add WKS_SERVER option
Requested by: koobs
Notes
Notes: svn path=/head/; revision=509952
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile7
-rw-r--r--security/gnupg/pkg-plist4
2 files changed, 7 insertions, 4 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 451a725d30c0..bed90fe01f17 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -35,14 +35,15 @@ TEST_TARGET= check
SUB_FILES= pkg-message
-OPTIONS_DEFINE= DOCS GNUTLS LARGE_RSA LDAP NLS SCDAEMON SUID_GPG
-OPTIONS_DEFAULT=GNUTLS SCDAEMON
+OPTIONS_DEFINE= DOCS GNUTLS LARGE_RSA LDAP NLS SCDAEMON SUID_GPG WKS_SERVER
+OPTIONS_DEFAULT=GNUTLS SCDAEMON WKS_SERVER
OPTIONS_SUB= yes
LARGE_RSA_DESC= Enable support for 8192-bit RSA keys
LDAP_DESC= LDAP keyserver interface
SCDAEMON_DESC= Enable Smartcard daemon (with libusb)
SUID_GPG_DESC= Install GPG with suid
+WKS_SERVER= Install the Web Key Service server
GNUTLS_CONFIGURE_ENABLE=gnutls
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
@@ -58,6 +59,8 @@ NLS_USES= gettext
SCDAEMON_CONFIGURE_ENABLE= scdaemon
+WKS_SERVER_CONFIGURE_ENABLE= wks-tools
+
post-install:
@${MV} ${STAGEDIR}${DATADIR}/help*.txt ${STAGEDIR}${DOCSDIR}
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index 570c259716c2..10f410b915e8 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -5,7 +5,7 @@ bin/gpg-agent
bin/gpgscm
bin/gpgsm
bin/gpgtar
-bin/gpg-wks-server
+%%WKS_SERVER%%bin/gpg-wks-server
bin/kbxutil
%%SUID_GPG%%@(,,4555) bin/gpg2
%%NO_SUID_GPG%%bin/gpg2
@@ -25,7 +25,7 @@ man/man1/gpg-agent.1.gz
man/man1/gpg-connect-agent.1.gz
man/man1/gpg-preset-passphrase.1.gz
man/man1/gpg-wks-client.1.gz
-man/man1/gpg-wks-server.1.gz
+%%WKS_SERVER%%man/man1/gpg-wks-server.1.gz
man/man1/gpg2.1.gz
man/man1/gpgconf.1.gz
man/man1/gpgparsemail.1.gz