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

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-08-20 12:45:13 +02:00
parent 4269112374
commit 0a98e0c754
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.3_amd64.zip 9155885 BLAKE2B 1892fb40003527b53c67545255cc942986cca77c4e2a2c8c30d677c583ea316756e82cba43ea26e41e688ae47324c33b3228c72cc70a174e7d12f2a35815a007 SHA512 2eca2c68c7ad68182c1332cb0cd797d5f2a4229cfd1994f9d8f3381fdd4b1788cc8676c48feab0390c82f24e098d997316bfed9d06e5d0ffd96dddcd49802cc6
DIST gotify-server-bin-2.1.3_arm.zip 8502701 BLAKE2B 52ba4aec2753b2c0b0ff050cd6ab3c8b8128c9c9c4bb124d3b89e422bf74a28294082fe98130b13443e5c979f1480e7dcf72fc5bbd2a8bbfc3862909783a7e73 SHA512 766abfa3f83f987e176e310a1e009c5c81fe8b7ab0f26bf48be3f996034d095d99adad45fc787a2244ab8455963f05b74b3a89eb1e1e3591e279373e97ab6019
DIST gotify-server-bin-2.1.3_arm64.zip 8469530 BLAKE2B 83301326e1cb796b4e4f26529f275274be9eeca73bb3ad24343443e14955fb1aa511e834a1e303d1429992a79a16cf87d3490ca25e8637bd1d414f30c805df8e SHA512 c88d1420f5f4de19c95d36ddd1499627c411ef449e5b6e04e41fa234a8d6bfe9cf9c35eb115aca7de261b99393c97e6ccbcb892ad3b30bf34270c65ab8e3f1d6
DIST gotify-server-bin-2.1.3_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.1.3_x86.zip 8783333 BLAKE2B 261d055f7ddfd84b3ef6e4b62637fbd7492620e9ea44e22d9721727d81614f63f68d877fdafa169bc45c39e848b7911fc6db19f76ed5e9053a8fec2760a2a209 SHA512 4678193dba537358f9a03ff4c82b114cec92ef2d4621fadfcae93537ea40d0579871134d4ed1601ff4a3d2e3dae27d88c2f3270c5c7f57c9469c9e1c31b074ac
DIST gotify-server-bin-2.1.4_amd64.zip 9155816 BLAKE2B 55aedae29f33d0a871e0e9b37c19094839bc03c9adf08649836c08b3caf0e94d30665f3d73e96911e78177b3bf5bb9d8253c07fc0cc2332a5b2e79c81f056bc9 SHA512 b234915b0a29f72895a93adc0803566c49dd553052b6faaf3b943c366f360323f409d2dc38ec4cd0bbec3e82aa885e0b8c235b42d336650ead9c7ff331bc87aa
DIST gotify-server-bin-2.1.4_arm.zip 8503078 BLAKE2B a72a0f3f1f30cec6cea8a7f9b11f94cd15fe3c1f5ec564a53660047d0ad89340cf0aeabbe722960a7db521406aef17c9055a94673db126bfb7379b996d1911dd SHA512 1b9d085efc311433dbdca0b1fa62cdc13f642b008c759d6f4fbb4662469ae65ea4c78a20f9a6dd7768fe4e267ed735e285f8dda873378d4edcae653cbd656059
DIST gotify-server-bin-2.1.4_arm64.zip 8469368 BLAKE2B 90c9b7e0be6a51c084631f7a50f5d85f4cd6947130cae3ec2f65e2ed1562da7983f55e20f5c2c8801febebaec36a18b24e8327bc0f4ab090406d5971b2c4b735 SHA512 a38eadfee2274188f59de391d2c5942d13b223d5140f8437653682691fd0d3e698c3f3a9b8a1d95e723ad0d0a9c7c34a1c2ccde852496424c7cdfab33815903a

View File

@ -1,65 +0,0 @@
# Copyright 2021 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}
}