git: e47e66f6cc07 - main - security/heimdal-devel: Add MICROHTTPD option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 18:27:48 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e47e66f6cc0702f0ecbad2aff895c0dabce208b8
commit e47e66f6cc0702f0ecbad2aff895c0dabce208b8
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-11-18 16:45:29 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-11-18 18:27:31 +0000
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.
---
security/heimdal-devel/Makefile | 6 +++++-
security/heimdal-devel/pkg-plist | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
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