Date: Mon, 26 Aug 2019 15:28:13 +0200 From: Matthias Fechner <idefix@fechner.net> To: Po-Chuan Hsieh <sunpoet@freebsd.org> Cc: Matthias Fechner <mfechner@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, owner-ports-committers@freebsd.org Subject: Re: svn commit: r509904 - in head/devel: . rubygem-default_value_for32 Message-ID: <a05f53e784f08eaa6a3300145ed7269e@fechner.net> In-Reply-To: <CAMHz58TC5APrc=Nde24YUOD-a_vBRKVr4mq5DuMq3kPNg3C4Xw@mail.gmail.com> References: <201908261106.x7QB6LkC091459@repo.freebsd.org> <5118e857a58d458eaf6884c7b69f0148@fechner.net> <CAMHz58TC5APrc=Nde24YUOD-a_vBRKVr4mq5DuMq3kPNg3C4Xw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.08.2019 13:59, schrieb Po-Chuan Hsieh: > Done in r509939. > I also added PORTSCOUT. thanks! -- Gruß Matthias From owner-svn-ports-head@freebsd.org Mon Aug 26 13:30:13 2019 Return-Path: <owner-svn-ports-head@freebsd.org> Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 88E3BDBD95; Mon, 26 Aug 2019 13:30:13 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46HCYK31pfz4RDR; Mon, 26 Aug 2019 13:30:13 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2D0DF6B1F; Mon, 26 Aug 2019 13:30:13 +0000 (UTC) (envelope-from grembo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x7QDUD88078225; Mon, 26 Aug 2019 13:30:13 GMT (envelope-from grembo@FreeBSD.org) Received: (from grembo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x7QDUCJD078222; Mon, 26 Aug 2019 13:30:12 GMT (envelope-from grembo@FreeBSD.org) Message-Id: <201908261330.x7QDUCJD078222@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: grembo set sender to grembo@FreeBSD.org using -f From: Michael Gmelin <grembo@FreeBSD.org> Date: Mon, 26 Aug 2019 13:30:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r509944 - in head/deskutils/py-paperless: . files X-SVN-Group: ports-head X-SVN-Commit-Author: grembo X-SVN-Commit-Paths: in head/deskutils/py-paperless: . files X-SVN-Commit-Revision: 509944 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 <svn-ports-head.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-head>, <mailto:svn-ports-head-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-head/> List-Post: <mailto:svn-ports-head@freebsd.org> List-Help: <mailto:svn-ports-head-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-head>, <mailto:svn-ports-head-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 26 Aug 2019 13:30:13 -0000 Author: grembo Date: Mon Aug 26 13:30:12 2019 New Revision: 509944 URL: https://svnweb.freebsd.org/changeset/ports/509944 Log: Add protocol to CORS headers (fails otherwise), add direct dependency on databases/py-sqlite3 (was implicit through www/py-django21 before). Bump revision. Added: head/deskutils/py-paperless/files/patch-src-paperless-settings.py (contents, props changed) Modified: head/deskutils/py-paperless/Makefile head/deskutils/py-paperless/files/patch-paperless.conf.example Modified: head/deskutils/py-paperless/Makefile ============================================================================== --- head/deskutils/py-paperless/Makefile Mon Aug 26 13:16:24 2019 (r509943) +++ head/deskutils/py-paperless/Makefile Mon Aug 26 13:30:12 2019 (r509944) @@ -2,6 +2,7 @@ PORTNAME= paperless PORTVERSION= 2.7.0 +PORTREVISION= 1 CATEGORIES= deskutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -24,7 +25,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateparser>=0.7. ${PYTHON_PKGNAMEPREFIX}pyocr>=0.5.3:graphics/py-pyocr@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0.10.1:www/py-python-dotenv@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-gnupg>=0.4.3:security/py-python-gnupg@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}python-magic>=0.4.10:devel/py-python-magic@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}python-magic>=0.4.10:devel/py-python-magic@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} RUN_DEPENDS:= ${BUILD_DEPENDS} RUN_DEPENDS+= gpg2:security/gnupg \ optipng:graphics/optipng \ Modified: head/deskutils/py-paperless/files/patch-paperless.conf.example ============================================================================== --- head/deskutils/py-paperless/files/patch-paperless.conf.example Mon Aug 26 13:16:24 2019 (r509943) +++ head/deskutils/py-paperless/files/patch-paperless.conf.example Mon Aug 26 13:30:12 2019 (r509944) @@ -27,3 +27,12 @@ # Override the MEDIA_URL here. Unless you're hosting Paperless off a subdomain +@@ -98,7 +98,7 @@ PAPERLESS_EMAIL_SECRET="" + # servers to the list of allowed hosts that can do CORS calls. By default + # Paperless allows calls from localhost:8080, but you'd like to change that, + # you can set this value to a comma-separated list. +-#PAPERLESS_CORS_ALLOWED_HOSTS="localhost:8080,example.com,localhost:8000" ++#PAPERLESS_CORS_ALLOWED_HOSTS="http://localhost:8080,http://example.com,http://localhost:8000" + + # To host paperless under a subpath url like example.com/paperless you set + # this value to /paperless. No trailing slash! Added: head/deskutils/py-paperless/files/patch-src-paperless-settings.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/py-paperless/files/patch-src-paperless-settings.py Mon Aug 26 13:30:12 2019 (r509944) @@ -0,0 +1,11 @@ +--- src/paperless/settings.py.orig 2019-01-27 13:48:05 UTC ++++ src/paperless/settings.py +@@ -104,7 +104,7 @@ MIDDLEWARE = [ + ] + + # We allow CORS from localhost:8080 +-CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "localhost:8080").split(",")) ++CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "http://localhost:8080").split(",")) + + # If auth is disabled, we just use our "bypass" authentication middleware + if bool(os.getenv("PAPERLESS_DISABLE_LOGIN", "false").lower() in ("yes", "y", "1", "t", "true")):
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05f53e784f08eaa6a3300145ed7269e>