This is an automated email from the git hooks/post-receive script. grinorcole-guest pushed a commit to branch master in repository libapache-ssllookup-perl.
commit e0f9713b5d2c9aaa84d34124419369108555412c Author: Christopher Hoskin <christopher.hos...@gmail.com> Date: Sun Mar 15 16:54:33 2015 +0000 Created debian/tests to ensure autopkgtest calls a custom smoke and not use.t --- debian/changelog | 2 +- debian/control | 7 ++----- debian/rules | 2 +- debian/tests/control | 17 +++++++++++++++++ debian/tests/pkg-perl/SKIP | 3 +++ 5 files changed, 24 insertions(+), 7 deletions(-) diff --git a/debian/changelog b/debian/changelog index 60cb6d1..19eecbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,5 @@ libapache-ssllookup-perl (2.00-04-1) UNRELEASED; urgency=low - * Initial Release. + * Initial Release. Closes: #780511 -- Christopher Hoskin <christopher.hos...@gmail.com> Thu, 12 Mar 2015 21:34:02 +0000 diff --git a/debian/control b/debian/control index 90acebe..167bf4c 100644 --- a/debian/control +++ b/debian/control @@ -4,12 +4,9 @@ Priority: optional Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org> Uploaders: Christopher Hoskin <christopher.hos...@gmail.com> Build-Depends: debhelper (>= 9.20120312~), - libapache2-mod-perl2, libapache2-mod-perl2-dev, -# apache2-threaded-dev, #Needs to be apache2-dev for 2.4 apache2-dev, libapr1-dev, - apache2, perl Standards-Version: 3.9.6 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libapache-ssllookup-perl.git @@ -21,12 +18,12 @@ Package: libapache-ssllookup-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libapache2-mod-perl2 -Description: a glue layer between Perl handlers and the mod_ssl public API +Description: glue layer between Perl handlers and the mod_ssl public API Apache::SSLLookup is a glue layer between Perl handlers and the mod_ssl public API. Under normal circumstances, you would use $r->subprocess_env() to glean information about mod_ssl. for example, . - my $request_is_over_ssl = $r->subprocess_env('HTTPS'); + $request_is_over_ssl = $r->subprocess_env('HTTPS'); . however, this is only possible after mod_ssl runs its fixups - that is, Perl handlers can only accurately check the subprocess_env table for mod_ssl diff --git a/debian/rules b/debian/rules index 5432a0c..b7330cc 100755 --- a/debian/rules +++ b/debian/rules @@ -6,4 +6,4 @@ override_dh_auto_build: dh_auto_build -- C_INCLUDE_PATH="$(APR_INC)" %: - dh $@ --with apache2 + dh $@ diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..ece153b --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,17 @@ +#Replace usual build-deps (which runs smoke tests) with custom +Test-Command: t/TEST +Depends: @, @builddeps@ +Restrictions: allow-stderr + +#use test will fail as must be loaded in Apache config, so skip. +#Therefore this test doesn't actually do anything at the moment +Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps +Depends: @, pkg-perl-autopkgtest + +Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends +Depends: @, pkg-perl-autopkgtest +Restrictions: needs-recommends + +Test-Command: /usr/share/pkg-perl-autopkgtest/runner heavy-deps +Depends: @, pkg-perl-autopkgtest, pkg-perl-autopkgtest-heavy + diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP new file mode 100644 index 0000000..6ddb014 --- /dev/null +++ b/debian/tests/pkg-perl/SKIP @@ -0,0 +1,3 @@ +# Apache::SSLLookup only works when loaded in Apache config by LoadModule or a +# startup.pl script +use.t -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache-ssllookup-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits