svn commit: r531613 - head/www/gitea
Adam Weinberger
adamw at FreeBSD.org
Mon Apr 13 16:06:37 UTC 2020
Author: adamw
Date: Mon Apr 13 16:06:36 2020
New Revision: 531613
URL: https://svnweb.freebsd.org/changeset/ports/531613
Log:
gitea: Add GIT_LFS option
Add a GIT_LFS option (on by default) for environments that don't want to
make LFS available.
While here, change the pkg-message UCL to only show when upgrading from
< 1.8.0.
Approved by: maintainer
Modified:
head/www/gitea/Makefile
head/www/gitea/pkg-message
Modified: head/www/gitea/Makefile
==============================================================================
--- head/www/gitea/Makefile Mon Apr 13 15:46:34 2020 (r531612)
+++ head/www/gitea/Makefile Mon Apr 13 16:06:36 2020 (r531613)
@@ -14,8 +14,7 @@ COMMENT= Compact self-hosted Git service
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= git:devel/git \
- git-lfs:devel/git-lfs
+RUN_DEPENDS= git:devel/git
USES= gmake go:no_targets
USE_RC_SUBR= gitea
@@ -26,14 +25,16 @@ SUB_LIST+= GITUSER=${USERS}
USERS= git
GROUPS= git
-OPTIONS_DEFINE= BINDATA PAM SQLITE
-OPTIONS_DEFAULT= PAM SQLITE
+OPTIONS_DEFINE= BINDATA GIT_LFS PAM SQLITE
+OPTIONS_DEFAULT= GIT_LFS PAM SQLITE
OPTIONS_SUB= yes
BINDATA_DESC= Build a single monolithic binary, with all assets included
+GIT_LFS_DESC= Support for Git Large File Storage (LFS)
PAM_DESC= Enable support for PAM
BINDATA_VARS= GO_TAGS+=bindata
+GIT_LFS_RUN_DEPENDS= git-lfs:devel/git-lfs
PAM_VARS= GO_TAGS+=pam
SQLITE_VARS= GO_TAGS+="sqlite sqlite_unlock_notify"
Modified: head/www/gitea/pkg-message
==============================================================================
--- head/www/gitea/pkg-message Mon Apr 13 15:46:34 2020 (r531612)
+++ head/www/gitea/pkg-message Mon Apr 13 16:06:36 2020 (r531613)
@@ -1,5 +1,6 @@
[
{ type: install
+ maximum_version: 1.7.6
message: <<EOM
When upgrading from Gitea 1.7 or earlier, Gitea requires the addition of
another secret to the config file in order to start up. Either manually add
More information about the svn-ports-head
mailing list