aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-03-27 06:01:21 +0800
committerYuri Victorovich <yuri@FreeBSD.org>2018-03-27 06:01:21 +0800
commit6014192a04f6289596a7abcd40330500ffb5ab8d (patch)
tree2c6ca3aa93dd94ee11be97352bf724413862593b
parentef4e5a2e59687715760250b4264ad774a1434349 (diff)
downloadfreebsd-ports-6014192a04f6289596a7abcd40330500ffb5ab8d.tar.gz
freebsd-ports-6014192a04f6289596a7abcd40330500ffb5ab8d.tar.zst
freebsd-ports-6014192a04f6289596a7abcd40330500ffb5ab8d.zip
www/gitea: Update 1.3.3 -> 1.4.0
Port changes: * Silence non-install commands * Remove unnecessary mkdir * Change WWW to their official homepage * Add to description from the homepage PR: 226941 Submitted by: stb@lassitu.de (maintainer)
Notes
Notes: svn path=/head/; revision=465641
-rw-r--r--www/gitea/Makefile17
-rw-r--r--www/gitea/distinfo6
-rw-r--r--www/gitea/pkg-descr5
-rw-r--r--www/gitea/pkg-plist17
4 files changed, 32 insertions, 13 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile
index 597c457e7e55..2f2835ca5e3d 100644
--- a/www/gitea/Makefile
+++ b/www/gitea/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gitea
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.3
+DISTVERSION= 1.4.0
CATEGORIES= www
MAINTAINER= stb@lassitu.de
@@ -54,20 +54,19 @@ post-patch:
# automatic method to obtain the version number in the Gitea build
# system only works when sources are checked out from git.
# See https://github.com/go-gitea/gitea/issues/1136#issuecomment-311622745
- ${SED} -Ei .orig \
+ @${SED} -Ei .orig \
-e 's#^(var Version = )"[^"]+"#\1"${PORTVERSION}"#' \
${GO_WRKSRC}/main.go
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
- ${MKDIR} ${STAGEDIR}${ETCDIR}/conf
+ @${MKDIR} ${STAGEDIR}${ETCDIR}/conf
${INSTALL_DATA} ${WRKDIR}/app.ini.sample ${STAGEDIR}${ETCDIR}/conf/app.ini.sample
- ${INSTALL_DATA} ${GO_WRKSRC}/conf/app.ini ${STAGEDIR}${ETCDIR}/conf/app.ini.defaults
- ${MKDIR} ${STAGEDIR}${DATADIR}
- (cd ${GO_WRKSRC} && ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR})
+ ${INSTALL_DATA} ${GO_WRKSRC}/custom/conf/app.ini.sample ${STAGEDIR}${ETCDIR}/conf/app.ini.defaults
+ cd ${GO_WRKSRC} && ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR}
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME}
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/log/${PORTNAME}
- ${MKDIR} ${STAGEDIR}${DESTDIR}/var/run/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DESTDIR}/var/log/${PORTNAME}
+ @${MKDIR} ${STAGEDIR}${DESTDIR}/var/run/${PORTNAME}
.include <bsd.port.mk>
diff --git a/www/gitea/distinfo b/www/gitea/distinfo
index d5affa75f094..f3f29d7ffc7a 100644
--- a/www/gitea/distinfo
+++ b/www/gitea/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1520150143
-SHA256 (go-gitea-gitea-v1.3.3_GH0.tar.gz) = 998da8ef24487b455641cb544717a6fac8f8e58fa2f392426b3211d02b1462e3
-SIZE (go-gitea-gitea-v1.3.3_GH0.tar.gz) = 14790710
+TIMESTAMP = 1522059802
+SHA256 (go-gitea-gitea-v1.4.0_GH0.tar.gz) = 8244a4b6385156275ffd70921d2562661c1ad96e580b4ca2ef52e7395b810f13
+SIZE (go-gitea-gitea-v1.4.0_GH0.tar.gz) = 14983167
diff --git a/www/gitea/pkg-descr b/www/gitea/pkg-descr
index 39f00bad5aa1..b9def9dde367 100644
--- a/www/gitea/pkg-descr
+++ b/www/gitea/pkg-descr
@@ -1,3 +1,6 @@
A self-hosted Git service.
-WWW: https://github.com/go-gitea/gitea/
+Gitea is a community managed fork of Gogs, lightweight code hosting solution
+written in Go and published under the MIT license.
+
+WWW: https://gitea.io/en-US/
diff --git a/www/gitea/pkg-plist b/www/gitea/pkg-plist
index 6ce91f03eda2..e34c711c7d92 100644
--- a/www/gitea/pkg-plist
+++ b/www/gitea/pkg-plist
@@ -507,6 +507,7 @@ sbin/gitea
%%DATADIR%%/options/locale/locale_fi-FI.ini
%%DATADIR%%/options/locale/locale_fr-FR.ini
%%DATADIR%%/options/locale/locale_hu-HU.ini
+%%DATADIR%%/options/locale/locale_id-ID.ini
%%DATADIR%%/options/locale/locale_it-IT.ini
%%DATADIR%%/options/locale/locale_ja-JP.ini
%%DATADIR%%/options/locale/locale_ko-KR.ini
@@ -519,9 +520,11 @@ sbin/gitea
%%DATADIR%%/options/locale/locale_pl-PL.ini
%%DATADIR%%/options/locale/locale_pt-BR.ini
%%DATADIR%%/options/locale/locale_ru-RU.ini
+%%DATADIR%%/options/locale/locale_ru-UA.ini
%%DATADIR%%/options/locale/locale_sr-SP.ini
%%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_zh-CN.ini
%%DATADIR%%/options/locale/locale_zh-HK.ini
%%DATADIR%%/options/locale/locale_zh-TW.ini
@@ -539,6 +542,7 @@ sbin/gitea
%%DATADIR%%/public/img/auth/twitter.png
%%DATADIR%%/public/img/avatar_default.png
%%DATADIR%%/public/img/checkmark.png
+%%DATADIR%%/public/img/dingtalk.ico
%%DATADIR%%/public/img/discord.png
%%DATADIR%%/public/img/favicon.ico
%%DATADIR%%/public/img/favicon.png
@@ -1907,6 +1911,8 @@ sbin/gitea
%%DATADIR%%/public/vendor/plugins/simplemde/LICENSE
%%DATADIR%%/public/vendor/plugins/simplemde/simplemde.min.css
%%DATADIR%%/public/vendor/plugins/simplemde/simplemde.min.js
+%%DATADIR%%/public/vendor/plugins/tribute/tribute.css
+%%DATADIR%%/public/vendor/plugins/tribute/tribute.min.js
%%DATADIR%%/public/vendor/plugins/vue/LICENSE
%%DATADIR%%/public/vendor/plugins/vue/vue.min.js
%%DATADIR%%/templates/admin/auth/edit.tmpl
@@ -1932,6 +1938,14 @@ sbin/gitea
%%DATADIR%%/templates/base/footer.tmpl
%%DATADIR%%/templates/base/head.tmpl
%%DATADIR%%/templates/base/paginate.tmpl
+%%DATADIR%%/templates/custom/body_inner_post.tmpl
+%%DATADIR%%/templates/custom/body_inner_pre.tmpl
+%%DATADIR%%/templates/custom/body_outer_post.tmpl
+%%DATADIR%%/templates/custom/body_outer_pre.tmpl
+%%DATADIR%%/templates/custom/extra_links.tmpl
+%%DATADIR%%/templates/custom/extra_tabs.tmpl
+%%DATADIR%%/templates/custom/footer.tmpl
+%%DATADIR%%/templates/custom/header.tmpl
%%DATADIR%%/templates/explore/navbar.tmpl
%%DATADIR%%/templates/explore/organizations.tmpl
%%DATADIR%%/templates/explore/repo_list.tmpl
@@ -1994,8 +2008,10 @@ sbin/gitea
%%DATADIR%%/templates/repo/issue/search.tmpl
%%DATADIR%%/templates/repo/issue/view.tmpl
%%DATADIR%%/templates/repo/issue/view_content.tmpl
+%%DATADIR%%/templates/repo/issue/view_content/add_reaction.tmpl
%%DATADIR%%/templates/repo/issue/view_content/comments.tmpl
%%DATADIR%%/templates/repo/issue/view_content/pull.tmpl
+%%DATADIR%%/templates/repo/issue/view_content/reactions.tmpl
%%DATADIR%%/templates/repo/issue/view_content/sidebar.tmpl
%%DATADIR%%/templates/repo/issue/view_title.tmpl
%%DATADIR%%/templates/repo/migrate.tmpl
@@ -2013,6 +2029,7 @@ sbin/gitea
%%DATADIR%%/templates/repo/settings/githook_edit.tmpl
%%DATADIR%%/templates/repo/settings/githooks.tmpl
%%DATADIR%%/templates/repo/settings/hook_delete_modal.tmpl
+%%DATADIR%%/templates/repo/settings/hook_dingtalk.tmpl
%%DATADIR%%/templates/repo/settings/hook_discord.tmpl
%%DATADIR%%/templates/repo/settings/hook_gitea.tmpl
%%DATADIR%%/templates/repo/settings/hook_gogs.tmpl