From owner-svn-ports-all@freebsd.org Sat Jul 18 12:35:15 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 48FDC368898; Sat, 18 Jul 2020 12:35:15 +0000 (UTC) (envelope-from adamw@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 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 4B86rz1ScBz4Fkp; Sat, 18 Jul 2020 12:35:15 +0000 (UTC) (envelope-from adamw@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 10DFEAA49; Sat, 18 Jul 2020 12:35:15 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 06ICZE21066635; Sat, 18 Jul 2020 12:35:14 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 06ICZEBT066631; Sat, 18 Jul 2020 12:35:14 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <202007181235.06ICZEBT066631@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Sat, 18 Jul 2020 12:35:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542495 - in head/www/gitea: . files X-SVN-Group: ports-head X-SVN-Commit-Author: adamw X-SVN-Commit-Paths: in head/www/gitea: . files X-SVN-Commit-Revision: 542495 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2020 12:35:15 -0000 Author: adamw Date: Sat Jul 18 12:35:13 2020 New Revision: 542495 URL: https://svnweb.freebsd.org/changeset/ports/542495 Log: gitea: Update to 1.12.2 This release fixes a large number of bugs and introduces many new features. Release notes: - https://blog.gitea.io/2020/06/gitea-1.12.0-and-1.12.1-are-released/ - https://blog.gitea.io/2020/07/gitea-1.12.2-is-released/ Additional changes to the port: - Use PORTDATA to avoid enumerating the extensive DATADIR - Add option to rc file for custom path [1] - Turn the BINDATA option on by default PR: 247613, 247989 [1] Submitted by: maintainer, mikeg bsd-box net [1] Approved by: maintainer [1] Deleted: head/www/gitea/files/patch-vendor_github.com_go-git_go-git_v5_storage_filesystem_dotgit_dotgit.go Modified: head/www/gitea/Makefile head/www/gitea/distinfo head/www/gitea/files/gitea.in head/www/gitea/pkg-message head/www/gitea/pkg-plist Modified: head/www/gitea/Makefile ============================================================================== --- head/www/gitea/Makefile Sat Jul 18 11:50:52 2020 (r542494) +++ head/www/gitea/Makefile Sat Jul 18 12:35:13 2020 (r542495) @@ -2,11 +2,10 @@ PORTNAME= gitea DISTVERSIONPREFIX= v -DISTVERSION= 1.11.8 +DISTVERSION= 1.12.2 CATEGORIES= www MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= gitea-src-${DISTVERSION} -NO_WRKSUBDIR= yes MAINTAINER= stb@lassitu.de COMMENT= Compact self-hosted Git service @@ -18,6 +17,8 @@ RUN_DEPENDS= git:devel/git USES= gmake go:no_targets USE_RC_SUBR= gitea +NO_WRKSUBDIR= yes +PORTDATA= * SUB_FILES+= app.ini.sample SUB_LIST+= GITUSER=${USERS} @@ -49,9 +50,6 @@ DAEMONARGS= -f SUB_LIST+= DAEMONARGS="${DAEMONARGS}" SSP_UNSAFE= true -# use sane defaults for path, overriden with actual PREFIX in start script -EXTRA_LDFLAGS= -X code.gitea.io/gitea/modules/setting.CustomPath=${PREFIX}/etc/gitea -EXTRA_LDFLAGS+= -X code.gitea.io/gitea/modules/setting.AppWorkPath=${PREFIX}/share/gitea # Default LDFLAGS are incompatible with build MAKE_ENV= LDFLAGS="${LDFLAGS} ${EXTRA_LDFLAGS}" MAKE_ARGS= GOPATH=${WRKDIR} TAGS="${GO_TAGS}" Modified: head/www/gitea/distinfo ============================================================================== --- head/www/gitea/distinfo Sat Jul 18 11:50:52 2020 (r542494) +++ head/www/gitea/distinfo Sat Jul 18 12:35:13 2020 (r542495) @@ -1,3 +1,3 @@ -TIMESTAMP = 1593337278 -SHA256 (gitea-src-1.11.8.tar.gz) = f4f965bd8f7da9320b6693c249eab07ff8baf5ef81649fd9025133f91391bab8 -SIZE (gitea-src-1.11.8.tar.gz) = 68927493 +TIMESTAMP = 1595065693 +SHA256 (gitea-src-1.12.2.tar.gz) = 695dae81327bdfaa4adaa9d3dc9d2bdcb78d54ac73abac3a630750465858ff8b +SIZE (gitea-src-1.12.2.tar.gz) = 135139394 Modified: head/www/gitea/files/gitea.in ============================================================================== --- head/www/gitea/files/gitea.in Sat Jul 18 11:50:52 2020 (r542494) +++ head/www/gitea/files/gitea.in Sat Jul 18 12:35:13 2020 (r542495) @@ -22,6 +22,7 @@ load_rc_config $name : ${gitea_facility:="daemon"} : ${gitea_priority:="debug"} : ${gitea_shared:="%%PREFIX%%/share/${name}"} +: ${gitea_custom:="%%PREFIX%%/etc/${name}"} command="%%PREFIX%%/sbin/${name} web" procname="%%PREFIX%%/sbin/${name}" @@ -36,7 +37,7 @@ gitea_start() { -u ${gitea_user} -p ${pidfile} \ /usr/bin/env -i \ "GITEA_WORK_DIR=${gitea_shared}" \ - "GITEA_CUSTOM=%%PREFIX%%/etc/${name}" \ + "GITEA_CUSTOM=${gitea_custom}" \ "HOME=${githome}" \ "PATH=%%PREFIX%%/bin:${PATH}" \ "USER=${gitea_user}" \ Modified: head/www/gitea/pkg-message ============================================================================== --- head/www/gitea/pkg-message Sat Jul 18 11:50:52 2020 (r542494) +++ head/www/gitea/pkg-message Sat Jul 18 12:35:13 2020 (r542495) @@ -1,5 +1,5 @@ [ -{ type: install +{ type: upgrade maximum_version: 1.7.6 message: <