Created
April 9, 2023 23:57
-
-
Save lparkes/4d5fa1e63dee17d2d91cb4865d6e1011 to your computer and use it in GitHub Desktop.
Add gssapi option to pkgsrc package www/nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r bdf3299da6b4 www/nginx/distinfo | |
--- a/www/nginx/distinfo Wed Apr 05 15:46:59 2023 +0000 | |
+++ b/www/nginx/distinfo Mon Apr 10 11:56:10 2023 +1200 | |
@@ -51,6 +51,9 @@ | |
BLAKE2s (set-misc-nginx-module-0.33.tar.gz) = 306eb7a96ce5650c7e97a91e9cdba48d154d10cf6445d31193ffab889054d893 | |
SHA512 (set-misc-nginx-module-0.33.tar.gz) = 1ff4c947538a5bd5f9d6adcd87b37f2702f5cc90e3342bc08359cbe8f290b705a3a2daa3dedfb1df3ce4bc19478c8fcac07081c4a53a804fc2862d50078278dc | |
Size (set-misc-nginx-module-0.33.tar.gz) = 30084 bytes | |
+BLAKE2s (spnego-http-auth-nginx-module-1.1.1.tar.gz) = d0d31e1219a7b7c99f08ceeffb5fd29aaa2c3cbfd2ffbbdf402c1b5770622193 | |
+SHA512 (spnego-http-auth-nginx-module-1.1.1.tar.gz) = 913ca76154f379b7e472962f522c7bf1565d3b009f77c9a6a37b4fe344642593c64ab3acd134160dddacd15765639de5c319fda14de617db2bca9c7929d02641 | |
+Size (spnego-http-auth-nginx-module-1.1.1.tar.gz) = 18507 bytes | |
SHA1 (patch-aa) = 47f0c19b47b115f00ea6e9432d5bb12058c3bc1c | |
SHA1 (patch-ab) = 7d126a4372aa8575ef01a4bfd9aec9898861c763 | |
SHA1 (patch-auto_cc_conf) = 5e6a479ba419cd16dedeb3b4c47dc685d126ef6a | |
diff -r bdf3299da6b4 www/nginx/options.mk | |
--- a/www/nginx/options.mk Wed Apr 05 15:46:59 2023 +0000 | |
+++ b/www/nginx/options.mk Mon Apr 10 11:56:10 2023 +1200 | |
@@ -3,7 +3,7 @@ | |
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | |
PKG_SUPPORTED_OPTIONS= array-var auth-request cache-purge dav debug | |
PKG_SUPPORTED_OPTIONS+= dso echo encrypted-session flv form-input | |
-PKG_SUPPORTED_OPTIONS+= geoip geoip2 gtools gzip headers-more http2 | |
+PKG_SUPPORTED_OPTIONS+= geoip geoip2 gtools gssapi gzip headers-more http2 | |
PKG_SUPPORTED_OPTIONS+= image-filter luajit mail-proxy memcache | |
PKG_SUPPORTED_OPTIONS+= naxsi njs perl push realip rtmp | |
PKG_SUPPORTED_OPTIONS+= secure-link set-misc slice ssl status | |
@@ -18,8 +18,8 @@ | |
PKG_OPTIONS_GROUP.pcre= pcre pcre2 | |
PLIST_VARS+= arrayvar cprg dav dso echo encses forminput geoip2 | |
-PLIST_VARS+= headmore imagefilter lua mail naxsi nchan ndk njs | |
-PLIST_VARS+= perl rtmp setmisc stream upload uwsgi | |
+PLIST_VARS+= gssapi headmore imagefilter lua mail naxsi nchan ndk | |
+PLIST_VARS+= njs perl rtmp setmisc stream upload uwsgi | |
.include "../../mk/bsd.options.mk" | |
@@ -351,6 +351,16 @@ | |
PLIST.upload= yes | |
.endif | |
+.if !empty(PKG_OPTIONS:Mgssapi) || make(makesum) || make(mdi) || make(distclean) | |
+GSSAPI_VERSION= 1.1.1 | |
+GSSAPI_DISTNAME= spnego-http-auth-nginx-module-${GSSAPI_VERSION} | |
+GSSAPI_DISTFILE= ${GSSAPI_DISTNAME}.tar.gz | |
+SITES.${GSSAPI_DISTFILE}= -${MASTER_SITE_GITHUB:=stnoonan/spnego-http-auth-nginx-module/archive/refs/tags/}v${GSSAPI_VERSION}.tar.gz | |
+DISTFILES+= ${GSSAPI_DISTFILE} | |
+DSO_EXTMODS+= gssapi | |
+PLIST.gssapi= yes | |
+.endif | |
+ | |
.for mod in ${DSO_BASEMODS} | |
CONFIGURE_ARGS+= --with-${mod}${_addbasemod} | |
.endfor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment