mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
net-irc/ergo: drop 2.7.0-r1, 2.9.0
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST ergo-2.7.0.tar.gz 3115191 BLAKE2B 13bc6f4ddb26369912ed28205f4cee1f39d483481ffe5c6b87db1b2a49c0357d639c35d72d667bd63e2d1feec4cca4d0fb696e3edc2941be8f1bea8c5730adb7 SHA512 ac1171c68c07d0e1f5204ba14acc3eff7eb367e1a85cdeef79fb91bb9acc98109507a34a788cf99cd32125fb1a0f0b5b5c8afbb46b631d5d0da8dc70ab5c651c
|
||||
DIST ergo-2.8.0.tar.gz 3150109 BLAKE2B 07b725e9db49f101544a7f7cbbb197c77187f35c59e07055ff46a6ffb0a62cb250915c36209fce453e3158000f8b0eeb16189303b5dc78fda3daf6c2e8a35b28 SHA512 4f3c33286be91cf12cf6cc6b56598bf6adf60c88cd22290d3221457e4d08d7957b1922a18b151726a341825a65168daf1174c622c54268c5aa744ed9c9a0326b
|
||||
DIST ergo-2.9.0.tar.gz 3248868 BLAKE2B 5834a0708be1bd595f1c089dcb6d3fae2ca6b7315266cc9296ee28ad5524b0ecc8f8943fcbe3ff1c134cb94fe9a215aa05a13808f1db16e13b443442cdcc31cb SHA512 802bac210987e8671965537511db76bb8ed0f12b38d244c187030c380467f345ce72666c86a6c7c2b98a0b9fb99db3c66a7af31176d90e1dd7b9e9b52a27b59d
|
||||
DIST ergo-2.9.1.tar.gz 3249107 BLAKE2B 6d8f98ab868ef10323a40583e2ddb2e1854b967265f789ec176caae40675ef5a9a6a9e54c1b60d8e3f281dcb5ad18e964624ccf673e146ee7044f3454a3e2349 SHA512 5aa8f1afc55c432acf6763aa95cffdb3447b7d53a759d04c303675852b240b0fe26030a94ea12954a453d4f8e4f7db7ffbca8faeb6a1b20b17a44ac27b80d66a
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A modern IRC server written in Go"
|
||||
HOMEPAGE="https://ergo.chat/ https://github.com/ergochat/ergo"
|
||||
SRC_URI="https://github.com/ergochat/ergo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# No test files are included in release tarballs
|
||||
# We may even want to package irctest
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.14"
|
||||
RDEPEND="
|
||||
acct-user/oragono
|
||||
acct-group/oragono
|
||||
"
|
||||
|
||||
DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Minor fiddling with paths
|
||||
sed -i \
|
||||
-e 's:/home/ergo/ergo:/usr/bin/ergo:' \
|
||||
-e 's:/home/ergo:/var/lib/ergo:' \
|
||||
-e 's:/var/lib/ergo/ircd.yaml:/etc/ergo/ircd.yaml:' \
|
||||
-e 's:User=ergo:User=oragono:' \
|
||||
distrib/systemd/ergo.service || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
go build -mod=vendor . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
dobin ergo
|
||||
|
||||
insinto /etc/ergo
|
||||
doins default.yaml
|
||||
|
||||
newinitd "${FILESDIR}"/ergo.initd ergo
|
||||
newconfd "${FILESDIR}"/ergo.confd ergo
|
||||
|
||||
keepdir /var/lib/ergo
|
||||
fowners oragono:oragono /var/lib/ergo
|
||||
|
||||
insinto /var/lib/ergo
|
||||
doins -r languages/
|
||||
|
||||
systemd_dounit distrib/systemd/ergo.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
||||
elog "Please copy the example config in ${EROOT}/etc/ergo:"
|
||||
elog "e.g. cp ${EROOT}/etc/ergo/default.yaml ${EROOT}/etc/ergo/ircd.yaml"
|
||||
fi
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A modern IRC server written in Go"
|
||||
HOMEPAGE="https://ergo.chat/ https://github.com/ergochat/ergo"
|
||||
SRC_URI="https://github.com/ergochat/ergo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# No test files are included in release tarballs
|
||||
# We may even want to package irctest
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.14"
|
||||
RDEPEND="
|
||||
acct-user/oragono
|
||||
acct-group/oragono
|
||||
"
|
||||
|
||||
DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Minor fiddling with paths
|
||||
sed -i \
|
||||
-e 's:/home/ergo/ergo:/usr/bin/ergo:' \
|
||||
-e 's:/home/ergo:/var/lib/ergo:' \
|
||||
-e 's:/var/lib/ergo/ircd.yaml:/etc/ergo/ircd.yaml:' \
|
||||
-e 's:User=ergo:User=oragono:' \
|
||||
distrib/systemd/ergo.service || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
go build -mod=vendor . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
dobin ergo
|
||||
|
||||
insinto /etc/ergo
|
||||
doins default.yaml
|
||||
|
||||
newinitd "${FILESDIR}"/ergo.initd ergo
|
||||
newconfd "${FILESDIR}"/ergo.confd ergo
|
||||
|
||||
keepdir /var/lib/ergo
|
||||
fowners oragono:oragono /var/lib/ergo
|
||||
|
||||
insinto /var/lib/ergo
|
||||
doins -r languages/
|
||||
|
||||
systemd_dounit distrib/systemd/ergo.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] ; then
|
||||
elog "Please copy the example config in ${EROOT}/etc/ergo:"
|
||||
elog "e.g. cp ${EROOT}/etc/ergo/default.yaml ${EROOT}/etc/ergo/ircd.yaml"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user