tags 605157 patch thanks Dear maintainer,
I've prepared an NMU for calendarserver (versioned as 2.4.dfsg-2.1). I will seek sponsorship to upload for delayed queue.
pgpEfY60Azu3z.pgp
Description: PGP signature
=== modified file 'debian/changelog' --- a/debian/changelog 2010-08-25 15:23:37 +0000 +++ b/debian/changelog 2010-12-03 21:33:05 +0000 @@ -1,3 +1,10 @@ +calendarserver (2.4.dfsg-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Set PYTHONPATH env var in a secure way (Closes: #605166, #605157) + + -- Dmitrijs Ledkovs <dmitrij.led...@ubuntu.com> Fri, 03 Dec 2010 21:28:40 +0000 + calendarserver (2.4.dfsg-2) unstable; urgency=low * Removed Uploaders field in debian/changelog === modified file 'debian/patches/paths.diff' --- a/debian/patches/paths.diff 2010-08-25 15:23:37 +0000 +++ b/debian/patches/paths.diff 2010-12-03 21:33:05 +0000 @@ -173,3 +173,12 @@ ext_modules = extensions, py_modules = ["kqreactor", "memcacheclient"], ) +@@ -145,7 +145,7 @@ + line = line.rstrip("\n") + if fileType == "sh": + if line == "#PYTHONPATH": +- script.append('PYTHONPATH="%s:$PYTHONPATH"' % (install_lib,)) ++ script.append('PYTHONPATH="%s:+:$PYTHONPATH"' % (install_lib,)) + elif line == "#PATH": + script.append('PATH="%s:$PATH"' % (os.path.join(base, "bin"),)) + else: