diff options
author | taotieren | 2023-02-06 18:45:24 +0800 |
---|---|---|
committer | taotieren | 2023-02-06 18:45:24 +0800 |
commit | fa98a038a3bd24cc0c7e2ce269605d5b68f8ef53 (patch) | |
tree | 0a2684126d717f561e37f4df0206e7abb70036dc | |
parent | 4c7ceee8109d5494edeeb8894b348e7071f577d3 (diff) | |
download | aur-fa98a038a3bd24cc0c7e2ce269605d5b68f8ef53.tar.gz |
Fix log4j
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 13 insertions, 2 deletions
@@ -1,10 +1,11 @@ pkgbase = mqttfx-bin pkgdesc = A MQTT Client written in Java based on Eclipse Paho pkgver = 1.7.1 - pkgrel = 2 + pkgrel = 3 url = http://mqttfx.org arch = x86_64 license = Apache + depends = log4jscanner options = !strip source = https://web.archive.org/web/20210514230412/http://www.jensd.de/apps/mqttfx/1.7.1/mqttfx-1.7.1-64bit.deb source = mqttfx.desktop @@ -5,10 +5,13 @@ pkgname=mqttfx-bin _pkgbasename=mqttfx pkgver=1.7.1 -pkgrel=2 +pkgrel=3 pkgdesc="A MQTT Client written in Java based on Eclipse Paho" arch=("x86_64") url="http://mqttfx.org" +depends=(log4jscanner +# unzip + ) license=("Apache") options=("!strip") source=( @@ -34,4 +37,11 @@ package() { # Install the application logo and desktop launcher install -Dm644 "${_pkgbasename}.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${_pkgbasename}.png" install -Dm644 "${_pkgbasename}.desktop" "${pkgdir}/usr/share/applications/${_pkgbasename}.desktop" + + # Fix log4j + cd "${pkgdir}/opt/${bin_name}/app/" +# zipinfo lib/log4j-core*.jar | grep Jndi + log4jscanner . + log4jscanner --rewrite . +# zipinfo lib/log4j-core*.jar | grep Jndi } |