forked from tastytea/overlay
www-apps/gotify-server-bin: Version bump 2.1.3.
This commit is contained in:
parent
b572278ebb
commit
21b530dc18
|
@ -8,3 +8,8 @@ DIST gotify-server-bin-2.1.0_arm.zip 8938009 BLAKE2B 4463b9c33cd3365c0bdb4099f38
|
|||
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
|
||||
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
|
||||
|
|
55
www-apps/gotify-server-bin/gotify-server-bin-2.1.3.ebuild
Normal file
55
www-apps/gotify-server-bin/gotify-server-bin-2.1.3.ebuild
Normal 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}
|
||||
}
|
Loading…
Reference in New Issue
Block a user