ports/173141: New port: security/py-python-registry

Antoine Brodin antoine at FreeBSD.org
Sat Oct 27 15:00:01 UTC 2012


>Number:         173141
>Category:       ports
>Synopsis:       New port: security/py-python-registry
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 27 15:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD barton.dreadbsd.org. 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Tue May 8 12:03:00 CEST 2012 root at barton.dreadbsd.org.:/usr/obj/usr/src/sys/MYGENERICFAST i386


>Description:
>How-To-Repeat:
>Fix:


--- py-python-registry.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-python-registry
#	py-python-registry/Makefile
#	py-python-registry/distinfo
#	py-python-registry/pkg-descr
#	py-python-registry/pkg-plist
#
echo c - py-python-registry
mkdir -p py-python-registry > /dev/null 2>&1
echo x - py-python-registry/Makefile
sed 's/^X//' >py-python-registry/Makefile << 'c765ff05f855a7121e3bdcf0cede203e'
X# New ports collection makefile for:	python-registry
X# Date created:				27 October 2012
X# Whom:					antoine at FreeBSD.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	python-registry
XDISTVERSION=	0.2.5
XCATEGORIES=	security devel python
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=	antoine at FreeBSD.org
XCOMMENT=	Read access to Windows Registry files
X
XLICENSE=	AL2
XLICENSE_FILE=	${WRKSRC}/LICENSE.TXT
X
XUSE_GITHUB=	yes
XGH_ACCOUNT=	williballenthin
XGH_TAGNAME=	v${DISTVERSION}
XGH_COMMIT=	8ea7e05
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=	yes
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|0.2.4.1|${DISTVERSION}|' ${WRKSRC}/Registry/__init__.py
X	${REINPLACE_CMD} -i '' -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/samples/*
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/documentation/* ${DOCSDIR}
X.endif
X.if !defined(NOPORTEXAMPLES)
X	@${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR}
X.endif
X
X.include <bsd.port.mk>
c765ff05f855a7121e3bdcf0cede203e
echo x - py-python-registry/distinfo
sed 's/^X//' >py-python-registry/distinfo << '192517769f6bf5ad2574bb3013f129b2'
XSHA256 (python-registry-0.2.5.tar.gz) = d882fbb5a5608b0ba092362ada3a99753d8b3c184f9811fcbe386a0e708d7faa
XSIZE (python-registry-0.2.5.tar.gz) = 133259
192517769f6bf5ad2574bb3013f129b2
echo x - py-python-registry/pkg-descr
sed 's/^X//' >py-python-registry/pkg-descr << '477471c89406d98a383afdb043ad556a'
Xpython-registry was originally written by Willi Ballenthin, a forensicator who
Xwanted to access the contents of the Windows Registry from his Linux laptop.
Xpython-registry currently provides read-only access to Windows Registry files,
Xsuch as NTUSER.DAT, userdiff, and SOFTWARE. The interface is two-fold: a
Xhigh-level interface suitable for most tasks, and a low level set of parsing
Xobjects and methods which may be used for advanced study of the Windows
XRegistry. python-registry is written in pure Python, making it portable across
Xall major platforms.
X
XWWW:	http://www.williballenthin.com/registry/
477471c89406d98a383afdb043ad556a
echo x - py-python-registry/pkg-plist
sed 's/^X//' >py-python-registry/pkg-plist << 'acd275dfa601d7434d83432632f6d459'
X%%PYTHON_SITELIBDIR%%/Registry/Registry.py
X%%PYTHON_SITELIBDIR%%/Registry/Registry.pyc
X%%PYTHON_SITELIBDIR%%/Registry/Registry.pyo
X%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.py
X%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.pyc
X%%PYTHON_SITELIBDIR%%/Registry/RegistryParse.pyo
X%%PYTHON_SITELIBDIR%%/Registry/__init__.py
X%%PYTHON_SITELIBDIR%%/Registry/__init__.pyc
X%%PYTHON_SITELIBDIR%%/Registry/__init__.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/Registry
X%%PORTDOCS%%%%DOCSDIR%%/README.txt
X%%PORTDOCS%%%%DOCSDIR%%/TheWindowsNTRegistryFileFormat.pdf
X%%PORTDOCS%%%%DOCSDIR%%/WinReg.txt
X%%PORTDOCS%%%%DOCSDIR%%/registry.html
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/findkey.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/printall.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regfetch.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/regview.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shellbags.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/shelltypes.py
X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/timeline.py
X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
acd275dfa601d7434d83432632f6d459
exit
--- py-python-registry.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list