View | Details | Raw Unified | Return to bug 227508
Collapse All | Expand All

(-)net-mgmt/py-snmp4/Makefile (-10 / +7 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	snmp4
4
PORTNAME=	snmp4
5
PORTVERSION=	4.2.5
5
PORTVERSION=	4.3.2
6
PORTREVISION=	1
7
CATEGORIES=	net-mgmt python
6
CATEGORIES=	net-mgmt python
8
MASTER_SITES=	CHEESESHOP \
7
MASTER_SITES=	CHEESESHOP \
9
		SF/pysnmp/pysnmp/${PORTVERSION}
8
		SF/pysnmp/pysnmp/${PORTVERSION}
Lines 18-23 Link Here
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.2:devel/py-pyasn1@${FLAVOR} \
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0.1.2:devel/py-pyasn1@${FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.4.1:security/py-pycrypto@${FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.4.1:security/py-pycrypto@${FLAVOR}
20
19
20
OPTIONS_DEFINE=	DOCS EXAMPLES
21
21
USES=		python
22
USES=		python
22
USE_PYTHON=	distutils autoplist
23
USE_PYTHON=	distutils autoplist
23
24
Lines 27-41 Link Here
27
PORTDOCS=	*
28
PORTDOCS=	*
28
PORTEXAMPLES=	*
29
PORTEXAMPLES=	*
29
30
30
BASEDOCS=	CHANGES README TODO
31
32
post-install:
31
post-install:
33
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
32
	${MKDIR} ${STAGEDIR}${DOCSDIR}
34
	${INSTALL_DATA} ${BASEDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
33
	(cd ${WRKSRC}/docs/source/docs && \
35
	(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
34
	    ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
36
35
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
37
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
38
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
36
	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
39
	(cd ${WRKSRC}/tools && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
40
37
41
.include <bsd.port.mk>
38
.include <bsd.port.mk>
(-)net-mgmt/py-snmp4/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (pysnmp-4.2.5.tar.gz) = c46e65d99a604f690b3d5800e2f6e26e1ed9a3c7f7e17e7b4b4d897150f7077f
1
TIMESTAMP = 1523652000
2
SIZE (pysnmp-4.2.5.tar.gz) = 225014
2
SHA256 (pysnmp-4.3.2.tar.gz) = 7c2bd81df17aa7dca0057a68e7a32284a72231309a0237d66d5b803b5c118977
3
SIZE (pysnmp-4.3.2.tar.gz) = 398593
(-)net-mgmt/py-snmp4-apps/Makefile (-10 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	snmp4-apps
4
PORTNAME=	snmp4-apps
5
PORTVERSION=	0.3.4
5
PORTVERSION=	0.4.1
6
CATEGORIES=	net-mgmt python
6
CATEGORIES=	net-mgmt python
7
MASTER_SITES=	CHEESESHOP \
7
MASTER_SITES=	CHEESESHOP \
8
		SF/pysnmp/pysnmp-apps/${PORTVERSION}
8
		SF/pysnmp/pysnmp-apps/${PORTVERSION}
Lines 14-30 Link Here
14
14
15
LICENSE=	BSD2CLAUSE
15
LICENSE=	BSD2CLAUSE
16
16
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:net-mgmt/py-snmp4@${FLAVOR}
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}snmp4>=4.3.2:net-mgmt/py-snmp4@${FLAVOR}
18
18
19
USES=		python
19
USES=		python
20
USE_PYTHON=	distutils autoplist
20
USE_PYTHON=	distutils autoplist
21
21
22
DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
23
24
PORTDOCS=	CHANGES README
25
26
post-install:
27
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
28
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
29
30
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)net-mgmt/py-snmp4-apps/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (pysnmp-apps-0.3.4.tar.gz) = c96c32d543c8f3866ee551962f0e1a0a8440e965bbcd8c1ed67c9a56cd17d18c
1
TIMESTAMP = 1523653364
2
SIZE (pysnmp-apps-0.3.4.tar.gz) = 24617
2
SHA256 (pysnmp-apps-0.4.1.tar.gz) = 57accb8c2fcb255b4da85af07ef9cd6a266dc5143b2834419ec8a39a879edeb7
3
SIZE (pysnmp-apps-0.4.1.tar.gz) = 25525
(-)net-mgmt/py-snmp4-mibs/Makefile (-14 / +2 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	snmp4-mibs
4
PORTNAME=	snmp4-mibs
5
PORTVERSION=	0.1.4
5
PORTVERSION=	0.1.6
6
PORTREVISION=	1
7
CATEGORIES=	net-mgmt python
6
CATEGORIES=	net-mgmt python
8
MASTER_SITES=	CHEESESHOP \
7
MASTER_SITES=	CHEESESHOP \
9
		SF/pysnmp/pysnmp-mibs/${PORTVERSION}
8
		SF/pysnmp/pysnmp-mibs/${PORTVERSION}
Lines 15-34 Link Here
15
14
16
LICENSE=	BSD3CLAUSE
15
LICENSE=	BSD3CLAUSE
17
16
18
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}snmp4>=4.2.3:net-mgmt/py-snmp4@${FLAVOR}
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}snmp4>=4.3.2:net-mgmt/py-snmp4@${FLAVOR}
19
18
20
USES=		python
19
USES=		python
21
USE_PYTHON=	distutils autoplist
20
USE_PYTHON=	distutils autoplist
22
21
23
DOCSDIR=	${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}
24
25
PORTDOCS=	CHANGES README
26
27
post-patch:
28
	${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/tools/rebuild-pysnmp-mibs
29
30
post-install:
31
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
32
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
33
34
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)net-mgmt/py-snmp4-mibs/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (pysnmp-mibs-0.1.4.tar.gz) = a499ef45d942f42ab9e922c7da93efa084a7ec490ba6cad576b64a7d573ec043
1
TIMESTAMP = 1523653156
2
SIZE (pysnmp-mibs-0.1.4.tar.gz) = 1982745
2
SHA256 (pysnmp-mibs-0.1.6.tar.gz) = 00fa321ca598e8a14c0ad98702bf10fb5e9d57b7d06bb99dc818fea07683720c
3
SIZE (pysnmp-mibs-0.1.6.tar.gz) = 2113334

Return to bug 227508