debian/0000755000000000000000000000000012231450375007170 5ustar debian/watch0000644000000000000000000000024612153133010010206 0ustar version=3 opts=uversionmangle=s/_/-/g,dversionmangle=s/\+pristine$// \ http://search.cpan.org/dist/Apache-AuthenHook/ \ .*/Apache-AuthenHook-(.*)\.(?:tar\.gz|tgz) debian/clean0000644000000000000000000000000712153133010010155 0ustar t/TEST debian/apache2.conf0000644000000000000000000000101012153133010011315 0ustar LoadModule mpm_worker_module "/usr/lib/apache2/modules/mod_mpm_worker.so" LoadModule auth_basic_module "/usr/lib/apache2/modules/mod_auth_basic.so" LoadModule auth_digest_module "/usr/lib/apache2/modules/mod_auth_digest.so" LoadModule authn_core_module "/usr/lib/apache2/modules/mod_authn_core.so" LoadModule authn_file_module "/usr/lib/apache2/modules/mod_authn_file.so" LoadModule authz_core_module "/usr/lib/apache2/modules/mod_authz_core.so" LoadModule authz_user_module "/usr/lib/apache2/modules/mod_authz_user.so" debian/rules0000755000000000000000000000063412153133010010236 0ustar #!/usr/bin/make -f %: dh $@ override_dh_clean: dh_clean $(RM) -r $(CURDIR)/t/logs $(CURDIR)/t/run override_dh_auto_configure: dh_auto_configure -- OPTIMIZE="$(CFLAGS) $(CPPFLAGS) $(shell apr-1-config --includes) $(shell apr-1-config --cflags)" override_dh_auto_test: mkdir -p $(CURDIR)/t/logs mkdir -p $(CURDIR)/t/run APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \ dh_auto_test debian/copyright0000644000000000000000000000234112153133010011106 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Apache-AuthenHook Source: http://search.cpan.org/dist/Apache-AuthenHook/ Upstream-Contact: Geoffrey Young Files: * Copyright: 2003, Geoffrey Young License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, Roberto C. Sanchez 2008, Niko Tyni 2010, Ivan Kohler 2011, Ansgar Burchardt 2013, Xavier Guimard License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000012153133010010453 5ustar debian/source/format0000644000000000000000000000001412153133010011661 0ustar 3.0 (quilt) debian/libapache-authenhook-perl.docs0000644000000000000000000000000512153133010015033 0ustar ToDo debian/patches/0000755000000000000000000000000012153133010010602 5ustar debian/patches/http24.patch0000644000000000000000000000062412153133010012752 0ustar Description: we need to set the runtime dir, otherwise mod_digest tries to write to /var/run Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2013-06-01 --- a/t/conf/extra.last.conf.in +++ b/t/conf/extra.last.conf.in @@ -1,4 +1,5 @@ LogLevel debug +DefaultRuntimeDir run/ # these don't default to handler(), so we need to pre-declare them PerlModule My::Basic1 debian/patches/upgrade-test-pod-calls.patch0000644000000000000000000000120712153133010016103 0ustar Description: Replace pod_ok by pod_file_ok and scan the good dir Author: Xavier Guimard Bug: https://rt.cpan.org/Ticket/Display.html?id=82517 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=82517 Last-Update: 2013-01-06 --- a/t/99pod.t +++ b/t/99pod.t @@ -34,13 +34,13 @@ find( sub { push @files, $File::Find::name if m!\.p(m|od|l)$! }, - File::Spec->catfile(qw(.. blib lib)) + File::Spec->catfile(qw(blib lib)) ); plan(tests => scalar @files); foreach my $file (@files) { # use the older Test::Pod interface for maximum back compat - pod_ok($file); + pod_file_ok($file); } } debian/patches/series0000644000000000000000000000011412153133010012013 0ustar leaks-passwords-to-the-logs.patch upgrade-test-pod-calls.patch http24.patch debian/patches/leaks-passwords-to-the-logs.patch0000644000000000000000000000177312153133010017115 0ustar Description: Leaks passwords to the logs Author: Ivan Kohler Bug: https://rt.cpan.org/Ticket/Display.html?id=62040 Bug-Debian: http://bugs.debian.org/599712 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=62040 Reviewed-By: Xavier Guimard Last-Update: 2013-01-06 --- a/AuthenHook.xs +++ b/AuthenHook.xs @@ -180,8 +180,8 @@ case OK: ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, - "Apache::AuthenHook - user '%s', password '%s' verified", - user, password); + "Apache::AuthenHook - user '%s' verified", + user); status = AUTH_GRANTED; break; @@ -196,8 +196,8 @@ default: ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, - "Apache::AuthenHook - user '%s', password '%s' denied", - user, password); + "Apache::AuthenHook - user '%s' denied", + user); status = AUTH_DENIED; }; debian/compat0000644000000000000000000000000212153133010010351 0ustar 9 debian/control0000644000000000000000000000226412153133010010562 0ustar Source: libapache-authenhook-perl Maintainer: Debian Perl Group Uploaders: Roberto C. Sanchez , Niko Tyni , Ivan Kohler , Xavier Guimard Section: perl Priority: optional Build-Depends: apache2-dev, debhelper (>= 9.20120312), libapache2-mod-perl2-dev, libperl-dev, libtest-pod-perl, perl Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libapache-authenhook-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libapache-authenhook-perl.git Homepage: http://search.cpan.org/dist/Apache-AuthenHook/ Package: libapache-authenhook-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libapache2-mod-perl2 Description: Perl API for Apache 2.1 authentication Apache::AuthenHook offers access to the 2.1 Apache authentication API in Perl. This is different than the authentication API from Apache 1.3 or even Apache 2.0, but in its differences lies strength. debian/changelog0000644000000000000000000000660412231450375011050 0ustar libapache-authenhook-perl (2.00-04+pristine-5build1) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Tue, 22 Oct 2013 11:18:37 +0100 libapache-authenhook-perl (2.00-04+pristine-5) unstable; urgency=low * Team upload. * Apache 2.4 transition: - debian/control: build-depend on apache2-dev - add debian/apache2.conf and use it in debian/rules for the test suite - add a patch to set DefaultRuntimeDir for the tests. Otherwise mod_digest tries to write to /var/run and fails Closes: #666807 -- gregor herrmann Mon, 03 Jun 2013 17:27:01 +0200 libapache-authenhook-perl (2.00-04+pristine-4) unstable; urgency=low * Team upload. * debian/rules: fix passing of *FLAGS in configure step. (Closes: #709676) -- gregor herrmann Sat, 25 May 2013 01:42:47 +0200 libapache-authenhook-perl (2.00-04+pristine-3) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/watch: fix *versionmangle opts. * debian/control: update {versioned,alternative} (build) dependencies. [ Xavier Guimard ] * Sources: + Update format to 3.0 (quilt): + Replace patch in old format by a quilt one (leaks-passwords-to-the-logs.patch) * Bump Standards-Version to 3.9.4 * Bump debhelper compatibility to 9 to get hardening flags * Update debian/copyright (years and format) * Update debian/rules to use "dh $@" * Enable tests: + Add libtest-pod-perl in build dependencies + Add patch to : * replace pod_ok() by pod_file_ok() as required by Test::Pod * scan the good directory [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) -- Xavier Guimard Sun, 12 May 2013 12:02:50 +0200 libapache-authenhook-perl (2.00-04+pristine-2) unstable; urgency=low [ gregor herrmann ] * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Ivan Kohler ] * [CVE-2010-3845] Remove passwords from log messages (Closes: #599712) * Add myself to Uploaders: -- Ivan Kohler Sun, 10 Oct 2010 22:21:46 -0700 libapache-authenhook-perl (2.00-04+pristine-1) unstable; urgency=low [ gregor herrmann ] * debian/rules: delete /usr/share/perl5 only if it exists. [ Niko Tyni ] * Don't install the uninformative README and README.Debian files. * Remove generated file 't/TEST' in the 'clean' target. * Explicitly disable the test suite, as it needs an interactive terminal (and an httpd) to run. * Fix inter-target dependencies in debian/rules for parallel builds. * Remove unused dh_installexamples invocation in debian/rules. * Upload with a new pristine upstream tarball. + add a temporary version mangling hack in debian/watch accordingly. -- Niko Tyni Fri, 15 Feb 2008 21:15:29 +0200 libapache-authenhook-perl (2.00-04-2) unstable; urgency=low [ Roberto C. Sanchez ] * Added homepage URL to copyright file [ Martín Ferrari ] * Created watchfile. * Changed homepage field in debian/control to version-neutral dist/ URL. -- Roberto C. Sanchez Sun, 16 Dec 2007 09:19:23 -0500 libapache-authenhook-perl (2.00-04-1) unstable; urgency=low * Initial Release. (Closes: #455061) -- Roberto C. Sanchez Sat, 8 Dec 2007 13:32:19 -0500