1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

www/gitea: Update to 1.14.6

PR:		257973
Security:	https://blog.gitea.io/2021/08/gitea-1.14.6-is-released/
This commit is contained in:
Stefan Bethke 2021-08-20 12:32:41 -06:00 committed by Adam Weinberger
parent 4cf22ad781
commit 7553ad1a0e
4 changed files with 10 additions and 13 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= gitea
DISTVERSIONPREFIX= v
DISTVERSION= 1.14.5
DISTVERSION= 1.14.6
CATEGORIES= www
MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
DISTNAME= gitea-src-${DISTVERSION}
@ -68,10 +68,6 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/app.ini.sample ${STAGEDIR}${ETCDIR}/conf/app.ini.sample
${INSTALL_DATA} ${WRKSRC}/custom/conf/app.example.ini ${STAGEDIR}${ETCDIR}/conf/app.ini.defaults
@${MKDIR} ${STAGEDIR}${DESTDIR}/var/db/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DESTDIR}/var/log/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DESTDIR}/var/run/${PORTNAME}
do-install-BINDATA-off:
cd ${WRKSRC} && ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1626589021
SHA256 (gitea-src-1.14.5.tar.gz) = f27c0b5697bfe488d726a3b5efd94df3407fdd61942f72ca33c396761fdb60e1
SIZE (gitea-src-1.14.5.tar.gz) = 117880790
TIMESTAMP = 1629474979
SHA256 (gitea-src-1.14.6.tar.gz) = 208a0e26569f303e8a83c65d7b72dca0af7b3ca2e6a8e50c40dde798882a7b5a
SIZE (gitea-src-1.14.6.tar.gz) = 117871468

View File

@ -31,6 +31,12 @@ pidfile="/var/run/${name}.pid"
start_cmd="${name}_start"
gitea_start() {
for d in /var/db/gitea /var/log/gitea; do
if [ ! -e "$d" ]; then
mkdir "$d"
chown ${gitea_user} "$d"
fi
done
/usr/sbin/daemon %%DAEMONARGS%% \
-u ${gitea_user} -p ${pidfile} \
/usr/bin/env -i \

View File

@ -1,8 +1,3 @@
@sample %%ETCDIR%%/conf/app.ini.sample
%%ETCDIR%%/conf/app.ini.defaults
sbin/gitea
@owner git
@group git
@dir /var/db/gitea
@dir /var/log/gitea
@dir /var/run/gitea