Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ergo: update to 2.8.0, rename from oragono
@ 2021-12-17  8:57 chilledfrogs
  2021-12-17  8:59 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (70 more replies)
  0 siblings, 71 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-17  8:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 817 bytes --]

There is a new pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6313 bytes --]

From cbd49ad7fecd194fc64425ff25c229d485048f7c Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono

---
 srcpkgs/ergo/files/ergo/log/run               |  2 ++
 srcpkgs/ergo/files/ergo/run                   |  6 ++++
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++----
 srcpkgs/ergo/template                         | 33 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 --
 srcpkgs/oragono/files/oragono/run             |  6 ----
 srcpkgs/oragono/template                      | 32 ------------------
 8 files changed, 48 insertions(+), 46 deletions(-)
 create mode 100644 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 100644
index 000000000000..e28775884e4b
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t ergo
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..6878081a4542
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,33 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.8.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=82e42df42baf36be4922f7a1bf966050a5e464004eca2e961403600be04751da
+replaces="oragono"
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="
+ /var/lib/ergo 0755 _ergo _ergo"
+
+ post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+ }
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
@ 2021-12-17  8:59 ` chilledfrogs
  2021-12-17 14:43 ` TinfoilSubmarine
                   ` (69 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-17  8:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6322 bytes --]

From 5a8d9cb388e2be3266d6abd4fc79e3581c48f2d8 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono

---
 srcpkgs/ergo/files/ergo/log/run               |  2 ++
 srcpkgs/ergo/files/ergo/run                   |  6 ++++
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++----
 srcpkgs/ergo/template                         | 33 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 --
 srcpkgs/oragono/files/oragono/run             |  6 ----
 srcpkgs/oragono/template                      | 32 ------------------
 8 files changed, 48 insertions(+), 46 deletions(-)
 create mode 100644 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 100644
index 000000000000..e28775884e4b
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t ergo
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..e4f741657e58
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,33 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.8.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=82e42df42baf36be4922f7a1bf966050a5e464004eca2e961403600be04751da
+replaces="oragono>=2.6.1_1"
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="
+ /var/lib/ergo 0755 _ergo _ergo"
+
+ post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+ }
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
  2021-12-17  8:59 ` [PR PATCH] [Updated] " chilledfrogs
