From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2330B1582EF for ; Sat, 15 Feb 2025 15:53:12 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0FD923430EC for ; Sat, 15 Feb 2025 15:53:12 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 9231A110476; Sat, 15 Feb 2025 15:53:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 84414110476 for ; Sat, 15 Feb 2025 15:53:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E8ED3430AB for ; Sat, 15 Feb 2025 15:53:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77447271B for ; Sat, 15 Feb 2025 15:52:58 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739634692.16b09b0edaa3097dcf6bcf5388f961a8f8c51fe6.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/gitea/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/gitea/gitea-1.23.3.ebuild X-VCS-Directories: www-apps/gitea/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 16b09b0edaa3097dcf6bcf5388f961a8f8c51fe6 X-VCS-Branch: master Date: Sat, 15 Feb 2025 15:52:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 979ccef7-ee9c-457e-a255-9bf03bca25d0 X-Archives-Hash: 7162c00d24dd83b134cce656918394e3 commit: 16b09b0edaa3097dcf6bcf5388f961a8f8c51fe6 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 16:16:56 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 15:51:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16b09b0e www-apps/gitea: Fix incorrect REPLACING_VERSIONS usage Signed-off-by: Ulrich Müller gentoo.org> www-apps/gitea/gitea-1.23.3.ebuild | 44 ++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/www-apps/gitea/gitea-1.23.3.ebuild b/www-apps/gitea/gitea-1.23.3.ebuild index 119839659298..172ae86481aa 100644 --- a/www-apps/gitea/gitea-1.23.3.ebuild +++ b/www-apps/gitea/gitea-1.23.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit fcaps go-module tmpfiles systemd flag-o-matic user-info +inherit eapi9-ver fcaps go-module tmpfiles systemd flag-o-matic user-info DESCRIPTION="A painless self-hosted Git service" HOMEPAGE="https://gitea.com https://github.com/go-gitea/gitea" @@ -124,27 +124,25 @@ pkg_postinst() { eerror "to install it." fi - if [[ -n ${REPLACING_VERSIONS} ]]; then - if ver_test "${REPLACING_VERSIONS}" -lt 1.22; then - ewarn "Since version 1.22.0:" - ewarn " 1. Minimum database requirements updated to MySQL 8.0, PostgreSQL 12, and MSSQL 2012." - ewarn " 2. There are a lot of refactoring changes related to customizing templates." - ewarn " 3. The default duration of the 'Remember login' feature has been" - ewarn " changed from one week to one month." - ewarn " 4. Enhanced auth token/remember me, the obsolete setting" - ewarn " '[security].COOKIE_USERNAME' has been removed." - ewarn " 5. For MinIO storage, adds a prefix path for all MinIO storage" - ewarn " and override base path will override the path." - ewarn " 6. Now use a more restricted sanitizer for the repository description." - ewarn "For more details, see ." - fi - if ver_test "${REPLACING_VERSIONS}" -lt 1.23; then - ewarn "Since version 1.23.0:" - ewarn " 1. The config option '[camo].Allways' has been renamed to '[camo].Always'." - ewarn " 2. The SHA1 for support for SSH RSA signing has been removed." - ewarn " 3. Use UTC as the default timezone when scheduling Actions cron tasks." - ewarn " 4. Make OIDC introspection authentication strictly require Client ID and secret." - ewarn "For other breaking changes, see ." - fi + if ver_replacing -lt 1.22; then + ewarn "Since version 1.22.0:" + ewarn " 1. Minimum database requirements updated to MySQL 8.0, PostgreSQL 12, and MSSQL 2012." + ewarn " 2. There are a lot of refactoring changes related to customizing templates." + ewarn " 3. The default duration of the 'Remember login' feature has been" + ewarn " changed from one week to one month." + ewarn " 4. Enhanced auth token/remember me, the obsolete setting" + ewarn " '[security].COOKIE_USERNAME' has been removed." + ewarn " 5. For MinIO storage, adds a prefix path for all MinIO storage" + ewarn " and override base path will override the path." + ewarn " 6. Now use a more restricted sanitizer for the repository description." + ewarn "For more details, see ." + fi + if ver_replacing -lt 1.23; then + ewarn "Since version 1.23.0:" + ewarn " 1. The config option '[camo].Allways' has been renamed to '[camo].Always'." + ewarn " 2. The SHA1 for support for SSH RSA signing has been removed." + ewarn " 3. Use UTC as the default timezone when scheduling Actions cron tasks." + ewarn " 4. Make OIDC introspection authentication strictly require Client ID and secret." + ewarn "For other breaking changes, see ." fi }