From 22adcea04d0b8dcb11c75e28577fc162c913db6a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 18 Jan 2009 23:42:03 +0000 Subject: 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 --- bin/repoman | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/repoman b/bin/repoman index c285bd6d..6e31ee1e 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: -- cgit v1.2.3