import defusedxml-0.4.1
The defusedxml package contains several Python-only workarounds and fixes for denial of service and other vulnerabilities in Python's XML libraries. In order to benefit from the protection you just have to import and use the listed functions / classes from the right defusedxml module instead of the original module. ok aja@
This commit is contained in:
parent
683b2383b0
commit
f2d645f5b6
22
textproc/py-defusedxml/Makefile
Normal file
22
textproc/py-defusedxml/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2014/06/23 13:33:28 jasper Exp $
|
||||
|
||||
COMMENT= XML bomb protection for Python stdlib modules
|
||||
|
||||
MODPY_EGG_VERSION= 0.4.1
|
||||
DISTNAME= defusedxml-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
CATEGORIES= textproc www
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=d/defusedxml/}
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
do-test: fake
|
||||
@cd ${WRKSRC} && ${MAKE_ENV} && \
|
||||
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} \
|
||||
./tests.py
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/py-defusedxml/distinfo
Normal file
2
textproc/py-defusedxml/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (defusedxml-0.4.1.tar.gz) = zVUdWlGLdFQHY1u4URbrgTgY7K8YLnc8NbNiOfw/JHg=
|
||||
SIZE (defusedxml-0.4.1.tar.gz) = 48889
|
5
textproc/py-defusedxml/pkg/DESCR
Normal file
5
textproc/py-defusedxml/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
The defusedxml package contains several Python-only workarounds and
|
||||
fixes for denial of service and other vulnerabilities in Python's XML
|
||||
libraries. In order to benefit from the protection you just have to
|
||||
import and use the listed functions / classes from the right defusedxml
|
||||
module instead of the original module.
|
25
textproc/py-defusedxml/pkg/PLIST
Normal file
25
textproc/py-defusedxml/pkg/PLIST
Normal file
@ -0,0 +1,25 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2014/06/23 13:33:28 jasper Exp $
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/ElementTree.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/ElementTree.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/cElementTree.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/cElementTree.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/common.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/common.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/expatbuilder.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/expatbuilder.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/expatreader.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/expatreader.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/lxml.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/lxml.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/minidom.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/minidom.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/pulldom.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/pulldom.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/sax.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/sax.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/xmlrpc.py
|
||||
lib/python${MODPY_VERSION}/site-packages/defusedxml/xmlrpc.pyc
|
Loading…
x
Reference in New Issue
Block a user