From: Zac Medico Date: Wed, 14 Jan 2009 20:32:38 +0000 (-0000) Subject: Don't show the running Linux kernel version in the commit message, since it X-Git-Tag: v2.2_rc23~7 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=32cb2998153ae18d58d0f0a83e013ba70100ed3e;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. svn path=/main/trunk/; revision=12518 --- diff --git a/bin/repoman b/bin/repoman index 1d6ef75d4..68c77b86e 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: