diff options
Diffstat (limited to 'net-irc/ergo')
-rw-r--r-- | net-irc/ergo/Manifest | 3 | ||||
-rw-r--r-- | net-irc/ergo/ergo-2.9.1.ebuild | 69 | ||||
-rw-r--r-- | net-irc/ergo/files/ergo.confd | 3 | ||||
-rw-r--r-- | net-irc/ergo/files/ergo.initd | 19 |
4 files changed, 0 insertions, 94 deletions
diff --git a/net-irc/ergo/Manifest b/net-irc/ergo/Manifest index 600666608226..171a25b4b992 100644 --- a/net-irc/ergo/Manifest +++ b/net-irc/ergo/Manifest @@ -1,8 +1,5 @@ -AUX ergo.confd 92 BLAKE2B 02dd8cc089593bb207268c1f91e106b2e78b5aba92774cf7b0ee0b38a09c55db409fce72517965f1929d26bdafbe1b9d781708500b286c05f7e161819c177c86 SHA512 3908e273045e5d94f358913e669bf2802a82306ce8eabffa6b7b6e5f022f2fe069a577c69c4070ddf61ec85287b2bca362a02585ecdb779cba4435750de5c5b2 AUX ergo.confd-r1 115 BLAKE2B 3a01f49ee095b213507774a40aeee26f4a9b3b875fc00edd466b4fcace701a84fe941313ceabe2c58e4d2da08caa86f3e38a330a90091bc76279d34ed759c467 SHA512 8895c2f87cdbff207cbdf17f93140c97df23bea3f3b0759ddd2dc9fc582ecea26852e5ad3b71fa59c3182592ff2cf49edc8f8029014c22f1a42ceda0369f8bf7 -AUX ergo.initd 382 BLAKE2B 916ef2bc1371e4f62328b22f4072d5c2a39249bfa53e59d6e8877d2ad8a92ed333dae806d65269a343351a93f5d995383c01f65291cc2f24db0ebba0e4fb24f1 SHA512 0b2c1cc5e12458e02efd7e5a6e80f301ce96163c68f1e7e5311dded5c6c99b5ea4a9d707c2f549b56ee77fa4b5758a4d66ce78602011bc30a8ef48d762bd5de4 AUX ergo.initd-r1 768 BLAKE2B 2d14e467e05131b7e17d8ba03d9ed0c19c3dbf291b9175ad1964ce58611661ed27c7dbcf2bb218b4844c1f871b47d9dfe52df53ba9376a3ee69b584fa9a5647f SHA512 4ab75831cdb58b56afc94f1e9ed9ca23d6f23b650141d54c08be2ee26516e010ab9aef47b891150df465962fd9728bfdf34ec0b9b9b4fb32b9a0a47f1df18576 DIST ergo-2.9.1.tar.gz 3249107 BLAKE2B 6d8f98ab868ef10323a40583e2ddb2e1854b967265f789ec176caae40675ef5a9a6a9e54c1b60d8e3f281dcb5ad18e964624ccf673e146ee7044f3454a3e2349 SHA512 5aa8f1afc55c432acf6763aa95cffdb3447b7d53a759d04c303675852b240b0fe26030a94ea12954a453d4f8e4f7db7ffbca8faeb6a1b20b17a44ac27b80d66a EBUILD ergo-2.9.1-r1.ebuild 1606 BLAKE2B 3cd469222058debbe4ff7defc0f743944e9112b88aa4044b4749dc57644513a0da232d1aa365580d1a8da8ed3324f680c006907c3ff29a14a987eeae28e2625f SHA512 80a51068e6e2ef2606b1db92979464f91da26ae3083cc6d9f081d4e643a7d63c42d9df55b264ed604fa411ac0d8cfb392674d409311e441bbd2c73406562e563 -EBUILD ergo-2.9.1.ebuild 1499 BLAKE2B ae51cc22d1a6f2c9996ec8e17e2c5a624764cdaaecbf7413257f39b52ac0ff8e91a929ee93f81889ee8ccd87afb500a3d6915543ce4e72014fb01511ce81517a SHA512 67034caddae3e7b84ed44700a0cc4d47d2307a35f5aa73a7f7b63d872c93e1652a4e3321830d4b392394b43f577c4e3e44a88ec068bb8b6df80813a9b9f736c8 MISC metadata.xml 320 BLAKE2B 3bff5defc5150caa0cae2776e69f9070d1896c9cab8e5e0fc1afb94606a1c0e0d3ab951b4ea1076929221bcfd0576540f1b1768c1f9d3ad68161d9540c6785e3 SHA512 b634cbc9628c66cfc5b2983a6da5b2322bfb5c755893e1c15aab203f6e94b15ea5be2494b0370e8b7fd4950d0d1059e60939bd945620aa0548ef665263a5672a diff --git a/net-irc/ergo/ergo-2.9.1.ebuild b/net-irc/ergo/ergo-2.9.1.ebuild deleted file mode 100644 index b68c0cb2089c..000000000000 --- a/net-irc/ergo/ergo-2.9.1.ebuild +++ /dev/null @@ -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 distrib/openrc/ergo.initd ergo - newconfd distrib/openrc/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 -} diff --git a/net-irc/ergo/files/ergo.confd b/net-irc/ergo/files/ergo.confd deleted file mode 100644 index 336ca1de7ab0..000000000000 --- a/net-irc/ergo/files/ergo.confd +++ /dev/null @@ -1,3 +0,0 @@ -# /etc/conf.d/ergo: config file for /etc/init.d/ergo -ERGO_CONFIGFILE="/etc/ergo/ircd.yaml" - diff --git a/net-irc/ergo/files/ergo.initd b/net-irc/ergo/files/ergo.initd deleted file mode 100644 index 025d6951862b..000000000000 --- a/net-irc/ergo/files/ergo.initd +++ /dev/null @@ -1,19 +0,0 @@ -#!/sbin/openrc-run -command=/usr/bin/ergo -command_args="run --conf ${ERGO_CONFIGFILE:-"/etc/ergo/ircd.yaml"}" -command_background=true -extra_started_commands="reload" -pidfile=/var/run/ergo.pid -name="ergo" -description="ergo IRC daemon" - -depend() { - use dns - provide ircd -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} |