elasticsearch: remove package
- last updated in 2017 - contained vulnerable log4j - licence is a mess
This commit is contained in:
parent
0a0f755f44
commit
d82d6ad58b
5 changed files with 1 additions and 70 deletions
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
. /etc/profile # to pull in java path
|
||||
exec chpst -u elastic elasticsearch 2>&1
|
|
@ -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
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
site="https://www.elastic.co/downloads/elasticsearch"
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue