aboutsummaryrefslogtreecommitdiff
path: root/security/heimdal-devel
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-11-18 16:45:29 +0000
committerCy Schubert <cy@FreeBSD.org>2022-11-18 18:27:31 +0000
commite47e66f6cc0702f0ecbad2aff895c0dabce208b8 (patch)
treee944cd23a993c20d5974159481dcb537b55aeeb8 /security/heimdal-devel
parent49329591c8db5617241358ce6dc3ef3b6283986a (diff)
downloadports-e47e66f6cc0702f0ecbad2aff895c0dabce208b8.tar.gz
ports-e47e66f6cc0702f0ecbad2aff895c0dabce208b8.zip
security/heimdal-devel: Add MICROHTTPD option
Add MICROHTTPD option to support httpd access to the KDC. This option is not enabled by default since this adds another vector of compromise.
Diffstat (limited to 'security/heimdal-devel')
-rw-r--r--security/heimdal-devel/Makefile6
-rw-r--r--security/heimdal-devel/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/security/heimdal-devel/Makefile b/security/heimdal-devel/Makefile
index d5614bb91c30..d28296af47ab 100644
--- a/security/heimdal-devel/Makefile
+++ b/security/heimdal-devel/Makefile
@@ -65,7 +65,7 @@ INFO= heimdal hx509
MAKE_JOBS_UNSAFE= yes
-OPTIONS_DEFINE= IPV6 BDB LMDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB
+OPTIONS_DEFINE= IPV6 BDB LMDB SQLITE LDAP PKINIT DIGEST KX509 CRACKLIB MICROHTTPD
OPTIONS_DEFAULT=IPV6 BDB PKINIT DIGEST KX509
OPTIONS_SUB= yes
@@ -110,6 +110,10 @@ KX509_CONFIGURE_ENABLE= kx509
CRACKLIB_DESC= Use CrackLib for password quality checking
CRACKLIB_LIB_DEPENDS= libcrack.so:security/cracklib
+MICROHTTPD_CONFIGURE_WITH= microhttpd
+MICROHTTPD_DESC= Add microhttpd support
+MICROHTTPD_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd
+
.include <bsd.port.options.mk>
post-extract:
diff --git a/security/heimdal-devel/pkg-plist b/security/heimdal-devel/pkg-plist
index 82b50d26f038..16a56ba419d5 100644
--- a/security/heimdal-devel/pkg-plist
+++ b/security/heimdal-devel/pkg-plist
@@ -261,6 +261,7 @@ lib/heimdal/test_negoex_mech.a
lib/heimdal/test_negoex_mech.so
lib/heimdal/test_negoex_mech.so.0
lib/heimdal/test_negoex_mech.so.0.0.0
+%%MICROHTTPD%%libexec/bx509d
libdata/pkgconfig/heimdal-gssapi.pc
libdata/pkgconfig/heimdal-kadm-client.pc
libdata/pkgconfig/heimdal-kadm-server.pc
@@ -274,6 +275,7 @@ libexec/digest-service
libexec/heimdal/slc
libexec/hprop
libexec/hpropd
+%%MICROHTTPD%%libexec/httpkadmind
libexec/ipropd-master
libexec/ipropd-slave
libexec/kadmind