From: Andrea Zagli Date: Mon, 4 Dec 2017 14:48:05 +0000 (+0100) Subject: Debian pkg: apache2.2 old api. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=53ad4a45f1abb50ed148e5e636ae9c85d1c6a4de;p=zakauthe%2Fmod_authn Debian pkg: apache2.2 old api. --- diff --git a/debian/changelog b/debian/changelog index 8693997..dbbfe53 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,13 @@ -libapache2-mod-authn-zakauthe (0.0.1-1) UNRELEASED; urgency=medium +libapache2-mod-authn-zakauthe (0.0.1-2~2.gbpff962a) UNRELEASED; urgency=medium + ** SNAPSHOT build @ff962a7d52e1a697b9d15c67246b8c7f01c8d506 ** + + [ Andrea Zagli ] ** SNAPSHOT build @99cea452a9bc102436b3195e6241e49ee956cc8d ** * Implemented basic authentication. + * Debian pkg: added files. + * Debian pkg: added files. + * Debian pkg: added files. - -- Andrea Zagli Sun, 03 Dec 2017 20:48:14 +0100 + -- tux Mon, 04 Dec 2017 15:35:07 +0100 diff --git a/debian/patches/0002-Apache-api-old-version.patch b/debian/patches/0002-Apache-api-old-version.patch new file mode 100644 index 0000000..997c428 --- /dev/null +++ b/debian/patches/0002-Apache-api-old-version.patch @@ -0,0 +1,25 @@ +From: Andrea Zagli +Date: Mon, 4 Dec 2017 15:28:12 +0100 +Subject: apache api version 2.2 + +--- + src/mod_authn_zakauthe.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/mod_authn_zakauthe.c b/src/mod_authn_zakauthe.c +index 0880081..23837e1 100644 +--- a/src/mod_authn_zakauthe.c ++++ b/src/mod_authn_zakauthe.c +@@ -129,9 +129,9 @@ static const authn_provider authn_zakauthe_provider = + static void + register_hooks (apr_pool_t *pool) + { +- ap_register_auth_provider (pool, AUTHN_PROVIDER_GROUP, "zakauthe", +- AUTHN_PROVIDER_VERSION, +- &authn_zakauthe_provider, AP_AUTH_INTERNAL_PER_CONF); ++ ap_register_provider (pool, AUTHN_PROVIDER_GROUP, "zakauthe", ++ "0", ++ &authn_zakauthe_provider); + } + + /* diff --git a/debian/patches/0002-Constants-not-defined.patch b/debian/patches/0002-Constants-not-defined.patch deleted file mode 100644 index 317caa8..0000000 --- a/debian/patches/0002-Constants-not-defined.patch +++ /dev/null @@ -1,23 +0,0 @@ -From: Andrea Zagli -Date: Mon, 4 Dec 2017 01:00:49 +0100 -Subject: Constants not defined. - ---- - src/mod_authn_zakauthe.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/mod_authn_zakauthe.c b/src/mod_authn_zakauthe.c -index 2474b42..0880081 100644 ---- a/src/mod_authn_zakauthe.c -+++ b/src/mod_authn_zakauthe.c -@@ -130,8 +130,8 @@ static void - register_hooks (apr_pool_t *pool) - { - ap_register_auth_provider (pool, AUTHN_PROVIDER_GROUP, "zakauthe", -- AUTHN_PROVIDER_VERSION, -- &authn_zakauthe_provider, AP_AUTH_INTERNAL_PER_CONF); -+ "0", -+ &authn_zakauthe_provider, 1); - } - - /* diff --git a/debian/patches/series b/debian/patches/series index ab9edc8..27f9468 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,2 @@ 0001-autogen.sh-aclocal-missing-I.patch -0002-Constants-not-defined.patch +0002-Apache-api-old-version.patch \ No newline at end of file