www-apps/gotify-server-bin: Version bump 2.1.0.

This commit is contained in:
tastytea 2021-09-27 21:56:15 +02:00
parent ec7842fa2c
commit f20c3fee84
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 60 additions and 0 deletions

View File

@ -3,3 +3,8 @@ DIST gotify-server-bin-2.0.23_arm.zip 8930701 BLAKE2B f6ac2f13c4b625f0b0a353bb62
DIST gotify-server-bin-2.0.23_arm64.zip 8899349 BLAKE2B 66e7fe3affbb08631d1ad46b48a03e84a9075053c97af12c833f1d9c00e6761e9c0c6bb520d7a9e8162a112b5a1b7faff40a912c10cd7e1e41b1413c94deb8e3 SHA512 6a17db6a1b4b8a5a4791f1ad9e4bf9e279cfac2dfe2c1aab4a6ab2c39ec3f65cb0baadd02ba96cf3b874e8bdec35586c38d76d9f8a955b6846adda90a28b8aaa DIST gotify-server-bin-2.0.23_arm64.zip 8899349 BLAKE2B 66e7fe3affbb08631d1ad46b48a03e84a9075053c97af12c833f1d9c00e6761e9c0c6bb520d7a9e8162a112b5a1b7faff40a912c10cd7e1e41b1413c94deb8e3 SHA512 6a17db6a1b4b8a5a4791f1ad9e4bf9e279cfac2dfe2c1aab4a6ab2c39ec3f65cb0baadd02ba96cf3b874e8bdec35586c38d76d9f8a955b6846adda90a28b8aaa
DIST gotify-server-bin-2.0.23_config.example.yml 2367 BLAKE2B 185d7af76189813b44927e1310a7b114a9c1001cbb7eede7e0a3a045d17acbd66f5d793d6ec4fe90a486b739c6d041e1b7d90492cff2af0ee30020ac1b426a32 SHA512 64f1f41041934bec3d2cee9113f731eb43d324f102293a6775e7f855f71218696502b91fe2730fe44675a22f5c942a723bf2a0468bad99c94a5f11fd5235b2f3 DIST gotify-server-bin-2.0.23_config.example.yml 2367 BLAKE2B 185d7af76189813b44927e1310a7b114a9c1001cbb7eede7e0a3a045d17acbd66f5d793d6ec4fe90a486b739c6d041e1b7d90492cff2af0ee30020ac1b426a32 SHA512 64f1f41041934bec3d2cee9113f731eb43d324f102293a6775e7f855f71218696502b91fe2730fe44675a22f5c942a723bf2a0468bad99c94a5f11fd5235b2f3
DIST gotify-server-bin-2.0.23_x86.zip 9213074 BLAKE2B b0571ed9994f60d45c630a6a11a82f6ec48f4b10bac9bf8a957d5072fafef0505d0e946ccaac7ae9b94de0d5c2b3ae0cf69449372b35fcd62eedcc887c103e52 SHA512 ebfb20aaca0859f59f63f905cf7662961d6bd5c2509eeedd16bea683af85c92939b2841e498cdb567e12aa38c2f5f56721c67fc7d2fad3e9af6e1eb72155753d DIST gotify-server-bin-2.0.23_x86.zip 9213074 BLAKE2B b0571ed9994f60d45c630a6a11a82f6ec48f4b10bac9bf8a957d5072fafef0505d0e946ccaac7ae9b94de0d5c2b3ae0cf69449372b35fcd62eedcc887c103e52 SHA512 ebfb20aaca0859f59f63f905cf7662961d6bd5c2509eeedd16bea683af85c92939b2841e498cdb567e12aa38c2f5f56721c67fc7d2fad3e9af6e1eb72155753d
DIST gotify-server-bin-2.1.0_amd64.zip 9591338 BLAKE2B b7708b65509e327e65946823c9c575d2eff97b01119e01507fc0211b0d87eeb0cc3ad3deda70623c762fc8a3471df6243f2ab22431ef83c6a191920eabad700a SHA512 c783828da4de661b8609512d2b5a03d4e40de0cf6dcff5eaa19f6a072e421a8349ec33f541ea577d26bc2acdb32c7df919dcfccc4e62453bf711f4ce1d9106a4
DIST gotify-server-bin-2.1.0_arm.zip 8938009 BLAKE2B 4463b9c33cd3365c0bdb4099f386f5a44ed0bddb51f1648807cef109718d0bb82e11ddc015d1caa0debe95c02a581a0055e88e14566521885adb2555e3d15900 SHA512 a5a00b2853fbd53b1625b5cabf98342976f86a0c1c149d8392fa2e554d8896ea9ba48527b8e83dc2c68781f8fbb41820a42ad353b37b29b222a6879dd2f4a4c6
DIST gotify-server-bin-2.1.0_arm64.zip 8903458 BLAKE2B dd08cd8d3eb5ba8144f4191eee91d615095c12361420f65c07eff922da1b3cd921feeb71e799418c8400ebc64a3160792a556911a5eb413e463e7a99a7921f79 SHA512 8781180f6342f4253faa3fbc12ecc48884ae6272645d2a5aa7b315ec9b2250315099be72c4fd841c40daf7521940634bb1ae4af79f3a4352716f39dac5dace7c
DIST gotify-server-bin-2.1.0_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
DIST gotify-server-bin-2.1.0_x86.zip 9217892 BLAKE2B 1e7184343b095cab3a2ff1b9b86634d79c7015a99781c950de02869c69b19c54046c0c1103732d76b2ae1a9bfe97be409d1ea86aeaded6655fed86366c608077 SHA512 7921e6bb921dc30d7d24bcda25d33fb1af8c830e4a6ccd37d3b22d25cd2a502396944f00322e29631213830cd1dcad25471944ac74485cd5101aee9e5eab0cd2

View File

@ -0,0 +1,55 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="logrotate"
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
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}
if use logrotate; then
insinto etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotate" "${PN}"
fi
diropts --owner=gotify --group=gotify --mode=750
keepdir var/lib/gotify
keepdir etc/gotify
keepdir var/log/${PN}
}