Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2013 20:24:13 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315323 - in head/security: . py-python-registry
Message-ID:  <201303262024.r2QKODH6098277@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Mar 26 20:24:12 2013
New Revision: 315323
URL: http://svnweb.freebsd.org/changeset/ports/315323

Log:
  python-registry was originally written by Willi Ballenthin, a forensicator who
  wanted to access the contents of the Windows Registry from his Linux laptop.
  python-registry currently provides read-only access to Windows Registry files,
  such as NTUSER.DAT, userdiff, and SOFTWARE. The interface is two-fold: a
  high-level interface suitable for most tasks, and a low level set of parsing
  objects and methods which may be used for advanced study of the Windows
  Registry. python-registry is written in pure Python, making it portable across
  all major platforms.
  
  WWW: http://www.williballenthin.com/registry/
  
  PR:		173141
  Submitted by:	Antoine Brodin <antoine@FreeBSD.org>

Added:
  head/security/py-python-registry/
  head/security/py-python-registry/Makefile   (contents, props changed)
  head/security/py-python-registry/distinfo   (contents, props changed)
  head/security/py-python-registry/pkg-descr   (contents, props changed)
  head/security/py-python-registry/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Mar 26 18:38:10 2013	(r315322)
+++ head/security/Makefile	Tue Mar 26 20:24:12 2013	(r315323)
@@ -768,6 +768,7 @@
     SUBDIR += py-pylibacl
     SUBDIR += py-pyme
     SUBDIR += py-pysha3
+    SUBDIR += py-python-registry
     SUBDIR += py-rsa
     SUBDIR += py-ssh
     SUBDIR += py-sslstrip

Added: head/security/py-python-registry/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-python-registry/Makefile	Tue Mar 26 20:24:12 2013	(r315323)
@@ -0,0 +1,38 @@
+# Created by: Antoine Brodin <antoine@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	python-registry
+PORTVERSION=	0.2.5
+CATEGORIES=	security devel python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	antoine@FreeBSD.org
+COMMENT=	Read access to Windows Registry files
+
+LICENSE=	AL2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	williballenthin
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	8ea7e05
+
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	yes
+
+.include <bsd.port.options.mk>
+
+post-patch:
+	${REINPLACE_CMD} -e 's|0.2.4.1|${PORTVERSION}|' ${WRKSRC}/Registry/__init__.py
+	${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/samples/*
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/documentation/* ${DOCSDIR}
+.endif
+.if ${PORT_OPTIONS:MEXAMPLES}
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>

Added: head/security/py-python-registry/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-python-registry/distinfo	Tue Mar 26 20:24:12 2013	(r315323)
@@ -0,0 +1,2 @@
+SHA256 (python-registry-0.2.5.tar.gz) = d882fbb5a5608b0ba092362ada3a99753d8b3c184f9811fcbe386a0e708d7faa
+SIZE (python-registry-0.2.5.tar.gz) = 133259

Added: head/security/py-python-registry/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-python-registry/pkg-descr	Tue Mar 26 20:24:12 2013	(r315323)
@@ -0,0 +1,10 @@
+python-registry was originally written by Willi Ballenthin, a forensicator who
+wanted to access the contents of the Windows Registry from his Linux laptop.
+python-registry currently provides read-only access to Windows Registry files,
+such as NTUSER.DAT, userdiff, and SOFTWARE. The interface is two-fold: a
+high-level interface suitable for most tasks, and a low level set of parsing
+objects and methods which may be used for advanced study of the Windows
+Registry. python-registry is written in pure Python, making it portable across
+all major platforms.
+
+WWW: http://www.williballenthin.com/registry/

Added: head/security/py-python-registry/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-python-registry/pkg-plist	Tue Mar 26 20:24:12 2013	(r315323)
@@ -0,0 +1,23 @@
+%%PYTHON_SITELIBDIR%%/Registry/Registry.py
+%%PYTHON_SITELIBDIR%%/Registry/Registry.pyc
+%%PYTHON_SITELIBDIR%%/Registry/Registry.pyo
+%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.py
+%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.pyc
+%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.pyo
+%%PYTHON_SITELIBDIR%%/Registry/__init__.py
+%%PYTHON_SITELIBDIR%%/Registry/__init__.pyc
+%%PYTHON_SITELIBDIR%%/Registry/__init__.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/Registry
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/TheWindowsNTRegistryFileFormat.pdf
+%%PORTDOCS%%%%DOCSDIR%%/WinReg.txt
+%%PORTDOCS%%%%DOCSDIR%%/registry.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/findkey.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printall.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regfetch.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regview.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shellbags.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shelltypes.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timeline.py
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%



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