net-im/dendrite: Drop old version 0.12.0

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
Nils Freydank 2023-07-04 23:09:25 +02:00
parent c8e4c5cfb8
commit 1efa3d844c
Signed by: nfr
GPG Key ID: 0F1DEAB2D36AD112
2 changed files with 0 additions and 108 deletions

View File

@ -1,4 +1,2 @@
DIST dendrite-0.12.0-deps.tar.xz 520137316 BLAKE2B 2370aa0a47046db5863fd08827eb19ff8c8e060f67368f6c0241ffdc45d2b0cf7810dd1e67297e89f9b84e110e7fee30e95a355e7ef842138821ba8c197e2cb1 SHA512 20f8113c1d0d504f88674b80933f18e50d659fc5a87fe8485a5884d98c463a94f32271c15da1fe4d2c3106dc7747e4f29fd26f7993c03d669bddd5c0292437d2
DIST dendrite-0.12.0.tar.gz 1086809 BLAKE2B ad3975458e27149851efc8aca769d719439a65d81c98f2b6545a70ab42a1455ec2831c876d1fd26a21e43605df0445a3dbb501ab7fd865f5b39103af9d710417 SHA512 1e2d65d33b684481394aebf9b11394ec7c9846b214eb1a38ff4cd4dec126192f902e8abc65fcdfa4c463ae156bac722169c19628edc69d57649af26f176ea6c6
DIST dendrite-0.13.0-deps.tar.xz 521789060 BLAKE2B f6503f73389513daa250f2a4d75ea5ef2054b43437567e9a9bf1b4a018f03954d14c2b642e0887f1929f0918004f7b2b62920bc453f465d4249589a7dec9dcd3 SHA512 6887c408a58614390544df3e6a2bcc9796c5d155c736c306c6fa9183d3be2d1e99c3d57d058e42f1dee83b6ee6e76d2fcae558ba7827394c07c710285740b0ea
DIST dendrite-0.13.0.tar.gz 1248590 BLAKE2B 5b1af4dbd42a406a5d1fa4cc57352f59785e7011065bda7daf873bb5e2ebab3fe0c6f8afbc6a69c9f1c7c3f1d121116f72247a05c5a08c1c99d7cb73b10833c1 SHA512 868cfc16742aaac4e0df011a032db7576ea596935a22f37b66f2bc99e5216b4f92fabef2aa8b8b30dd5666af7fdddfd47283119fb452af67be9b19bcb32f2d2d

View File

@ -1,106 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
EGO_PN="github.com/matrix-org/dendrite/"
inherit go-module systemd
COMMIT_ID="11b557097c6745309c09b58f681080d3fcc4f9f5"
DESCRIPTION="Matrix homeserver written in go"
HOMEPAGE="https://matrix.org https://github.com/matrix-org/dendrite"
if [[ ${PV} == *_p* ]]; then
SRC_URI="https://${EGO_PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
else
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
# Add the manually vendored tarball.
# Compress the tarball with: xz -9kT0 --memlimit-decompress=256M
SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/holgersson-overlay/${P}-deps.tar.xz"
KEYWORDS="~amd64"
# There are some third-party licenses for test suites
# like non-commercial clauses inside for ccgo / CompCert.
# Restrict test execution until that stuff is sorted out.
RESTRICT="test"
LICENSE="
Apache-2.0
BSD
BSD-2
CC0-1.0
ISC
LGPL-3
MIT
MPL-2.0
Unlicense
ZLIB
"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="
acct-user/dendrite
acct-group/dendrite
"
BDEPEND=""
src_unpack() {
go-module_src_unpack || die
}
src_compile() {
local mygobuildargs=(
-o bin/
-trimpath
-ldflags="-s -w"
-mod mod
-v -x
-work
)
ego build "${mygobuildargs[@]}" "${S}/cmd/..."
}
src_test() {
ego test -trimpath -v -x -work "${S}/cmd/..."
}
src_install() {
# Install files from bin, prefix with 'dendrite' if necessary.
newbin bin/create-account dendrite-create-account
dobin bin/dendrite-demo-pinecone
dobin bin/dendrite-demo-yggdrasil
dobin bin/dendrite
dobin bin/dendrite-upgrade-tests
# prefix
newbin bin/furl dendrite-furl
newbin bin/generate-config dendrite-generate-config
newbin bin/generate-keys dendrite-generate-keys
newbin bin/resolve-state dendrite-resolve-state
# Provide a sample configuration.
dodir "/etc/dendrite"
insinto /etc/dendrite
doins "${S}/dendrite-sample.yaml"
# Install init scripts for OpenRC
newinitd "${FILESDIR}"/dendrite.initd dendrite
newconfd "${FILESDIR}"/dendrite.confd dendrite
# Install a systemd unit.
systemd_newunit "${FILESDIR}"/dendrite.service dendrite.service
keepdir "/var/log/dendrite"
fowners dendrite:dendrite "/var/log/dendrite"
}
pkg_postinst() {
elog ""
elog "Note that all binaries are prefixed with 'dendrite-'"
elog "- even ones that have no prefix uptream."
}