Bug 173141 - New port: security/py-python-registry
Summary: New port: security/py-python-registry
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-27 16:00 UTC by Antoine Brodin
Modified: 2013-03-26 20:30 UTC (History)
0 users

See Also:


Attachments
py-python-registry.shar (3.80 KB, text/plain)
2012-10-27 16:00 UTC, Antoine Brodin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Brodin freebsd_committer freebsd_triage 2012-10-27 16:00:00 UTC

    
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-10-27 16:00:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-03-26 20:22:12 UTC
Responsible Changed
From-To: freebsd-python->rm

I will take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-26 20:24:26 UTC
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%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-03-26 20:24:47 UTC
State Changed
From-To: open->closed

Committed, thanks.