Leonidas Spyropoulos pushed to branch main at Arch Linux / Packaging / Packages 
/ opensearch-dashboards-security-plugin


Commits:
0a863d1b by Leonidas Spyropoulos at 2025-02-22T09:46:40+00:00
upgpkg: 2.19.0.0-1: new upstream release

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = opensearch-dashboards-security-plugin
        pkgdesc = OpenSearch Dashboards Security Plugin
-       pkgver = 2.18.0.0
+       pkgver = 2.19.0.0
        pkgrel = 1
        url = https://opensearch.org/docs/latest/security-plugin
        arch = x86_64
@@ -9,12 +9,14 @@ pkgbase = opensearch-dashboards-security-plugin
        makedepends = npm
        makedepends = python
        makedepends = git
-       depends = opensearch-dashboards=2.18.0
+       depends = opensearch-dashboards=2.19.0
        options = !strip
        options = emptydirs
-       source = 
git+https://github.com/opensearch-project/security-dashboards-plugin.git#tag=2.18.0.0
-       source = 
git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=2.18.0
-       sha256sums = 
5fcb7d57dc5a37a7094d425bbda27d4165e0d75d2e7798aa84564604baec8c7d
-       sha256sums = 
047ea8d8669958d1cd16ee4c6c417088b7295dcf83a7efe855e9b32903eb02e1
+       source = 
git+https://github.com/opensearch-project/security-dashboards-plugin.git#tag=2.19.0.0
+       source = 
git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=2.19.0
+       source = 
https://github.com/hashworks/OpenSearch-Dashboards/commit/1a602a8e117f735154230cc5199153a57ec5bbb6.patch
+       sha256sums = 
eb87a435a793acf12dc3023fe1fb4e922ba5543f86b00dfa851578c97c803e19
+       sha256sums = 
9cc3248ad281286e74699e7c9ebd5855cf0dae4c5ffcf6b4d789596b01cda4e4
+       sha256sums = 
c7eab88eb06f034b0e57348d4615c86c87ea8e55da06d9ac839452317299304e
 
 pkgname = opensearch-dashboards-security-plugin


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 
 pkgname='opensearch-dashboards-security-plugin'
 _pluginname='security-dashboards-plugin'
-pkgver=2.18.0.0
-_dashboardsver=2.18.0
+pkgver=2.19.0.0
+_dashboardsver=2.19.0
 pkgrel=1
 pkgdesc='OpenSearch Dashboards Security Plugin'
 url='https://opensearch.org/docs/latest/security-plugin'
@@ -15,16 +15,28 @@ options=('!strip' 'emptydirs')
 source=(
   "git+https://github.com/opensearch-project/${_pluginname}.git#tag=${pkgver}";
   
"git+https://github.com/opensearch-project/OpenSearch-Dashboards.git#tag=${_dashboardsver}";
+  # Switch to NodeJS LTS 22 "Jod"
+  
"https://github.com/hashworks/OpenSearch-Dashboards/commit/1a602a8e117f735154230cc5199153a57ec5bbb6.patch";
 )
-sha256sums=('5fcb7d57dc5a37a7094d425bbda27d4165e0d75d2e7798aa84564604baec8c7d'
-            '047ea8d8669958d1cd16ee4c6c417088b7295dcf83a7efe855e9b32903eb02e1')
+sha256sums=('eb87a435a793acf12dc3023fe1fb4e922ba5543f86b00dfa851578c97c803e19'
+            '9cc3248ad281286e74699e7c9ebd5855cf0dae4c5ffcf6b4d789596b01cda4e4'
+            'c7eab88eb06f034b0e57348d4615c86c87ea8e55da06d9ac839452317299304e')
 
 prepare() {
   nodeVersion="$(node -v)"
   # Yes, you support this version. You just don't know it yet.
   sed -i "s/    \"node\": \"[0-9\.]*\",/    \"node\": \"${nodeVersion:1}\",/" \
-    "${_pluginname}/package.json" \
+    "${_pluginname}/package.json"
+  # match cypress version from plugin
+  sed -i "s/    \"cypress\": \"12.17.4\",/    \"cypress\": \"^13.5.1\",/" \
     "OpenSearch-Dashboards/package.json"
+  cd "OpenSearch-Dashboards"
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      patch -p1 -N -l -i "$srcdir/${filename##*/}"
+    fi
+  done
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/opensearch-dashboards-security-plugin/-/commit/0a863d1bbbcc4a5c7dbafd83bbe26da46d6457e8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/opensearch-dashboards-security-plugin/-/commit/0a863d1bbbcc4a5c7dbafd83bbe26da46d6457e8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to