Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ergo/
Date: Sun, 20 Feb 2022 05:51:51
Message-Id: 1645335929.acf06891e30f5fb0fe4214371cb53b3c1cb535e0.sam@gentoo
1 commit: acf06891e30f5fb0fe4214371cb53b3c1cb535e0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 05:45:29 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 05:45:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf06891
7
8 net-irc/ergo: drop 2.8.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-irc/ergo/Manifest | 1 -
13 net-irc/ergo/ergo-2.8.0.ebuild | 69 ------------------------------------------
14 2 files changed, 70 deletions(-)
15
16 diff --git a/net-irc/ergo/Manifest b/net-irc/ergo/Manifest
17 index fc7d2ada4c65..40831ce0cded 100644
18 --- a/net-irc/ergo/Manifest
19 +++ b/net-irc/ergo/Manifest
20 @@ -1,2 +1 @@
21 -DIST ergo-2.8.0.tar.gz 3150109 BLAKE2B 07b725e9db49f101544a7f7cbbb197c77187f35c59e07055ff46a6ffb0a62cb250915c36209fce453e3158000f8b0eeb16189303b5dc78fda3daf6c2e8a35b28 SHA512 4f3c33286be91cf12cf6cc6b56598bf6adf60c88cd22290d3221457e4d08d7957b1922a18b151726a341825a65168daf1174c622c54268c5aa744ed9c9a0326b
22 DIST ergo-2.9.1.tar.gz 3249107 BLAKE2B 6d8f98ab868ef10323a40583e2ddb2e1854b967265f789ec176caae40675ef5a9a6a9e54c1b60d8e3f281dcb5ad18e964624ccf673e146ee7044f3454a3e2349 SHA512 5aa8f1afc55c432acf6763aa95cffdb3447b7d53a759d04c303675852b240b0fe26030a94ea12954a453d4f8e4f7db7ffbca8faeb6a1b20b17a44ac27b80d66a
23
24 diff --git a/net-irc/ergo/ergo-2.8.0.ebuild b/net-irc/ergo/ergo-2.8.0.ebuild
25 deleted file mode 100644
26 index edff5c53fda6..000000000000
27 --- a/net-irc/ergo/ergo-2.8.0.ebuild
28 +++ /dev/null
29 @@ -1,69 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit go-module systemd
36 -
37 -DESCRIPTION="A modern IRC server written in Go"
38 -HOMEPAGE="https://ergo.chat/ https://github.com/ergochat/ergo"
39 -SRC_URI="https://github.com/ergochat/ergo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0"
42 -SLOT="0"
43 -KEYWORDS="~amd64"
44 -
45 -# No test files are included in release tarballs
46 -# We may even want to package irctest
47 -RESTRICT="test"
48 -
49 -BDEPEND=">=dev-lang/go-1.14"
50 -RDEPEND="
51 - acct-user/oragono
52 - acct-group/oragono
53 -"
54 -
55 -DOCS=( README.md docs/MANUAL.md docs/USERGUIDE.md )
56 -
57 -src_prepare() {
58 - default
59 -
60 - # Minor fiddling with paths
61 - sed -i \
62 - -e 's:/home/ergo/ergo:/usr/bin/ergo:' \
63 - -e 's:/home/ergo:/var/lib/ergo:' \
64 - -e 's:/var/lib/ergo/ircd.yaml:/etc/ergo/ircd.yaml:' \
65 - -e 's:User=ergo:User=oragono:' \
66 - distrib/systemd/ergo.service || die
67 -}
68 -
69 -src_compile() {
70 - go build -mod=vendor . || die
71 -}
72 -
73 -src_install() {
74 - einstalldocs
75 -
76 - dobin ergo
77 -
78 - insinto /etc/ergo
79 - doins default.yaml
80 -
81 - newinitd "${FILESDIR}"/ergo.initd ergo
82 - newconfd "${FILESDIR}"/ergo.confd ergo
83 -
84 - keepdir /var/lib/ergo
85 - fowners oragono:oragono /var/lib/ergo
86 -
87 - insinto /var/lib/ergo
88 - doins -r languages/
89 -
90 - systemd_dounit distrib/systemd/ergo.service
91 -}
92 -
93 -pkg_postinst() {
94 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
95 - elog "Please copy the example config in ${EROOT}/etc/ergo:"
96 - elog "e.g. cp ${EROOT}/etc/ergo/default.yaml ${EROOT}/etc/ergo/ircd.yaml"
97 - fi
98 -}