From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BE51313888F for ; Tue, 27 Oct 2015 13:10:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31111E0782; Tue, 27 Oct 2015 13:10:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D14C1E0782 for ; Tue, 27 Oct 2015 13:10:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8848A340B84 for ; Tue, 27 Oct 2015 13:10:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46B1616A3 for ; Tue, 27 Oct 2015 13:10:46 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1445951403.17b9a8844e59ffee9a7a21da49c77f8bd846ddb1.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tomcat/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/tomcat/tomcat-8.0.28-r1.ebuild X-VCS-Directories: www-servers/tomcat/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 17b9a8844e59ffee9a7a21da49c77f8bd846ddb1 X-VCS-Branch: master Date: Tue, 27 Oct 2015 13:10:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1e4a7283-223d-4a21-a179-3ea1b3121f46 X-Archives-Hash: c0d2b9c8ded05902efeb6cec45d6b4fb commit: 17b9a8844e59ffee9a7a21da49c77f8bd846ddb1 Author: Julian Ospald gentoo org> AuthorDate: Mon Oct 26 20:17:23 2015 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Oct 27 13:10:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17b9a884 www-servers/tomcat: generate a more secure password www-servers/tomcat/tomcat-8.0.28-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www-servers/tomcat/tomcat-8.0.28-r1.ebuild b/www-servers/tomcat/tomcat-8.0.28-r1.ebuild index a06fb32..0d40f89 100644 --- a/www-servers/tomcat/tomcat-8.0.28-r1.ebuild +++ b/www-servers/tomcat/tomcat-8.0.28-r1.ebuild @@ -31,6 +31,7 @@ RDEPEND="${COMMON_DEP} !=virtual/jre-1.7" DEPEND="${COMMON_DEP} + app-admin/pwgen >=virtual/jdk-1.7 test? ( >=dev-java/ant-junit-1.9:0 @@ -110,7 +111,7 @@ src_install() { fperms 0750 "${dest}"/logs # replace the default pw with a random one, see #92281 - local randpw=$(echo ${RANDOM}|md5sum|cut -c 1-15) + local randpw="$(pwgen -s -B 15 1)" sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die # prepend gentoo.classpath to common.loader, see #453212