ports/96691: [NEW PORT] security/py24-trustedpickle: TrustedPickle is a Python (de)Pickler with a way to verify the data

Alexander Botero-Lowry alex at foxybanana.com
Tue May 2 21:50:33 UTC 2006


>Number:         96691
>Category:       ports
>Synopsis:       [NEW PORT] security/py24-trustedpickle: TrustedPickle is a Python (de)Pickler with a way to verify the data
>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:   Tue May 02 21:50:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Botero-Lowry
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD Laptop.mine.box 6.0-STABLE FreeBSD 6.0-STABLE #1: Tue Feb  7 19:06:16 PST
>Description:
TrustedPickle is a Python module that can save most any arbitrary Python object
 in a signed pickle file. There are two big differences between this module and
 the standard pickle module. First, TrustedPickle can pickle a module, but the 
standard pickle module cannot. Second, TrustedPickle includes a signature that 
can verify the data's origin before the data is unpickled.

WWW: http://trustedpickle.sourceforge.net/index.html

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- py24-trustedpickle-0.02.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-trustedpickle
#	py-trustedpickle/files
#	py-trustedpickle/files/patch-TrustedPickle.py
#	py-trustedpickle/Makefile
#	py-trustedpickle/distinfo
#	py-trustedpickle/pkg-descr
#
echo c - py-trustedpickle
mkdir -p py-trustedpickle > /dev/null 2>&1
echo c - py-trustedpickle/files
mkdir -p py-trustedpickle/files > /dev/null 2>&1
echo x - py-trustedpickle/files/patch-TrustedPickle.py
sed 's/^X//' >py-trustedpickle/files/patch-TrustedPickle.py << 'END-of-py-trustedpickle/files/patch-TrustedPickle.py'
X--- TrustedPickle.py.orig	Tue May  2 14:20:14 2006
X+++ TrustedPickle.py	Tue May  2 14:20:24 2006
X@@ -82,6 +82,7 @@
X Low-level functions in this module you should not need to call:
X 
X Hash(): used in signing a string
X+"""
X 
X import cPickle
X import getpass
END-of-py-trustedpickle/files/patch-TrustedPickle.py
echo x - py-trustedpickle/Makefile
sed 's/^X//' >py-trustedpickle/Makefile << 'END-of-py-trustedpickle/Makefile'
X# New ports collection makefile for:    py-trustedpickle
X# Date created:				02 May 2006
X# Whom:				  	Alexander Botero-Lowry <alex at foxybanana.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	trustedpickle
XPORTVERSION=	0.02
XCATEGORIES=	security python
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XPKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
XDISTNAME=	TrustedPickle
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	alex at foxybanana.com
XCOMMENT=	TrustedPickle is a Python (de)Pickler with a way to verify the data
X
XUSE_PYTHON=	yes
XUSE_DOS2UNIX=	yes
X
XPLIST_FILES=	%%PYTHON_SITELIBDIR%%/TrustedPickle.py \
X		%%PYTHON_SITELIBDIR%%/TrustedPickle.pyc \
X		%%PYTHON_SITELIBDIR%%/TrustedPickle.pyo
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
Xdo-build:
X	@cd ${WRKSRC} && ${PYTHON_CMD} -OOOO -c 'import TrustedPickle' && \
X	${PYTHON_CMD} -c 'import TrustedPickle'
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/TrustedPickle.py ${PYTHON_SITELIBDIR}
X	${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyc ${PYTHON_SITELIBDIR}
X	${INSTALL_DATA} ${WRKSRC}/TrustedPickle.pyo ${PYTHON_SITELIBDIR}
X
X.include <bsd.port.mk>
END-of-py-trustedpickle/Makefile
echo x - py-trustedpickle/distinfo
sed 's/^X//' >py-trustedpickle/distinfo << 'END-of-py-trustedpickle/distinfo'
XMD5 (TrustedPickle.tgz) = 578cd6d7c114e914d12e04ea540b9f67
XSHA256 (TrustedPickle.tgz) = 06a99ddb6b245edc1e3d69a95b9b0ec5f666eefd39d6817dda5e2c19a167a29c
XSIZE (TrustedPickle.tgz) = 21437
END-of-py-trustedpickle/distinfo
echo x - py-trustedpickle/pkg-descr
sed 's/^X//' >py-trustedpickle/pkg-descr << 'END-of-py-trustedpickle/pkg-descr'
XTrustedPickle is a Python module that can save most any arbitrary Python object
X in a signed pickle file. There are two big differences between this module and
X the standard pickle module. First, TrustedPickle can pickle a module, but the 
Xstandard pickle module cannot. Second, TrustedPickle includes a signature that 
Xcan verify the data's origin before the data is unpickled.
X
XWWW: http://trustedpickle.sourceforge.net/index.html
END-of-py-trustedpickle/pkg-descr
exit
--- py24-trustedpickle-0.02.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list