From owner-svn-ports-head@freebsd.org Mon Jun 10 16:42:42 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC66515C3D7B; Mon, 10 Jun 2019 16:42:41 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-it1-f176.google.com (mail-it1-f176.google.com [209.85.166.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EDB44830E1; Mon, 10 Jun 2019 16:42:40 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-it1-f176.google.com with SMTP id v193so5690itc.0; Mon, 10 Jun 2019 09:42:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mWRUfpxF+AWrCNMmUJE9/lYutnQWJoth5YAqmcRPNe8=; b=aPGtqqgYa3dE45pnNBHVIqFTcaNLmWkWL6KQ9l13mgG1+GluPlTJ5QELrijwpmsZuU VNjpjacrnoNEE/TrMUrm1DCwOIywRfpVlNK/JBpYcWtYx3YzcD+vCj+/DXic2Pb+/Ri3 +FPKcsJzCCXCyeermrk20Qr5/P7AfQflE1XFMap5AmJKeuy0ZbQRfIC0iOOEei9AbAby JXT2B7QwVXjXH/gOq5cqNHWhd84ZJlmrF4T+okoJ59fkXgW4HwZGfA6PFJGlPIwDcOoD BehIjNwWZEmQGWVecK1vvNeW1X6VjNwW9sBOnm5RGLCjKRpJs7kp0DqsD37wbVX5ouuB ENmQ== X-Gm-Message-State: APjAAAX3NCfWammxw3zepQTgN2xbduTzsLYG5O47fSsXtKYiACnpXKic e4SSf+0pXoaOpu6CB6WeIb2C2Fum X-Google-Smtp-Source: APXvYqzCyPRAPNwLdo+uwyAj9OKVumXueRJ0Ra11jWSb7/2Y8S6/rQM/6b/iUmfFi55zH2vNaqmFog== X-Received: by 2002:a02:c88e:: with SMTP id m14mr30153664jao.69.1560184573356; Mon, 10 Jun 2019 09:36:13 -0700 (PDT) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com. [209.85.166.43]) by smtp.gmail.com with ESMTPSA id j1sm3806413iop.14.2019.06.10.09.36.13 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 09:36:13 -0700 (PDT) Received: by mail-io1-f43.google.com with SMTP id u19so7375462ior.9; Mon, 10 Jun 2019 09:36:13 -0700 (PDT) X-Received: by 2002:a6b:7909:: with SMTP id i9mr12565999iop.8.1560184572928; Mon, 10 Jun 2019 09:36:12 -0700 (PDT) MIME-Version: 1.0 References: <201906090547.x595lR4M025407@repo.freebsd.org> In-Reply-To: <201906090547.x595lR4M025407@repo.freebsd.org> From: Ultima Date: Mon, 10 Jun 2019 09:36:02 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r503787 - in head/www/seahub: . files To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Cc: FreeBSD Ports Security Team X-Rspamd-Queue-Id: EDB44830E1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ultima1252@gmail.com designates 209.85.166.176 as permitted sender) smtp.mailfrom=ultima1252@gmail.com X-Spamd-Result: default: False [-4.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[ultimasbox.com]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[7]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-2.26)[ip: (-5.55), ipnet: 209.85.128.0/17(-3.40), asn: 15169(-2.29), country: US(-0.06)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; RCVD_IN_DNSWL_NONE(0.00)[176.166.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[ultima@ultimasbox.com,ultima1252@gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[ultima@ultimasbox.com,ultima1252@gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2019 16:42:42 -0000 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 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 > > 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@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 > >