www-apps/gotify-server-bin: drop 2.1.4

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2022-09-12 18:50:27 +02:00
parent 82799220ff
commit c87a00343a
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.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
DIST gotify-server-bin-2.1.4_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.1.4_x86.zip 8784588 BLAKE2B c1a01b6fbaff846b9c518afc208957de0de64655e4d45845aa13003d26b380afe4c4fc9307f02ad6a829dbab80d9c5ec9c8e0804476f2e97cae71c59daf4452b SHA512 35623dd6843fd285065791207fa47d6923aa4409e5b1632ec8aa6cab35171aab8445043ab6dfc2432708147a5bbecb2df745c61ca5fbbac38d79245e1e658f83
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

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}
}