mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 05:37:01 +02:00
oragono: rename to ergo, update to 2.13.1.
This commit is contained in:
parent
367c6a5f5f
commit
10e9c0bf87
7 changed files with 48 additions and 78 deletions
6
srcpkgs/ergo/files/ergo/run
Normal file
6
srcpkgs/ergo/files/ergo/run
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -u _ergo:_ergo ergo run ${OPTS:---conf /etc/ergo.conf}
|
2
srcpkgs/ergo/oragono.INSTALL.msg
Normal file
2
srcpkgs/ergo/oragono.INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
The package `oragono` was renamed to `ergo`.
|
||||
Manually migrate any existing configuration.
|
39
srcpkgs/ergo/template
Normal file
39
srcpkgs/ergo/template
Normal file
|
@ -0,0 +1,39 @@
|
|||
# Template file for 'ergo'
|
||||
pkgname=ergo
|
||||
version=2.13.1
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/ergochat/ergo"
|
||||
go_ldflags="-X main.version=$version"
|
||||
short_desc="Modern IRC server with integrated bouncer features and services"
|
||||
maintainer="Allen Sobot <chilledfrogs@disroot.org>"
|
||||
license="MIT"
|
||||
homepage="https://ergo.chat/"
|
||||
changelog="https://raw.githubusercontent.com/ergochat/ergo/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
|
||||
checksum=be2b938d35e7022bf347d70f627ec8cbe8c9836abe1cc3635048e35e61dca5cf
|
||||
system_accounts="_ergo"
|
||||
_ergo_homedir="/var/lib/ergo"
|
||||
make_dirs="/var/lib/ergo 0755 _ergo _ergo"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
||||
vsconf default.yaml ergo.conf
|
||||
|
||||
vinstall ergo.motd 644 usr/share/${pkgname} default.motd
|
||||
|
||||
vcopy languages/ usr/share/${pkgname}/i18n/
|
||||
|
||||
vdoc docs/MANUAL.md
|
||||
vdoc docs/MOTDFORMATTING.md
|
||||
vdoc docs/USERGUIDE.md
|
||||
|
||||
vsv ergo
|
||||
}
|
||||
|
||||
oragono_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
build_style=meta
|
||||
short_desc+=" (transitional dummy package)"
|
||||
}
|
1
srcpkgs/oragono
Symbolic link
1
srcpkgs/oragono
Symbolic link
|
@ -0,0 +1 @@
|
|||
ergo/
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
|
|
@ -1,40 +0,0 @@
|
|||
--- a/default.yaml 2021-01-30 22:19:08.000000000 -0500
|
||||
+++ b/default.yaml 2021-01-31 20:20:33.092293843 -0500
|
||||
@@ -50,8 +50,8 @@
|
||||
# The standard SSL/TLS port for IRC is 6697. This will listen on all interfaces:
|
||||
":6697":
|
||||
tls:
|
||||
- cert: fullchain.pem
|
||||
- key: privkey.pem
|
||||
+ cert: /var/lib/oragono/fullchain.pem
|
||||
+ key: /var/lib/oragono/privkey.pem
|
||||
# 'proxy' should typically be false. It's for cloud load balancers that
|
||||
# always send a PROXY protocol header ahead of the connection. See the
|
||||
# manual ("Reverse proxies") for more details.
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
# motd filename
|
||||
# if you change the motd, you should move it to ircd.motd
|
||||
- motd: oragono.motd
|
||||
+ motd: /var/lib/oragono/motd
|
||||
|
||||
# motd formatting codes
|
||||
# if this is true, the motd is escaped using formatting codes like $c, $b, and $i
|
||||
@@ -714,7 +714,7 @@
|
||||
# datastore configuration
|
||||
datastore:
|
||||
# path to the datastore
|
||||
- path: ircd.db
|
||||
+ path: /var/lib/oragono/db
|
||||
|
||||
# if the database schema requires an upgrade, `autoupgrade` will attempt to
|
||||
# perform it automatically on startup. the database will be backed
|
||||
@@ -743,7 +743,7 @@
|
||||
default: en
|
||||
|
||||
# which directory contains our language files
|
||||
- path: languages
|
||||
+ path: /usr/share/oragono/i18n
|
||||
|
||||
# limits - these need to be the same across the network
|
||||
limits:
|
|
@ -1,32 +0,0 @@
|
|||
# Template file for 'oragono'
|
||||
pkgname=oragono
|
||||
version=2.6.1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="github.com/oragono/oragono"
|
||||
hostmakedepends="git"
|
||||
short_desc="Modern IRC server (daemon/ircd) written in Go"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://oragono.io/"
|
||||
distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
|
||||
checksum=60473898e439c8b12a4326267620efd60b3f944b2613cc9d466a3603e4e73bb5
|
||||
conf_files="/etc/oragono.conf"
|
||||
system_accounts="_oragono"
|
||||
_oragono_homedir="/var/lib/oragono"
|
||||
make_dirs="
|
||||
/var/lib/oragono 0755 _oragono _oragono"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
||||
vconf default.yaml oragono.conf
|
||||
|
||||
vmkdir usr/share/${pkgname}
|
||||
vcopy oragono.motd usr/share/${pkgname}/default.motd
|
||||
|
||||
vmkdir usr/share/${pkgname}/i18n
|
||||
vcopy "languages/*" usr/share/${pkgname}/i18n/
|
||||
|
||||
vsv oragono
|
||||
}
|
Loading…
Add table
Reference in a new issue