* [PR PATCH] soju: update to 0.7.0.
@ 2023-11-27 18:35 classabbyamp
2023-11-27 20:24 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: classabbyamp @ 2023-11-27 18:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages update/soju
https://github.com/void-linux/void-packages/pull/47439
soju: update to 0.7.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/47439.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/soju-47439.patch --]
[-- Type: text/x-diff, Size: 2246 bytes --]
From 6467676fe2d9a3616e431cc43302b0dead58e59c Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 27 Nov 2023 12:11:37 -0500
Subject: [PATCH] soju: update to 0.7.0.
---
srcpkgs/soju/files/soju/run | 2 +-
srcpkgs/soju/template | 19 ++++++++++++-------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/soju/files/soju/run b/srcpkgs/soju/files/soju/run
index 71054f8107698..95d1a8632b8fb 100755
--- a/srcpkgs/soju/files/soju/run
+++ b/srcpkgs/soju/files/soju/run
@@ -1,4 +1,4 @@
#!/bin/sh
exec 2>&1
[ -r conf ] && . ./conf
-exec chpst -u _soju soju ${OPTS:- -config /etc/soju/config}
+exec chpst -u _soju soju ${OPTS}
diff --git a/srcpkgs/soju/template b/srcpkgs/soju/template
index fd3769d03eb05..30841184c297b 100644
--- a/srcpkgs/soju/template
+++ b/srcpkgs/soju/template
@@ -1,32 +1,37 @@
# Template file for 'soju'
pkgname=soju
-version=0.6.2
-revision=2
+version=0.7.0
+revision=1
build_style=go
go_import_path="git.sr.ht/~emersion/soju"
-go_package="./cmd/..."
+go_package="./cmd/... ./contrib/..."
go_build_tags="libsqlite3"
+go_ldflags="-X git.sr.ht/~emersion/soju/config.DefaultPath=/etc/soju/config"
hostmakedepends="scdoc"
makedepends="sqlite-devel"
+depends="libcap-progs"
short_desc="User-friendly IRC bouncer"
maintainer="classabbyamp <void@placeviolette.net>"
license="AGPL-3.0-or-later"
homepage="https://soju.im"
changelog="https://git.sr.ht/~emersion/soju/refs"
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
-checksum=b8a8f5af08670497d233137086e273a26c388f5e313c9e9e613ef6caaa3e928a
+checksum=0d776a28bfb2b7f9cdca0336a5debc4888b224812094daf0de0e29bae9c865cf
conf_files="/etc/soju/config"
system_accounts="_soju"
make_dirs="/var/db/soju 0750 _soju _soju
/var/log/soju 0750 _soju _soju"
post_install() {
+ for b in znc-import migrate-db migrate-logs; do
+ mv "${DESTDIR}"/usr/bin/{,soju-}"$b"
+ done
for f in doc/*.?.scd; do
- scdoc <$f >"${f%.scd}"
+ scdoc <"${f}" >"${f%.scd}"
vman "${f%.scd}"
done
vlicense LICENSE
- vinstall $FILESDIR/config 644 etc/soju
- vdoc $FILESDIR/README.voidlinux
+ vinstall "$FILESDIR"/config 644 etc/soju
+ vdoc "$FILESDIR"/README.voidlinux
vsv soju
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: soju: update to 0.7.0.
2023-11-27 18:35 [PR PATCH] soju: update to 0.7.0 classabbyamp
@ 2023-11-27 20:24 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2023-11-27 20:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
There's a merged pull request on the void-packages repository
soju: update to 0.7.0.
https://github.com/void-linux/void-packages/pull/47439
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-27 20:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 18:35 [PR PATCH] soju: update to 0.7.0 classabbyamp
2023-11-27 20:24 ` [PR PATCH] [Merged]: " 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).