Control: tags -1 patch

Hi,

I have prepared a debdiff that implements the necessary
changes to make the package work with Apache 2.4.

Cheers,
Felix
diff -Nru libapache2-mod-xsendfile-0.12/debian/apache2 libapache2-mod-xsendfile-0.12/debian/apache2
--- libapache2-mod-xsendfile-0.12/debian/apache2	1970-01-01 01:00:00.000000000 +0100
+++ libapache2-mod-xsendfile-0.12/debian/apache2	2013-05-31 08:24:45.000000000 +0200
@@ -0,0 +1 @@
+mod debian/xsendfile.load
diff -Nru libapache2-mod-xsendfile-0.12/debian/changelog libapache2-mod-xsendfile-0.12/debian/changelog
--- libapache2-mod-xsendfile-0.12/debian/changelog	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/changelog	2013-05-31 17:50:10.000000000 +0200
@@ -1,3 +1,11 @@
+libapache2-mod-xsendfile (0.12-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Transition towards Apache 2.4. (Closes: #666801)
+    - Use apache2 dh helper.
+
+ -- Felix Geyer <fge...@debian.org>  Fri, 31 May 2013 08:25:44 +0200
+
 libapache2-mod-xsendfile (0.12-1) unstable; urgency=low
 
   * [6537b3a] New upstream version 0.12
diff -Nru libapache2-mod-xsendfile-0.12/debian/control libapache2-mod-xsendfile-0.12/debian/control
--- libapache2-mod-xsendfile-0.12/debian/control	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/control	2013-05-31 08:24:20.000000000 +0200
@@ -1,7 +1,7 @@
 Source: libapache2-mod-xsendfile
 Priority: extra
 Maintainer: Marco Nenciarini <mnen...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), apache2-threaded-dev (>= 2.2.3)
+Build-Depends: debhelper (>= 7.0.50~), apache2-dev (>= 2.4)
 Standards-Version: 3.9.2
 Section: web
 Vcs-Git: git://anonscm.debian.org/git/collab-maint/libapache2-mod-xsendfile.git
@@ -10,7 +10,7 @@
 
 Package: libapache2-mod-xsendfile
 Architecture: any
-Depends: apache2.2-common (>= 2.2.3), ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Serve large static files efficiently from web applications
  This package provides the xsendfile module for the Apache 2 webserver.
  xsendfile is a small Apache2 module that processes X-SENDFILE header
diff -Nru libapache2-mod-xsendfile-0.12/debian/install libapache2-mod-xsendfile-0.12/debian/install
--- libapache2-mod-xsendfile-0.12/debian/install	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/install	2013-05-31 08:24:58.000000000 +0200
@@ -1,2 +1 @@
 .libs/mod_xsendfile.so usr/lib/apache2/modules
-debian/xsendfile.load etc/apache2/mods-available
diff -Nru libapache2-mod-xsendfile-0.12/debian/postinst libapache2-mod-xsendfile-0.12/debian/postinst
--- libapache2-mod-xsendfile-0.12/debian/postinst	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/postinst	1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    configure)
-        a2enmod xsendfile
-    ;;
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru libapache2-mod-xsendfile-0.12/debian/prerm libapache2-mod-xsendfile-0.12/debian/prerm
--- libapache2-mod-xsendfile-0.12/debian/prerm	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/prerm	1970-01-01 01:00:00.000000000 +0100
@@ -1,21 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-    remove|purge)
-        if which a2dismod > /dev/null 2>&1; then
-            a2dismod xsendfile || true
-        fi
-    ;;
-    upgrade|deconfigure|failed-upgrade)
-    ;;
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff -Nru libapache2-mod-xsendfile-0.12/debian/rules libapache2-mod-xsendfile-0.12/debian/rules
--- libapache2-mod-xsendfile-0.12/debian/rules	2011-07-15 20:02:11.000000000 +0200
+++ libapache2-mod-xsendfile-0.12/debian/rules	2013-05-31 08:28:18.000000000 +0200
@@ -5,7 +5,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ --with apache2
 
 override_dh_auto_build:
 	apxs2 -c mod_xsendfile.c

Reply via email to