From: Zac Medico Date: Sun, 18 Jan 2009 23:42:03 +0000 (-0000) Subject: Don't show the running Linux kernel version in the commit message, since it X-Git-Tag: v2.1.6.7~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=22adcea04d0b8dcb11c75e28577fc162c913db6a;p=portage.git Don't show the running Linux kernel version in the commit message, since it might leak information that would be useful to attackers. Thanks to Ned Ludd for the suggestion. (trunk r12518) svn path=/main/branches/2.1.6/; revision=12530 --- diff --git a/bin/repoman b/bin/repoman index c285bd6de..6e31ee1eb 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1894,7 +1894,9 @@ else: sys.stderr.write("Failed to insert portage version in message!\n") sys.stderr.flush() portage_version = "Unknown" - unameout = platform.system() + " " + platform.release() + " " + unameout = platform.system() + " " + if platform.system() != "Linux": + unameout += platform.release() + " " if platform.system() in ["Darwin", "SunOS"]: unameout += platform.processor() else: