diff --git a/net-im/matterircd/Manifest b/net-im/matterircd/Manifest deleted file mode 100644 index 183ce36..0000000 --- a/net-im/matterircd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST matterircd-0.20.0.tar.gz 2575792 BLAKE2B f079a2dd3a756835589161e9b20d47c6b01f4bd815679e5a32b98804a5d80990c35eb952b8e1a5c3fee09d55c1be337a9ca3de5b16f4e116a04c1acec8114b1b SHA512 17fd5d9ccf3e2fb04ccbf82f0816e6a5e7217ab3e940a88a4518fae71e3a81081ebab7e611b3e4916d9daddbe0993ea717eb84deca9d6da1ea6cbb8b93c6ef8c diff --git a/net-im/matterircd/files/matterircd.confd b/net-im/matterircd/files/matterircd.confd deleted file mode 100644 index 8a31777..0000000 --- a/net-im/matterircd/files/matterircd.confd +++ /dev/null @@ -1,11 +0,0 @@ -# config file for /etc/init.d/matterircd - -MATTERIRCD_LOGDIR="/var/log/matterircd" -MATTERIRCD_CONFIG="/etc/matterircd/matterircd.toml" - -# Additional options (avoid -config use the variable above) -MATTERIRCD_OPTS="" - -# Logging -#output_log="${MATTERIRCD_LOGDIR}/matterircd.log" -#error_log="${MATTERIRCD_LOGDIR}/error.log" diff --git a/net-im/matterircd/files/matterircd.initd b/net-im/matterircd/files/matterircd.initd deleted file mode 100644 index 4d6bb6d..0000000 --- a/net-im/matterircd/files/matterircd.initd +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -output_log="${output_log:-/dev/null}" -error_log="${error_log:-${MATTERIRCD_LOGDIR}/error.log}" - -command="/usr/bin/matterircd" -command_args="-config ${MATTERIRCD_CONFIG} ${MATTERIRCD_OPTS}" -command_background=true -command_user="${command_user:-matterircd:matterircd}" -pidfile="/run/${RC_SVCNAME}.pid" -required_files="${MATTERIRCD_CONFIG}" -retry="${retry:-TERM/30/KILL/5}" -start_stop_daemon_args="${SSD_OPTS}" - -depend() { - need net -} - -start_pre() { - checkpath -d -m 0750 -o "${command_user}" "${MATTERIRCD_LOGDIR}" -} diff --git a/net-im/matterircd/matterircd-0.20.0.ebuild b/net-im/matterircd/matterircd-0.20.0.ebuild deleted file mode 100644 index 2567b14..0000000 --- a/net-im/matterircd/matterircd-0.20.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGO_PN="github.com/42wim/${PN}" - -inherit go-module user - -DESCRIPTION="Connect to your Mattermost or Slack using your IRC-client of choice" -HOMEPAGE="https://github.com/42wim/matterircd" -SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz -${EGO_SUM_SRC_URI}" -RESTRICT="mirror" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug pie static" - -DOCS=( README.md ) -QA_PRESTRIPPED="usr/bin/.*" - -src_compile() { - env GOBIN="${S}/bin" go build -mod=vendor || die "compile failed" -} - -pkg_setup() { - enewgroup matterircd - enewuser matterircd -1 -1 -1 matterircd -} - -src_install() { - dobin matterircd - use debug && dostrip -x /usr/bin/matterircd - einstalldocs - - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - - insinto /etc/matterircd - doins matterircd.toml.example - - diropts -o matterircd -g matterircd -m 0750 - keepdir /var/log/matterircd -} diff --git a/net-im/matterircd/metadata.xml b/net-im/matterircd/metadata.xml deleted file mode 100644 index 17361c3..0000000 --- a/net-im/matterircd/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - alarig@swordarmor.fr - Alarig Le Lay - -