www-apps/gotify-server-bin: drop 2.1.5
continuous-integration/drone/push Build is passing Details

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-12-03 19:05:39 +01:00
parent a82c92cc28
commit 08e0b68714
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 0 additions and 70 deletions

View File

@ -1,8 +1,3 @@
DIST gotify-server-bin-2.1.5_amd64.zip 9158283 BLAKE2B 6176961e2f8963ac6a5e2694d2f9478f84ea28e9165856a85e34d202be2d516f996b8993319b0dba74b790b9b9ac19ab0092bb736bea0c93d64028504453f4f4 SHA512 d6b8b36460471c9db5f566e1cea7dc18e8d1295f0fcd27585fe7b439e540d8d4a9d1c547f00b2291936aef1c661abed880c69f00a918b125735426c28f69f8aa
DIST gotify-server-bin-2.1.5_arm.zip 8502927 BLAKE2B c4a322139e98b3def67ea44aa570badc8f3e8332aef75579dfaf06adfef453e47f0ce9c63eb1c260bd58de382f878a79b01b2b5f47f67fe36e96f84ee5babd9d SHA512 5d77171585d28b81a92b94a1c406c7da55d7e9924829894378de359c88c24926281f6f6f416e8e26cd72c6d7465ce4cf43ac611f0f2dd6af9a97614503244b86
DIST gotify-server-bin-2.1.5_arm64.zip 8470891 BLAKE2B fdf8dc7e860d824a7d054e2f5ee99d292294370ca7e4385ee4d31cb366460e99975177a967c59dd2669f1cbe8c3bfb737a4d84ad5c1202cc845886efecd9859e SHA512 91c576e55d53f5b85a43bc728689448fb4dae7af94180ee67f88749b470f82d30f47db93f5b280d80f7adfa5bfd993fa16f9b6620b1fb7a0516bad8b5d8513b9
DIST gotify-server-bin-2.1.5_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.1.5_x86.zip 8784623 BLAKE2B 07680f3e382cb28d92afbdc18c11b64d95f26c1ab542553235241802a5372aa95ad6b6c7bf466f99d8a0e3b827367ff4cbd0db1febd8ba78083da5e60298b941 SHA512 42fe25010ba7d0fb7220c1963ccde0c85516a66ab120a66af70b5f6c671b8a233d09358aabd2331c4aa18504f5b8fcfabd2f7fab5be4621c2cc2eea0375b325c
DIST gotify-server-bin-2.1.7_amd64.zip 10001905 BLAKE2B a60e2289a5b6b2bc08faedb17c829a8ed4a7a772751c8896efeeacb0a6bfc573264c7e5f0512d2ca3c272ac1f02fd6bf59c45987991f2ba55c0f31fc20fa8350 SHA512 a25edb3193acc88d5080736f74578712dd4e3de4029eab2da9b442c655ca826d9375884216e794da98f7c73aa64f3f094f623c06fb7067831eb911e74cde7095
DIST gotify-server-bin-2.1.7_arm.zip 9411260 BLAKE2B 94a7a1ada61b71ad24f31b1ce5812757b4222d675fa6a6c6bf97269717a76646570b27b2ac4d7135cc9433028b183f76c2222e11832db9958842a06a4285e47a SHA512 0032c4c12f7be2e318c9c696d67ae764656bd095273514dc152f49bde46db11794d4182e632d8074a4b898464f5488c7d20b80e344afd7771b14cb202fad80f0
DIST gotify-server-bin-2.1.7_arm64.zip 9311580 BLAKE2B 46066eb4fffe9fad66a53d8275b9371206c57d23aed8acf7d7bf8b13ef6cc8d76bfc14f4f38c43dad7b4028528c9d361cbd5083a0455d8b0b27381d0bc2ff127 SHA512 1556bcd19d03fdb86ec20ae45861f41daabb86ffac3de8b3920569f409175f2fa8f4bbebd909d13ff45cadbe2d98ce7e8c9c31a61e8b871e25e1485289147ab6

View File

@ -1,65 +0,0 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="Simple server for sending and receiving messages in real-time per WebSocket"
HOMEPAGE="https://gotify.net/"
# NOTE: Only amd64 is tested.
SRC_URI="
amd64? ( https://github.com/gotify/server/releases/download/v${PV}/gotify-linux-amd64.zip -> ${P}_amd64.zip )
x86? ( https://github.com/gotify/server/releases/download/v${PV}/gotify-linux-386.zip -> ${P}_x86.zip )
arm? ( https://github.com/gotify/server/releases/download/v${PV}/gotify-linux-arm-7.zip -> ${P}_arm.zip )
arm64? ( https://github.com/gotify/server/releases/download/v${PV}/gotify-linux-arm64.zip -> ${P}_arm64.zip )
https://raw.githubusercontent.com/gotify/server/v${PV}/config.example.yml -> ${P}_config.example.yml
"
S="${WORKDIR}"
LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="logrotate systemd"
RDEPEND="acct-user/gotify"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"
QA_PREBUILT="/usr/bin/${PN}"
src_prepare() {
cp "${DISTDIR}/${P}_config.example.yml" config.example.yml || die
sed -i 's/listenaddr: ""/listenaddr: "[::1]"/' config.example.yml || die
cp "${FILESDIR}/${PN}.logrotate" . || die
if use systemd; then
sed -Ei "s/^(\s*)rc-service.*/\1systemctl restart ${PN}.service/" \
${PN}.logrotate || die
fi
default
}
src_install() {
local myarch="amd64"
use x86 && myarch="x86"
use arm && myarch="arm"
use arm64 && myarch="arm64"
newbin gotify-linux-${myarch} ${PN}
dodoc config.example.yml
newinitd "${FILESDIR}/${PN}.initd" ${PN}
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
if use logrotate; then
insinto etc/logrotate.d
newins ${PN}.logrotate ${PN}
fi
diropts --owner=gotify --group=gotify --mode=750
keepdir var/lib/gotify
keepdir etc/gotify
keepdir var/log/${PN}
}