forked from tastytea/overlay
www-apps/gotify-server-bin: drop 2.2.4
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
650d477ea6
commit
4ed236cfc7
|
@ -1,9 +1,3 @@
|
|||
DIST gotify-server-bin-2.2.4_amd64.zip 10000242 BLAKE2B 169b7041e52e62ed268b6d9e87dc432f21db35b04238dca8f328a2d85332f7151c6be29acd241f8e772ffe98a00d5a15315d741dc29830ec29cbac943b023f85 SHA512 40612ac4df647ad1fac305958b3b7d0ba5e7d00faeca479a81d47ee41571275d057fe5c0020179be95001493e50a14ad2415c6bda9571a87b8181ae1c853ea4a
|
||||
DIST gotify-server-bin-2.2.4_arm.zip 9411051 BLAKE2B c8da86c3b2f5ae791f7a116fef6678354aaded99a2de68b7fb20308fd03c6356daeee16b00835d272756ab088f3235a74e7dfaa07d9adfcfef34c6619c5702a2 SHA512 cf02100b01343adcd9c5b00ec4e4bf3b6b1ae1b6bc9071e3ca8e7a34b27ac969afdadd54f8d03ef99ba00062a7428d787fb4c87d35e756f271fd2611ea094af0
|
||||
DIST gotify-server-bin-2.2.4_arm64.zip 9312288 BLAKE2B 71066d64fe5f395f28e0cae0a9c5e6a9292d3469a5dc1d46757c91e3a7ae53cd4782d4fb34ddff94ea8a76a6e21e588f1c37af060442ce3f2f57e453827c617f SHA512 8740df776c824c3235d267e8ccbb2d374e07eb2add148030ed5cb137c3ca2989146ae761a2e90a59971a4b50d11ea53e117d2cb2c51b6b866db1d82b58127634
|
||||
DIST gotify-server-bin-2.2.4_config.example.yml 2435 BLAKE2B 1b6c5e97b1698d808c0a245031b660dcd933ba55a699c9660e2cf3c04d51effdb4d628795953a4ad49ba32999c73b255e26b8eaf819f368b1a11e98dda814705 SHA512 3939797cf58a066416f039db7b52d0446c2993ac07d9d930c93c9708c0d5a827c328b75613976a931cd9bf93bc0b259b96275ac07d72d4008f87973674df196f
|
||||
DIST gotify-server-bin-2.2.4_riscv.zip 9684194 BLAKE2B c14d37895133a58fdfb818f8d3ab7535a75855a46b5d68ade447ad0026fd84ed12b386b4a525b38a37480c5e3bab58625f3a30b402b86875eddd25b84a906c8a SHA512 5523b2e78d4d13d6ec04e3f8e60fa108e233e434adbcb72cdcfa73b05a51f09e8a0b0ceeb69d022fb99f948b8446d611b491519be6604b0ec0adba03aa4a476e
|
||||
DIST gotify-server-bin-2.2.4_x86.zip 9695948 BLAKE2B 3be8c5687fdd8013275ff7c381b8bf69513492646b9fbfae5e3e610f7f68f142666e90ff8f2a949221fd3a2d25292819ebbb366012f360794964ccda20c15910 SHA512 00cff6c3df89ea16ef1d9f28bd5d0a56cb85314e46e612724c9477bc440be91d2ddb01be9478386fed611e59cbeab5900b441aafcb9aca40fb598479a15daab2
|
||||
DIST gotify-server-bin-2.2.5_amd64.zip 10004251 BLAKE2B 696bb2749d8a6dd8c31fe2a0a3fcf55b4aa8a5178a87f8b6e74b47c1a8972da76af81f67dcfbb33106bd31fe611f02a51493eeee6864715168f78dd42e8251a4 SHA512 4f224d4f4dfa317502b562ee7e5838c8542236a27faeceb6f39bbc4dd774fb3666a7d5d22f324f13fc902ef782978562f8a734e66077b848a1124287f14a6713
|
||||
DIST gotify-server-bin-2.2.5_arm.zip 9413973 BLAKE2B 0a71dfa85997ebb0266cf2c3efe9502cfa3d76b5e8dfac56c2f7c3c6b12ad3aa2f39b6e29e47842d31ad9e8772033f87927789ea43b858f66a8592dfc3a08fe7 SHA512 00f651f096b95b3b364278e8c0f9d93e7cee571c733b3c5c82cc18ea97f2054734ad2a7916b616d62538714a17b9597e82b70a609264713e3185fc189447b3be
|
||||
DIST gotify-server-bin-2.2.5_arm64.zip 9311593 BLAKE2B b2b2ec3fd754eae5577a44b0ffb93256ffa73d1e7097d55e6e803b07239c25a1af823ca6a736e010c2566b213242e9d5bee3c5432d4cee8df1bcfa8705fceced SHA512 2eecad2167d0b306b85781c87c4d5e4796d890be7dadfb75b61ab24ac639b16813e20e86f4107513aa1dca66903ad034852feacc177f71bb81c461baf5e627f4
|
||||
|
|
|
@ -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}
|
||||
}
|
Loading…
Reference in New Issue
Block a user