Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 19:13:50 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334243 - in head/security/py-plaso: . files
Message-ID:  <201311181913.rAIJDoAj039059@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Nov 18 19:13:50 2013
New Revision: 334243
URL: http://svnweb.freebsd.org/changeset/ports/334243

Log:
  - Update to 1.0.2
  - Stage support
  
  Release notes:	http://blog.kiddaland.net/2013/10/halloween-brings-with-it-riding-witches.html

Added:
  head/security/py-plaso/files/
  head/security/py-plaso/files/patch-plaso__parsers__firefox.py   (contents, props changed)
Modified:
  head/security/py-plaso/Makefile
  head/security/py-plaso/distinfo
  head/security/py-plaso/pkg-plist

Modified: head/security/py-plaso/Makefile
==============================================================================
--- head/security/py-plaso/Makefile	Mon Nov 18 19:07:27 2013	(r334242)
+++ head/security/py-plaso/Makefile	Mon Nov 18 19:13:50 2013	(r334243)
@@ -2,13 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	plaso
-DISTVERSION=	1.0.1alpha
-PORTREVISION=	1
+PORTVERSION=	1.0.2
 CATEGORIES=	security python
-MASTER_SITES=	GOOGLE_CODE
+MASTER_SITES=	https://googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/${PORTVERSION}/final/ \
+		LOCAL/antoine
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME}_${DISTVERSION}
-EXTRACT_SUFX=	.tgz
+DISTNAME=	${PORTNAME}_source_${PORTVERSION}
 
 MAINTAINER=	antoine@FreeBSD.org
 COMMENT=	Automatic creation of a super timeline
@@ -22,10 +21,16 @@ RUN_DEPENDS=	hachoir-core>=0:${PORTSDIR}
 		libevtx>=a:${PORTSDIR}/devel/libevtx \
 		liblnk>=0:${PORTSDIR}/devel/liblnk \
 		libmsiecf>=a:${PORTSDIR}/devel/libmsiecf \
+		libolecf>=a:${PORTSDIR}/devel/libolecf \
 		libregf>=a:${PORTSDIR}/devel/libregf \
 		libvshadow>=0:${PORTSDIR}/devel/libvshadow \
-		${PYTHON_PKGNAMEPREFIX}ipython>=0:${PORTSDIR}/devel/ipython \
+		${PYTHON_PKGNAMEPREFIX}binplist>=0:${PORTSDIR}/devel/py-binplist \
+		${PYTHON_PKGNAMEPREFIX}construct>=0:${PORTSDIR}/devel/py-construct \
 		${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
+		${PYTHON_PKGNAMEPREFIX}docopt>=0:${PORTSDIR}/devel/py-docopt \
+		${PYTHON_PKGNAMEPREFIX}dpkt>=0:${PORTSDIR}/net/py-dpkt \
+		${PYTHON_PKGNAMEPREFIX}ipython>=0:${PORTSDIR}/devel/ipython \
+		${PYTHON_PKGNAMEPREFIX}parsing>=0:${PORTSDIR}/devel/py-parsing \
 		${PYTHON_PKGNAMEPREFIX}protobuf>=0:${PORTSDIR}/devel/py-protobuf \
 		${PYTHON_PKGNAMEPREFIX}pytsk>=0:${PORTSDIR}/sysutils/py-pytsk \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
@@ -34,26 +39,27 @@ RUN_DEPENDS=	hachoir-core>=0:${PORTSDIR}
 
 USE_PYTHON=	2.7
 USE_PYDISTUTILS=easy_install
-PYDISTUTILS_PKGVERSION=0.1
-WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
+PYDISTUTILS_PKGVERSION=${PORTVERSION}alpha
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
-PORTDOCS=	AUTHORS
+PORTDOCS=	ACKNOWLEDGEMENT AUTHORS
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 
-PORTEXAMPLES=	README.tools image_export.py
+PORTEXAMPLES=	*
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/tools/,} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/extra/* ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/security/py-plaso/distinfo
==============================================================================
--- head/security/py-plaso/distinfo	Mon Nov 18 19:07:27 2013	(r334242)
+++ head/security/py-plaso/distinfo	Mon Nov 18 19:13:50 2013	(r334243)
@@ -1,2 +1,2 @@
-SHA256 (plaso_1.0.1alpha.tgz) = 08920c45d72b009df8cb80c76afe272e5554464e968ad1f07dcf4f45b317d437
-SIZE (plaso_1.0.1alpha.tgz) = 609132
+SHA256 (plaso_source_1.0.2.tar.gz) = 6dffc50864a38258ae8f6bedba1cd6910aa8792f632e55eb6bfd93d1b415bc98
+SIZE (plaso_source_1.0.2.tar.gz) = 14514319

Added: head/security/py-plaso/files/patch-plaso__parsers__firefox.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-plaso/files/patch-plaso__parsers__firefox.py	Mon Nov 18 19:13:50 2013	(r334243)
@@ -0,0 +1,22 @@
+--- ./plaso/parsers/firefox.py.orig	2013-10-31 18:02:07.000000000 +0000
++++ ./plaso/parsers/firefox.py	2013-11-15 23:23:14.000000000 +0000
+@@ -26,18 +26,9 @@
+ 
+ # Check SQlite version, bail out early if too old.
+ import sqlite3
+-release, major, minor = sqlite3.sqlite_version_info
+-if (release < 3):
++if sqlite3.sqlite_version_info < (3, 7, 8):
+   raise ImportWarning(
+       'FirefoxHistoryParser requires at least SQLite version 3.7.8.')
+-elif release == 3:
+-  if major < 7:
+-    raise ImportWarning(
+-        'FirefoxHistoryParser requires at least SQLite version 3.7.8.')
+-  elif major == 7:
+-    if minor < 8:
+-      raise ImportWarning(
+-          'FirefoxHistoryParser requires at least SQLite version 3.7.8.')
+ 
+ 
+ class FirefoxPlacesBookmarkAnnotation(event.EventContainer):

Modified: head/security/py-plaso/pkg-plist
==============================================================================
--- head/security/py-plaso/pkg-plist	Mon Nov 18 19:07:27 2013	(r334242)
+++ head/security/py-plaso/pkg-plist	Mon Nov 18 19:13:50 2013	(r334243)
@@ -1,8 +1,10 @@
+bin/image_export.py
 bin/log2timeline.py
-bin/plaso_console.py
-bin/plaso_information.py
+bin/pinfo.py
+bin/plasm.py
+bin/plaso_extract_search_history.py
 bin/pprof.py
-bin/presets.py
+bin/preg.py
+bin/pshell.py
 bin/psort.py
-bin/psort_test.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%



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