This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ofbiz-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new 45d2471  Fixed: temporarily disables the Birt component for security 
reason
45d2471 is described below

commit 45d24714a42be75bf6dbd79880475c068f4d9cb3
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Fri Sep 23 15:49:35 2022 +0200

    Fixed: temporarily disables the Birt component for security reason
    
    Already done on demos
---
 demo-backup/next-manual.sh         | 1 +
 demo-backup/patch/trunk/birt.patch | 7 +++++++
 demo-backup/stable-manual.sh       | 1 +
 demo-backup/trunk.sh               | 1 +
 4 files changed, 10 insertions(+)

diff --git a/demo-backup/next-manual.sh b/demo-backup/next-manual.sh
index 116246d..277f795 100755
--- a/demo-backup/next-manual.sh
+++ b/demo-backup/next-manual.sh
@@ -19,6 +19,7 @@ rm /home/ofbizDemo/branch22.01/framework/base/config/*.jks
 # Here no need to check out, it's not a repo. So patching is OK
 cd /home/ofbizDemo/branch22.01/plugins
 patch -p0 < /home/ofbizDemo/branch22.01/solr.config.patch
+patch -p0 < /home/ofbizDemo/trunk/birt.patch
 cd ..
 
 ./gradlew --no-daemon "ofbiz --shutdown --portoffset 20000"
diff --git a/demo-backup/patch/trunk/birt.patch 
b/demo-backup/patch/trunk/birt.patch
new file mode 100644
index 0000000..96391a4
--- /dev/null
+++ b/demo-backup/patch/trunk/birt.patch
@@ -0,0 +1,7 @@
+diff --git birt/ofbiz-component.xml birt/ofbiz-component.xml
+index 5e58dec..b1d3d27 100644
+--- birt/ofbiz-component.xml
++++ birt/ofbiz-component.xml
+@@ -21 +21 @@
+-<ofbiz-component name="birt" enabled="true"
++<ofbiz-component name="birt" enabled="false"
diff --git a/demo-backup/stable-manual.sh b/demo-backup/stable-manual.sh
index 7f2bb13..f660f20 100755
--- a/demo-backup/stable-manual.sh
+++ b/demo-backup/stable-manual.sh
@@ -19,6 +19,7 @@ rm /home/ofbizDemo/branch18.12/framework/base/config/*.jks
 # Here no need to check out, it's not a repo. So patching is OK
 cd /home/ofbizDemo/branch18.12/plugins
 patch -p0 < /home/ofbizDemo/branch18.12/solr.config.patch
+patch -p0 < /home/ofbizDemo/trunk/birt.patch
 cd ..
 
 ./gradlew --no-daemon "ofbiz --shutdown --portoffset 10000"
diff --git a/demo-backup/trunk.sh b/demo-backup/trunk.sh
index b50ed48..e7e7f9b 100755
--- a/demo-backup/trunk.sh
+++ b/demo-backup/trunk.sh
@@ -18,6 +18,7 @@ rm /home/ofbizDemo/trunk/framework/base/config/*.jks
 # Here no need to check out, it's not a repo. So patching is OK
 cd /home/ofbizDemo/trunk/plugins
 patch -p0 < /home/ofbizDemo/trunk/solr.config.patch
+patch -p0 < /home/ofbizDemo/trunk/birt.patch
 cd ..
 
 ./gradlew --no-daemon terminateOfbiz

Reply via email to