@ 2021-12-17 14:43 ` TinfoilSubmarine
  2021-12-17 14:43 ` TinfoilSubmarine
                   ` (68 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: TinfoilSubmarine @ 2021-12-17 14:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-996774693

Comment:
I think you need a dummy package, see e.g. `mysql` which is symlinked to `mariadb` and has the `provides=...` and `replaces=...` for mysql.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
  2021-12-17  8:59 ` [PR PATCH] [Updated] " chilledfrogs
  2021-12-17 14:43 ` TinfoilSubmarine
@ 2021-12-17 14:43 ` TinfoilSubmarine
  2021-12-17 14:50 ` TinfoilSubmarine
                   ` (67 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: TinfoilSubmarine @ 2021-12-17 14:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-996774693

Comment:
I think you need a dummy package, see e.g. `mysql` which is symlinked to `mariadb` and has the `provides=...` and `replaces=...` for mysql.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (2 preceding siblings ...)
  2021-12-17 14:43 ` TinfoilSubmarine
@ 2021-12-17 14:50 ` TinfoilSubmarine
  2021-12-17 14:59 ` TinfoilSubmarine
                   ` (66 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: TinfoilSubmarine @ 2021-12-17 14:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-996780219

Comment:
Sorry, commented before I was done thinking :)

You already have the symlink, but I think the `provides=...` and `replaces=...` should be similar to what `mysql`/`mariadb` has since this is just a rename, as well as an `oragano_package()` similar to `mysql_package()`.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (3 preceding siblings ...)
  2021-12-17 14:50 ` TinfoilSubmarine
@ 2021-12-17 14:59 ` TinfoilSubmarine
  2021-12-17 15:15 ` TinfoilSubmarine
                   ` (65 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: TinfoilSubmarine @ 2021-12-17 14:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-996786535

Comment:
Actually, you should follow what was done for `pulseeffects` being renamed to `easyeffects`, since that was more recent and was just a rename unlike the `mysql`/`mariadb` drop-in case.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (4 preceding siblings ...)
  2021-12-17 14:59 ` TinfoilSubmarine
@ 2021-12-17 15:15 ` TinfoilSubmarine
  2021-12-18 18:28 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (64 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: TinfoilSubmarine @ 2021-12-17 15:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

New comment by TinfoilSubmarine on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-996780219

Comment:
Sorry, commented before I was done thinking :)

~~You already have the symlink, but I think the `provides=...` and `replaces=...` should be similar to what `mysql`/`mariadb` has since this is just a rename, as well as an `oragano_package()` similar to `mysql_package()`.~~

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.8.0, rename from oragono
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (5 preceding siblings ...)
  2021-12-17 15:15 ` TinfoilSubmarine
@ 2021-12-18 18:28 ` chilledfrogs
  2021-12-19  4:03 ` [PR REVIEW] " ericonr
                   ` (63 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-18 18:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 822 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6777 bytes --]

From 42fa08f669c9ca3d43c0d88033fdbed39a500f10 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono.

---
 srcpkgs/ergo/INSTALL.msg                      |  1 +
 srcpkgs/ergo/files/ergo/log/run               |  2 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 100644 srcpkgs/ergo/INSTALL.msg
 create mode 100644 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/INSTALL.msg b/srcpkgs/ergo/INSTALL.msg
new file mode 100644
index 000000000000..74095a123484
--- /dev/null
+++ b/srcpkgs/ergo/INSTALL.msg
@@ -0,0 +1 @@
+Oragono was renamed to Ergo since version 2.7.0.
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 100644
index 000000000000..e28775884e4b
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -t ergo
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..e97522ea028a
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.8.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=82e42df42baf36be4922f7a1bf966050a5e464004eca2e961403600be04751da
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (7 preceding siblings ...)
  2021-12-19  4:03 ` [PR REVIEW] " ericonr
@ 2021-12-19  4:03 ` ericonr
  2021-12-19  4:19 ` pbui
                   ` (61 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: ericonr @ 2021-12-19  4:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r771894187

Comment:
It's missing a trailing newline

And I think it should be `oragono.INSTALL.msg` so only the people using the old package get the warning.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (6 preceding siblings ...)
  2021-12-18 18:28 ` [PR PATCH] [Updated] " chilledfrogs
@ 2021-12-19  4:03 ` ericonr
  2021-12-19  4:03 ` ericonr
                   ` (62 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: ericonr @ 2021-12-19  4:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r771893997

Comment:
Please use the symlink approach instead.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (8 preceding siblings ...)
  2021-12-19  4:03 ` ericonr
@ 2021-12-19  4:19 ` pbui
  2021-12-19 11:41 ` [PR REVIEW] " chilledfrogs
                   ` (60 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: pbui @ 2021-12-19  4:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

New comment by pbui on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-997327091

Comment:
> @pbui ok for you?

Yes, these changes look reasonable.

As a side note, you can probably remove me from the maintainer field... as I don't use Void Linux anymore and probably will not be contributing updates for the foreseeable future.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (9 preceding siblings ...)
  2021-12-19  4:19 ` pbui
@ 2021-12-19 11:41 ` chilledfrogs
  2021-12-19 11:42 ` chilledfrogs
                   ` (59 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-19 11:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r771936931

Comment:
I see, will do in just a minute

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (10 preceding siblings ...)
  2021-12-19 11:41 ` [PR REVIEW] " chilledfrogs
@ 2021-12-19 11:42 ` chilledfrogs
  2021-12-19 21:07 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (58 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-19 11:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r771936991

Comment:
Whoops, true 😅

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (11 preceding siblings ...)
  2021-12-19 11:42 ` chilledfrogs
@ 2021-12-19 21:07 ` chilledfrogs
  2021-12-19 21:09 ` chilledfrogs
                   ` (57 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-19 21:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6796 bytes --]

From a19bd3e065507a6fd4bfee2df55e0349bb464a4b Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..e97522ea028a
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.8.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Peter Bui <pbui@github.bx612.space>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=82e42df42baf36be4922f7a1bf966050a5e464004eca2e961403600be04751da
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (12 preceding siblings ...)
  2021-12-19 21:07 ` [PR PATCH] [Updated] " chilledfrogs
@ 2021-12-19 21:09 ` chilledfrogs
  2022-01-14 16:37 ` chilledfrogs
                   ` (56 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2021-12-19 21:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6799 bytes --]

From 62d2307d68c092dcddf43b248b8bfdd7fba0971e Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..9d0b3a7c6b58
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.8.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Allen Sobot <chilledfrogs@disroot.org>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=82e42df42baf36be4922f7a1bf966050a5e464004eca2e961403600be04751da
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.8.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (13 preceding siblings ...)
  2021-12-19 21:09 ` chilledfrogs
@ 2022-01-14 16:37 ` chilledfrogs
  2022-01-14 16:38 ` [PR PATCH] [Updated] ergo: update to 2.9.1, " chilledfrogs
                   ` (55 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-01-14 16:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.8.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6799 bytes --]

From 3f5fbf6e72e8e16fcae42e19c0591a7fa9c570ea Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.8.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..0208b756c32f
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.9.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Allen Sobot <chilledfrogs@disroot.org>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=b3263a1a346b0b6f9e1ad04ac4b113b1ac3671ef373fd50868e2a9d443d3e2e4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (14 preceding siblings ...)
  2022-01-14 16:37 ` chilledfrogs
@ 2022-01-14 16:38 ` chilledfrogs
  2022-05-01  9:53 ` [PR REVIEW] " paper42
                   ` (54 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-01-14 16:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.9.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6799 bytes --]

From 4d8deb79eb9535e1742fa79d9cdb07b58c647c3d Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.9.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..0208b756c32f
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.9.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+hostmakedepends="git"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+maintainer="Allen Sobot <chilledfrogs@disroot.org>"
+license="MIT"
+homepage="https://ergo.chat/"
+distfiles="https://github.com/ergochat/ergo/archive/v${version}.tar.gz"
+checksum=b3263a1a346b0b6f9e1ad04ac4b113b1ac3671ef373fd50868e2a9d443d3e2e4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (15 preceding siblings ...)
  2022-01-14 16:38 ` [PR PATCH] [Updated] ergo: update to 2.9.1, " chilledfrogs
@ 2022-05-01  9:53 ` paper42
  2022-05-01  9:53 ` paper42
                   ` (53 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: paper42 @ 2022-05-01  9:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r862450306

Comment:
git is most likely not necessary

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (16 preceding siblings ...)
  2022-05-01  9:53 ` [PR REVIEW] " paper42
@ 2022-05-01  9:53 ` paper42
  2022-05-04 15:15 ` chilledfrogs
                   ` (52 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: paper42 @ 2022-05-01  9:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 277 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r862450341

Comment:
```suggestion
homepage="https://ergo.chat/"
changelog="https://raw.githubusercontent.com/ergochat/ergo/master/CHANGELOG.md"
```

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (17 preceding siblings ...)
  2022-05-01  9:53 ` paper42
@ 2022-05-04 15:15 ` chilledfrogs
  2022-05-08 23:44 ` chilledfrogs
                   ` (51 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-04 15:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r864964727

Comment:
Will try without, I thought I saw it written to always add that for Go stuff

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (18 preceding siblings ...)
  2022-05-04 15:15 ` chilledfrogs
@ 2022-05-08 23:44 ` chilledfrogs
  2022-05-08 23:44 ` chilledfrogs
                   ` (50 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-08 23:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r867557300

Comment:
Done

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (19 preceding siblings ...)
  2022-05-08 23:44 ` chilledfrogs
@ 2022-05-08 23:44 ` chilledfrogs
  2022-05-09  8:43 ` paper42
                   ` (49 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-08 23:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 166 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r867557330

Comment:
Worked without

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (20 preceding siblings ...)
  2022-05-08 23:44 ` chilledfrogs
@ 2022-05-09  8:43 ` paper42
  2022-05-10  7:13 ` chilledfrogs
                   ` (48 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: paper42 @ 2022-05-09  8:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 207 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r867773822

Comment:
commenting this out doesn't make much sense, let's remove it

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (21 preceding siblings ...)
  2022-05-09  8:43 ` paper42
@ 2022-05-10  7:13 ` chilledfrogs
  2022-05-14 12:12 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (47 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-10  7:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r868893713

Comment:
Whoops, terribly sorry, wanted to do that but forgot

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (22 preceding siblings ...)
  2022-05-10  7:13 ` chilledfrogs
@ 2022-05-14 12:12 ` chilledfrogs
  2022-05-14 12:15 ` chilledfrogs
                   ` (46 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-14 12:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.9.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6857 bytes --]

From fd3048a46f81fa4fd2990886a5030968b371be65 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.9.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..789eac348415
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.9.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=b3263a1a346b0b6f9e1ad04ac4b113b1ac3671ef373fd50868e2a9d443d3e2e4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (23 preceding siblings ...)
  2022-05-14 12:12 ` [PR PATCH] [Updated] " chilledfrogs
@ 2022-05-14 12:15 ` chilledfrogs
  2022-06-24  4:10 ` sgn
                   ` (45 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-05-14 12:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.9.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6857 bytes --]

From 9b84f2ea8b50a072c51a14980482e0221c9e408c Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.9.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 9 files changed, 53 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..789eac348415
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.9.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=b3263a1a346b0b6f9e1ad04ac4b113b1ac3671ef373fd50868e2a9d443d3e2e4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (24 preceding siblings ...)
  2022-05-14 12:15 ` chilledfrogs
@ 2022-06-24  4:10 ` sgn
  2022-06-28 21:05 ` chilledfrogs
                   ` (44 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: sgn @ 2022-06-24  4:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1165172860

Comment:
Please move data files in `/var` to new location if we choose to rename its folder.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (25 preceding siblings ...)
  2022-06-24  4:10 ` sgn
@ 2022-06-28 21:05 ` chilledfrogs
  2022-06-30 15:33 ` sgn
                   ` (43 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-06-28 21:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1169243366

Comment:
@sgn I'm sorry but I'm not sure what you want me to do concretely with which exact folder

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (26 preceding siblings ...)
  2022-06-28 21:05 ` chilledfrogs
@ 2022-06-30 15:33 ` sgn
  2022-06-30 18:43 ` chilledfrogs
                   ` (42 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: sgn @ 2022-06-30 15:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 294 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1171367722

Comment:
> @sgn I'm sorry but I'm not sure what you want me to do concretely with which exact folder

I meant move files from `/var/lib/oragono` to `/var/lib/ergo`

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (27 preceding siblings ...)
  2022-06-30 15:33 ` sgn
@ 2022-06-30 18:43 ` chilledfrogs
  2022-07-03 17:37 ` paper42
                   ` (41 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-06-30 18:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1171555235

Comment:
@sgn I actually wanted to do that conditionally but couldn't figure out whether there was an appropriate way to do it or not, so any ideas would be greatly appreciated

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (28 preceding siblings ...)
  2022-06-30 18:43 ` chilledfrogs
@ 2022-07-03 17:37 ` paper42
  2022-07-03 22:53 ` sgn
                   ` (40 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: paper42 @ 2022-07-03 17:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1173142068

Comment:
> @sgn I actually wanted to do that conditionally but couldn't figure out whether there was an appropriate way to do it or not, so any ideas would be greatly appreciated

What would be the condition? Do you mean that you would want existing installations to keep using the old location, but new ones to use the ergo location? We don't have a good way to do this.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (29 preceding siblings ...)
  2022-07-03 17:37 ` paper42
@ 2022-07-03 22:53 ` sgn
  2022-07-04  8:16 ` chilledfrogs
                   ` (39 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: sgn @ 2022-07-03 22:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 186 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1173186204

Comment:
In my opinion, at least keychain should be kept.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (30 preceding siblings ...)
  2022-07-03 22:53 ` sgn
@ 2022-07-04  8:16 ` chilledfrogs
  2022-08-03 17:29 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (38 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-07-04  8:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1173501877

Comment:
@paper42 I more meant as a specific way of doing a one-time rename of the directory when updating it

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.9.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (31 preceding siblings ...)
  2022-07-04  8:16 ` chilledfrogs
@ 2022-08-03 17:29 ` chilledfrogs
  2022-08-03 17:34 ` ergo: update to 2.10.0, " chilledfrogs
                   ` (37 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 17:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.9.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7304 bytes --]

From f67caa766d77acfa46f87dae464684a0abbac256 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  |  7 ++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 60 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..b44f31b0ea7b
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,7 @@
+case "$ACTION" in
+post)
+	if [ -d var/lib/oragono ]; then
+		mv var/lib/oragono var/lib/ergo
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (32 preceding siblings ...)
  2022-08-03 17:29 ` [PR PATCH] [Updated] " chilledfrogs
@ 2022-08-03 17:34 ` chilledfrogs
  2022-08-03 18:04 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (36 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 17:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1204269356

Comment:
Would something like the `oragono.INSTALL` I made be appropriate?

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (33 preceding siblings ...)
  2022-08-03 17:34 ` ergo: update to 2.10.0, " chilledfrogs
@ 2022-08-03 18:04 ` chilledfrogs
  2022-08-03 18:14 ` chilledfrogs
                   ` (35 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 18:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7383 bytes --]

From 4e87a8c81a9fed6b06c5e64a6909178cfaecbc63 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..848e96623810
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ -f etc/oragono.conf ]; then
+		mv etc/oragono.conf etc/ergo.conf
+	fi
+	if [ -d var/lib/oragono ]; then
+		mv var/lib/oragono var/lib/ergo
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (34 preceding siblings ...)
  2022-08-03 18:04 ` [PR PATCH] [Updated] " chilledfrogs
@ 2022-08-03 18:14 ` chilledfrogs
  2022-08-03 18:24 ` chilledfrogs
                   ` (34 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 18:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7386 bytes --]

From a7561704f3ec1bf21cd11cd77f3ec42f25f96312 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..fbcd3284963d
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ -f etc/oragono.conf ]; then
+		mv etc/oragono.conf etc/ergo.conf
+	fi
+	if [ -d var/lib/oragono ]; then
+		mv -T var/lib/oragono var/lib/ergo
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (35 preceding siblings ...)
  2022-08-03 18:14 ` chilledfrogs
@ 2022-08-03 18:24 ` chilledfrogs
  2022-08-03 18:26 ` chilledfrogs
                   ` (33 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From 52549f6b0ae8d423cd5da447699a667ad67eb181 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 11 ++++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 64 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..cf03b3f72145
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,11 @@
+case "$ACTION" in
+post)
+	if [ -f etc/oragono.conf ]; then
+		mv etc/oragono.conf etc/ergo.conf
+	fi
+	if [ -d var/lib/oragono ]; then
+		mv var/lib/oragono/* var/lib/ergo
+		rmdir var/lib/oragono
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (36 preceding siblings ...)
  2022-08-03 18:24 ` chilledfrogs
@ 2022-08-03 18:26 ` chilledfrogs
  2022-08-03 18:29 ` chilledfrogs
                   ` (32 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 18:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7386 bytes --]

From f0387899611bb56ff12834c7b8f73c581e0f1aea Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..fbcd3284963d
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ -f etc/oragono.conf ]; then
+		mv etc/oragono.conf etc/ergo.conf
+	fi
+	if [ -d var/lib/oragono ]; then
+		mv -T var/lib/oragono var/lib/ergo
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (37 preceding siblings ...)
  2022-08-03 18:26 ` chilledfrogs
@ 2022-08-03 18:29 ` chilledfrogs
  2022-10-02 23:19 ` Piraty
                   ` (31 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-08-03 18:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1204269356

Comment:
Would something like the `oragono.INSTALL` I added be appropriate?

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (38 preceding siblings ...)
  2022-08-03 18:29 ` chilledfrogs
@ 2022-10-02 23:19 ` Piraty
  2022-10-02 23:26 ` Piraty
                   ` (30 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-02 23:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1264759309

Comment:
applied onto 3a4b215f05ee04652cb5102b85b7d4c08d7aa160, it currently FBTFS .
```
_cgo_callers: relocation target x_cgo_callers not defined
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
=> ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
=> ERROR:   in do_build() at common/build-style/go.sh:43
```

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (39 preceding siblings ...)
  2022-10-02 23:19 ` Piraty
@ 2022-10-02 23:26 ` Piraty
  2022-10-03  7:04 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (29 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-02 23:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1264759309

Comment:
applied onto 3a4b215f05ee04652cb5102b85b7d4c08d7aa160, it currently FBTFS .
```
_cgo_callers: relocation target x_cgo_callers not defined
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
=> ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
=> ERROR:   in do_build() at common/build-style/go.sh:43

pkg:ergo host:x86_64-musl target:armv7l-musl cross:y result:FAILED
```

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (40 preceding siblings ...)
  2022-10-02 23:26 ` Piraty
@ 2022-10-03  7:04 ` chilledfrogs
  2022-10-03  7:08 ` chilledfrogs
                   ` (28 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-03  7:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7386 bytes --]

From b5e183e75bc4cdaa2f02914e7489c58e86078d12 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..fbcd3284963d
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ -f etc/oragono.conf ]; then
+		mv etc/oragono.conf etc/ergo.conf
+	fi
+	if [ -d var/lib/oragono ]; then
+		mv -T var/lib/oragono var/lib/ergo
+		chown -R _ergo:_ergo var/lib/ergo
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index 33a91197e97c..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-build_style=go
-go_import_path="github.com/oragono/oragono"
-hostmakedepends="git"
-short_desc="Modern IRC server (daemon/ircd) written in Go"
-maintainer="Peter Bui <pbui@github.bx612.space>"
-license="MIT"
-homepage="https://oragono.io/"
-distfiles="https://github.com/oragono/oragono/archive/v${version}.tar.gz"
-checksum=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (41 preceding siblings ...)
  2022-10-03  7:04 ` [PR PATCH] [Updated] " chilledfrogs
@ 2022-10-03  7:08 ` chilledfrogs
  2022-10-03  7:08 ` chilledfrogs
                   ` (27 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-03  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1265021184

Comment:
> applied onto [3a4b215](https://github.com/void-linux/void-packages/commit/3a4b215f05ee04652cb5102b85b7d4c08d7aa160), it currently FBTFS .
Terribly sorry but FBTFS? :sweat_smile:

> ```
> _cgo_callers: relocation target x_cgo_callers not defined
> _cgo_init: relocation target x_cgo_init not defined
> _cgo_mmap: relocation target x_cgo_mmap not defined
> _cgo_munmap: relocation target x_cgo_munmap not defined
> /usr/lib/go/pkg/tool/linux_amd64/link: too many errors
> => ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
> => ERROR:   in do_build() at common/build-style/go.sh:43
Issue is I can't reproduce it for the moment and *seems* apparently neither can the CI, but is it related to this? https://github.com/golang/go/issues/43505

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (42 preceding siblings ...)
  2022-10-03  7:08 ` chilledfrogs
@ 2022-10-03  7:08 ` chilledfrogs
  2022-10-03 15:43 ` Piraty
                   ` (26 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-03  7:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1022 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1265021184

Comment:
> applied onto [3a4b215](https://github.com/void-linux/void-packages/commit/3a4b215f05ee04652cb5102b85b7d4c08d7aa160), it currently FBTFS .

Terribly sorry but FBTFS? :sweat_smile:


> ```
> _cgo_callers: relocation target x_cgo_callers not defined
> _cgo_init: relocation target x_cgo_init not defined
> _cgo_mmap: relocation target x_cgo_mmap not defined
> _cgo_munmap: relocation target x_cgo_munmap not defined
> /usr/lib/go/pkg/tool/linux_amd64/link: too many errors
> => ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
> => ERROR:   in do_build() at common/build-style/go.sh:43

Issue is I can't reproduce it for the moment and *seems* apparently neither can the CI, but is it related to this? https://github.com/golang/go/issues/43505

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (43 preceding siblings ...)
  2022-10-03  7:08 ` chilledfrogs
@ 2022-10-03 15:43 ` Piraty
  2022-10-03 15:44 ` Piraty
                   ` (25 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-03 15:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 804 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1264759309

Comment:
applied onto 3a4b215f05ee04652cb5102b85b7d4c08d7aa160, it currently FTBFS .
```
_cgo_callers: relocation target x_cgo_callers not defined
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
=> ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
=> ERROR:   in do_build() at common/build-style/go.sh:43

pkg:ergo host:x86_64-musl target:armv7l-musl cross:y result:FAILED
```

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (44 preceding siblings ...)
  2022-10-03 15:43 ` Piraty
@ 2022-10-03 15:44 ` Piraty
  2022-10-09 23:11 ` [PR REVIEW] " Piraty
                   ` (24 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-03 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

New comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1264759309

Comment:
applied onto 3a4b215f05ee04652cb5102b85b7d4c08d7aa160, it currently ~~FBTFS~~ FTBFS .
```
_cgo_callers: relocation target x_cgo_callers not defined
_cgo_init: relocation target x_cgo_init not defined
_cgo_mmap: relocation target x_cgo_mmap not defined
_cgo_munmap: relocation target x_cgo_munmap not defined
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
=> ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
=> ERROR:   in do_build() at common/build-style/go.sh:43

pkg:ergo host:x86_64-musl target:armv7l-musl cross:y result:FAILED
```

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (45 preceding siblings ...)
  2022-10-03 15:44 ` Piraty
@ 2022-10-09 23:11 ` Piraty
  2022-10-09 23:26 ` Piraty
                   ` (23 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-09 23:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r990854633

Comment:
please test `$UPDATE = "yes"` here too

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (46 preceding siblings ...)
  2022-10-09 23:11 ` [PR REVIEW] " Piraty
@ 2022-10-09 23:26 ` Piraty
  2022-10-10 19:12 ` chilledfrogs
                   ` (22 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2022-10-09 23:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 185 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r990856438

Comment:
please `exec`, like all other `log/run`

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (47 preceding siblings ...)
  2022-10-09 23:26 ` Piraty
@ 2022-10-10 19:12 ` chilledfrogs
  2022-10-10 19:31 ` chilledfrogs
                   ` (21 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 19:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1265021184

Comment:

> ```
> _cgo_callers: relocation target x_cgo_callers not defined
> _cgo_init: relocation target x_cgo_init not defined
> _cgo_mmap: relocation target x_cgo_mmap not defined
> _cgo_munmap: relocation target x_cgo_munmap not defined
> /usr/lib/go/pkg/tool/linux_amd64/link: too many errors
> => ERROR: ergo-2.10.0_1: do_build: 'go install -p "$XBPS_MAKEJOBS" -mod="${go_mod_mode}" -x -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}' exited with 2
> => ERROR:   in do_build() at common/build-style/go.sh:43

Issue is I can't reproduce it for the moment and *seems* apparently neither can the CI, but is it related to this? https://github.com/golang/go/issues/43505

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (48 preceding siblings ...)
  2022-10-10 19:12 ` chilledfrogs
@ 2022-10-10 19:31 ` chilledfrogs
  2022-10-10 19:55 ` chilledfrogs
                   ` (20 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 19:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1273727997

Comment:
Wait, since `oragono` suddenly disappeared, what should I do? Bring it back as symlinks? @Piraty

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (49 preceding siblings ...)
  2022-10-10 19:31 ` chilledfrogs
@ 2022-10-10 19:55 ` chilledfrogs
  2022-10-10 20:01 ` [PR REVIEW] " chilledfrogs
                   ` (19 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 19:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1273727997

Comment:
Wait, since `oragono` suddenly disappeared, what should I do? Bring it back as symlinks? @Piraty

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (50 preceding siblings ...)
  2022-10-10 19:55 ` chilledfrogs
@ 2022-10-10 20:01 ` chilledfrogs
  2022-10-10 20:01 ` chilledfrogs
                   ` (18 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r991603686

Comment:
It's just a symlink to `vlogger`, as I saw some other packages do, is this undesirable now?

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (51 preceding siblings ...)
  2022-10-10 20:01 ` [PR REVIEW] " chilledfrogs
@ 2022-10-10 20:01 ` chilledfrogs
  2022-10-10 20:02 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (17 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 20:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r991604159

Comment:
Like so (new commit)? :sweat_smile:

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (52 preceding siblings ...)
  2022-10-10 20:01 ` chilledfrogs
@ 2022-10-10 20:02 ` chilledfrogs
  2023-01-09  1:58 ` github-actions
                   ` (16 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2022-10-10 20:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From 29d86edb683916cf6d6526f96478577abb2f8e6f Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.10.0, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..09be450ef340
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.10.0
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (53 preceding siblings ...)
  2022-10-10 20:02 ` [PR PATCH] [Updated] " chilledfrogs
@ 2023-01-09  1:58 ` github-actions
  2023-01-23 22:19 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (15 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: github-actions @ 2023-01-09  1:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1375015965

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (54 preceding siblings ...)
  2023-01-09  1:58 ` github-actions
@ 2023-01-23 22:19 ` chilledfrogs
  2023-01-23 22:24 ` chilledfrogs
                   ` (14 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-01-23 22:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From a555e89bf2e9da27653b323db48221e3e029448d Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..c0543a6f0637
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=be3a93e8c0ca30f40a1d82e8b282ea36f4de98b8277c74a5fe4c6260f28dcfb4
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.10.0, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (55 preceding siblings ...)
  2023-01-23 22:19 ` [PR PATCH] [Updated] " chilledfrogs
@ 2023-01-23 22:24 ` chilledfrogs
  2023-01-23 22:31 ` [PR PATCH] [Updated] ergo: update to 2.11.1, " chilledfrogs
                   ` (13 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-01-23 22:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.10.0, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From 434d5f899d21f91e68a4cdceaff38b33ddc8e249 Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..5ffb3fd06107
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=045cfffd2a387b37a344d6f538de7eeda0b718d71a898fe9919da579bdb25cfd
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (56 preceding siblings ...)
  2023-01-23 22:24 ` chilledfrogs
@ 2023-01-23 22:31 ` chilledfrogs
  2023-01-23 22:36 ` chilledfrogs
                   ` (12 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-01-23 22:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.11.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From 4abe67bf72d6057ba571e7964a9212d4ecafc16a Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..5ffb3fd06107
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=045cfffd2a387b37a344d6f538de7eeda0b718d71a898fe9919da579bdb25cfd
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (57 preceding siblings ...)
  2023-01-23 22:31 ` [PR PATCH] [Updated] ergo: update to 2.11.1, " chilledfrogs
@ 2023-01-23 22:36 ` chilledfrogs
  2023-02-08 17:14 ` [PR REVIEW] " Piraty
                   ` (11 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-01-23 22:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.11.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 7411 bytes --]

From 3535d3018c73a7b187c584ed809c3d786e413f4c Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/log/run               |  1 +
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/log/run         |  2 -
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 10 files changed, 63 insertions(+), 46 deletions(-)
 create mode 120000 srcpkgs/ergo/files/ergo/log/run
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/log/run
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/log/run b/srcpkgs/ergo/files/ergo/log/run
new file mode 120000
index 000000000000..3a5b4a586051
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/log/run
@@ -0,0 +1 @@
+/usr/bin/vlogger
\ No newline at end of file
diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..5ffb3fd06107
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=045cfffd2a387b37a344d6f538de7eeda0b718d71a898fe9919da579bdb25cfd
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/log/run b/srcpkgs/oragono/files/oragono/log/run
deleted file mode 100644
index 0308e8a75127..000000000000
--- a/srcpkgs/oragono/files/oragono/log/run
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec vlogger -t oragono
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (58 preceding siblings ...)
  2023-01-23 22:36 ` chilledfrogs
@ 2023-02-08 17:14 ` Piraty
  2023-02-09  8:09 ` chilledfrogs
                   ` (10 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: Piraty @ 2023-02-08 17:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 233 bytes --]

New review comment by Piraty on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r1100447712

Comment:
sorry i wasn't aware. also see https://github.com/void-linux/void-packages/pull/42026 

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (59 preceding siblings ...)
  2023-02-08 17:14 ` [PR REVIEW] " Piraty
@ 2023-02-09  8:09 ` chilledfrogs
  2023-02-10  2:42 ` classabbyamp
                   ` (9 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-02-09  8:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r1101102876

Comment:
Fair enough, but concretely what do I go for then? Symlink or separate `vlogger` call?

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (60 preceding siblings ...)
  2023-02-09  8:09 ` chilledfrogs
@ 2023-02-10  2:42 ` classabbyamp
  2023-02-10 15:28 ` chilledfrogs
                   ` (8 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: classabbyamp @ 2023-02-10  2:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r1102220089

Comment:
rebase and you shouldn't need to do either :)

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR REVIEW] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (61 preceding siblings ...)
  2023-02-10  2:42 ` classabbyamp
@ 2023-02-10 15:28 ` chilledfrogs
  2023-02-10 17:44 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (7 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-02-10 15:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New review comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#discussion_r1102899919

Comment:
I noticed something was done about more consistent logging, will do asap

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (62 preceding siblings ...)
  2023-02-10 15:28 ` chilledfrogs
@ 2023-02-10 17:44 ` chilledfrogs
  2023-05-12  1:50 ` github-actions
                   ` (6 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-02-10 17:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.11.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6688 bytes --]

From d80a1064520d9f5f789e140a39f84f361b5d531e Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 8 files changed, 62 insertions(+), 44 deletions(-)
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..5ffb3fd06107
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=045cfffd2a387b37a344d6f538de7eeda0b718d71a898fe9919da579bdb25cfd
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (63 preceding siblings ...)
  2023-02-10 17:44 ` [PR PATCH] [Updated] " chilledfrogs
@ 2023-05-12  1:50 ` github-actions
  2023-05-13  1:07 ` chilledfrogs
                   ` (5 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: github-actions @ 2023-05-12  1:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1544989259

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (64 preceding siblings ...)
  2023-05-12  1:50 ` github-actions
@ 2023-05-13  1:07 ` chilledfrogs
  2023-05-13  1:11 ` [PR PATCH] [Updated] " chilledfrogs
                   ` (4 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-05-13  1:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1546478884

Comment:
...?

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Updated] ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (65 preceding siblings ...)
  2023-05-13  1:07 ` chilledfrogs
@ 2023-05-13  1:11 ` chilledfrogs
  2023-08-12  1:43 ` github-actions
                   ` (3 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-05-13  1:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

There is an updated pull request by chilledfrogs against master on the void-packages repository

https://github.com/chilledfrogs/void-packages ergo
https://github.com/void-linux/void-packages/pull/34581

ergo: update to 2.11.1, rename from oragono.
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


A patch file from https://github.com/void-linux/void-packages/pull/34581.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ergo-34581.patch --]
[-- Type: text/x-diff, Size: 6688 bytes --]

From 72119d273f49f263dc2f1b8f19b9e136d0bbb65c Mon Sep 17 00:00:00 2001
From: Allen Sobot <chilledfrogs@disroot.org>
Date: Fri, 17 Dec 2021 09:42:45 +0100
Subject: [PATCH] ergo: update to 2.11.1, rename from oragono.

---
 srcpkgs/ergo/files/ergo/run                   |  6 +++
 srcpkgs/ergo/oragono.INSTALL                  | 10 +++++
 srcpkgs/ergo/oragono.INSTALL.msg              |  2 +
 srcpkgs/{oragono => ergo}/patches/paths.patch | 12 +++---
 srcpkgs/ergo/template                         | 37 +++++++++++++++++++
 srcpkgs/oragono                               |  1 +
 srcpkgs/oragono/files/oragono/run             |  6 ---
 srcpkgs/oragono/template                      | 32 ----------------
 8 files changed, 62 insertions(+), 44 deletions(-)
 create mode 100644 srcpkgs/ergo/files/ergo/run
 create mode 100644 srcpkgs/ergo/oragono.INSTALL
 create mode 100644 srcpkgs/ergo/oragono.INSTALL.msg
 rename srcpkgs/{oragono => ergo}/patches/paths.patch (84%)
 create mode 100644 srcpkgs/ergo/template
 create mode 120000 srcpkgs/oragono
 delete mode 100644 srcpkgs/oragono/files/oragono/run
 delete mode 100644 srcpkgs/oragono/template

diff --git a/srcpkgs/ergo/files/ergo/run b/srcpkgs/ergo/files/ergo/run
new file mode 100644
index 000000000000..e4dc1e8ebc16
--- /dev/null
+++ b/srcpkgs/ergo/files/ergo/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+[ -r ./conf ] && . ./conf
+
+exec 2>&1
+exec chpst -u _ergo:_ergo ergo run --conf /etc/ergo.conf
diff --git a/srcpkgs/ergo/oragono.INSTALL b/srcpkgs/ergo/oragono.INSTALL
new file mode 100644
index 000000000000..ea5ca24a50d4
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL
@@ -0,0 +1,10 @@
+case "$ACTION" in
+post)
+	if [ "$UPDATE" = "yes" ]; then
+		[ -f etc/oragono.conf ] && mv etc/oragono.conf etc/ergo.conf
+		if [ -d var/lib/oragono ]; then
+			mv -T var/lib/oragono var/lib/ergo
+			chown -R _ergo:_ergo var/lib/ergo
+		fi
+	fi ;;
+esac
diff --git a/srcpkgs/ergo/oragono.INSTALL.msg b/srcpkgs/ergo/oragono.INSTALL.msg
new file mode 100644
index 000000000000..9ab59e358fcd
--- /dev/null
+++ b/srcpkgs/ergo/oragono.INSTALL.msg
@@ -0,0 +1,2 @@
+Oragono was renamed to Ergo since version 2.7.0.
+
diff --git a/srcpkgs/oragono/patches/paths.patch b/srcpkgs/ergo/patches/paths.patch
similarity index 84%
rename from srcpkgs/oragono/patches/paths.patch
rename to srcpkgs/ergo/patches/paths.patch
index ad9fb051231e..748da7060cd3 100644
--- a/srcpkgs/oragono/patches/paths.patch
+++ b/srcpkgs/ergo/patches/paths.patch
@@ -6,8 +6,8 @@
              tls:
 -                cert: fullchain.pem
 -                key: privkey.pem
-+                cert: /var/lib/oragono/fullchain.pem
-+                key: /var/lib/oragono/privkey.pem
++                cert: /var/lib/ergo/fullchain.pem
++                key: /var/lib/ergo/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.
@@ -15,8 +15,8 @@
  
      # motd filename
      # if you change the motd, you should move it to ircd.motd
--    motd: oragono.motd
-+    motd: /var/lib/oragono/motd
+-    motd: ergo.motd
++    motd: /var/lib/ergo/motd
  
      # motd formatting codes
      # if this is true, the motd is escaped using formatting codes like $c, $b, and $i
@@ -25,7 +25,7 @@
  datastore:
      # path to the datastore
 -    path: ircd.db
-+    path: /var/lib/oragono/db
++    path: /var/lib/ergo/db
  
      # if the database schema requires an upgrade, `autoupgrade` will attempt to
      # perform it automatically on startup. the database will be backed
@@ -34,7 +34,7 @@
  
      # which directory contains our language files
 -    path: languages
-+    path: /usr/share/oragono/i18n
++    path: /usr/share/ergo/i18n
  
  # limits - these need to be the same across the network
  limits:
diff --git a/srcpkgs/ergo/template b/srcpkgs/ergo/template
new file mode 100644
index 000000000000..5ffb3fd06107
--- /dev/null
+++ b/srcpkgs/ergo/template
@@ -0,0 +1,37 @@
+# Template file for 'ergo'
+pkgname=ergo
+version=2.11.1
+revision=1
+build_style=go
+go_import_path="github.com/ergochat/ergo"
+short_desc="Modern IRC server (daemon/ircd) written in Go"
+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=045cfffd2a387b37a344d6f538de7eeda0b718d71a898fe9919da579bdb25cfd
+conf_files="/etc/ergo.conf"
+system_accounts="_ergo"
+_ergo_homedir="/var/lib/ergo"
+make_dirs="/var/lib/ergo 0755 _ergo _ergo"
+
+post_install() {
+	vlicense LICENSE
+
+	vconf default.yaml ergo.conf
+
+	vmkdir usr/share/${pkgname}
+	vcopy ergo.motd usr/share/${pkgname}/default.motd
+
+	vmkdir usr/share/${pkgname}/i18n
+	vcopy "languages/*" usr/share/${pkgname}/i18n/
+
+	vsv ergo
+}
+
+oragono_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	build_style=meta
+	short_desc+=" (transitional dummy package)"
+}
diff --git a/srcpkgs/oragono b/srcpkgs/oragono
new file mode 120000
index 000000000000..2af7ee74e1d8
--- /dev/null
+++ b/srcpkgs/oragono
@@ -0,0 +1 @@
+ergo/
\ No newline at end of file
diff --git a/srcpkgs/oragono/files/oragono/run b/srcpkgs/oragono/files/oragono/run
deleted file mode 100644
index 22e850aa395a..000000000000
--- a/srcpkgs/oragono/files/oragono/run
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -r ./conf ] && . ./conf
-
-exec 2>&1
-exec chpst -u _oragono:_oragono oragono run --conf /etc/oragono.conf
diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template
deleted file mode 100644
index d9e555153ea7..000000000000
--- a/srcpkgs/oragono/template
+++ /dev/null
@@ -1,32 +0,0 @@
-# Template file for 'oragono'
-pkgname=oragono
-version=2.6.1
-revision=1
-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=d123f1aa413bb4541ca0b174286ccb372bf924cec2d635a7cde65791682c41bf
-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
- }

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (66 preceding siblings ...)
  2023-05-13  1:11 ` [PR PATCH] [Updated] " chilledfrogs
@ 2023-08-12  1:43 ` github-actions
  2023-08-26  1:43 ` [PR PATCH] [Closed]: " github-actions
                   ` (2 subsequent siblings)
  70 siblings, 0 replies; 72+ messages in thread
From: github-actions @ 2023-08-12  1:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1675605564

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: [PR PATCH] [Closed]: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (67 preceding siblings ...)
  2023-08-12  1:43 ` github-actions
@ 2023-08-26  1:43 ` github-actions
  2023-08-26 21:47 ` chilledfrogs
  2023-08-27  2:53 ` classabbyamp
  70 siblings, 0 replies; 72+ messages in thread
From: github-actions @ 2023-08-26  1:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

There's a closed pull request on the void-packages repository

ergo: update to 2.11.1, rename from oragono.
https://github.com/void-linux/void-packages/pull/34581

Description:
**Note**: I couldn't find out what was the procedure for updating packages where they get renamed, I did what I thought wasn't stupid, please feel free to tell me if I screwed anything up with it :sweat_smile:

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64


^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (68 preceding siblings ...)
  2023-08-26  1:43 ` [PR PATCH] [Closed]: " github-actions
@ 2023-08-26 21:47 ` chilledfrogs
  2023-08-27  2:53 ` classabbyamp
  70 siblings, 0 replies; 72+ messages in thread
From: chilledfrogs @ 2023-08-26 21:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

New comment by chilledfrogs on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1694507727

Comment:
@classabbyamp could this be re-opened? To the best of my knowledge this PR still works just fine and is simply waiting to be merged for a very long time

^ permalink raw reply	[flat|nested] 72+ messages in thread

* Re: ergo: update to 2.11.1, rename from oragono.
  2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
                   ` (69 preceding siblings ...)
  2023-08-26 21:47 ` chilledfrogs
@ 2023-08-27  2:53 ` classabbyamp
  70 siblings, 0 replies; 72+ messages in thread
From: classabbyamp @ 2023-08-27  2:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 286 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/34581#issuecomment-1694554989

Comment:
apparently not... make a new pr please an link this one. I've been meaning to look at this but it's fairly complex so hard to find the time

^ permalink raw reply	[flat|nested] 72+ messages in thread

end of thread, other threads:[~2023-08-27  2:53 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17  8:57 [PR PATCH] ergo: update to 2.8.0, rename from oragono chilledfrogs
2021-12-17  8:59 ` [PR PATCH] [Updated] " chilledfrogs
2021-12-17 14:43 ` TinfoilSubmarine
2021-12-17 14:43 ` TinfoilSubmarine
2021-12-17 14:50 ` TinfoilSubmarine
2021-12-17 14:59 ` TinfoilSubmarine
2021-12-17 15:15 ` TinfoilSubmarine
2021-12-18 18:28 ` [PR PATCH] [Updated] " chilledfrogs
2021-12-19  4:03 ` [PR REVIEW] " ericonr
2021-12-19  4:03 ` ericonr
2021-12-19  4:19 ` pbui
2021-12-19 11:41 ` [PR REVIEW] " chilledfrogs
2021-12-19 11:42 ` chilledfrogs
2021-12-19 21:07 ` [PR PATCH] [Updated] " chilledfrogs
2021-12-19 21:09 ` chilledfrogs
2022-01-14 16:37 ` chilledfrogs
2022-01-14 16:38 ` [PR PATCH] [Updated] ergo: update to 2.9.1, " chilledfrogs
2022-05-01  9:53 ` [PR REVIEW] " paper42
2022-05-01  9:53 ` paper42
2022-05-04 15:15 ` chilledfrogs
2022-05-08 23:44 ` chilledfrogs
2022-05-08 23:44 ` chilledfrogs
2022-05-09  8:43 ` paper42
2022-05-10  7:13 ` chilledfrogs
2022-05-14 12:12 ` [PR PATCH] [Updated] " chilledfrogs
2022-05-14 12:15 ` chilledfrogs
2022-06-24  4:10 ` sgn
2022-06-28 21:05 ` chilledfrogs
2022-06-30 15:33 ` sgn
2022-06-30 18:43 ` chilledfrogs
2022-07-03 17:37 ` paper42
2022-07-03 22:53 ` sgn
2022-07-04  8:16 ` chilledfrogs
2022-08-03 17:29 ` [PR PATCH] [Updated] " chilledfrogs
2022-08-03 17:34 ` ergo: update to 2.10.0, " chilledfrogs
2022-08-03 18:04 ` [PR PATCH] [Updated] " chilledfrogs
2022-08-03 18:14 ` chilledfrogs
2022-08-03 18:24 ` chilledfrogs
2022-08-03 18:26 ` chilledfrogs
2022-08-03 18:29 ` chilledfrogs
2022-10-02 23:19 ` Piraty
2022-10-02 23:26 ` Piraty
2022-10-03  7:04 ` [PR PATCH] [Updated] " chilledfrogs
2022-10-03  7:08 ` chilledfrogs
2022-10-03  7:08 ` chilledfrogs
2022-10-03 15:43 ` Piraty
2022-10-03 15:44 ` Piraty
2022-10-09 23:11 ` [PR REVIEW] " Piraty
2022-10-09 23:26 ` Piraty
2022-10-10 19:12 ` chilledfrogs
2022-10-10 19:31 ` chilledfrogs
2022-10-10 19:55 ` chilledfrogs
2022-10-10 20:01 ` [PR REVIEW] " chilledfrogs
2022-10-10 20:01 ` chilledfrogs
2022-10-10 20:02 ` [PR PATCH] [Updated] " chilledfrogs
2023-01-09  1:58 ` github-actions
2023-01-23 22:19 ` [PR PATCH] [Updated] " chilledfrogs
2023-01-23 22:24 ` chilledfrogs
2023-01-23 22:31 ` [PR PATCH] [Updated] ergo: update to 2.11.1, " chilledfrogs
2023-01-23 22:36 ` chilledfrogs
2023-02-08 17:14 ` [PR REVIEW] " Piraty
2023-02-09  8:09 ` chilledfrogs
2023-02-10  2:42 ` classabbyamp
2023-02-10 15:28 ` chilledfrogs
2023-02-10 17:44 ` [PR PATCH] [Updated] " chilledfrogs
2023-05-12  1:50 ` github-actions
2023-05-13  1:07 ` chilledfrogs
2023-05-13  1:11 ` [PR PATCH] [Updated] " chilledfrogs
2023-08-12  1:43 ` github-actions
2023-08-26  1:43 ` [PR PATCH] [Closed]: " github-actions
2023-08-26 21:47 ` chilledfrogs
2023-08-27  2:53 ` classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).