From owner-svn-ports-branches@freebsd.org Mon May 6 09:09:40 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFDA9158353C; Mon, 6 May 2019 09:09:39 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D45C8EDDD; Mon, 6 May 2019 09:09:39 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BCBC54B13; Mon, 6 May 2019 09:09:37 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4699bQ1083420; Mon, 6 May 2019 09:09:37 GMT (envelope-from joneum@FreeBSD.org) Received: (from joneum@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4699awi083416; Mon, 6 May 2019 09:09:36 GMT (envelope-from joneum@FreeBSD.org) Message-Id: <201905060909.x4699awi083416@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: joneum set sender to joneum@FreeBSD.org using -f From: Jochen Neumeister Date: Mon, 6 May 2019 09:09:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r500904 - in branches/2019Q2/www/gitea: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: joneum X-SVN-Commit-Paths: in branches/2019Q2/www/gitea: . files X-SVN-Commit-Revision: 500904 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5D45C8EDDD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 09:09:40 -0000 Author: joneum Date: Mon May 6 09:09:36 2019 New Revision: 500904 URL: https://svnweb.freebsd.org/changeset/ports/500904 Log: Update to 1.8.0 Changelog: https://blog.gitea.io/2019/04/gitea-1.8.0-is-released/ PR: 237734 Submitted by: stb@lassitu.de (maintainer) Approved by: ports-secteam (joneum) Security: a1de4ae9-6fda-11e9-9ba0-4c72b94353b5 Sponsored by: Netzkommune GmbH Added: branches/2019Q2/www/gitea/pkg-message (contents, props changed) Modified: branches/2019Q2/www/gitea/Makefile branches/2019Q2/www/gitea/distinfo branches/2019Q2/www/gitea/files/app.ini.sample.in branches/2019Q2/www/gitea/pkg-plist Modified: branches/2019Q2/www/gitea/Makefile ============================================================================== --- branches/2019Q2/www/gitea/Makefile Mon May 6 09:01:30 2019 (r500903) +++ branches/2019Q2/www/gitea/Makefile Mon May 6 09:09:36 2019 (r500904) @@ -4,6 +4,7 @@ PORTNAME= gitea DISTVERSIONPREFIX= v DISTVERSION= 1.7.6 +DISTVERSION= 1.8.0 CATEGORIES= www MAINTAINER= stb@lassitu.de Modified: branches/2019Q2/www/gitea/distinfo ============================================================================== --- branches/2019Q2/www/gitea/distinfo Mon May 6 09:01:30 2019 (r500903) +++ branches/2019Q2/www/gitea/distinfo Mon May 6 09:09:36 2019 (r500904) @@ -1,3 +1,6 @@ TIMESTAMP = 1555482864 SHA256 (go-gitea-gitea-v1.7.6_GH0.tar.gz) = 4cc07ead2a842324a5bb76b78055cf1b93876a03845c3b38ffa5cbc0e1bac6f4 SIZE (go-gitea-gitea-v1.7.6_GH0.tar.gz) = 20868421 +TIMESTAMP = 1556897794 +SHA256 (go-gitea-gitea-v1.8.0_GH0.tar.gz) = cc9e7f3d01400391455f2ae5fdd78f0e16360158cf02e45f034a94d3fb0fa8fb +SIZE (go-gitea-gitea-v1.8.0_GH0.tar.gz) = 24268907 Modified: branches/2019Q2/www/gitea/files/app.ini.sample.in ============================================================================== --- branches/2019Q2/www/gitea/files/app.ini.sample.in Mon May 6 09:01:30 2019 (r500903) +++ branches/2019Q2/www/gitea/files/app.ini.sample.in Mon May 6 09:09:36 2019 (r500904) @@ -6,11 +6,16 @@ # contains the settings incorporated into the gitea binary. # # This sample configuration runs Gitea with a local database. Before -# running this configuration, make sure to change the SECRET_KEY and the -# INTERNAL_TOKEN at the end of this file. SECRET_KEY is a password of your -# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding. +# running this configuration, make sure to change the INTERNAL_TOKEN, +# JWT_SECRET, and SECRET_KEY variables. SECRET_KEY is a password of your +# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding, +# JWT_SECRET is a 32-byte random number in BASE64 encoding. +# # Your can generate the token using for example: -# openssl rand -base64 64 +# openssl rand -base64 64 +# +# You can let Gitea add these to the config for you; you need to make +# app.ini writeable by the git user. # # There are no pre-configured users; the first user to register becomes an # admin. In this sample configuration, the HTTP server only listens on @@ -43,6 +48,9 @@ LEVEL = Info [mailer] ENABLED = false +[oauth2] +JWT_SECRET = D56bmu6xCtEKs9vKKgMKnsa4X9FDwo64HVyaS4fQ4mY + [picture] AVATAR_UPLOAD_PATH = /var/db/gitea/data/avatars DISABLE_GRAVATAR = false @@ -83,4 +91,3 @@ ENABLE_NOTIFY_MAIL = false DISABLE_REGISTRATION = false ENABLE_CAPTCHA = true REQUIRE_SIGNIN_VIEW = false - Added: branches/2019Q2/www/gitea/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q2/www/gitea/pkg-message Mon May 6 09:09:36 2019 (r500904) @@ -0,0 +1,5 @@ +When upgrading to Gitea 1.8, Gitea requires the addition of another secret +to the config file in order to start up. Either manually add JWT_SECRET to +the ${PREFIX}/etc/gitea/conf/app.ini config file (see app.ini.sample), or +allow Gitea to make the change for you by making the config file writable to +the git user. Modified: branches/2019Q2/www/gitea/pkg-plist ============================================================================== --- branches/2019Q2/www/gitea/pkg-plist Mon May 6 09:01:30 2019 (r500903) +++ branches/2019Q2/www/gitea/pkg-plist Mon May 6 09:09:36 2019 (r500904) @@ -576,6 +576,7 @@ sbin/gitea %%DATADIR%%/options/locale/locale_sv-SE.ini %%DATADIR%%/options/locale/locale_tr-TR.ini %%DATADIR%%/options/locale/locale_uk-UA.ini +%%DATADIR%%/options/locale/locale_vi-VN.ini %%DATADIR%%/options/locale/locale_zh-CN.ini %%DATADIR%%/options/locale/locale_zh-HK.ini %%DATADIR%%/options/locale/locale_zh-TW.ini @@ -585,6 +586,7 @@ sbin/gitea %%DATADIR%%/public/img/404.png %%DATADIR%%/public/img/500.png %%DATADIR%%/public/img/auth/bitbucket.png +%%DATADIR%%/public/img/auth/discord.png %%DATADIR%%/public/img/auth/dropbox.png %%DATADIR%%/public/img/auth/facebook.png %%DATADIR%%/public/img/auth/github.png @@ -637,6 +639,18 @@ sbin/gitea %%DATADIR%%/public/vendor/assets/font-awesome/fonts/fontawesome-webfont.ttf %%DATADIR%%/public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff %%DATADIR%%/public/vendor/assets/font-awesome/fonts/fontawesome-webfont.woff2 +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bold.eot +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bold.woff +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bold.woff2 +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bolditalic.eot +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bolditalic.woff +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-bolditalic.woff2 +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-italic.eot +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-italic.woff +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-italic.woff2 +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-regular.eot +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-regular.woff +%%DATADIR%%/public/vendor/assets/lato-fonts/lato-regular.woff2 %%DATADIR%%/public/vendor/assets/lato-fonts/lato-v14-latin-700.eot %%DATADIR%%/public/vendor/assets/lato-fonts/lato-v14-latin-700.svg %%DATADIR%%/public/vendor/assets/lato-fonts/lato-v14-latin-700.ttf @@ -1855,7 +1869,6 @@ sbin/gitea %%DATADIR%%/public/vendor/plugins/emojify/images/zap.png %%DATADIR%%/public/vendor/plugins/emojify/images/zero.png %%DATADIR%%/public/vendor/plugins/emojify/images/zzz.png -%%DATADIR%%/public/vendor/plugins/es6-promise/es6-promise.auto.min.js %%DATADIR%%/public/vendor/plugins/gitgraph/LICENSE %%DATADIR%%/public/vendor/plugins/gitgraph/gitgraph.css %%DATADIR%%/public/vendor/plugins/gitgraph/gitgraph.js @@ -1967,6 +1980,7 @@ sbin/gitea %%DATADIR%%/public/vendor/plugins/pdfjs/web/viewer.css %%DATADIR%%/public/vendor/plugins/pdfjs/web/viewer.html %%DATADIR%%/public/vendor/plugins/pdfjs/web/viewer.js +%%DATADIR%%/public/vendor/plugins/promise-polyfill/polyfill.min.js %%DATADIR%%/public/vendor/plugins/semantic/LICENSE %%DATADIR%%/public/vendor/plugins/semantic/semantic.min.css %%DATADIR%%/public/vendor/plugins/semantic/semantic.min.js @@ -2079,7 +2093,6 @@ sbin/gitea %%DATADIR%%/templates/pwa/manifest_json.tmpl %%DATADIR%%/templates/pwa/serviceworker_js.tmpl %%DATADIR%%/templates/repo/activity.tmpl -%%DATADIR%%/templates/repo/bare.tmpl %%DATADIR%%/templates/repo/branch/list.tmpl %%DATADIR%%/templates/repo/branch_dropdown.tmpl %%DATADIR%%/templates/repo/commit_status.tmpl @@ -2100,6 +2113,7 @@ sbin/gitea %%DATADIR%%/templates/repo/editor/diff_preview.tmpl %%DATADIR%%/templates/repo/editor/edit.tmpl %%DATADIR%%/templates/repo/editor/upload.tmpl +%%DATADIR%%/templates/repo/empty.tmpl %%DATADIR%%/templates/repo/forks.tmpl %%DATADIR%%/templates/repo/graph.tmpl %%DATADIR%%/templates/repo/header.tmpl @@ -2171,6 +2185,8 @@ sbin/gitea %%DATADIR%%/templates/user/auth/change_passwd_inner.tmpl %%DATADIR%%/templates/user/auth/finalize_openid.tmpl %%DATADIR%%/templates/user/auth/forgot_passwd.tmpl +%%DATADIR%%/templates/user/auth/grant.tmpl +%%DATADIR%%/templates/user/auth/grant_error.tmpl %%DATADIR%%/templates/user/auth/link_account.tmpl %%DATADIR%%/templates/user/auth/prohibit_login.tmpl %%DATADIR%%/templates/user/auth/reset_passwd.tmpl @@ -2198,6 +2214,8 @@ sbin/gitea %%DATADIR%%/templates/user/profile.tmpl %%DATADIR%%/templates/user/settings/account.tmpl %%DATADIR%%/templates/user/settings/applications.tmpl +%%DATADIR%%/templates/user/settings/applications_oauth2.tmpl +%%DATADIR%%/templates/user/settings/applications_oauth2_edit.tmpl %%DATADIR%%/templates/user/settings/keys.tmpl %%DATADIR%%/templates/user/settings/keys_gpg.tmpl %%DATADIR%%/templates/user/settings/keys_ssh.tmpl