mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
soju: fix default config
This commit is contained in:
parent
a699bdbfbd
commit
2bfa293b34
2 changed files with 15 additions and 2 deletions
11
srcpkgs/soju/patches/void-defaults.patch
Normal file
11
srcpkgs/soju/patches/void-defaults.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
merge void's default config with upstream's
|
||||
|
||||
--- a/config.in
|
||||
+++ b/config.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-db sqlite3 /var/lib/soju/main.db
|
||||
-message-store fs /var/lib/soju/logs/
|
||||
+db sqlite3 /var/db/soju/main.db
|
||||
+message-store fs /var/log/soju/
|
||||
listen ircs://
|
||||
listen unix+admin://
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'soju'
|
||||
pkgname=soju
|
||||
version=0.9.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="codeberg.org/emersion/soju"
|
||||
go_package="./cmd/... ./contrib/..."
|
||||
|
@ -19,8 +19,10 @@ distfiles="https://codeberg.org/emersion/soju/archive/v${version}.tar.gz"
|
|||
checksum=3ca05f741342f60a385e2c3c784824e81c122b05a909efe0fa62b94c414f92f1
|
||||
conf_files="/etc/soju/config"
|
||||
system_accounts="_soju"
|
||||
_soju_homedir="/var/lib/soju"
|
||||
make_dirs="/var/db/soju 0750 _soju _soju
|
||||
/var/log/soju 0750 _soju _soju"
|
||||
/var/log/soju 0750 _soju _soju
|
||||
/var/lib/soju 0750 _soju _soju"
|
||||
|
||||
post_install() {
|
||||
for b in znc-import migrate-db migrate-logs; do
|
||||
|
|
Loading…
Add table
Reference in a new issue