From 32cb2998153ae18d58d0f0a83e013ba70100ed3e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Jan 2009 20:32:38 +0000 Subject: [PATCH] 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 --- bin/repoman | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.26.2