--- libapache2-mod-form-0.1r146.orig/debian/changelog
+++ libapache2-mod-form-0.1r146/debian/changelog
@@ -0,0 +1,24 @@
+libapache2-mod-form (0.1r146-2) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Tue, 06 Jun 2023 09:53:41 +0000
+
+libapache2-mod-form (0.1r146-1) stable; urgency=low
+
+  * updated to r146 with my patch added that preserves arguments to parse for
+    modules running later
+
+ -- Peter Poeml <poeml@cmdline.net>  Tue,  6 Feb 2014 00:06:00 +0100
+
+libapache2-mod-form (0.1-2) stable; urgency=low
+
+  * Debian/Ubuntu: add postinstall/postrm script to enable the module.
+
+ -- Peter Poeml <poeml@cmdline.net>  Wed,  1 Dec 2009 00:06:00 +0100
+
+libapache2-mod-form (0.1-1) stable; urgency=low
+
+  * Initial Release
+
+ -- Peter Poeml <poeml@cmdline.net>  Mon, 28 Sep 2009 13:11:00 +0200
--- libapache2-mod-form-0.1r146.orig/debian/compat
+++ libapache2-mod-form-0.1r146/debian/compat
@@ -0,0 +1 @@
+10
--- libapache2-mod-form-0.1r146.orig/debian/control
+++ libapache2-mod-form-0.1r146/debian/control
@@ -0,0 +1,22 @@
+Source: libapache2-mod-form
+Section: web
+Priority: extra
+Maintainer: Peter Poeml <poeml@cmdline.net>
+Standards-Version: 3.5.7
+Build-Depends: debhelper (>> 4)
+
+Package: libapache2-mod-form
+Architecture: any
+Depends: ${shlibs:depends}, apache2
+Description: mod_form is an Apache module to decode data submitted from Web forms. It deals with
+  both GET and POST methods where the data are encoded using the default content
+  type application/x-www-form-urlencoded.
+
+Package: libapache2-mod-form-dev
+Architecture: any
+Section: libdevel
+Depends: libapache2-mod-form (= ${binary:Version}), apache2-dev (>= 2.2.-1)
+Description: Development files for mod_form
+  mod_form is an Apache module to decode data submitted from Web forms. It deals with
+  both GET and POST methods where the data are encoded using the default content
+  type application/x-www-form-urlencoded.
--- libapache2-mod-form-0.1r146.orig/debian/copyright
+++ libapache2-mod-form-0.1r146/debian/copyright
@@ -0,0 +1,12 @@
+This package was debianized by Peter Poeml <poeml@cmdline.net> on
+Mon Sep 28 13:16:20 CEST 2009
+
+It was downloaded from http://apache.webthing.com/svn/apache/forms/
+
+Upstream Author: Nick Kew <nick@webthing.com>
+
+Copyright Holder: Copyright (c) 2004-6, WebThing Ltd
+
+License:
+
+GPL 2 or later
--- libapache2-mod-form-0.1r146.orig/debian/form.load
+++ libapache2-mod-form-0.1r146/debian/form.load
@@ -0,0 +1 @@
+LoadModule form_module /usr/lib/apache2/modules/mod_form.so
--- libapache2-mod-form-0.1r146.orig/debian/libapache2-mod-form-dev.install
+++ libapache2-mod-form-0.1r146/debian/libapache2-mod-form-dev.install
@@ -0,0 +1 @@
+mod_form.h		usr/include
--- libapache2-mod-form-0.1r146.orig/debian/libapache2-mod-form.install
+++ libapache2-mod-form-0.1r146/debian/libapache2-mod-form.install
@@ -0,0 +1,2 @@
+.libs/mod_form.so		usr/lib/apache2/modules
+debian/form.load		etc/apache2/mods-available
--- libapache2-mod-form-0.1r146.orig/debian/libapache2-mod-form.postinst
+++ libapache2-mod-form-0.1r146/debian/libapache2-mod-form.postinst
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Script adapted from Alberto Gonzalez Iniesta's package libapache-mod-geoip
+# Abort if any command returns an error value
+set -e
+
+case "$1" in
+  configure)
+    :
+    if test "${2+set}" != set; then
+    a2enmod form
+      :
+    elif test -z "$2" -o "$2" = "<unknown>"; then
+    a2enmod form
+      :
+    fi ;;
+  abort-upgrade | abort-remove | abort-deconfigure)
+  	:
+    ;;
+  *) echo "$0: didn't understand being called with \`$1'" 1>&2
+     exit 1;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- libapache2-mod-form-0.1r146.orig/debian/libapache2-mod-form.postrm
+++ libapache2-mod-form-0.1r146/debian/libapache2-mod-form.postrm
@@ -0,0 +1,25 @@
+#! /bin/sh
+
+# Script adapted from Alberto Gonzalez Iniesta's package libapache-mod-dosevasive
+# Abort if any command returns an error value
+set -e
+
+case "$1" in
+  remove)
+		a2dismod form
+    :
+    ;;
+  purge | disappear | upgrade | failed-upgrade | abort-upgrade)
+    :
+    ;;
+  abort-install)
+		a2dismod form
+    :
+	;;
+  *) echo "$0: didn't understand being called with \`$1'" 1>&2
+     exit 1;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- libapache2-mod-form-0.1r146.orig/debian/rules
+++ libapache2-mod-form-0.1r146/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+
+export DH_OPTIONS=
+
+CFLAGS+=$(if $(findstring debug,$(DEB_BUILD_OPTIONS)),-g,)
+CFLAGS+=$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
+APXS=/usr/bin/apxs2
+
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(APXS) -c mod_form.c
+	touch $@
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean .libs/* mod_form.l* mod_form.s* mod_form.o build-stamp install-stamp
+	$(RM) -r .libs
+
+binary-indep: DH_OPTIONS=-i
+binary-indep: build
+
+binary-arch: DH_OPTIONS=-a
+binary-arch: build
+	dh_testdir
+	dh_testroot
+	dh_install
+	dh_installdocs
+	dh_installchangelogs
+	dh_installexamples
+	dh_installdeb
+	dh_fixperms
+	dh_shlibdeps
+	dh_compress
+	dh_strip
+	dh_md5sums
+	dh_gencontrol
+	dh_builddeb
+
+binary: binary-indep binary-arch
+
+.PHONY: binary binary-arch binary-indep clean build
