mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
Add py-snmp2 2.0.9, SNMP framework for Python.
PR: ports/102220 Submitted by: Dmitriy Kirhlarov
This commit is contained in:
parent
6f909ef08a
commit
5287983ee7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171015
@ -162,6 +162,7 @@
|
||||
SUBDIR += py-flowtools
|
||||
SUBDIR += py-ipy
|
||||
SUBDIR += py-snmp
|
||||
SUBDIR += py-snmp2
|
||||
SUBDIR += py-snmp4
|
||||
SUBDIR += py-snmp4-apps
|
||||
SUBDIR += py-snmp4-mibs
|
||||
|
37
net-mgmt/py-snmp2/Makefile
Normal file
37
net-mgmt/py-snmp2/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# New ports collection makefile for: py-snmp2
|
||||
# Date created: 16 Aug 2006
|
||||
# Whom: Dmitriy Kirhlarov
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= snmp2
|
||||
PORTVERSION= 2.0.9
|
||||
CATEGORIES= net-mgmt python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysnmp
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= pysnmp-${PORTVERSION}
|
||||
|
||||
MAINTAINER= dimma@higis.ru
|
||||
COMMENT= SNMP framework for Python
|
||||
|
||||
CONFLICTS= py??-snmp4-[0-9]* py??-snmp-3.*
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
MYPORTDOCS= CHANGES LICENSE MANIFEST PKG-INFO README contribution/WARNING
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${TAR} -C ${WRKSRC}/examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${TAR} -C ${WRKSRC}/html -cf - . | ${TAR} -C ${DOCSDIR} -xf -
|
||||
${TAR} -C ${WRKSRC}/ -cf - ${MYPORTDOCS} | ${TAR} -C ${DOCSDIR} -xf -
|
||||
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
net-mgmt/py-snmp2/distinfo
Normal file
3
net-mgmt/py-snmp2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pysnmp-2.0.9.tar.gz) = 366c3a9f6a28851af93145c09c17e370
|
||||
SHA256 (pysnmp-2.0.9.tar.gz) = efd598408d6a92661357976a83170dc3c2eb415703bb8bf0952855ed917b8f14
|
||||
SIZE (pysnmp-2.0.9.tar.gz) = 43433
|
5
net-mgmt/py-snmp2/pkg-descr
Normal file
5
net-mgmt/py-snmp2/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
PySNMP is fully functional SNMP v.1 engine (BER encoders/decoders
|
||||
for a subset of ASN.1 data types, sockets based networking etc.)
|
||||
written entirely in Python.
|
||||
|
||||
WWW: http://pysnmp.sourceforge.net/
|
73
net-mgmt/py-snmp2/pkg-plist
Normal file
73
net-mgmt/py-snmp2/pkg-plist
Normal file
@ -0,0 +1,73 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asn1.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asn1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asn1.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asynrole.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asynrole.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/asynrole.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/bulkrole.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/bulkrole.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/bulkrole.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/error.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/error.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/error.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/role.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/role.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/role.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v1.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v1.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v2c.py
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v2c.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysnmp/v2c.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
|
||||
%%PORTDOCS%%%%DOCSDIR%%/PKG-INFO
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1-integer-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1-ipaddress-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1-null-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1-objectid-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1-octetstring-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asn1.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asynrole-objects-agent.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asynrole-objects-manager.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/asynrole.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/bulkrole-manager-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/bulkrole.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/contribution/WARNING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/error-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/error.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/intro.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/role-agent-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/role-manager-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/role.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v1-getrequest-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v1-getresponse-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v1-traprequest-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v1.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v2c-getbulkrequest-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v2c-getrequest-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v2c-response-objects.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/v2c.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/asyncmgr.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpagent.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpbulk.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpbulkwalk.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpget.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpset.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmptrap.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmptrapd.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/snmpwalk.py
|
||||
%%PORTDOCS%%@dirrm share/nls/en_US.US-ASCII
|
||||
%%PORTDOCS%%@dirrm share/nls/POSIX
|
||||
%%PORTDOCS%%@dirrm %%PORTDOCS%%%%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%/contribution
|
||||
%%PORTDOCS%%@dirrm %%PORTDOCS%%%%DOCSDIR%%
|
||||
%%PORTDOCS%%@dirrm %%PYTHON_SITELIBDIR%%/pysnmp
|
||||
%%PORTDOCS%%@dirrm %%PYTHON_SITELIBDIR%%
|
||||
%%PORTDOCS%%@dirrm lib/python2.4
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user