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

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2023-01-14 18:50:01 +01:00
parent 59ca5c830b
commit b6db7af7c1
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 0 additions and 73 deletions

View File

@ -1,9 +1,3 @@
DIST gotify-server-bin-2.2.0_amd64.zip 10002866 BLAKE2B cfc1df8941383cb565ace62713c8e1a117f534c49a93a87b3cb3d680904e83080d330d6a8b3570e658195beb54270d3556238447433964de8b07800b8328daeb SHA512 24bdf8cf105dc47524fd5a95a3976b08034dea3caae0dad34d6f358c8b7399451716f2fd086ebba84c6275fe5132d86a57d76f0d2850aa1e89d003173a35defb
DIST gotify-server-bin-2.2.0_arm.zip 9413954 BLAKE2B 91e975b9bbbe150c99e6d5f26e713c99ed3319d900ba5ed0384b563c71e62eaa878214b2d7385753fd0dd7491e90d7a5fdd06a8823000c6dacdc789a2db6e63f SHA512 a26a8f397beab8509f155434999d84586bf5b25ad8fd39c8f4ba7f9950c9573cf3d42611ef050108349610e8fef4b9450772f39daecda73b3c7360d78404e175
DIST gotify-server-bin-2.2.0_arm64.zip 9316593 BLAKE2B 5387bc3ae202bb47511e3a5400b42a42343eedc0317369dad5561cbe126237d2e3eab3a956f4930c91db508dc6524ac4b97c968d714493e9510dddd1e2e09005 SHA512 b1366466a258eb30b3c3452c23d6fd5629b861366c01e30506edded3b19205cd113a5c99ed9015dd6a3f9f0bcc2f65a7cae4ddef810a612ab9e859318dd0870d
DIST gotify-server-bin-2.2.0_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.2.0_riscv.zip 9688522 BLAKE2B 9e2eaafa1819e62d52b6ceb448bb058ba56a05341b813b7d72a64dea886f28718c99029df3e15a7c4ff29a067fb7e4c414f6f2239a80c0430bc19760023cb552 SHA512 62adf8c8dbaf34100577b63a655b0f245f09722e56a0b67d87d645c5f207807759f41e0bc9407281287ed897b08efb74e55986427a708b98e5a367b9746a016b
DIST gotify-server-bin-2.2.0_x86.zip 9697424 BLAKE2B 2798a09685ec9748415c50ed23c57f4e51f613c090cf4dcace7d94569ff06b04ac5cad9ab45eb5a57c05d31eb2427d18b5ae81762aa647fa0943e466c9f1830b SHA512 080582d63d4bf2c45820e71f96def6f40435e75a54dc696b5ade2337c77389aff8e77cd5a722bbd7a5e758ad895ecf178718a902e9bebe805856fcbdde1cd085
DIST gotify-server-bin-2.2.2_amd64.zip 10002975 BLAKE2B 02168789e87178fa2311dd3ce6cb93b5df1ab245edab5b4737490cb22001a1bf8eba7a4e3f231027c9edd9fe32991e319a31542e0f1714f4cca3ea11f8d2ccb9 SHA512 4a0702d714e33bcd05507b0961df3ffd0d6bcb531d32c19be13758dea225f6a5c554ffe20a0dd2c66a7239b0f678d59baacf7fdf6bee035a79f55573f8c5faa9
DIST gotify-server-bin-2.2.2_arm.zip 9413680 BLAKE2B 97ee40f5c178598483346d40df86725ea96030dafd08adc4cec2afcbdf9441bb9aec8926d179a9bdd91aecd77cb2be3e8de6d3f808d89912c51f2cab6faae4d7 SHA512 83d16985f6fb3320a9e435d69dd52b9e1db5279dacf147071c78f6c103766913fa11e8117fa425b43eb00d211a2975b51b031bf88ecd52da06a64ce52c2f8969
DIST gotify-server-bin-2.2.2_arm64.zip 9317983 BLAKE2B 21ab26b04a8aaa3ef91c87816c6312fcb95c10e47daa1d0db2cee9e58b7c4398cbee2beef454df3e216029e08834c4ab01046870c1246fd1ccdd7ce9c32ed910 SHA512 ec65cc8e8b9c0e634a91c979584ecd63ec8bbcfa031ede9e58ddfa70aeaa437d50094e70e084e3d2d97c120dec9f14a8ee0df4088941c299efa9fee57d20e573

View File

@ -1,67 +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 )
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}
}