Thu Oct 27 12:53:13 2016 UTC ()
Fix pkglint complains


(manu)
diff -r1.36 -r1.37 pkgsrc/www/ap2-auth-mellon/Makefile
diff -r1.16 -r1.17 pkgsrc/www/ap2-auth-mellon/distinfo
diff -r1.1 -r1.2 pkgsrc/www/ap2-auth-mellon/patches/patch-0274
diff -r1.1 -r1.2 pkgsrc/www/ap2-auth-mellon/patches/patch-0347

cvs diff -r1.36 -r1.37 pkgsrc/www/ap2-auth-mellon/Makefile (expand / switch to unified diff)

--- pkgsrc/www/ap2-auth-mellon/Makefile 2016/10/18 15:13:41 1.36
+++ pkgsrc/www/ap2-auth-mellon/Makefile 2016/10/27 12:53:13 1.37
@@ -1,21 +1,21 @@ @@ -1,21 +1,21 @@
1# $NetBSD: Makefile,v 1.36 2016/10/18 15:13:41 manu Exp $ 1# $NetBSD: Makefile,v 1.37 2016/10/27 12:53:13 manu Exp $
2# 2#
3 3
4DISTNAME= mod_auth_mellon-0.12.0  4DISTNAME= mod_auth_mellon-0.12.0
5PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/g} 5PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//:S/_/-/g}
6PKGREVISION= 3 6PKGREVISION= 3
7CATEGORIES= www security 7CATEGORIES= www security
8MASTER_SITES= https://github.com/UNINETT/mod_auth_mellon/releases/download/v${DISTNAME:C/.*-//}/ 8MASTER_SITES= ${MASTER_SITE_GITHUB:=UNINETT/}/mod_auth_mellon/releases/download/v${DISTNAME:C/.*-//}/
9 9
10MAINTAINER= manu@NetBSD.org 10MAINTAINER= manu@NetBSD.org
11HOMEPAGE= https://github.com/UNINETT/mod_auth_mellon 11HOMEPAGE= https://github.com/UNINETT/mod_auth_mellon
12COMMENT= SAML 2.0 authentication for Apache 12COMMENT= SAML 2.0 authentication for Apache
13LICENSE= gnu-gpl-v2 # or later 13LICENSE= gnu-gpl-v2 # or later
14 14
15GNU_CONFIGURE= YES 15GNU_CONFIGURE= YES
16USE_LIBTOOL= YES 16USE_LIBTOOL= YES
17USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config
18 18
19APACHE_MODULE= YES 19APACHE_MODULE= YES
20PKG_APACHE_ACCEPTED= apache22 apache24 20PKG_APACHE_ACCEPTED= apache22 apache24
21.include "../../mk/apache.mk" 21.include "../../mk/apache.mk"

cvs diff -r1.16 -r1.17 pkgsrc/www/ap2-auth-mellon/distinfo (expand / switch to unified diff)

--- pkgsrc/www/ap2-auth-mellon/distinfo 2016/10/18 15:13:41 1.16
+++ pkgsrc/www/ap2-auth-mellon/distinfo 2016/10/27 12:53:13 1.17
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.16 2016/10/18 15:13:41 manu Exp $ 1$NetBSD: distinfo,v 1.17 2016/10/27 12:53:13 manu Exp $
2 2
3SHA1 (mod_auth_mellon-0.12.0.tar.gz) = 3d5cd4137154a7c848d8f3121e6497b88dc5f23e 3SHA1 (mod_auth_mellon-0.12.0.tar.gz) = 3d5cd4137154a7c848d8f3121e6497b88dc5f23e
4RMD160 (mod_auth_mellon-0.12.0.tar.gz) = 7ef278de6f4d0f0669d99c113706dc63d64f6fbc 4RMD160 (mod_auth_mellon-0.12.0.tar.gz) = 7ef278de6f4d0f0669d99c113706dc63d64f6fbc
5Size (mod_auth_mellon-0.12.0.tar.gz) = 136754 bytes 5Size (mod_auth_mellon-0.12.0.tar.gz) = 136754 bytes
6SHA1 (patch-0274) = e523b560f8220352090db686a32a5f81f6579fda 6SHA1 (patch-0274) = b5dfdd4b944c3d2c3bf47cfb97869aa57c32ea68
7SHA1 (patch-0347) = d14d5a20d05fae3962e5168a0b23ab55835452ca 7SHA1 (patch-0347) = d14d5a20d05fae3962e5168a0b23ab55835452ca

