From 4554b98ff118dd6db7caef94a0a26673877a082e Mon Sep 17 00:00:00 2001 From: Twilighttony Date: Wed, 6 Oct 2021 02:17:54 -0400 Subject: [PATCH] gitea: update to 1.15.3 --- srcpkgs/gitea/patches/config.patch | 438 +++++++++++++++++++++-------- srcpkgs/gitea/template | 4 +- 2 files changed, 319 insertions(+), 123 deletions(-) diff --git a/srcpkgs/gitea/patches/config.patch b/srcpkgs/gitea/patches/config.patch index 77168cb3937d..8f7645a50033 100644 --- a/srcpkgs/gitea/patches/config.patch +++ b/srcpkgs/gitea/patches/config.patch @@ -1,132 +1,328 @@ ---- a/custom/conf/app.example.ini 2021-04-22 15:48:34.959214467 +0300 -+++ b/custom/conf/app.example.ini 2021-04-22 15:48:25.414266118 +0300 -@@ -9,7 +9,7 @@ - ; App name that shows in every page title - APP_NAME = Gitea: Git with a cup of tea - ; Change it if you run locally --RUN_USER = git +From a34c208c262a5c66b560d9cb2e4652344a12b485 Mon Sep 17 00:00:00 2001 +From: Twilighttony +Date: Wed, 6 Oct 2021 01:42:09 -0400 +Subject: [PATCH] changes + +--- + custom/conf/app.example.ini | 146 +++++++++++++----------------------- + 1 file changed, 51 insertions(+), 95 deletions(-) + +diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini +index 0a25e7e5c..53399e099 100644 +--- a/custom/conf/app.example.ini ++++ b/custom/conf/app.example.ini +@@ -15,7 +15,7 @@ + APP_NAME = ; Gitea: Git with a cup of tea + ;; + ;; RUN_USER will automatically detect the current user - but you can set it here change it if you run locally +-RUN_USER = ; git +RUN_USER = _gitea - ; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod" - RUN_MODE = prod - -@@ -20,7 +20,7 @@ - - [repository] - ; Root path for storing all repository data. It must be an absolute path. By default it is stored in a sub-directory of `APP_DATA_PATH`. --ROOT = -+ROOT = /var/lib/gitea/repositories - ; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available. - SCRIPT_TYPE = bash - ; DETECTED_CHARSETS_ORDER tie-break order for detected charsets. -@@ -87,13 +87,13 @@ - - [repository.local] - ; Path for local repository copy. Defaults to `tmp/local-repo` --LOCAL_COPY_PATH = tmp/local-repo -+LOCAL_COPY_PATH = /var/lib/gitea/tmp/local-repo - - [repository.upload] - ; Whether repository file uploads are enabled. Defaults to `true` - ENABLED = true - ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart) --TEMP_PATH = data/tmp/uploads -+TEMP_PATH = /var/lib/gitea/tmp/uploads - ; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. - ALLOWED_TYPES = - ; Max size of each file in megabytes. Defaults to 3MB -@@ -282,7 +282,7 @@ - REDIRECT_OTHER_PORT = false - PORT_TO_REDIRECT = 80 - ; Permission for unix socket --UNIX_SOCKET_PERMISSION = 666 + ;; + ;; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod" + RUN_MODE = ; prod +@@ -48,8 +48,8 @@ RUN_MODE = ; prod + ;; will be started on PORT_TO_REDIRECT and it will redirect plain, non-secure http requests to the main + ;; ROOT_URL. Defaults are false for REDIRECT_OTHER_PORT and 80 for + ;; PORT_TO_REDIRECT. +-;REDIRECT_OTHER_PORT = false +-;PORT_TO_REDIRECT = 80 ++REDIRECT_OTHER_PORT = false ++PORT_TO_REDIRECT = 80 + ;; + ;; Timeout for any write to the connection. (Set to 0 to disable all timeouts.) + ;PER_WRITE_TIMEOUT = 30s +@@ -58,7 +58,7 @@ RUN_MODE = ; prod + ;PER_WRITE_PER_KB_TIMEOUT = 30s + ;; + ;; Permission for unix socket +-;UNIX_SOCKET_PERMISSION = 666 +UNIX_SOCKET_PERMISSION = 660 - ; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service. - ; In most cases you do not need to change the default value. - ; Alter it only if your SSH server node is not the same as HTTP node. -@@ -303,7 +303,7 @@ - ; The port number the builtin SSH server should listen on - SSH_LISTEN_PORT = %(SSH_PORT)s - ; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'. --SSH_ROOT_PATH = + ;; + ;; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service. + ;; In most cases you do not need to change the default value. +@@ -85,14 +85,14 @@ RUN_MODE = ; prod + ;SSH_PORT = 22 + ;; + ;; The port number the builtin SSH server should listen on +-;SSH_LISTEN_PORT = %(SSH_PORT)s ++SSH_LISTEN_PORT = %(SSH_PORT)s + ;; + ;; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'. +-;SSH_ROOT_PATH = +SSH_ROOT_PATH = /var/lib/gitea - ; Gitea will create a authorized_keys file by default when it is not using the internal ssh server - ; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off. - SSH_CREATE_AUTHORIZED_KEYS_FILE = true -@@ -368,7 +368,7 @@ - KEY_FILE = https/key.pem - ; Root directory containing templates and static files. - ; default is the path where Gitea is executed --STATIC_ROOT_PATH = + ;; + ;; Gitea will create a authorized_keys file by default when it is not using the internal ssh server + ;; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off. +-;SSH_CREATE_AUTHORIZED_KEYS_FILE = true ++SSH_CREATE_AUTHORIZED_KEYS_FILE = true + ;; + ;; Gitea will create a authorized_principals file by default when it is not using the internal ssh server + ;; If you intend to use the AuthorizedPrincipalsCommand functionality then you should turn this off. +@@ -174,14 +174,14 @@ RUN_MODE = ; prod + ;; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes + ;; Paths are relative to CUSTOM_PATH + ;CERT_FILE = https/cert.pem +-;KEY_FILE = https/key.pem ++KEY_FILE = https/key.pem + ;; + ;; Root directory containing templates and static files. + ;; default is the path where Gitea is executed +-;STATIC_ROOT_PATH = +STATIC_ROOT_PATH = /var/lib/gitea - ; Default path for App data - APP_DATA_PATH = data - ; Enable gzip compression for runtime-generated content, static resources excluded -@@ -385,7 +385,7 @@ - ; Enables git-lfs support. true or false, default is false. - LFS_START_SERVER = false - ; Where your lfs files reside, default is data/lfs. --LFS_CONTENT_PATH = data/lfs -+LFS_CONTENT_PATH = /var/lib/gitea/lfs - ; LFS authentication secret, change this yourself + ;; + ;; Default path for App data +-;APP_DATA_PATH = data ++APP_DATA_PATH = /var/lib/gitea/data + ;; + ;; Enable gzip compression for runtime-generated content, static resources excluded + ;ENABLE_GZIP = false +@@ -199,10 +199,10 @@ RUN_MODE = ; prod + ;LANDING_PAGE = home + ;; + ;; Enables git-lfs support. true or false, default is false. +-;LFS_START_SERVER = false ++LFS_START_SERVER = false + ;; + ;; Where your lfs files reside, default is data/lfs. +-;LFS_CONTENT_PATH = data/lfs ++LFS_CONTENT_PATH = /var/lib/gitea/data/lfs + ;; + ;; LFS authentication secret, change this yourself LFS_JWT_SECRET = - ; LFS authentication validity period (in time.Duration), pushes taking longer than this may fail. -@@ -415,7 +415,7 @@ - - [database] - ; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3". +@@ -243,10 +243,10 @@ LFS_JWT_SECRET = + ;; + ;; MySQL Configuration + ;; -DB_TYPE = mysql +-HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock +-NAME = gitea +-USER = root ++;DB_TYPE = mysql ++;HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock ++;NAME = gitea ++;USER = root + ;PASSWD = ;Use PASSWD = `your password` for quoting if you use special characters in the password. + ;SSL_MODE = false ; either "false" (default), "true", or "skip-verify" + ;CHARSET = utf8mb4 ;either "utf8" or "utf8mb4", default is "utf8mb4". +@@ -269,9 +269,9 @@ USER = root + ;; + ;; SQLite Configuration + ;; +-;DB_TYPE = sqlite3 +-;PATH= ; defaults to data/gitea.db +-;SQLITE_TIMEOUT = ; Query timeout defaults to: 500 +DB_TYPE = sqlite3 - HOST = 127.0.0.1:3306 - NAME = gitea - USER = root -@@ -432,7 +432,7 @@ - ; NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this. - CHARSET = utf8mb4 - ; For "sqlite3" and "tidb", use an absolute path when you start gitea as service --PATH = data/gitea.db -+PATH = /var/lib/gitea/data/gitea.db - ; For "sqlite3" only. Query timeout - SQLITE_TIMEOUT = 500 - ; For iterate buffer, default is 50 -@@ -458,7 +458,7 @@ - ; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch - ISSUE_INDEXER_NAME = gitea_issues - ; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve --ISSUE_INDEXER_PATH = indexers/issues.bleve ++PATH= /var/lib/gitea/data/gitea.db ; defaults to data/gitea.db ++SQLITE_TIMEOUT = 500 ; Query timeout defaults to: 500 + ;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; +@@ -435,7 +431,7 @@ TRUSTED_FACETS = ; e.g. http://localhost:3000/ + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Root path for the log files - defaults to %(GITEA_WORK_DIR)/log +-;ROOT_PATH = ++ROOT_PATH = /var/log/gitea + ;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Main Logger +@@ -741,10 +734,10 @@ PATH = + ;[repository] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; Root path for storing all repository data. It must be an absolute path. By default, it is stored in a sub-directory of `APP_DATA_PATH`. +-;ROOT = ++ROOT = /var/lib/gitea/repositories + ;; + ;; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available. +-;SCRIPT_TYPE = bash ++SCRIPT_TYPE = bash + ;; + ;; DETECTED_CHARSETS_ORDER tie-break order for detected charsets. + ;; If the charsets have equal confidence, tie-breaking will be done by order in this list +@@ -831,27 +827,27 @@ PATH = + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +-;[repository.local] ++[repository.local] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; + ;; Path for local repository copy. Defaults to `tmp/local-repo` +-;LOCAL_COPY_PATH = tmp/local-repo ++LOCAL_COPY_PATH = /var/lib/gitea/tmp/local-repo + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +-;[repository.upload] ++[repository.upload] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; + ;; Whether repository file uploads are enabled. Defaults to `true` +-;ENABLED = true ++ENABLED = true + ;; + ;; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart) +-;TEMP_PATH = data/tmp/uploads ++TEMP_PATH = /var/lib/gitea/data/tmp/uploads + ;; + ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types. +-;ALLOWED_TYPES = ++ALLOWED_TYPES = + ;; + ;; Max size of each file in megabytes. Defaults to 3MB + ;FILE_MAX_SIZE = 3 + + +@@ -1035,10 +1027,10 @@ PATH = + ;SHOW_USER_EMAIL = true + ;; + ;; Set the default theme for the Gitea install +-;DEFAULT_THEME = auto ++;DEFAULT_THEME = gitea + ;; + ;; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`. +-;THEMES = auto,gitea,arc-green ++;THEMES = gitea,arc-green + ;; + ;; All available reactions users can choose on issues/prs and comments. + ;; Values can be emoji alias (:smile:) or a unicode emoji. +@@ -1175,16 +1167,16 @@ PATH = + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; + ;; Issue indexer type, currently support: bleve, db or elasticsearch, default is bleve +-;ISSUE_INDEXER_TYPE = bleve ++ISSUE_INDEXER_TYPE = bleve + ;; + ;; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve +-;ISSUE_INDEXER_PATH = indexers/issues.bleve +ISSUE_INDEXER_PATH = /var/lib/gitea/indexers/issues.bleve - ; Issue indexer queue, currently support: channel, levelqueue or redis, default is levelqueue - ISSUE_INDEXER_QUEUE_TYPE = levelqueue - ; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved. -@@ -806,7 +806,7 @@ - SAME_SITE=lax + ;; + ;; Issue indexer connection string, available when ISSUE_INDEXER_TYPE is elasticsearch + ;ISSUE_INDEXER_CONN_STR = http://elastic:changeme@localhost:9200 + ;; + ;; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch +-;ISSUE_INDEXER_NAME = gitea_issues ++ISSUE_INDEXER_NAME = gitea_issues + ;; + ;; Timeout the indexer if it takes longer than this to start. + ;; Set to zero to disable timeout. +@@ -1538,10 +1530,10 @@ PATH = + ;GC_INTERVAL_TIME = 86400 + ;; + ;; Session life time in seconds, default is 86400 (1 day) +-;SESSION_LIFE_TIME = 86400 ++SESSION_LIFE_TIME = 86400 + ;; + ;; SameSite settings. Either "none", "lax", or "strict" +-;SAME_SITE=lax ++SAME_SITE=lax - [picture] --AVATAR_UPLOAD_PATH = data/avatars -+AVATAR_UPLOAD_PATH = /var/lib/gitea/data/avatars - REPOSITORY_AVATAR_UPLOAD_PATH = data/repo-avatars - ; How Gitea deals with missing repository avatars - ; none = no avatar will be displayed; random = random avatar will be displayed; image = default image will be used -@@ -871,7 +871,7 @@ - DEFAULT_UI_LOCATION = + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +@@ -1641,7 +1633,7 @@ PATH = + ;; + ;; Location the UI time display i.e. Asia/Shanghai + ;; Empty means server's location setting +-;DEFAULT_UI_LOCATION = ++DEFAULT_UI_LOCATION = - [log] --ROOT_PATH = -+ROOT_PATH = /var/log/gitea - ; Either "console", "file", "conn", "smtp" or "database", default is "console" - ; Use comma to separate multiple modes, e.g. "console, file" - MODE = console -@@ -1181,14 +1181,6 @@ - LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR - NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어 + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +@@ -1679,7 +1671,7 @@ PATH = + ;; Notice if not success + ;NO_SUCCESS_NOTICE = false + ;; Time interval for job to run +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + ;; Archives created more than OLDER_THAN ago are subject to deletion + ;OLDER_THAN = 24h + +@@ -1705,7 +1697,7 @@ PATH = + ;[cron.repo_health_check] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + ;; Enable running Repository health check task periodically. + ;ENABLED = true + ;; Run Repository health check task when Gitea starts. +@@ -1730,7 +1722,7 @@ PATH = + ;RUN_AT_START = true + ;; Notice if not success + ;NO_SUCCESS_NOTICE = false +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +@@ -1744,7 +1736,7 @@ PATH = + ;; Notice if not success + ;NO_SUCCESS_NOTICE = false + ;; Interval as a duration between each synchronization. (default every 24h) +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +@@ -1759,7 +1751,7 @@ PATH = + ;; Notice if not success + ;NO_SUCCESS_NOTICE = false + ;; Interval as a duration between each synchronization (default every 24h) +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + ;; Create new users, update existing user data and disable users that are not in external source anymore (default) + ;; or only create new users if UPDATE_EXISTING is set to false + ;UPDATE_EXISTING = true +@@ -1777,7 +1769,7 @@ PATH = + ;; Notice if not success + ;NO_SUCCESS_NOTICE = false + ;; Interval as a duration between each synchronization (default every 24h) +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + ;; deleted branches than OLDER_THAN ago are subject to deletion + ;OLDER_THAN = 24h + +@@ -1793,7 +1785,7 @@ PATH = + ;; Whether to always run at start up time (if ENABLED) + ;RUN_AT_START = false + ;; Time interval for job to run +-;SCHEDULE = @midnight ++;SCHEDULE = @every 24h + ;; OlderThan or PerWebhook. How the records are removed, either by age (i.e. how long ago hook_task record was delivered) or by the number to keep per webhook (i.e. keep most recent x deliveries per webhook). + ;CLEANUP_TYPE = OlderThan + ;; If CLEANUP_TYPE is set to OlderThan, then any delivered hook_task records older than this expression will be deleted. +@@ -1883,7 +1875,7 @@ PATH = + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;ENABLED = false + ;RUN_AT_START = false +-;NO_SUCCESS_NOTICE = false ++;NO_SUCCESS_NOTICE = f;alse + ;SCHEDULE = @every 72h + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +@@ -1907,7 +1899,7 @@ PATH = + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;ENABLED = false + ;RUN_AT_START = false +-;NO_SUCCESS_NOTICE = false ++;NO_SUCCESS_NOTICE = f;alse + ;SCHEDULE = @every 72h + + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +@@ -1974,8 +1960,8 @@ PATH = + ;[i18n] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +-;LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR,el-GR,fa-IR,hu-HU,id-ID,ml-IN +-;NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어,ελληνικά,فارسی,magyar nyelv,bahasa Indonesia,മലയാളം ++;LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR ++;NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어 --[U2F] --; NOTE: THE DEFAULT VALUES HERE WILL NEED TO BE CHANGED --; Two Factor authentication with security keys --; https://developers.yubico.com/U2F/App_ID.html --;APP_ID = http://localhost:3000/ --; Comma separated list of trusted facets --;TRUSTED_FACETS = http://localhost:3000/ -- - ; Extension mapping to highlight class - ; e.g. .toml=ini - [highlight.mapping] + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +2.33.0 + diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index f375d2dcfa17..e27472463ab8 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -1,6 +1,6 @@ # Template file for 'gitea' pkgname=gitea -version=1.14.2 +version=1.15.3 revision=1 create_wrksrc=yes build_style=go @@ -32,7 +32,7 @@ license="MIT" homepage="https://gitea.io" changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md" distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz" -checksum=d04bca934feba35600aaf739c82b7cbe7d8b911a086d7ac54f0710b689a85ac3 +checksum=afc14ff631080a18385c36f4005f6b8900693425667dfad5234cb323cdeac00d system_accounts="_gitea" _gitea_homedir="/var/lib/gitea"