From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 6 12:10:19 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0579E16A41C for ; Wed, 6 Jul 2005 12:10:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41D3043D46 for ; Wed, 6 Jul 2005 12:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j66CAIim067967 for ; Wed, 6 Jul 2005 12:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j66CAIFI067966; Wed, 6 Jul 2005 12:10:18 GMT (envelope-from gnats) Resent-Date: Wed, 6 Jul 2005 12:10:18 GMT Resent-Message-Id: <200507061210.j66CAIFI067966@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Renato Botelho Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D614416A41C for ; Wed, 6 Jul 2005 12:07:46 +0000 (GMT) (envelope-from renato@data.galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C75B43D46 for ; Wed, 6 Jul 2005 12:07:46 +0000 (GMT) (envelope-from renato@data.galle.com.br) Received: from data.galle.com.br (data.galle.com.br [200.246.25.10]) by data.galle.com.br (8.13.3/8.13.1) with ESMTP id j66C63h0051198 for ; Wed, 6 Jul 2005 09:06:03 -0300 (BRST) (envelope-from renato@data.galle.com.br) Received: (from root@localhost) by data.galle.com.br (8.13.3/8.13.1/Submit) id j66C5weP051197; Wed, 6 Jul 2005 09:05:58 -0300 (BRST) (envelope-from renato) Message-Id: <200507061205.j66C5weP051197@data.galle.com.br> Date: Wed, 6 Jul 2005 09:05:58 -0300 (BRST) From: Renato Botelho To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83058: [PATCH] net-mgmt/net-snmp: update to 5.2.1.2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 12:10:19 -0000 >Number: 83058 >Category: ports >Synopsis: [PATCH] net-mgmt/net-snmp: update to 5.2.1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jul 06 12:10:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Renato Botelho >Release: FreeBSD 5.4-RELEASE-p3 i386 >Organization: Galle Folheados - http://www.galle.com.br >Environment: System: FreeBSD data.galle.com.br 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #2: Thu Jun 30 10:57:16 BRST 2005 >Description: - Update to 5.2.1.2 - Pacify portlint This version fixes remote DoS vulnerability: http://marc.theaimsgroup.com/?l=net-snmp-announce&m=112059518426328 Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- net-snmp-5.2.1.2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net-mgmt/net-snmp/Makefile,v retrieving revision 1.125 diff -u -r1.125 Makefile --- Makefile 28 May 2005 08:30:49 -0000 1.125 +++ Makefile 6 Jul 2005 12:05:21 -0000 @@ -6,14 +6,16 @@ # PORTNAME= snmp -PORTVERSION= 5.2.1 -PORTREVISION= 2 -PKGNAMEPREFIX= net- +PORTVERSION= 5.2.1.2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp +PKGNAMEPREFIX= net- DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION} +MAINTAINER= kuriyama@FreeBSD.org +COMMENT= An extendable SNMP implementation + .if defined(WITH_INETADDRESS_HACK) EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-snmplib::mib.c .endif @@ -21,9 +23,6 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-local:Makefile.in .endif -MAINTAINER= kuriyama@FreeBSD.org -COMMENT= An extendable SNMP implementation - .if defined(WITH_TKMIB) RUN_DEPEND= ${SITE_PERL}/${PERL_ARCH}/Tk.pm:${PORTSDIR}/x11-toolkits/p5-Tk .endif @@ -103,15 +102,15 @@ _NET_SNMP_MIB_MODULES= .for module1 in ${NET_SNMP_MIB_MODULE_LIST} _module1=${module1} -_define= false +_define=false . for module2 in ${NET_SNMP_MIB_MODULES} _module2=${module2} . if ${_module1} == ${_module2} -_define= true +_define=true . endif . endfor . if ${_define} == true -_NET_SNMP_MIB_MODULES+= ${module1} +_NET_SNMP_MIB_MODULES+=${module1} PLIST_SUB+= WITH_${module1:C|.*/||:U}="" . else PLIST_SUB+= WITH_${module1:C|.*/||:U}="@comment " @@ -221,22 +220,21 @@ @${MV} ${WRKSRC}/aclocal.m4.tmp ${WRKSRC}/aclocal.m4 patch-script-files: -.for file in ${SCRIPT_FILES} +.for filename in ${SCRIPT_FILES} @${REINPLACE_CMD} ${SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${WRKSRC}/local/${file} + ${WRKSRC}/local/${filename} .endfor patch-startup-files: -.for file in ${STARTUP_FILES} +.for filename in ${STARTUP_FILES} @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/${file}.sample > ${WRKDIR}/${file} + ${FILESDIR}/${filename}.sample > ${WRKDIR}/${filename} .endfor post-configure: @${FIND} ${WRKSRC} -name Makefile | \ ${XARGS} ${REINPLACE_CMD} -E -e '/^INSTALL[ ]+=/s|$$| -m 755|' - post-build: .if !defined(WITHOUT_PERL) ${FIND} ${WRKSRC}/perl -name Makefile | \ @@ -256,8 +254,8 @@ @cd ${PREFIX}/sbin; ${STRIP_CMD} ${SBIN_FILES} install-startup-files: -.for file in ${STARTUP_FILES} - @${INSTALL_SCRIPT} ${WRKDIR}/${file} ${STARTUP_DIR} +.for filename in ${STARTUP_FILES} + @${INSTALL_SCRIPT} ${WRKDIR}/${filename} ${STARTUP_DIR} .endfor install-config-files: @@ -266,8 +264,8 @@ install-doc-files: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -. for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +. for filename in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${filename} ${DOCSDIR} . endfor .endif Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net-mgmt/net-snmp/distinfo,v retrieving revision 1.29 diff -u -r1.29 distinfo --- distinfo 25 Jan 2005 23:49:30 -0000 1.29 +++ distinfo 6 Jul 2005 12:05:21 -0000 @@ -1,2 +1,2 @@ -MD5 (net-snmp-5.2.1.tar.gz) = 4c38451b1f5914789da370b79dc06124 -SIZE (net-snmp-5.2.1.tar.gz) = 3971320 +MD5 (net-snmp-5.2.1.2.tar.gz) = 34159770a7fe418d99fdd416a75358b1 +SIZE (net-snmp-5.2.1.2.tar.gz) = 3869893 --- net-snmp-5.2.1.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: