summaryrefslogtreecommitdiff
path: root/ergo
diff options
context:
space:
mode:
Diffstat (limited to 'ergo')
-rw-r--r--ergo/PKGBUILD3
-rw-r--r--ergo/ergo-paths.patch14
2 files changed, 9 insertions, 8 deletions
diff --git a/ergo/PKGBUILD b/ergo/PKGBUILD
index d7cde3d..594b6bc 100644
--- a/ergo/PKGBUILD
+++ b/ergo/PKGBUILD
@@ -7,7 +7,7 @@ pkgver=2.17.0
pkgrel=1
pkgdesc="A modern IRC server written in Go"
arch=('x86_64')
-url="https://github.com/ergochat/ergo"
+url='https://github.com/ergochat/ergo'
license=('MIT')
install=ergo.install
depends=('glibc')
@@ -36,6 +36,7 @@ prepare() {
build() {
export GOPATH=$(pwd)/..
+
cd "${srcdir}/${pkgname}"
GIT_COMMIT="$(git rev-parse HEAD 2> /dev/null)"
diff --git a/ergo/ergo-paths.patch b/ergo/ergo-paths.patch
index 9d48e99..25374c2 100644
--- a/ergo/ergo-paths.patch
+++ b/ergo/ergo-paths.patch
@@ -1,6 +1,6 @@
diff '--color=auto' -u -r -N ergo/default.yaml ergo-paths/default.yaml
---- ergo/default.yaml 2021-09-30 19:59:44.761132327 +0200
-+++ ergo-paths/default.yaml 2021-09-30 20:00:40.500799350 +0200
+--- ergo/default.yaml 2025-05-11 20:03:42.680032104 +0200
++++ ergo-paths/default.yaml 2025-05-11 20:05:55.946447019 +0200
@@ -52,8 +52,8 @@
# this is a standard TLS configuration with a single certificate;
# see the manual for instructions on how to configure SNI
@@ -23,25 +23,25 @@ diff '--color=auto' -u -r -N ergo/default.yaml ergo-paths/default.yaml
# sets the permissions for Unix listen sockets. on a typical Linux system,
# the default is 0775 or 0755, which prevents other users/groups from connecting
-@@ -169,7 +169,7 @@
+@@ -174,7 +174,7 @@
# motd filename
# if you change the motd, you should move it to ircd.motd
- motd: ergo.motd
-+ motd: /var/lib/ergo/ircd.motd
++ motd: /var/lib/ergo/ergo.motd
# motd formatting codes
# if this is true, the motd is escaped using formatting codes like $c, $b, and $i
-@@ -740,7 +740,7 @@
+@@ -833,7 +833,7 @@
# datastore configuration
datastore:
- # path to the datastore
+ # path to the database file (used to store account and channel registrations):
- path: ircd.db
+ path: /var/lib/ergo/ircd.db
# if the database schema requires an upgrade, `autoupgrade` will attempt to
# perform it automatically on startup. the database will be backed
-@@ -772,7 +772,7 @@
+@@ -865,7 +865,7 @@
default: en
# which directory contains our language files