1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update plaso to 1.1.0

Announce: http://blog.kiddaland.net/2014/06/what-is-one-to-say-about-june-time-of.html

- Add converters/py-bencode, bencoding and bdecoding implementation
This commit is contained in:
Antoine Brodin 2014-06-07 08:43:31 +00:00
parent 54b5201492
commit df6099d73e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356886
8 changed files with 49 additions and 46 deletions

View File

@ -137,6 +137,7 @@
SUBDIR += php55-mbstring
SUBDIR += php55-recode
SUBDIR += psiconv
SUBDIR += py-bencode
SUBDIR += py-bsdconv
SUBDIR += py-iconv
SUBDIR += py-pisa

View File

@ -0,0 +1,21 @@
# $FreeBSD$
PORTNAME= bencode
PORTVERSION= 1.0
CATEGORIES= converters devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Bencoding and bdecoding implementation
LICENSE= BTOSL
LICENSE_NAME= BitTorrent Open Source License
LICENSE_TEXT= See http://directory.fsf.org/wiki/License:BitTorrentOSL1.1
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (bencode-1.0.tar.gz) = 0301c2202233a3f274c940702bac7bd02d5d053b8bf9502b085156270e30be9b
SIZE (bencode-1.0.tar.gz) = 2385

View File

@ -0,0 +1,6 @@
This package simply re-packages the existing bencoding and bdecoding
implementation from the 'official' BitTorrent client as a separate,
light-weight package for re-using them without having the entire BitTorrent
software as a dependency.
WWW: https://pypi.python.org/pypi/bencode/

View File

@ -2,13 +2,11 @@
# $FreeBSD$
PORTNAME= plaso
PORTVERSION= 1.0.2
PORTREVISION= 1
PORTVERSION= 1.1.0
CATEGORIES= security python
MASTER_SITES= https://googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/${PORTVERSION}/final/ \
MASTER_SITES= https://googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/${PORTVERSION}/release/ \
LOCAL/antoine
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_source_${PORTVERSION}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Automatic creation of a super timeline
@ -18,21 +16,24 @@ LICENSE= APACHE20
RUN_DEPENDS= hachoir-core>=0:${PORTSDIR}/devel/hachoir-core \
hachoir-metadata>=0:${PORTSDIR}/sysutils/hachoir-metadata \
hachoir-parser>=0:${PORTSDIR}/devel/hachoir-parser \
libesedb>=e:${PORTSDIR}/devel/libesedb \
libevt>=a:${PORTSDIR}/devel/libevt \
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}bencode>=0:${PORTSDIR}/converters/py-bencode \
${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}dfvfs>=0:${PORTSDIR}/security/py-dfvfs \
${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}psutil121>=0:${PORTSDIR}/sysutils/py-psutil121 \
${PYTHON_PKGNAMEPREFIX}pyelasticsearch>=0:${PORTSDIR}/textproc/py-pyelasticsearch \
${PYTHON_PKGNAMEPREFIX}pytsk>=0:${PORTSDIR}/sysutils/py-pytsk \
${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \
@ -41,13 +42,9 @@ RUN_DEPENDS= hachoir-core>=0:${PORTSDIR}/devel/hachoir-core \
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= ACKNOWLEDGEMENT AUTHORS
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= ACKNOWLEDGEMENTS AUTHORS
PORTEXAMPLES= *
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES

View File

@ -1,2 +1,2 @@
SHA256 (plaso_source_1.0.2.tar.gz) = 6dffc50864a38258ae8f6bedba1cd6910aa8792f632e55eb6bfd93d1b415bc98
SIZE (plaso_source_1.0.2.tar.gz) = 14514319
SHA256 (plaso-1.1.0.tar.gz) = f0eae193c2714b241547fa68779c9e6eb467ef34be78c6d6299851818bed73f7
SIZE (plaso-1.1.0.tar.gz) = 39526513

View File

@ -1,22 +0,0 @@
--- ./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):

View File

@ -1,11 +1,9 @@
--- ./setup.py.orig 2013-10-31 18:02:07.000000000 +0000
+++ ./setup.py 2014-01-26 09:42:25.000000000 +0000
@@ -104,7 +104,7 @@
'Programming Language :: Python',
],
#include_package_data=True,
- packages=find_packages('.'),
+ packages=find_packages('.', exclude=['test_data']),
package_data={'plaso.test_data': GetFileList('test_data', ['*'])},
)
--- ./setup.py.orig 2014-05-25 08:56:12.000000000 +0000
+++ ./setup.py 2014-06-06 12:47:49.000000000 +0000
@@ -106,5 +106,5 @@
'Programming Language :: Python',
],
package_dir={'plaso': 'plaso'},
- packages=find_packages('.'),
+ packages=find_packages('.', exclude=['test_data', 'tools']),
)