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. 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 @@ -103,6 +103,8 @@ Copyright (C) 1996, 1997, 1998 Guy Maor .P Copyright (C) 2002, 2003, 2004 Clint Adams +.P +Copyright (C) 2005 Gentoo Technologies .B run\-parts is free software; see the GNU General Public License version 2 or 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 @@ -4,6 +4,7 @@ * Copyright (C) 1996 Jeff Noxon , * Copyright (C) 1996-1999 Guy Maor * Copyright (C) 2002, 2003, 2004, 2005 Clint Adams + * Copyright (C) 2005 Gentoo Foundation * * This is free software; see the GNU General Public License version 2 * or later for copying conditions. There is NO warranty. @@ -63,6 +64,7 @@ "\nCopyright (C) 1994 Ian Jackson, Copyright (C) 1996 Jeff Noxon.\n" "Copyright (C) 1996,1997,1998,1999 Guy Maor\n" "Copyright (C) 2002, 2003, 2004, 2005 Clint Adams\n" + "Copyright (C) 2005 Gentoo Foundation\n" "This is free software; see the GNU General Public License version 2\n" "or later for copying conditions. There is NO warranty.\n"); exit(0); @@ -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._-]+$", REG_EXTENDED | REG_NOSUB)) { error("regex failure"); exit(1); }