diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/debianutils/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/debianutils/files')
-rw-r--r-- | sys-apps/debianutils/files/debianutils-3.4.2-no-bs-namespace.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-apps/debianutils/files/debianutils-3.4.2-no-bs-namespace.patch b/sys-apps/debianutils/files/debianutils-3.4.2-no-bs-namespace.patch new file mode 100644 index 000000000000..94a84b8fb9cd --- /dev/null +++ b/sys-apps/debianutils/files/debianutils-3.4.2-no-bs-namespace.patch @@ -0,0 +1,30 @@ +Allow dots in the names, bug #95173. Patch by Kerin Millar. +Re-sourced for 3.4.2 + +--- a/run-parts.8 ++++ b/run-parts.8 +@@ -25,9 +25,10 @@ + .IR directory . + Other files and directories are silently ignored. + +-If neither the \-\-lsbsysinit option nor the \-\-regex option is given +-then the names must consist entirely of ASCII upper- and lower-case +-letters, ASCII digits, ASCII underscores, and ASCII minus-hyphens. ++If neither the \-\-lsbsysinit option nor the \-\-regex option is given then the ++names must consist entirely of ASCII upper- and lower-case letters, ASCII ++digits, ASCII underscores, and ASCII minus-hyphens. 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 +--- a/run-parts.c ++++ b/run-parts.c +@@ -501,7 +501,7 @@ + != 0) + pt_regex = &tradre; + +- } else if ( (err = regcomp(&classicalre, "^[a-zA-Z0-9_-]+$", ++ } else if ( (err = regcomp(&classicalre, "^[a-zA-Z0-9_-][a-zA-Z0-9._-]+$", + REG_EXTENDED | REG_NOSUB)) != 0) + pt_regex = &classicalre; + |