Package: request-tracker4
Version: 4.0.6-2
Severity: serious
Tags: patch
Justification: 3

The regex for the "find" command in update-rt-siteconfig-4 is slightly
broken, and results in a fatal error during install:
 find: Invalid range end

Fix is simple, thus attaching patch.

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise-proposed'), (500, 'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From 780c6b06156dce6d6643e8807ea8d74dc277f204 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20F=C3=BCrstenberg?= <c...@excito.com>
Date: Wed, 20 Jun 2012 09:58:25 +0200
Subject: [PATCH] Fix broken regex character range that results in failed
 installs

---
 debian/scripts/update-rt-siteconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/scripts/update-rt-siteconfig b/debian/scripts/update-rt-siteconfig
index 5a7e50b..7d8898b 100644
--- a/debian/scripts/update-rt-siteconfig
+++ b/debian/scripts/update-rt-siteconfig
@@ -34,7 +34,7 @@ EOF
 
 # ignore *.ucf-old and the like
 find "$SITE_CONFIG_INCLUDE_DIR" -type f \
-    -iregex "^$SITE_CONFIG_INCLUDE_DIR/[a-z0-9][a-z0-9-_]+$" | sort | \
+    -iregex "^$SITE_CONFIG_INCLUDE_DIR/[a-z0-9][a-z0-9_-]+$" | sort | \
 while read file 
 do
     echo "# start $file" >> $tfile
-- 
1.7.9.5

Reply via email to