cvs diff -r1.1 -r1.2 pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0274 (expand / switch to unified diff)

--- pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0274 2016/03/14 09:58:57 1.1
+++ pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0274 2016/10/27 12:53:13 1.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1$NetBSD: patch-0274,v 1.2 2016/10/27 12:53:13 manu Exp $
 2
1From fe0eb56e29f89513b2dcf3c222fa3a2e8a09383f Mon Sep 17 00:00:00 2001 3From fe0eb56e29f89513b2dcf3c222fa3a2e8a09383f Mon Sep 17 00:00:00 2001
2From: Olav Morken <olav.morken@uninett.no> 4From: Olav Morken <olav.morken@uninett.no>
3Date: Mon, 14 Mar 2016 09:47:48 +0100 5Date: Mon, 14 Mar 2016 09:47:48 +0100
4Subject: [PATCH 274/274] Return 500 Internal Server Error if probe discovery 6Subject: [PATCH 274/274] Return 500 Internal Server Error if probe discovery
5 fails. 7 fails.
6 8
7If we don't, we can end up sending an authentication request to an IdP 9If we don't, we can end up sending an authentication request to an IdP
8that is not in the MellonProbeDiscoveryIdP list, which is probably not 10that is not in the MellonProbeDiscoveryIdP list, which is probably not
9what the user wants. 11what the user wants.
10 12
11Patch by Emmanuel Dreyfus. 13Patch by Emmanuel Dreyfus.
12--- 14---
13 README | 3 +++ 15 README | 3 +++

cvs diff -r1.1 -r1.2 pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0347 (expand / switch to unified diff)

--- pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0347 2016/10/18 15:13:41 1.1
+++ pkgsrc/www/ap2-auth-mellon/patches/Attic/patch-0347 2016/10/27 12:53:13 1.2
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
 1$NetBSD: patch-0347,v 1.2 2016/10/27 12:53:13 manu Exp $
 2
1From 78fe67641918016a6108e325be351156999109c9 Mon Sep 17 00:00:00 2001 3From 78fe67641918016a6108e325be351156999109c9 Mon Sep 17 00:00:00 2001
2From: Emmanuel Dreyfus <manu@netbsd.org> 4From: Emmanuel Dreyfus <manu@netbsd.org>
3Date: Tue, 18 Oct 2016 01:42:53 +0200 5Date: Tue, 18 Oct 2016 01:42:53 +0200
4Subject: [PATCH] Do not redirect unauthenticated AJAX request to the IdP 6Subject: [PATCH] Do not redirect unauthenticated AJAX request to the IdP
5 7
6When MellonEnable is "auth" and we get an unauthenticated AJAX 8When MellonEnable is "auth" and we get an unauthenticated AJAX
7request (identified by the X-Request-With: XMLHttpRequest HTTP 9request (identified by the X-Request-With: XMLHttpRequest HTTP
8header), fail with HTTP code 403 Forbidden instead of redirecting 10header), fail with HTTP code 403 Forbidden instead of redirecting
9to the IdP. This saves resources, as the client has no opportunity 11to the IdP. This saves resources, as the client has no opportunity
10to interract with the user to complete authentification. 12to interract with the user to complete authentification.
11--- 13---
12 README | 6 ++++++ 14 README | 6 ++++++
13 auth_mellon_handler.c | 14 ++++++++++++++ 15 auth_mellon_handler.c | 14 ++++++++++++++