summaryrefslogtreecommitdiffstats
path: root/net-im/dendrite
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/dendrite')
-rw-r--r--net-im/dendrite/Manifest2
-rw-r--r--net-im/dendrite/dendrite-0.13.6.ebuild42
-rw-r--r--net-im/dendrite/files/dendrite-monolith.confd3
-rw-r--r--net-im/dendrite/files/dendrite-monolith.initd28
-rw-r--r--net-im/dendrite/files/dendrite-monolith.service17
-rw-r--r--net-im/dendrite/files/dendrite.confd5
-rw-r--r--net-im/dendrite/files/dendrite.initd27
-rw-r--r--net-im/dendrite/files/dendrite.service17
-rw-r--r--net-im/dendrite/metadata.xml12
9 files changed, 0 insertions, 153 deletions
diff --git a/net-im/dendrite/Manifest b/net-im/dendrite/Manifest
deleted file mode 100644
index 0e4c9b9..0000000
--- a/net-im/dendrite/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST dendrite-0.13.6-vendor.tar.gz 38675509 BLAKE2B ba4b1c438870948a15b3ef544986cafa42ee26ce8a3b9b293650cb4217e6a8748caefa361a54bec32a0a35025c65f8eb5afbcabe39f7a45530e26eeb4da5404e SHA512 75ed0000f59257ba68d4ad111fa3876742f8dec3728e3d8a5c45a42ffac1203c19bdd54b370df013f572e937483c8f177f9086a8dbd7213ea9b9d6b57107c715
-DIST dendrite-0.13.6.tar.gz 1311877 BLAKE2B b833a045b22529ce0941612cf49c1e2955c7821d0b42346c4eb542eb0931ba667720f393f8677f4eda468e111d4907d3cc074a69bee7ecff0551454414104b22 SHA512 96294309e091382a2d96e508caab447c7e0d0366719beca14da6db56b27e098cfa5939e532f7d9ee69b12ff7745add9a642bec411bb8c6ce0dd521f033e23ec9
diff --git a/net-im/dendrite/dendrite-0.13.6.ebuild b/net-im/dendrite/dendrite-0.13.6.ebuild
deleted file mode 100644
index 8f9438c..0000000
--- a/net-im/dendrite/dendrite-0.13.6.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit go systemd
-
-DESCRIPTION="Dendrite is a second-generation Matrix homeserver written in Go!"
-HOMEPAGE="https://github.com/matrix-org/dendrite"
-
-SRC_URI="https://github.com/matrix-org/dendrite/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/bekcpear/gopkg-vendors/archive/refs/tags/vendor-${P}.tar.gz -> ${P}-vendor.tar.gz"
-
-LICENSE="Apache-2.0 BSD-2 BSD ISC LGPL-3 MIT MPL-2.0 ZLIB"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-BDEPEND="
- >dev-lang/go-1.19.9999:=
-"
-RDEPEND="
- acct-user/dendrite
- acct-group/dendrite
-"
-RESTRICT="strip"
-
-src_install() {
- go_src_install
-
- insinto /etc/dendrite
- doins dendrite-sample.yaml
-
- keepdir /var/log/dendrite
- fowners dendrite:dendrite /var/log/dendrite
- fperms 750 /var/log/dendrite
-
- dodoc -r docs/*
-
- newinitd "${FILESDIR}/dendrite.initd" dendrite
- newconfd "${FILESDIR}/dendrite.confd" dendrite
- systemd_dounit "${FILESDIR}"/dendrite.service
-}
diff --git a/net-im/dendrite/files/dendrite-monolith.confd b/net-im/dendrite/files/dendrite-monolith.confd
deleted file mode 100644
index 8c09541..0000000
--- a/net-im/dendrite/files/dendrite-monolith.confd
+++ /dev/null
@@ -1,3 +0,0 @@
-# extra arguments for dendrite monolith
-
-EXTRA_ARGS=""
diff --git a/net-im/dendrite/files/dendrite-monolith.initd b/net-im/dendrite/files/dendrite-monolith.initd
deleted file mode 100644
index 52dba9e..0000000
--- a/net-im/dendrite/files/dendrite-monolith.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="dendrite-monolith daemon"
-description="Dendrite (Matrix Homeserver)"
-command=/usr/bin/dendrite-monolith-server
-command_args="--config /etc/dendrite/dendrite.monolith.yaml ${EXTRA_ARGS}"
-pidfile="/run/dendrite-monolith.pid"
-command_background="yes"
-command_user="dendrite:dendrite"
-directory="/var/lib/dendrite"
-output_log="/var/log/dendrite/dendrite.log"
-error_log="/var/log/dendrite/dendrite.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- _pem="/var/lib/dendrite/matrix_key.pem"
- if [[ ! -e "${_pem}" ]]; then
- /usr/bin/generate-keys --private-key "${_pem}"
- chown dendrite:dendrite "${_pem}"
- chmod 600 "${_pem}"
- fi
- ulimit -n 65535
-}
diff --git a/net-im/dendrite/files/dendrite-monolith.service b/net-im/dendrite/files/dendrite-monolith.service
deleted file mode 100644
index 55c1d6f..0000000
--- a/net-im/dendrite/files/dendrite-monolith.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=Dendrite (Matrix Homeserver)
-After=syslog.target
-After=network.target
-
-[Service]
-RestartSec=2s
-Type=simple
-User=dendrite
-Group=dendrite
-WorkingDirectory=/var/lib/dendrite/
-ExecStart=/usr/bin/dendrite-monolith-server
-Restart=always
-LimitNOFILE=65535
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-im/dendrite/files/dendrite.confd b/net-im/dendrite/files/dendrite.confd
deleted file mode 100644
index 0c4a069..0000000
--- a/net-im/dendrite/files/dendrite.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-# extra arguments for dendrite
-
-EXTRA_ARGS=""
-
-rc_ulimit="-n 65535"
diff --git a/net-im/dendrite/files/dendrite.initd b/net-im/dendrite/files/dendrite.initd
deleted file mode 100644
index ee210a2..0000000
--- a/net-im/dendrite/files/dendrite.initd
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-name="dendrite daemon"
-description="Dendrite (Matrix Homeserver)"
-command=/usr/bin/dendrite
-command_args="--config /etc/dendrite/dendrite.yaml ${EXTRA_ARGS}"
-pidfile="/run/dendrite.pid"
-command_background="yes"
-command_user="dendrite:dendrite"
-directory="/var/lib/dendrite"
-output_log="/var/log/dendrite/dendrite.log"
-error_log="/var/log/dendrite/dendrite.log"
-
-depend() {
- need net
-}
-
-start_pre() {
- _pem="/var/lib/dendrite/matrix_key.pem"
- if [ ! -e "${_pem}" ]; then
- /usr/bin/generate-keys --private-key "${_pem}"
- chown dendrite:dendrite "${_pem}"
- chmod 600 "${_pem}"
- fi
-}
diff --git a/net-im/dendrite/files/dendrite.service b/net-im/dendrite/files/dendrite.service
deleted file mode 100644
index 0b7a1da..0000000
--- a/net-im/dendrite/files/dendrite.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=Dendrite (Matrix Homeserver)
-After=syslog.target
-After=network.target
-
-[Service]
-RestartSec=2s
-Type=simple
-User=dendrite
-Group=dendrite
-WorkingDirectory=/var/lib/dendrite/
-ExecStart=/usr/bin/dendrite
-Restart=always
-LimitNOFILE=65535
-
-[Install]
-WantedBy=multi-user.target
diff --git a/net-im/dendrite/metadata.xml b/net-im/dendrite/metadata.xml
deleted file mode 100644
index 9bd4781..0000000
--- a/net-im/dendrite/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>a@sijanec.eu</email>
- <name>Anton Luka Šijanec</name>
- </maintainer>
- <upstream>
- <remote-id type="github">matrix-org/dendrite</remote-id>
- <bugs-to>https://github.com/matrix-org/dendrite/issues</bugs-to>
- </upstream>
-</pkgmetadata>