Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 01:09:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477126 - head/security/theonionbox
Message-ID:  <201808140109.w7E19Y9x007471@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Aug 14 01:09:33 2018
New Revision: 477126
URL: https://svnweb.freebsd.org/changeset/ports/477126

Log:
  security/theonionbox: Add sqlite3 dependency; Backport fixes that the upstream made.
  
  Port changes:
  * sqlite3 dependency is need as a workaround for bug#230613
  * Backport the fix of the problem of python3 compatibility
  * Backport the fix of python2 build error
  * Backport the fix of windows newline in the shell script
  * Backport the Onionoo protocol version mismatch fix
  
  PR:		230599
  Submitted by:	Carsten Larsen <cs@innolan.net> (sqlite3 part)

Modified:
  head/security/theonionbox/Makefile
  head/security/theonionbox/distinfo

Modified: head/security/theonionbox/Makefile
==============================================================================
--- head/security/theonionbox/Makefile	Tue Aug 14 00:31:56 2018	(r477125)
+++ head/security/theonionbox/Makefile	Tue Aug 14 01:09:33 2018	(r477126)
@@ -2,9 +2,16 @@
 
 PORTNAME=	theonionbox
 PORTVERSION=	4.2.1
+PORTREVISION=	1
 CATEGORIES=	security net python
 MASTER_SITES=	CHEESESHOP
 
+PATCH_SITES=	https://github.com/ralphwetzel/${PORTNAME}/commit/
+PATCHFILES=	f273bd0bfb90b4a3d9692c613fe93a836df62e00.patch:-p1 \
+		14a2027fd4abd6c59e60994532400ce6bb47f8c6.patch:-p1 \
+		a86c4239b5c13c01e8c405985f08f7795f68d3a6.patch:-p1 \
+		f29082a6d78c8a635312daff95e6bacea5353cd7.patch:-p1
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Web interface to monitor Tor node operation
 
@@ -18,10 +25,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}apscheduler>=3.4:d
 		${PYTHON_PKGNAMEPREFIX}stem>=1.5.4:security/py-stem@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tzlocal>=1.4:devel/py-tzlocal@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}urllib3>=1.22:net/py-urllib3@${PY_FLAVOR}
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} # workaround for bug#230613: missing internal sqlite3 module in python
 py27_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}futures>=3.2:devel/py-futures@${PY_FLAVOR}
 
-USES=		dos2unix python
-DOS2UNIX_FILES=	FreeBSD/${PORTNAME}.sh
+USES=		python
 USE_PYTHON=	distutils autoplist noflavors
 NO_ARCH=	yes
 

Modified: head/security/theonionbox/distinfo
==============================================================================
--- head/security/theonionbox/distinfo	Tue Aug 14 00:31:56 2018	(r477125)
+++ head/security/theonionbox/distinfo	Tue Aug 14 01:09:33 2018	(r477126)
@@ -1,3 +1,11 @@
-TIMESTAMP = 1534137084
+TIMESTAMP = 1534208455
 SHA256 (theonionbox-4.2.1.tar.gz) = 834a6e15d7074a74331866b2d05b18435ede0e5fd061def9f3e6ff7c9e2b481a
 SIZE (theonionbox-4.2.1.tar.gz) = 13117993
+SHA256 (f273bd0bfb90b4a3d9692c613fe93a836df62e00.patch) = a51fd5c8495d428d249b69cfcb70df46934a279e08a5c7ef7a37f963e4eeb5e5
+SIZE (f273bd0bfb90b4a3d9692c613fe93a836df62e00.patch) = 6515
+SHA256 (14a2027fd4abd6c59e60994532400ce6bb47f8c6.patch) = b246772cad64c3c6503d9e6f36cf97cddb6b75f255b792718426f9c9a2e923de
+SIZE (14a2027fd4abd6c59e60994532400ce6bb47f8c6.patch) = 4045
+SHA256 (a86c4239b5c13c01e8c405985f08f7795f68d3a6.patch) = 4113c547f4d40e88ab61c560739e37461cef22a773016c347c1ad0a6110c0a4c
+SIZE (a86c4239b5c13c01e8c405985f08f7795f68d3a6.patch) = 5310
+SHA256 (f29082a6d78c8a635312daff95e6bacea5353cd7.patch) = 18d2fb40cb5e44e0f9f721d60a69010cf8b10aad53542bed9d3bc6bad4bfd260
+SIZE (f29082a6d78c8a635312daff95e6bacea5353cd7.patch) = 795



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808140109.w7E19Y9x007471>