Re: [UPDATE] sysutils/py-tsk
ping On 02/26/18 13:28, Remi Pointel wrote: Hi, this is the diff to update py-tsk to latest release. Ok? Cheers, Remi.
[UPDATE] sysutils/py-tsk
Hi, this is the diff to update py-tsk to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/sysutils/py-tsk/Makefile,v retrieving revision 1.5 diff -u -p -u -p -r1.5 Makefile --- Makefile 9 Nov 2017 20:42:46 - 1.5 +++ Makefile 26 Feb 2018 10:03:01 - @@ -2,7 +2,7 @@ COMMENT = Python bindings for The Sleuth Kit (libtsk) -MODPY_EGG_VERSION = 20171108 +MODPY_EGG_VERSION = 20180225 DISTNAME = pytsk3-${MODPY_EGG_VERSION} PKGNAME = py-tsk-${MODPY_EGG_VERSION} @@ -30,7 +30,7 @@ pre-configure: LIB_DEPENDS = sysutils/sleuthkit \ devel/libtalloc -TEST_DEPENDS = sysutils/py-tsk=${MODPY_EGG_VERSION} +TEST_DEPENDS = sysutils/py-tsk${MODPY_FLAVOR}=${MODPY_EGG_VERSION} # it needs test_data/* in the Github repository do-test: Index: distinfo === RCS file: /cvs/ports/sysutils/py-tsk/distinfo,v retrieving revision 1.5 diff -u -p -u -p -r1.5 distinfo --- distinfo 9 Nov 2017 20:42:46 - 1.5 +++ distinfo 26 Feb 2018 10:03:01 - @@ -1,2 +1,2 @@ -SHA256 (pytsk3-20171108.tar.gz) = CqTF6yZ3oh+goruGv89JJ1JvImuZ4EXS204wEZ6AaWo= -SIZE (pytsk3-20171108.tar.gz) = 2953931 +SHA256 (pytsk3-20180225.tar.gz) = 2Bjk5yL06r+aCbip+AzhD6tmNBXcDoZ4c7ux+MBg7Pc= +SIZE (pytsk3-20180225.tar.gz) = 3149373
[UPDATE] sysutils/py-tsk
Hi, this is the diff to update py-tsk to latest release. Ok? Cheers, Remi.Index: Makefile === RCS file: /cvs/ports/sysutils/py-tsk/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile 2 Nov 2017 10:06:37 - 1.4 +++ Makefile 9 Nov 2017 13:38:06 - @@ -2,7 +2,7 @@ COMMENT = Python bindings for The Sleuth Kit (libtsk) -MODPY_EGG_VERSION = 20170802 +MODPY_EGG_VERSION = 20171108 DISTNAME = pytsk3-${MODPY_EGG_VERSION} PKGNAME = py-tsk-${MODPY_EGG_VERSION} Index: distinfo === RCS file: /cvs/ports/sysutils/py-tsk/distinfo,v retrieving revision 1.4 diff -u -p -u -p -r1.4 distinfo --- distinfo 2 Nov 2017 10:06:37 - 1.4 +++ distinfo 9 Nov 2017 13:38:06 - @@ -1,2 +1,2 @@ -SHA256 (pytsk3-20170802.tar.gz) = MiWUR8mXEEhl7l4J+xBvwUUQGdV6bU/6gsu85Fp7VJU= -SIZE (pytsk3-20170802.tar.gz) = 2934331 +SHA256 (pytsk3-20171108.tar.gz) = CqTF6yZ3oh+goruGv89JJ1JvImuZ4EXS204wEZ6AaWo= +SIZE (pytsk3-20171108.tar.gz) = 2953931
[UPDATE] sysutils/py-tsk
Hi, this is the diff to update py-tsk to latest release. Ok? Cheers, Remi.Index: Makefile === RCS file: /cvs/ports/sysutils/py-tsk/Makefile,v retrieving revision 1.3 diff -u -p -u -p -r1.3 Makefile --- Makefile 18 Jul 2017 09:43:40 - 1.3 +++ Makefile 31 Oct 2017 15:47:48 - @@ -2,7 +2,7 @@ COMMENT = Python bindings for The Sleuth Kit (libtsk) -MODPY_EGG_VERSION = 20170508 +MODPY_EGG_VERSION = 20170802 DISTNAME = pytsk3-${MODPY_EGG_VERSION} PKGNAME = py-tsk-${MODPY_EGG_VERSION} @@ -18,6 +18,9 @@ PERMIT_PACKAGE_CDROM = Yes MODULES = lang/python MODPY_PI = Yes MODPY_SETUPTOOLS = Yes + +FLAVORS = python3 +FLAVOR ?= WANTLIB += pthread talloc tsk ${MODPY_WANTLIB} Index: distinfo === RCS file: /cvs/ports/sysutils/py-tsk/distinfo,v retrieving revision 1.3 diff -u -p -u -p -r1.3 distinfo --- distinfo 18 Jul 2017 09:43:40 - 1.3 +++ distinfo 31 Oct 2017 15:47:48 - @@ -1,2 +1,2 @@ -SHA256 (pytsk3-20170508.tar.gz) = I4ZbSDDy0oGQidf7Lm6qHQpZJIFYCzf68OFk5d2ZrFE= -SIZE (pytsk3-20170508.tar.gz) = 3004540 +SHA256 (pytsk3-20170802.tar.gz) = MiWUR8mXEEhl7l4J+xBvwUUQGdV6bU/6gsu85Fp7VJU= +SIZE (pytsk3-20170802.tar.gz) = 2934331 Index: patches/patch-setup_py === RCS file: /cvs/ports/sysutils/py-tsk/patches/patch-setup_py,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 patch-setup_py --- patches/patch-setup_py 22 Jan 2017 08:18:04 - 1.1.1.1 +++ patches/patch-setup_py 31 Oct 2017 15:47:48 - @@ -1,43 +1,40 @@ $OpenBSD: patch-setup_py,v 1.1.1.1 2017/01/22 08:18:04 rpointel Exp $ setup.py.orig Thu Jul 21 21:02:40 2016 -+++ setup.py Thu Oct 13 22:33:14 2016 -@@ -171,7 +171,7 @@ class BuildExtCommand(build_ext): - compiler = new_compiler(compiler=self.compiler) - self.define = self.configure_source_tree(compiler) - --libtsk_path = "sleuthkit/tsk" -+libtsk_path = "${LOCALBASE}/include/tsk" - - if not os.access("pytsk3.c", os.R_OK): - # Generate the Python binding code (pytsk3.c). -@@ -286,7 +286,7 @@ class UpdateCommand(Command): - with open("version.txt", "w") as fd: - fd.write(self.version) - --libtsk_path = "sleuthkit/tsk" -+libtsk_path = "${LOCALBASE}/include/tsk" - - # Generate the Python binding code (pytsk3.c). - libtsk_header_files = [ -@@ -325,7 +325,7 @@ class ProjectBuilder(object): - self._argv = argv - - # The path to the "tsk" directory. --self._libtsk_path = "sleuthkit/tsk" -+self._libtsk_path = "${LOCALBASE}/include/tsk" - - # paths under the tsk/ directory which contain files we need to compile. - self._sub_library_names = "auto base docs fs hashdb img vs".split() -@@ -333,9 +333,9 @@ class ProjectBuilder(object): - # The args for the extension builder. - self.extension_args = dict( - define_macros=[], --include_dirs=["talloc", "sleuthkit/tsk", "sleuthkit", "."], --library_dirs=[], --libraries=[], -+include_dirs=[".", "${LOCALBASE}/include"], -+library_dirs=["${LOCALBASE}/lib"], -+libraries=["tsk", "talloc"], - ) +Index: setup.py +--- setup.py.orig setup.py +@@ -180,7 +180,7 @@ class BuildExtCommand(build_ext): + # pylint: disable=attribute-defined-outside-init + self.define = self.configure_source_tree(compiler) + +-libtsk_path = os.path.join("sleuthkit", "tsk") ++libtsk_path = os.path.join("${LOCALBASE}", "include", "tsk") + + if not os.access("pytsk3.c", os.R_OK): + # Generate the Python binding code (pytsk3.c). +@@ -390,7 +390,7 @@ class ProjectBuilder(object): + self._argv = argv + + # The path to the sleuthkit/tsk directory. +-self._libtsk_path = os.path.join("sleuthkit", "tsk") ++self._libtsk_path = os.path.join("${LOCALBASE}", "include", "tsk") + + # Paths under the sleuthkit/tsk directory which contain files we need + # to compile. +@@ -400,13 +400,13 @@ class ProjectBuilder(object): + # The args for the extension builder. + self.extension_args = { + "define_macros": [], +-"include_dirs": ["talloc", self._libtsk_path, "sleuthkit", "."], +-"library_dirs": [], +-"libraries": []} ++"include_dirs": [".", os.path.join("${LOCALBASE}", "include")], ++"library_dirs": [os.path.join("${LOCALBASE}","lib")], ++"libraries": ["tsk", "talloc"]} + + # The sources to build. + self._source_files = [ +-"class.c", "error.c", "tsk3.c", "pytsk3.c", "talloc/talloc.c"] ++"class.c", "error.c", "tsk3.c", "pytsk3.c"] - # The sources to build. + # Path to the top of the unpacked sleuthkit sources. + self._sleuthkit_path = "sleuthkit"
[UPDATE] sysutils/py-tsk
Hi, attached is the diff to update py-tsk to latest release. Ok? Cheers, Remi.Index: Makefile === RCS file: /cvs/ports/sysutils/py-tsk/Makefile,v retrieving revision 1.2 diff -u -p -u -p -r1.2 Makefile --- Makefile 7 Mar 2017 10:11:27 - 1.2 +++ Makefile 18 Jul 2017 08:20:47 - @@ -2,7 +2,7 @@ COMMENT = Python bindings for The Sleuth Kit (libtsk) -MODPY_EGG_VERSION = 20170128 +MODPY_EGG_VERSION = 20170508 DISTNAME = pytsk3-${MODPY_EGG_VERSION} PKGNAME = py-tsk-${MODPY_EGG_VERSION} Index: distinfo === RCS file: /cvs/ports/sysutils/py-tsk/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 7 Mar 2017 10:11:27 - 1.2 +++ distinfo 18 Jul 2017 08:20:47 - @@ -1,2 +1,2 @@ -SHA256 (pytsk3-20170128.tar.gz) = cd+CBS8glYOywEL+0qvFEQ/4PZUM33SNbLrSRNcJzkY= -SIZE (pytsk3-20170128.tar.gz) = 2803782 +SHA256 (pytsk3-20170508.tar.gz) = I4ZbSDDy0oGQidf7Lm6qHQpZJIFYCzf68OFk5d2ZrFE= +SIZE (pytsk3-20170508.tar.gz) = 3004540
[UPDATE] sysutils/py-tsk
Hi, this is the diff to update py-tsk to latest release. Ok? Cheers, Remi. Index: Makefile === RCS file: /cvs/ports/sysutils/py-tsk/Makefile,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 Makefile --- Makefile 22 Jan 2017 08:18:04 - 1.1.1.1 +++ Makefile 6 Mar 2017 05:50:07 - @@ -2,7 +2,7 @@ COMMENT = Python bindings for The Sleuth Kit (libtsk) -MODPY_EGG_VERSION = 20160721 +MODPY_EGG_VERSION = 20170128 DISTNAME = pytsk3-${MODPY_EGG_VERSION} PKGNAME = py-tsk-${MODPY_EGG_VERSION} Index: distinfo === RCS file: /cvs/ports/sysutils/py-tsk/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 22 Jan 2017 08:18:04 - 1.1.1.1 +++ distinfo 6 Mar 2017 05:50:07 - @@ -1,2 +1,2 @@ -SHA256 (pytsk3-20160721.tar.gz) = 3m9J5oek63R9BStD7FXm6upbwzOUaA7iMq8DKSCf/IU= -SIZE (pytsk3-20160721.tar.gz) = 2958826 +SHA256 (pytsk3-20170128.tar.gz) = cd+CBS8glYOywEL+0qvFEQ/4PZUM33SNbLrSRNcJzkY= +SIZE (pytsk3-20170128.tar.gz) = 2803782