From nobody Mon Dec 13 15:11:11 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4D11018E4791; Mon, 13 Dec 2021 15:11:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JCQ280HL9z3l5y; Mon, 13 Dec 2021 15:11:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DDC99168F1; Mon, 13 Dec 2021 15:11:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BDFBBlL047847; Mon, 13 Dec 2021 15:11:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BDFBBbt047846; Mon, 13 Dec 2021 15:11:11 GMT (envelope-from git) Date: Mon, 13 Dec 2021 15:11:11 GMT Message-Id: <202112131511.1BDFBBbt047846@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: 7604d31e30b4 - main - textproc/apache-solr: disable format lookup for log4j List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7604d31e30b4c523981eb3fd1b41cc5697f94a26 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639408272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ZBmyeQI4DwNSUVh5f587iVsW2MIpPDlRxdlxd2rTXEA=; b=C7pB0lCruevjNH5GL8fnUVMGsx7TDmCNBMjeldOPEcvNeprlBs1Bth3hErTZtUOfjHoguh E14cEeD8O8I2ubmftZks8iVn3PkchW0G7Z79/ADARQkxUf9KMuF+vxtbTln+i1cyIO0XJ+ 2oUjwV7LJ5b0KKIbPyKKNhJJbhioihxvprGtk153bSO16MB4uEvwEvPTvNGt6YgjUo+bDc Y/NAuhhmZAYPDzAAemVPFCn19rlQGCkxFbEKRrFzBaABN6L5XY2OA5OdNKv1tNq+ieLb2K J3gdzHhK4pqY1lFPJmQ9nCZUSyL1FjVaANpKAvNI0j+c1YUIhBjHG1zSLD34Rw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639408272; a=rsa-sha256; cv=none; b=N1Wkr0xt8XxQ0PlOzDpt4B9vdM+btv//1iz2wXONOhEbMW9o+9OaUaAlY3q+JoUngCedyN ml1pbYtDb/QswgGgLa99mBZNx/iCOfxG9jEfIw1U4Qifmn5K/kRJrYmRvKKJm3Zjgaf0i0 Z1zh3OPLb+XMirOMm6un1D4Vo5kUZETsOqVPcbyr1t4CY1n+QCav40UqNcZVShOnhlpicM gNnTyr9mnsdjdAwO5oh7e2+jZ9cFQs/YpUg6PwEVB/3fw0jr8tv5jS259HTrcJ6dFbHUjK lc1sDvNxjLSg/xayKhJLIa23Hl6ioJ8C4lNvhRaR4w3anjYo+pH84ZVC8yMuXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=7604d31e30b4c523981eb3fd1b41cc5697f94a26 commit 7604d31e30b4c523981eb3fd1b41cc5697f94a26 Author: Matthias Fechner AuthorDate: 2021-12-13 15:04:44 +0000 Commit: Matthias Fechner CommitDate: 2021-12-13 15:11:05 +0000 textproc/apache-solr: disable format lookup for log4j As recommended here: https://solr.apache.org/news.html#apache-solr-affected-by-apache-log4j-cve-2021-44228 disable lookup that opens a security vulnerability with log4j < 2.15.0. This is a mitigation for CVE-2021-44228. PR: 260373 --- textproc/apache-solr/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/textproc/apache-solr/Makefile b/textproc/apache-solr/Makefile index fd8f252976af..39b17fd284a6 100644 --- a/textproc/apache-solr/Makefile +++ b/textproc/apache-solr/Makefile @@ -2,6 +2,7 @@ PORTNAME= apache-solr PORTVERSION= 8.11.0 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= https://archive.apache.org/dist/lucene/solr/${PORTVERSION}/ DISTNAME= solr-${PORTVERSION} @@ -47,7 +48,7 @@ do-install: ${ECHO} 'SOLR_LOGS_DIR="/var/log/solr"' >> ${STAGEDIR}${PREFIX}/etc/solr.in.sh.sample ${ECHO} 'SOLR_PORT="8983"' >> ${STAGEDIR}${PREFIX}/etc/solr.in.sh.sample ${ECHO} 'SOLR_PID_DIR="/var/db/solr"' >> ${STAGEDIR}${PREFIX}/etc/solr.in.sh.sample - ${ECHO} 'SOLR_OPTS="$$SOLR_OPTS -Djetty.host=localhost"' >> ${STAGEDIR}${PREFIX}/etc/solr.in.sh.sample + ${ECHO} 'SOLR_OPTS="$$SOLR_OPTS -Djetty.host=localhost -Dlog4j2.formatMsgNoLookups=true"' >> ${STAGEDIR}${PREFIX}/etc/solr.in.sh.sample ${MKDIR} ${STAGEDIR}/var/db/solr ${MKDIR} ${STAGEDIR}/var/log/solr