Index: head/net/p5-SNMP/Makefile =================================================================== --- head/net/p5-SNMP/Makefile (revision 21266) +++ head/net/p5-SNMP/Makefile (revision 21267) @@ -1,29 +1,27 @@ # New ports collection makefile for: p5-SNMP # Version required: 1.8b3 # Date created: May 5th 1997 # Whom: James FitzGibbon # # $FreeBSD$ # DISTNAME= SNMP-1.8.1 PKGNAME= p5-SNMP-1.8.1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SNMP MAINTAINER= jfitz@FreeBSD.org -LIB_DEPENDS= snmp.3:${PORTSDIR}/net/ucd-snmp - -BROKEN= 'incompatible with the latest version of ucd-snmp' +LIB_DEPENDS= snmp.4:${PORTSDIR}/net/ucd-snmp USE_PERL5= YES do-configure: @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL post-install: @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/perl5/site_perl/README.SNMP .include Property changes on: head/net/p5-SNMP/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/net/p5-SNMP/files/patch-ac =================================================================== --- head/net/p5-SNMP/files/patch-ac (nonexistent) +++ head/net/p5-SNMP/files/patch-ac (revision 21267) @@ -0,0 +1,29 @@ +--- SNMP.xs.orig Mon Jun 7 18:02:57 1999 ++++ SNMP.xs Sat Aug 28 01:06:54 1999 +@@ -1778,6 +1778,7 @@ + struct variable_list *vars; + struct variable_list *last_vars; + struct tree *tp; ++ struct sockaddr_in *pduIp; + oid *oid_arr; + int oid_arr_len = MAX_OID_LEN; + SV *tmp_sv; +@@ -1861,14 +1862,15 @@ + &pdu->enterprise_length) != SUCCESS) { + if (verbose) warn("invalid enterprise id: %s", enterprise); + } ++ pduIp = (struct sockaddr_in *)&(pdu->agent_addr); + if (agent && strlen(agent)) { +- pdu->agent_addr.sin_addr.s_addr = __parse_address(agent); +- if (pdu->agent_addr.sin_addr.s_addr == -1 && verbose) { ++ pduIp->sin_addr.s_addr = __parse_address(agent); ++ if (pduIp->sin_addr.s_addr == -1 && verbose) { + warn("invalid agent address: %s", agent); + goto err; + } + } else { +- pdu->agent_addr.sin_addr.s_addr = get_myaddr(); ++ pduIp->sin_addr.s_addr = get_myaddr(); + } + pdu->trap_type = generic; + pdu->specific_type = specific; Property changes on: head/net/p5-SNMP/files/patch-ac ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-mgmt/p5-SNMP/Makefile =================================================================== --- head/net-mgmt/p5-SNMP/Makefile (revision 21266) +++ head/net-mgmt/p5-SNMP/Makefile (revision 21267) @@ -1,29 +1,27 @@ # New ports collection makefile for: p5-SNMP # Version required: 1.8b3 # Date created: May 5th 1997 # Whom: James FitzGibbon # # $FreeBSD$ # DISTNAME= SNMP-1.8.1 PKGNAME= p5-SNMP-1.8.1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SNMP MAINTAINER= jfitz@FreeBSD.org -LIB_DEPENDS= snmp.3:${PORTSDIR}/net/ucd-snmp - -BROKEN= 'incompatible with the latest version of ucd-snmp' +LIB_DEPENDS= snmp.4:${PORTSDIR}/net/ucd-snmp USE_PERL5= YES do-configure: @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL post-install: @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/perl5/site_perl/README.SNMP .include Property changes on: head/net-mgmt/p5-SNMP/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property Index: head/net-mgmt/p5-SNMP/files/patch-ac =================================================================== --- head/net-mgmt/p5-SNMP/files/patch-ac (nonexistent) +++ head/net-mgmt/p5-SNMP/files/patch-ac (revision 21267) @@ -0,0 +1,29 @@ +--- SNMP.xs.orig Mon Jun 7 18:02:57 1999 ++++ SNMP.xs Sat Aug 28 01:06:54 1999 +@@ -1778,6 +1778,7 @@ + struct variable_list *vars; + struct variable_list *last_vars; + struct tree *tp; ++ struct sockaddr_in *pduIp; + oid *oid_arr; + int oid_arr_len = MAX_OID_LEN; + SV *tmp_sv; +@@ -1861,14 +1862,15 @@ + &pdu->enterprise_length) != SUCCESS) { + if (verbose) warn("invalid enterprise id: %s", enterprise); + } ++ pduIp = (struct sockaddr_in *)&(pdu->agent_addr); + if (agent && strlen(agent)) { +- pdu->agent_addr.sin_addr.s_addr = __parse_address(agent); +- if (pdu->agent_addr.sin_addr.s_addr == -1 && verbose) { ++ pduIp->sin_addr.s_addr = __parse_address(agent); ++ if (pduIp->sin_addr.s_addr == -1 && verbose) { + warn("invalid agent address: %s", agent); + goto err; + } + } else { +- pdu->agent_addr.sin_addr.s_addr = get_myaddr(); ++ pduIp->sin_addr.s_addr = get_myaddr(); + } + pdu->trap_type = generic; + pdu->specific_type = specific; Property changes on: head/net-mgmt/p5-SNMP/files/patch-ac ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property