diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-07-13 09:25:23 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-07-13 09:25:23 +0000 |
commit | fc9cbe76bc5c1a8df17b8fd4e78e5a7696535e5b (patch) | |
tree | 10d323444ccfef58566703b6f2aa8148c6b4a5fa /sys-apps/debianutils/files | |
parent | Added to ~ppc (diff) | |
download | gentoo-2-fc9cbe76bc5c1a8df17b8fd4e78e5a7696535e5b.tar.gz gentoo-2-fc9cbe76bc5c1a8df17b8fd4e78e5a7696535e5b.tar.bz2 gentoo-2-fc9cbe76bc5c1a8df17b8fd4e78e5a7696535e5b.zip |
Allow dots in the names, bug #95173. Patch by Kerin Millar.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/debianutils/files')
-rw-r--r-- | sys-apps/debianutils/files/debianutils-2.14.1-no-bs-namespace.patch | 28 | ||||
-rw-r--r-- | sys-apps/debianutils/files/digest-debianutils-2.14.1-r1 | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/sys-apps/debianutils/files/debianutils-2.14.1-no-bs-namespace.patch b/sys-apps/debianutils/files/debianutils-2.14.1-no-bs-namespace.patch new file mode 100644 index 000000000000..dd86fb538dd8 --- /dev/null +++ b/sys-apps/debianutils/files/debianutils-2.14.1-no-bs-namespace.patch @@ -0,0 +1,28 @@ +Allow dots in the names, bug #95173. Patch by Kerin Millar. + +diff -urN debianutils-2.14.1/run-parts.8 debianutils-2.14.1-r1/run-parts.8 +--- debianutils-2.14.1/run-parts.8 2004-12-10 17:10:37.000000000 +0000 ++++ debianutils-2.14.1-r1/run-parts.8 2005-07-12 00:47:44.000000000 +0100 +@@ -26,8 +26,8 @@ + Other files and directories are silently ignored. + + If the \-\-lsbsysinit option is not given then the names must consist +-entirely of upper and lower case letters, digits, underscores, and +-hyphens. ++entirely of upper and lower case letters, digits, underscores, hyphens ++and periods. However, the name must not begin with a period. + + If the \-\-lsbsysinit option is given, then the names must not end + in .dpkg\-old or .dpkg\-dist or .dpkg\-new or .dpkg\-tmp, and must +diff -urN debianutils-2.14.1/run-parts.c debianutils-2.14.1-r1/run-parts.c +--- debianutils-2.14.1/run-parts.c 2005-02-20 04:25:49.000000000 +0000 ++++ debianutils-2.14.1-r1/run-parts.c 2005-07-12 00:47:25.000000000 +0100 +@@ -146,7 +148,7 @@ + return !regexec(&tradre, c, 0, NULL, 0); + } + else { +- if (regcomp(&classicalre, "^[a-zA-Z0-9_-]+$", REG_EXTENDED | REG_NOSUB)) { ++ if (regcomp(&classicalre, "^[a-zA-Z0-9_-][a-zA-Z0-9._-]+$", REG_EXTENDED | REG_NOSUB)) { + error("regex failure"); + exit(1); + } diff --git a/sys-apps/debianutils/files/digest-debianutils-2.14.1-r1 b/sys-apps/debianutils/files/digest-debianutils-2.14.1-r1 new file mode 100644 index 000000000000..0a3f28b2ef82 --- /dev/null +++ b/sys-apps/debianutils/files/digest-debianutils-2.14.1-r1 @@ -0,0 +1 @@ +MD5 40d7bfcd1a691ebe64db20f64a38430a debianutils_2.14.1.tar.gz 126625 |