devel/gogs: Update to 0.11.91

Changelog: https://github.com/gogs/gogs/releases/tag/v0.11.91

PR:		239823
Submitted by:	Dmitri Goutnik <dg@syrec.org>
This commit is contained in:
Yuri Victorovich 2019-08-15 16:58:13 +00:00
parent 011ed12b8e
commit e77cc3cbaf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509009
3 changed files with 8 additions and 9 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= gogs
DISTVERSIONPREFIX= v
DISTVERSION= 0.11.86
DISTVERSION= 0.11.91
CATEGORIES= devel www
MAINTAINER= dg@syrec.org
@ -16,6 +16,8 @@ RUN_DEPENDS= git:devel/git \
USES= go
GO_BUILDFLAGS= -tags "sqlite pam cert"
USE_GITHUB= yes
GH_ACCOUNT= gogs
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
@ -55,13 +57,9 @@ post-patch:
-e 's|^DB_TYPE = mysql$$|DB_TYPE = sqlite3|' \
${WRKSRC}/conf/app.ini
do-build:
@(cd ${WRKSRC}/${GH_SUBDIR} && \
${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -tags "sqlite pam cert" -p ${MAKE_JOBS_NUMBER} -o ${PORTNAME})
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}/
${INSTALL_SCRIPT} ${WRKDIR}/gogs ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/gogs-rm-data ${STAGEDIR}${PREFIX}/bin/
${INSTALL_SCRIPT} ${WRKDIR}/gogs-service ${STAGEDIR}${PREFIX}/etc/rc.d/gogs

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1548934550
SHA256 (gogs-gogs-v0.11.86_GH0.tar.gz) = 1745610d42a2ec6dd7d6e306ae7a1b120e5fbcb646c06738b332cc99f170b152
SIZE (gogs-gogs-v0.11.86_GH0.tar.gz) = 19382029
TIMESTAMP = 1565712068
SHA256 (gogs-gogs-v0.11.91_GH0.tar.gz) = 6808db68a5952504b81f35fda29ddadde676a91d792262dcf7c3d90be85453eb
SIZE (gogs-gogs-v0.11.91_GH0.tar.gz) = 19418920

View file

@ -159,6 +159,7 @@ libexec/gogs/conf/gitignore/TurboGears2
libexec/gogs/conf/gitignore/Typo3
libexec/gogs/conf/gitignore/Umbraco
libexec/gogs/conf/gitignore/Unity
libexec/gogs/conf/gitignore/UnrealEngine
libexec/gogs/conf/gitignore/Vagrant
libexec/gogs/conf/gitignore/Vim
libexec/gogs/conf/gitignore/VirtualEnv