makedeb
A simple server for sending and receiving messages
Click here to go back to the commit logs for gotify-server-bin.
Hash: 666ab7e728e6a0e6bbdf6d4b26cf2e2f28a8d247
Message: Modified upstream AUR package for MPR
diff --git a/.SRCINFO b/.SRCINFO
index 8ee027c..d0f8030 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,13 +5,13 @@ pkgbase = gotify-server-bin
url = https://github.com/gotify/server
arch = x86_64
license = MIT
- depends = glibc
+ depends = libc6
provides = gotify-server
conflicts = gotify-server
backup = etc/gotify/config.yml
source = https://github.com/gotify/server/releases/download/v2.0.23/gotify-linux-amd64.zip
source = https://raw.githubusercontent.com/gotify/server/v2.0.23/config.example.yml
- source = gotify-arch-defaults.patch
+ source = gotify-deb-defaults.patch
source = gotify-server.tmpfiles
source = gotify-server.sysusers
source = gotify-server.service
diff --git a/PKGBUILD b/PKGBUILD
index 2a1604e..751a16e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: buckket <felix@buckket.org>
+# Maintainer: canony <canony@protonmail.ch>
+# Contributor: buckket <felix@buckket.org>
pkgname=gotify-server-bin
_pkgname=gotify-server
@@ -7,14 +8,14 @@ pkgrel=1
pkgdesc='A simple server for sending and receiving messages'
arch=('x86_64')
url='https://github.com/gotify/server'
-depends=('glibc')
+depends=('libc6')
license=('MIT')
provides=('gotify-server')
conflicts=('gotify-server')
backup=('etc/gotify/config.yml')
source=("$url/releases/download/v${pkgver}/gotify-linux-amd64.zip"
"https://raw.githubusercontent.com/gotify/server/v${pkgver}/config.example.yml"
- 'gotify-arch-defaults.patch'
+ 'gotify-deb-defaults.patch'
'gotify-server.tmpfiles'
'gotify-server.sysusers'
'gotify-server.service')
@@ -26,7 +27,7 @@ sha256sums=('07704cb5fa272cb5919b908716d75fa6f694ad8115ca2fac1f9dfe3ab1b7621c'
'bcfa3f4cc7ffa44a41ea7247ca4bf879bea6e6e1da79f85ed9bb4141b8501028')
prepare() {
- patch --follow-symlinks --forward --strip=1 --input="${srcdir}/gotify-arch-defaults.patch"
+ patch --follow-symlinks --forward --strip=1 --input="${srcdir}/gotify-deb-defaults.patch"
}
package() {
diff --git a/gotify-arch-defaults.patch b/gotify-arch-defaults.patch
deleted file mode 100644
index a0bc11c..0000000
--- a/gotify-arch-defaults.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- a/config.example.yml
-+++ b/config.example.yml
-@@ -15,7 +15,7 @@
- letsencrypt:
- enabled: false # if the certificate should be requested from letsencrypt
- accepttos: false # if you accept the tos from letsencrypt
-- cache: data/certs # the directory of the cache from letsencrypt
-+ cache: /var/lib/gotify/certs # the directory of the cache from letsencrypt
- hosts: # the hosts for which letsencrypt should request certificates
- - mydomain.tld
- - myotherdomain.tld
-@@ -31,11 +31,11 @@
-
- database: # for database see (configure database section)
- dialect: sqlite3
-- connection: data/gotify.db
-+ connection: /var/lib/gotify/gotify.db
-
- defaultuser: # on database creation, gotify creates an admin user
- name: admin # the username of the default user
- pass: admin # the password of the default user
- passstrength: 10 # the bcrypt password strength (higher = better but also slower)
--uploadedimagesdir: data/images # the directory for storing uploaded images
--pluginsdir: data/plugins # the directory where plugin resides
-+uploadedimagesdir: /var/lib/gotify/images # the directory for storing uploaded images
-+pluginsdir: /var/lib/gotify/plugins # the directory where plugin resides
diff --git a/gotify-deb-defaults.patch b/gotify-deb-defaults.patch
new file mode 100644
index 0000000..a0bc11c
--- /dev/null
+++ b/gotify-deb-defaults.patch
@@ -0,0 +1,26 @@
+--- a/config.example.yml
++++ b/config.example.yml
+@@ -15,7 +15,7 @@
+ letsencrypt:
+ enabled: false # if the certificate should be requested from letsencrypt
+ accepttos: false # if you accept the tos from letsencrypt
+- cache: data/certs # the directory of the cache from letsencrypt
++ cache: /var/lib/gotify/certs # the directory of the cache from letsencrypt
+ hosts: # the hosts for which letsencrypt should request certificates
+ - mydomain.tld
+ - myotherdomain.tld
+@@ -31,11 +31,11 @@
+
+ database: # for database see (configure database section)
+ dialect: sqlite3
+- connection: data/gotify.db
++ connection: /var/lib/gotify/gotify.db
+
+ defaultuser: # on database creation, gotify creates an admin user
+ name: admin # the username of the default user
+ pass: admin # the password of the default user
+ passstrength: 10 # the bcrypt password strength (higher = better but also slower)
+-uploadedimagesdir: data/images # the directory for storing uploaded images
+-pluginsdir: data/plugins # the directory where plugin resides
++uploadedimagesdir: /var/lib/gotify/images # the directory for storing uploaded images
++pluginsdir: /var/lib/gotify/plugins # the directory where plugin resides