summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-11-23 09:56:40 +0100
committerViorel Munteanu <ceamac@gentoo.org>2024-12-02 18:42:23 +0200
commitbeb55c5a4f9c312948f2b20c3050ebe7cc1305e8 (patch)
tree0a3fe7411f26d3e604438bdeb84a3165c750e910 /www-apps
parentsec-keys/openpgp-keys-apache-zeppelin: new package, add 20240211 (diff)
downloadgentoo-beb55c5a4f9c312948f2b20c3050ebe7cc1305e8.tar.gz
gentoo-beb55c5a4f9c312948f2b20c3050ebe7cc1305e8.tar.bz2
gentoo-beb55c5a4f9c312948f2b20c3050ebe7cc1305e8.zip
www-apps/zeppelin-bin: add 0.11.2 #943511
Bug: https://bugs.gentoo.org/943511 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/39426 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/zeppelin-bin/Manifest2
-rw-r--r--www-apps/zeppelin-bin/zeppelin-bin-0.11.2.ebuild63
2 files changed, 65 insertions, 0 deletions
diff --git a/www-apps/zeppelin-bin/Manifest b/www-apps/zeppelin-bin/Manifest
index 7385e8c6f8a1..e2f5278acf53 100644
--- a/www-apps/zeppelin-bin/Manifest
+++ b/www-apps/zeppelin-bin/Manifest
@@ -1 +1,3 @@
DIST zeppelin-bin-0.10.1.tgz 1680577910 BLAKE2B db33bd78f760211629a9ceb99b80d660a8d9d4da73ff2b187fdcab73c7f59052f952ac2bba2b85619c425b4da8f74a3b38229de034523bb8366d00cfcbf56549 SHA512 94cc52d3121afecfd12e1061bb6f4e7e227629236e4374d2fad1e49403a52b31afc3ff888834216e5f3bd9b95324ac6e586da4131712b84aefac0a01839404aa
+DIST zeppelin-bin-0.11.2.tgz 887248195 BLAKE2B 25e5d7813521f05d20867999f8670dac82684bb208df8206d8faea286afcbbb7bf98e4eb4892bf38cf7fa1cc63670c28975dd5bf9ed728ba8799fe3e83c88a5d SHA512 c83579a26bc958638c135f9e9e96670dde0f5c86e9599666e214024a03461ca5a829598937365cd7b2d689e0a5ef85fc9439bf73286d56e2b7b2ef2744c6f418
+DIST zeppelin-bin-0.11.2.tgz.asc 833 BLAKE2B d0bb311205058a2d411c986b66e5c762b50e5f3db87770ceb43285765228b65b74138a5b18eb7b4dd8524313f7e161c2157ec79462f201af045bde3ed3cafe62 SHA512 030d855f2f3127d1dc085fb84b980c382bb44deb8bf8194b4dda5e281f9ceb1be4232e0d7a166341b96996a16445ab10a423bd3593e256c9e54308612d79b759
diff --git a/www-apps/zeppelin-bin/zeppelin-bin-0.11.2.ebuild b/www-apps/zeppelin-bin/zeppelin-bin-0.11.2.ebuild
new file mode 100644
index 000000000000..825155e8ce0e
--- /dev/null
+++ b/www-apps/zeppelin-bin/zeppelin-bin-0.11.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit java-pkg-2 verify-sig
+
+MY_PN="zeppelin"
+MY_P="${MY_PN}-${PV}-bin-all"
+
+DESCRIPTION="Web-based interactive data analytics notebook launcher"
+HOMEPAGE="https://zeppelin.apache.org"
+SRC_URI="mirror://apache/zeppelin/${MY_PN}-${PV}/${MY_P}.tgz -> ${P}.tgz
+ verify-sig? ( https://downloads.apache.org/zeppelin/zeppelin-${PV}/${MY_P}.tgz.asc -> ${P}.tgz.asc )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Apache-2.0 MIT OFL-1.1 WTFPL-2 BSD BSD-2 CC0-1.0 CDDL EPL-1.0 EPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/zeppelin.apache.org.asc"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-zeppelin )"
+DEPEND="
+ acct-group/zeppelin
+ acct-user/zeppelin
+ >=virtual/jdk-1.8
+"
+
+RDEPEND="
+ acct-group/zeppelin
+ acct-user/zeppelin
+ >=virtual/jre-1.8
+"
+
+QA_PREBUILT="*"
+
+INSTALL_DIR="/opt/${P}"
+
+src_prepare() {
+ default
+ local SO_TO_DELETE=(
+ interpreter/sh/libpty/freebsd/x86/libpty.so
+ interpreter/sh/libpty/freebsd/x86_64/libpty.so
+ interpreter/sh/libpty/linux/ppc64le/libpty.so
+ )
+
+ for s in "${SO_TO_DELETE[@]}"; do
+ rm -v ${s} || die
+ done
+ rm -r licenses || die
+}
+
+src_install() {
+ keepdir /var/log/zeppelin
+ fowners -R zeppelin:zeppelin /var/log/zeppelin
+
+ newinitd "${FILESDIR}/zeppelin.init.d" zeppelin
+
+ dodir "${INSTALL_DIR}"
+ cp -pRP * "${ED}/${INSTALL_DIR}" || die
+ dosym "${P}" /opt/zeppelin
+ fowners -R zeppelin:zeppelin "${INSTALL_DIR}"
+}