makedeb
A simple server for sending and receiving messages
Click here to go back to the commit logs for gotify-server-bin.
Hash: 1fa0db9423d77fb230aa30b5618e23f1032250ca
Message: Fix patch file
diff --git a/.SRCINFO b/.SRCINFO
index cadf96c..373f4ed 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
pkgbase = gotify-server-bin
pkgdesc = A simple server for sending and receiving messages
pkgver = 2.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/gotify/server
arch = x86_64
license = MIT
@@ -19,7 +19,7 @@ pkgbase = gotify-server-bin
source = gotify-server.service
sha256sums = 7c2bb7946580d5cc7586033e03216336b133cd57a7ad1661ab6da4915ccbdfce
sha256sums = d6f9716c7f67cfb518f3f50a18cbc950ef3e8e9c8ba1f226654dfdd3bf8226d4
- sha256sums = eface4b7901b849cf97fb62c691e37b0bf1dd80e947a3da193379bcf7e92c7b0
+ sha256sums = 9217eca57733f40a0a5691d962db01ae294f7a32f234bd56003878802106f542
sha256sums = 14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641
sha256sums = 4fbff6e5ade1ec96cff61b4bc933ef7771f63b6df5c8e43323a8fe4d341a5a4d
sha256sums = bcfa3f4cc7ffa44a41ea7247ca4bf879bea6e6e1da79f85ed9bb4141b8501028
diff --git a/PKGBUILD b/PKGBUILD
index 80223e9..2a58f70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=gotify-server-bin
_pkgname=gotify-server
pkgver=2.1.0
-pkgrel=1
+pkgrel=2
pkgdesc='A simple server for sending and receiving messages'
arch=('x86_64')
url='https://github.com/gotify/server'
@@ -21,7 +21,7 @@ source=("$url/releases/download/v${pkgver}/gotify-linux-amd64.zip"
'gotify-server.service')
sha256sums=('7c2bb7946580d5cc7586033e03216336b133cd57a7ad1661ab6da4915ccbdfce'
'd6f9716c7f67cfb518f3f50a18cbc950ef3e8e9c8ba1f226654dfdd3bf8226d4'
- 'eface4b7901b849cf97fb62c691e37b0bf1dd80e947a3da193379bcf7e92c7b0'
+ '9217eca57733f40a0a5691d962db01ae294f7a32f234bd56003878802106f542'
'14bd1a9270b089b99d9bbe8ebdd0c208c3f74c7347a792d508ffce75b0e1c641'
'4fbff6e5ade1ec96cff61b4bc933ef7771f63b6df5c8e43323a8fe4d341a5a4d'
'bcfa3f4cc7ffa44a41ea7247ca4bf879bea6e6e1da79f85ed9bb4141b8501028')
diff --git a/gotify-deb-defaults.patch b/gotify-deb-defaults.patch
index a0bc11c..c957e87 100644
--- a/gotify-deb-defaults.patch
+++ b/gotify-deb-defaults.patch
@@ -1,22 +1,15 @@
--- a/config.example.yml
+++ b/config.example.yml
-@@ -15,7 +15,7 @@
+@@ -16,7 +16,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
+ # - mydomain.tld
+ # - myotherdomain.tld
+@@ -48,6 +48,6 @@
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)
@@ -24,3 +17,4 @@
-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
+ registration: false # enable registrations