diff options
author | Sam James <sam@gentoo.org> | 2020-07-27 02:35:55 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-07-27 03:15:19 +0000 |
commit | a60bfe761b3f5eb9cf5551f753d9447a5d080593 (patch) | |
tree | cd0bec238c608f064535186d2391f4b5562a33e3 /net-mail/mailman/files | |
parent | media-gfx/jhead: security cleanup (diff) | |
download | gentoo-a60bfe761b3f5eb9cf5551f753d9447a5d080593.tar.gz gentoo-a60bfe761b3f5eb9cf5551f753d9447a5d080593.tar.bz2 gentoo-a60bfe761b3f5eb9cf5551f753d9447a5d080593.zip |
net-mail/mailman: security cleanup
Closes: https://bugs.gentoo.org/729468
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/mailman/files')
-rw-r--r-- | net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff b/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff deleted file mode 100644 index f095938ff42a..000000000000 --- a/net-mail/mailman/files/mailman-2.1.29-fix-libdir.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- misc/paths.py.in 2018-06-17 23:47:34 +0000 -+++ misc/paths.py.in 2019-08-16 15:18:03 +0000 -@@ -67,6 +67,16 @@ - 'dist-packages') - sys.path.append(distdir) - -+# Some distros may have the python library in a directory other than lib/ -+# such as Lib/ or lib64/. Hopefully they will have hacked -+# site.getsitepackages() to return the right thing. -+try: -+ import site -+ sys.path.extend(site.getsitepackages()) -+ del site -+except (ImportError, AttributeError): -+ pass -+ - - # In a normal interactive Python environment, the japanese.pth and korean.pth - # files would be imported automatically. But because we inhibit the importing - |