summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--0001-Adjust-config-for-Arch-Linux-package.patch24
-rw-r--r--PKGBUILD6
3 files changed, 17 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3cd99fc0c182..8a160a1babb1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gitea-git
pkgdesc = A painless self-hosted Git service.
- pkgver = v1.1.0.r771.g7e6c198f
+ pkgver = v1.1.0.r789.g7091db81
pkgrel = 1
url = https://gitea.io/
install = gitea.install
@@ -28,7 +28,7 @@ pkgbase = gitea-git
source = 0001-Adjust-config-for-Arch-Linux-package.patch
source = 0002-Adjust-service-file-for-Arch-Linux-package.patch
sha256sums = SKIP
- sha256sums = 9d0e5b2b2b50f4f7637585b1cd22bc8c2f3b54d28f3d17d41458bced31402870
+ sha256sums = febf332989e091f328602a8497315c7b1e7da3a30c715c7b05efce1c5332f592
sha256sums = 6cd1daa666659a68c98376f8bfae55402b5ffc39c1bf42b5ae0ee700249a3b73
pkgname = gitea-git
diff --git a/0001-Adjust-config-for-Arch-Linux-package.patch b/0001-Adjust-config-for-Arch-Linux-package.patch
index 3f7b9c183714..64549fd6b45e 100644
--- a/0001-Adjust-config-for-Arch-Linux-package.patch
+++ b/0001-Adjust-config-for-Arch-Linux-package.patch
@@ -1,6 +1,6 @@
--- app.ini
-+++ app.ini 2017-11-20 12:28:24.436666669 +0300
-@@ -1,12 +1,12 @@
++++ app.ini 2017-11-26 16:26:44.503333332 +0300
+@@ -5,12 +5,12 @@
; App name that shows on every page title
APP_NAME = Gitea: Git with a cup of tea
; Change it if you run locally
@@ -16,7 +16,7 @@
SCRIPT_TYPE = bash
; Default ANSI charset
ANSI_CHARSET =
-@@ -36,13 +36,13 @@
+@@ -40,13 +40,13 @@
[repository.local]
; Path for uploads. Defaults to `tmp/local-repo`
@@ -32,7 +32,7 @@
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
ALLOWED_TYPES =
; Max size of each file in MB. Defaults to 3MB
-@@ -124,7 +124,7 @@
+@@ -128,7 +128,7 @@
; Port number builtin SSH server listens on
SSH_LISTEN_PORT = %(SSH_PORT)s
; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
@@ -41,7 +41,7 @@
; For built-in SSH server only, choose the ciphers to support for SSH connections,
; for system SSH this setting has no effect
SSH_SERVER_CIPHERS = aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, arcfour256, arcfour128
-@@ -155,13 +155,13 @@
+@@ -159,13 +159,13 @@
; not forget to export the private key):
; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
@@ -59,7 +59,7 @@
; Application level GZIP support
ENABLE_GZIP = false
; Landing page, can be "home", "explore", or "organizations"
-@@ -169,7 +169,7 @@
+@@ -173,7 +173,7 @@
; Enables git-lfs support. true or false, default is false.
LFS_START_SERVER = false
; Where your lfs files put on, default is data/lfs.
@@ -68,7 +68,7 @@
; LFS authentication secret, changed this to yourself.
LFS_JWT_SECRET =
-@@ -185,22 +185,22 @@
+@@ -189,22 +189,22 @@
DB_TYPE = mysql
HOST = 127.0.0.1:3306
NAME = gitea
@@ -95,7 +95,7 @@
UPDATE_BUFFER_LEN = 20
MAX_FILE_SIZE = 1048576
-@@ -324,8 +324,8 @@
+@@ -328,8 +328,8 @@
SKIP_VERIFY =
; Use client certificate
USE_CERTIFICATE = false
@@ -106,7 +106,7 @@
; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
FROM =
; Mailer user name and password
-@@ -361,7 +361,7 @@
+@@ -365,7 +365,7 @@
; file: session file path, e.g. `data/sessions`
; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
@@ -115,7 +115,7 @@
; Session cookie name
COOKIE_NAME = i_like_gitea
; If you use session in https only, default is false
-@@ -374,7 +374,7 @@
+@@ -378,7 +378,7 @@
SESSION_LIFE_TIME = 86400
[picture]
@@ -124,7 +124,7 @@
; Chinese users can choose "duoshuo"
; or a custom avatar source, like: http://cn.gravatar.com/avatar/
GRAVATAR_SOURCE = gravatar
-@@ -389,7 +389,7 @@
+@@ -393,7 +393,7 @@
; Whether attachments are enabled. Defaults to `true`
ENABLE = true
; Path for attachments. Defaults to `data/attachments`
@@ -133,7 +133,7 @@
; One or more allowed types, e.g. image/jpeg|image/png
ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
; Max size of each file. Defaults to 32MB
-@@ -404,7 +404,7 @@
+@@ -408,7 +408,7 @@
FORMAT =
[log]
diff --git a/PKGBUILD b/PKGBUILD
index 62dab9b7dd3c..86e32b30664c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ _gourl="code.gitea.io"
pkgname=gitea-git
pkgrel=1
-pkgver=v1.1.0.r771.g7e6c198f
+pkgver=v1.1.0.r789.g7091db81
pkgdesc="A painless self-hosted Git service."
url="https://gitea.io/"
license=("MIT")
@@ -34,7 +34,7 @@ source=("git://github.com/go-gitea/gitea.git"
"0001-Adjust-config-for-Arch-Linux-package.patch"
"0002-Adjust-service-file-for-Arch-Linux-package.patch")
sha256sums=('SKIP'
- '9d0e5b2b2b50f4f7637585b1cd22bc8c2f3b54d28f3d17d41458bced31402870'
+ 'febf332989e091f328602a8497315c7b1e7da3a30c715c7b05efce1c5332f592'
'6cd1daa666659a68c98376f8bfae55402b5ffc39c1bf42b5ae0ee700249a3b73')
pkgver() {
@@ -50,7 +50,7 @@ prepare() {
cp -r "${srcdir}/${_pkgname}" "${srcdir}/src/${_gourl}"
msg2 "Patch config and service file"
- patch -Np1 -i "${srcdir}/0001-Adjust-config-for-Arch-Linux-package.patch" "${srcdir}/src/${_gourl}/${_pkgname}/conf/app.ini"
+ patch -Np1 -i "${srcdir}/0001-Adjust-config-for-Arch-Linux-package.patch" "${srcdir}/src/${_gourl}/${_pkgname}/custom.sample/app.ini"
patch -Np1 -i "${srcdir}/0002-Adjust-service-file-for-Arch-Linux-package.patch" "${srcdir}/src/${_gourl}/${_pkgname}/contrib/systemd/${_pkgname}.service"
}