Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] elasticsearch: remove package
Date: Wed, 06 Apr 2022 20:06:42 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36545@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages elasticsearch-update
https://github.com/void-linux/void-packages/pull/36545

elasticsearch: remove package
- last updated in 2017
- contained vulnerable log4j
- licence is a mess


A patch file from https://github.com/void-linux/void-packages/pull/36545.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-elasticsearch-update-36545.patch --]
[-- Type: text/x-diff, Size: 4550 bytes --]

From 3600d14c2cfb903492ec3db7bd692d439e5357e1 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Wed, 6 Apr 2022 14:03:21 -0400
Subject: [PATCH] elasticsearch: remove package

- last updated in 2017
- contained vulnerable log4j
- licence is a mess
---
 srcpkgs/elasticsearch/INSTALL                 | 14 -----
 srcpkgs/elasticsearch/files/elasticsearch/run |  3 --
 srcpkgs/elasticsearch/template                | 52 -------------------
 srcpkgs/elasticsearch/update                  |  1 -
 srcpkgs/removed-packages/template             |  3 +-
 5 files changed, 2 insertions(+), 71 deletions(-)
 delete mode 100644 srcpkgs/elasticsearch/INSTALL
 delete mode 100755 srcpkgs/elasticsearch/files/elasticsearch/run
 delete mode 100644 srcpkgs/elasticsearch/template
 delete mode 100644 srcpkgs/elasticsearch/update

diff --git a/srcpkgs/elasticsearch/INSTALL b/srcpkgs/elasticsearch/INSTALL
deleted file mode 100644
index 622fb85bda9a..000000000000
--- a/srcpkgs/elasticsearch/INSTALL
+++ /dev/null
@@ -1,14 +0,0 @@
-# INSTALL
-case "$ACTION" in
-post)
-    if [ "$UPDATE" != "yes" ]; then
-        # actions to execute if package is being installed.
-        install -d usr/share/elasticsearch/plugins
-        install -d -m0750 var/log/elasticsearch
-        install -d -m0750 var/lib/elasticsearch/data
-        chown -R elastic etc/elasticsearch
-        chown -R elastic var/lib/elasticsearch/data
-        chown -R elastic var/log/elasticsearch
-    fi
-    ;;
-esac
diff --git a/srcpkgs/elasticsearch/files/elasticsearch/run b/srcpkgs/elasticsearch/files/elasticsearch/run
deleted file mode 100755
index 6b04b1770817..000000000000
--- a/srcpkgs/elasticsearch/files/elasticsearch/run
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-. /etc/profile # to pull in java path
-exec chpst -u elastic elasticsearch 2>&1
diff --git a/srcpkgs/elasticsearch/template b/srcpkgs/elasticsearch/template
deleted file mode 100644
index a149578d682c..000000000000
--- a/srcpkgs/elasticsearch/template
+++ /dev/null
@@ -1,52 +0,0 @@
-# Template file for 'elasticsearch'
-pkgname=elasticsearch
-version=5.1.2
-revision=2
-wrksrc="elasticsearch-${version}"
-# The only native part is libjnidispatch.so inside jna-*.jar, which is supplied
-# only for a few archs, namely arm (armv6l and better), aarch64, ppc64le, x86,
-# and x86_64; ppc64 is also supplied but elfv1 only, and all only for glibc.
-# We could recompile this, but someone would need to add code to do that.
-archs="i686 x86_64 aarch64 armv6l armv7l ppc64le"
-depends="virtual?java-runtime"
-short_desc="A distributed, open source search and analytics engine"
-maintainer="dota? =op <rogi@skylittlesystem.org>"
-license="Apache-2.0"
-homepage="http://www.elastic.co"
-distfiles="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${version}.tar.gz"
-checksum=74d752f9a8b46898d306ad169b72f328e17215c0909149e156a576089ef11c42
-system_accounts="elastic"
-conf_files="/etc/elasticsearch/elasticsearch.yml /etc/elasticsearch/jvm.options /etc/elasticsearch/log4j2.properties"
-
-do_install() {
-	ES="usr/share/elasticsearch"
-
-	rm -f bin/*.{bat,exe}
-	vmkdir $ES
-
-	vcopy bin $ES
-	vcopy lib $ES
-	vcopy modules $ES
-	vcopy plugins $ES
-
-	vmkdir usr/bin
-
-	ln -sf /$ES/bin/elasticsearch "$DESTDIR/usr/bin"
-
-	vmkdir etc/elasticsearch
-	vcopy config/* etc/elasticsearch
-
-	ln -sf /etc/elasticsearch "$DESTDIR/$ES/config"
-
-	vmkdir var/lib/elasticsearch/data
-	ln -sf /var/lib/elasticsearch/data "$DESTDIR/$ES/data"
-
-	vmkdir var/log/elasticsearch
-	ln -sf /var/log/elasticsearch "$DESTDIR/$ES/logs"
-
-	vlicense LICENSE.txt
-	vlicense NOTICE.txt
-	vdoc README.textile
-
-	vsv elasticsearch
-}
diff --git a/srcpkgs/elasticsearch/update b/srcpkgs/elasticsearch/update
deleted file mode 100644
index 32de96485c8f..000000000000
--- a/srcpkgs/elasticsearch/update
+++ /dev/null
@@ -1 +0,0 @@
-site="https://www.elastic.co/downloads/elasticsearch"
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index d5a5e66b8b1a..ca67aca138b0 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
 # Template file for 'removed-packages'
 pkgname=removed-packages
 version=0.1
-revision=67
+revision=68
 build_style=meta
 short_desc="Uninstalls packages removed from repository"
 maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -66,6 +66,7 @@ replaces="
  dtkwm<=2.0.12_1
  ebtables<=2.0.10.4_8
  eclipse-ecj<=4.9_3
+ elasticsearch<=5.1.2_2
  electron7<=7.3.3_1
  electron9<=9.4.1_1
  emacs-gtk2<=27.2_1

             reply	other threads:[~2022-04-06 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06 18:06 classabbyamp [this message]
2022-04-06 23:00 ` [PR PATCH] [Merged]: " paper42

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36545@inbox.vuxu.org \
    --to=classabbyamp@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).