svn commit: r503787 - in head/www/seahub: . files
Ultima
ultima at ultimasbox.com
Mon Jun 10 16:42:42 UTC 2019
Hello Port-secteam,
MFC 2019Q2 request for this commit.
Thanks and best regards,
Richard Gallamore
On Sat, Jun 8, 2019 at 10:47 PM Richard Gallamore <ultima at freebsd.org>
wrote:
> Author: ultima
> Date: Sun Jun 9 05:47:27 2019
> New Revision: 503787
> URL: https://svnweb.freebsd.org/changeset/ports/503787
>
> Log:
> Change currently unused init var seahub_host so
> there is no breakage for current users of seahub.
>
> Change hard coded 0.0.0.0 for gunicorn start to
> seahub_host.
>
> PR: 237366
> Submitted by: Boris Tassou <boris.tassou at sec^>
>
> Modified:
> head/www/seahub/Makefile
> head/www/seahub/files/seahub.in
>
> Modified: head/www/seahub/Makefile
>
> ==============================================================================
> --- head/www/seahub/Makefile Sun Jun 9 05:46:35 2019 (r503786)
> +++ head/www/seahub/Makefile Sun Jun 9 05:47:27 2019 (r503787)
> @@ -4,7 +4,7 @@ PORTNAME= seahub
> DISTVERSIONPREFIX= v
> DISTVERSION= ${SEAHUB_VER}
> DISTVERSIONSUFFIX= -pro
> -PORTREVISION= 1
> +PORTREVISION= 2
> CATEGORIES= www
>
> MAINTAINER= ultima at FreeBSD.org
>
> Modified: head/www/seahub/files/seahub.in
>
> ==============================================================================
> --- head/www/seahub/files/seahub.in Sun Jun 9 05:46:35 2019
> (r503786)
> +++ head/www/seahub/files/seahub.in Sun Jun 9 05:47:27 2019
> (r503787)
> @@ -29,7 +29,7 @@
> # seafile_logdir (str): Set to "" by default will use the
> path
> # %%PREFIX%%/%%HAIWENDIR%%/logs.
> # Set it to a different path.
> -# seahub_host (int): Default is 127.0.0.1.
> +# seahub_host (int): Default is 0.0.0.0.
> # seahub_port (int): Default is 8000.
>
> . /etc/rc.subr
> @@ -53,7 +53,7 @@ clearsessions_cmd="seahub_clearsessions"
> : ${seafile_conf:="%%PREFIX%%/%%HAIWENDIR%%/conf"}
> : ${seafile_datadir:="`cat ${seafile_ccnet}/seafile.ini 2>/dev/null`"}
> : ${seafile_logdir:="%%PREFIX%%/%%HAIWENDIR%%/logs"}
> -: ${seahub_host:="127.0.0.1"}
> +: ${seahub_host:="0.0.0.0"}
> : ${seahub_port:="8000"}
>
> manage_py=${seafile_path}/seahub/manage.py
> @@ -123,7 +123,7 @@ seahub_start()
> check_required_before;
> before_start;
> echo "Starting seahub at port ${seahub_port} ..."
> - su -m "${seafile_user}" -c "$command \"${gunicorn_exe}\"
> seahub.wsgi:application -c \"${gunicorn_conf}\" -b \"0.0.0.0:${seahub_port}\"
> --preload --chdir \"$seafile_path/seahub\""
> + su -m "${seafile_user}" -c "$command \"${gunicorn_exe}\"
> seahub.wsgi:application -c \"${gunicorn_conf}\" -b
> \"${seahub_host}:${seahub_port}\" --preload --chdir
> \"$seafile_path/seahub\""
>
> # Ensure seahub is started successfully
> sleep 5
>
>
More information about the svn-ports-head
mailing list