[SCM] Debian packaging of libapache-authenhook-perl branch, master, updated. debian/2.00-04+pristine-4-4-g4558349

gregor herrmann gregoa at debian.org
Fri May 31 23:39:00 UTC 2013


The following commit has been merged in the master branch:
commit 5bb18d895b3b006a540d865a35e5806cabf5c602
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jun 1 01:35:13 2013 +0200

    Apache 2.4: add debian/apache2.conf and use it in debian/rules
    
    for the test suite.

diff --git a/debian/apache2.conf b/debian/apache2.conf
new file mode 100644
index 0000000..7189c09
--- /dev/null
+++ b/debian/apache2.conf
@@ -0,0 +1,7 @@
+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"
diff --git a/debian/rules b/debian/rules
index fb347dd..9f6e727 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,14 @@
 %:
 	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 packaging of libapache-authenhook-perl



More information about the Pkg-perl-cvs-commits mailing list