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

Signed-off-by: tea <tea@tastytea.de>
This commit is contained in:
tea 2024-06-28 06:19:24 +02:00
parent cdb98730b6
commit a885223e56
No known key found for this signature in database
2 changed files with 0 additions and 73 deletions

View File

@ -1,9 +1,3 @@
DIST gotify-server-bin-2.3.0_amd64.zip 9228143 BLAKE2B 48b84be32397a1abaa4ed293cbf62eed07ef224f8ff835fdf1e47ec84d1fd421298a8af326202d16c9bdb51c61e751e380e88476dafd45afa3016b6f720b83cb SHA512 ef5e56ce7e6da77efb3eca71157b8316303c680e2f0b57576e5ad397683c67ae841215cf1a552f7ed1433387554ca90571238e9c91d6d32417f5259e401d90bc
DIST gotify-server-bin-2.3.0_arm.zip 8674059 BLAKE2B 6222449488a450152064dd0f1cc82cc90351d218b9f479ac7e0ba33fcf664e62615e7c46b856255564741d41061ce035fb9faad36ab4551331f515f8c7df3923 SHA512 edf1cf14c72a8d7bc59cf35ace1f9da4ce5b1081d1c33aef58734103a60e54669ab6cfae04dc627ff015224fa56a48c71ab22f1bfb6bebae37d30fc801708c63
DIST gotify-server-bin-2.3.0_arm64.zip 8586725 BLAKE2B 64ac4660ca118d9a3581f8545d33ec0b869253aea359a6c599a499ca2a6b913928d86dbc84f25905b200f6e025aa85349737c4c5b5277df599ba7804a228451f SHA512 4fbfb6faf1e4b72068b0a10988aed74ceab05e4031cc6dac24dc9d068a07b19033d36f2e32ad7defe0492d8ccd69263853cdf39c55304dc122d33904e53d8e50
DIST gotify-server-bin-2.3.0_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.3.0_riscv.zip 8939227 BLAKE2B 2f87cc48efef23f1f857eadc34dc2e0a987faf11052cadd322aca1ad7d9c499ea933ba6ca7645088aed2ed21dd32b5b44d4a4bd7974664327c78b2dcacc430f5 SHA512 f9f1c1da7a4b4a8d0ede89b51f72a3353bb81efc30c2037b107b1c03b9a1ecad19e7d414377ffae8c61c7ee356202dde7bbb22cd8921ed4e04771ac9e0655040
DIST gotify-server-bin-2.3.0_x86.zip 8967434 BLAKE2B 601a0f6ba504abb73eadbd37392d3206e37e82f443ab4aa673e116b8627a04e322284dada6db3c335874d04655e46686beb0f1401f912dc29f9ad4cf2ea2be80 SHA512 96316fbf43091312f8cfed9cf500512e5868a5c360b4e11f84ff8d7bb581ad9893c6610a571c2b6835c0b687e203d81471b4e13e8f1873a575ac1224c173421b
DIST gotify-server-bin-2.4.0_amd64.zip 9676066 BLAKE2B 74c97bb0351fc751a40d08fba36233d2ebfd3516b272d3c83ab0a3a4758084c9002affa608e5f820f667f1f658ea08d6fd60097d48fb87f110433d2494bbad46 SHA512 d7329714ceb6d9230d89f64339b04c7d303a1695dba7da51465aa9d035228bdde74de105bf484f71ad2d02f7aaa14dfdda0e390920ce986b175a4239f1f7d2b7
DIST gotify-server-bin-2.4.0_arm.zip 9197599 BLAKE2B ba31e1c1d533b3ac9aeb7f966f10836a7f13a3d4736c9937a304f8afe74206303a0ab919a2c502f7d600934f35de62a103c9bf9d41180c4de302d5e4c9813950 SHA512 072ff7b5d1eddcdccb2fa6af74ea2435eeb6649ffd94e80962e93d37b416c5ba0afbe30f3da4f238f9ea6c0f45dfac6f960067e98034aba0265db923f74644c4
DIST gotify-server-bin-2.4.0_arm64.zip 9026603 BLAKE2B 2de29c835c62c1d8e968dad8907f6167b8ff7ab14cb9fc8b5c774bc2c14caf415964a5b8ea04ba53cb8b4ef293fb0b9d9afb4f2440c29d326b935cc7be24ec8f SHA512 a87e314d63dd123d31ddf1c389a14c2ff7a51fead45815d887c3b9c9616425fc8e00c1cba7147e30e5a794f48f51efa9d3358760158782b149c21340045a9326

View File

@ -1,67 +0,0 @@
# Copyright 2021-2023 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 )
riscv? ( https://github.com/gotify/server/releases/download/v${PV}/gotify-linux-riscv64.zip -> ${P}_riscv.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="368"
use arm && myarch="arm-7"
use arm64 && myarch="arm64"
use riscv && myarch="riscv64"
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}
}