[arch-commits] Commit in mod_itk/trunk (65627.patch PKGBUILD)

Sergej Pupykin spupykin at gemini.archlinux.org
Tue Oct 12 19:29:52 UTC 2021


    Date: Tuesday, October 12, 2021 @ 19:29:52
  Author: spupykin
Revision: 1029930

upgpkg: mod_itk 2.4.7.r04-2
try to fix crash
https://bz.apache.org/bugzilla/show_bug.cgi?id=65627

Added:
  mod_itk/trunk/65627.patch
Modified:
  mod_itk/trunk/PKGBUILD

-------------+
 65627.patch |    8 ++++++++
 PKGBUILD    |   14 +++++++++++---
 2 files changed, 19 insertions(+), 3 deletions(-)

Added: 65627.patch
===================================================================
--- 65627.patch	                        (rev 0)
+++ 65627.patch	2021-10-12 19:29:52 UTC (rev 1029930)
@@ -0,0 +1,8 @@
+diff mpm-itk-2.4.7-04/mpm_itk.c mpm-itk-2.4.7-04.q/mpm_itk.c
+247,248c247,249
+< 	apr_socket_close(ap_get_conn_socket(c));
+< 	ap_set_core_module_config(c->conn_config, NULL);
+---
+> //	apr_socket_close(ap_get_conn_socket(c));
+> //	ap_set_core_module_config(c->conn_config, NULL);
+> 	c->aborted = 1;

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-12 18:59:44 UTC (rev 1029929)
+++ PKGBUILD	2021-10-12 19:29:52 UTC (rev 1029930)
@@ -5,15 +5,23 @@
 _version=2.4.7-04
 pkgname=mod_itk
 pkgver=${_version//-/.r}
-pkgrel=1
+pkgrel=2
 pkgdesc='Apache mpm itk module that allows you to run each of your vhost under a separate uid and gid'
 arch=(x86_64)
 url='http://mpm-itk.sesse.net/'
 license=(APACHE)
 depends=(apache)
-source=(http://mpm-itk.sesse.net/mpm-itk-$_version.tar.gz)
-sha256sums=('609f83e8995416c5491348e07139f26046a579db20cf8488ebf75d314668efcf')
+source=(http://mpm-itk.sesse.net/mpm-itk-$_version.tar.gz
+	65627.patch)
+sha256sums=('609f83e8995416c5491348e07139f26046a579db20cf8488ebf75d314668efcf'
+            'ca15f1244e4afb0d77f3ea4173d0ae8ffd5f89c7da445b512e3b791949f68576')
 
+prepare() {
+  cd mpm-itk-$_version
+  # https://bz.apache.org/bugzilla/show_bug.cgi?id=65627
+  patch -p1 mpm_itk.c <../65627.patch
+}
+
 build() {
   cd mpm-itk-$_version
   ./configure --prefix=/usr



More information about the arch-commits mailing list