Merge pull request #133499 from aanderse/apacheHttpdPackages.mod_auth_mellon

apacheHttpdPackages.mod_auth_mellon: 0.17.0 -> 0.18.0

authored by Sandro and committed by GitHub edee3f8e 911b8a56

+3 -41
+3 -7
pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 5 5 pname = "mod_auth_mellon"; 6 - version = "0.17.0"; 6 + version = "0.18.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "latchset"; 10 10 repo = "mod_auth_mellon"; 11 11 rev = "v${version}"; 12 - sha256 = "03bkvqkmqq72ff1a8cpvpcxngnlz1p6433y2fkkynpjfr19cna2s"; 12 + sha256 = "0alfa8hz09jdg29bi1mvhwyr2nl0nvss2a2kybrcjvdw1fx6vijn"; 13 13 }; 14 - 15 - patches = [ 16 - ./fixdeps.patch 17 - ]; 18 14 19 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 20 16 buildInputs = [ apacheHttpd autoconf automake curl glib lasso libtool libxml2 libxslt openssl xmlsec ]; ··· 29 25 ''; 30 26 31 27 meta = with lib; { 32 - homepage = "https://github.com/UNINETT/mod_auth_mellon"; 28 + homepage = "https://github.com/latchset/mod_auth_mellon"; 33 29 description = "An Apache module with a simple SAML 2.0 service provider"; 34 30 license = licenses.gpl2Plus; 35 31 platforms = platforms.linux;
-34
pkgs/servers/http/apache-modules/mod_auth_mellon/fixdeps.patch
··· 1 - diff --git a/Makefile.in b/Makefile.in 2 - index 1388c91..ab28982 100644 3 - --- a/Makefile.in 4 - +++ b/Makefile.in 5 - @@ -42,7 +42,7 @@ DISTFILES=$(SRC) \ 6 - all: mod_auth_mellon.la 7 - 8 - mod_auth_mellon.la: $(SRC) auth_mellon.h auth_mellon_compat.h 9 - - @APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC) 10 - + @APXS2@ -Wc,"-std=c99 @MELLON_CFLAGS@ @OPENSSL_CFLAGS@ @LASSO_CFLAGS@ @CURL_CFLAGS@ @GLIB_CFLAGS@ @CFLAGS@ @LIBXML2_CFLAGS@ @XMLSEC_CFLAGS@ @CFLAGS@" -Wl,"@OPENSSL_LIBS@ @LASSO_LIBS@ @CURL_LIBS@ @GLIB_LIBS@ @LIBXML2_LIBS@ @XMLSEC_LIBS@" -Wc,-Wall -Wc,-g -c $(SRC) 11 - 12 - 13 - # Building configure (for distribution) 14 - diff --git a/configure.ac b/configure.ac 15 - index 421b952..e62768e 100644 16 - --- a/configure.ac 17 - +++ b/configure.ac 18 - @@ -91,6 +91,16 @@ AC_SUBST(GLIB_LIBS) 19 - 20 - AC_SUBST(MELLON_CFLAGS) 21 - 22 - +#include <libxml/uri.h> 23 - +PKG_CHECK_MODULES(LIBXML2, libxml-2.0) 24 - +AC_SUBST(LIBXML2_CFLAGS) 25 - +AC_SUBST(LIBXML2_LIBS) 26 - + 27 - +#include <xmlsec/xmlenc.h> 28 - +PKG_CHECK_MODULES(XMLSEC, xmlsec1-openssl) 29 - +AC_SUBST(XMLSEC_CFLAGS) 30 - +AC_SUBST(XMLSEC_LIBS) 31 - + 32 - # Test to see if we can include lasso/utils.h 33 - # AC_CHECK_HEADER won't work correctly unless we specifiy the include directories 34 - # found in the LASSO_CFLAGS. Save and restore CFLAGS and CPPFLAGS.