Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2001 14:35:08 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33256: [PATCHES] Update net/net-snmp to 4.2.3
Message-ID:  <200112271935.fBRJZ8313327@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>Number:         33256
>Category:       ports
>Synopsis:       [PATCHES] Update net/net-snmp to 4.2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 11:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD shumai.marcuscom.com 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Sat Dec 22 20:41:42 EST 2001 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386


	
>Description:
	net-snmp has been updated to 4.2.3.  Please update the FreeBSD port.
>How-To-Repeat:
	
>Fix:

* ADDED FILES:
 files/patch-aclocal.m4
 files/patch-ltmain.sh (thanks to sobomax)

--- Makefile.orig	Thu Dec 27 14:13:15 2001
+++ Makefile	Thu Dec 27 14:28:41 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ucd-snmp
-PORTVERSION=	4.2.1
+PORTVERSION=	4.2.3
 CATEGORIES=	net ipv6
 MASTER_SITES= 	${MASTER_SITE_SOURCEFORGE} \
 		ftp://ucd-snmp.ucdavis.edu/ \
@@ -17,9 +17,8 @@
 MAINTAINER=	billf@FreeBSD.org
 
 USE_AUTOCONF=	yes
-USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
-LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 
 CONFIGURE_ARGS+= --enable-shared --with-mib-modules="host" --with-gnu-ld
 .if defined(BATCH)
@@ -44,7 +43,8 @@
 		snmp_sess_open.3 snmp_sess_read.3 snmp_sess_select_info.3 \
 		snmp_sess_send.3 snmp_sess_session.3 snmp_sess_timeout.3 \
 		snmp_set_mib_warnings.3 snmp_set_save_descriptions.3 \
-		snmp_timeout.3 snmp_trap_api.3
+		snmp_timeout.3 snmp_trap_api.3 snmp_api_errstring.3 \
+		snmp_error.3 snmp_perror.3 snmp_sess_perror.3
 MAN5=		snmp.conf.5 snmp_config.5 snmpd.conf.5 \
 		snmptrapd.conf.5 variables.5
 MAN8=		snmptrapd.8


--- distinfo.orig	Thu Dec 27 14:13:22 2001
+++ distinfo	Thu Dec 27 14:12:09 2001
@@ -1 +1 @@
-MD5 (ucd-snmp-4.2.1.tar.gz) = 192d467185c8e7142c155d5e162b1e97
+MD5 (ucd-snmp-4.2.3.tar.gz) = e42df4c7558b5f12cd442b36428ec4bb


--- pkg-plist.orig	Thu Dec 27 14:29:33 2001
+++ pkg-plist	Thu Dec 27 14:28:44 2001
@@ -34,10 +34,12 @@
 include/ucd-snmp/int64.h
 include/ucd-snmp/keytools.h
 include/ucd-snmp/mib.h
+include/ucd-snmp/mib_module_config.h
 include/ucd-snmp/mibincl.h
 include/ucd-snmp/parse.h
 include/ucd-snmp/read_config.h
 include/ucd-snmp/scapi.h
+include/ucd-snmp/snmp-tc.h
 include/ucd-snmp/snmp.h
 include/ucd-snmp/snmp_agent.h
 include/ucd-snmp/snmp_alarm.h

* BEGIN ADDED FILES

patch-aclocal.m4:

--- aclocal.m4.orig	Thu Dec 27 12:57:10 2001
+++ aclocal.m4	Thu Dec 27 12:57:35 2001
@@ -2124,12 +2124,12 @@
   version_type=freebsd-$objformat
   case $version_type in
     freebsd-elf*)
-      library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+      library_names_spec='${libname}.so$versuffix ${libname}.so $libname.so'
       need_version=no
       need_lib_prefix=no
       ;;
     freebsd-*)
-      library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
+      library_names_spec='${libname}.so$versuffix $libname.so$versuffix'
       need_version=yes
       ;;
   esac

patch-ltmain.sh:

--- ltmain.sh	2001/08/27 09:51:26	1.1
+++ ltmain.sh	2001/08/27 09:51:42
@@ -2408,6 +2408,9 @@
 	  *-*-netbsd*)
 	    # Don't link with libc until the a.out ld.so is fixed.
 	    ;;
+	  *-*-freebsd*)
+	    # FreeBSD doesn't need this...
+	    ;;
 	  *)
 	    # Add libc to deplibs on all other systems if necessary.
 	    if test "$build_libtool_need_lc" = "yes"; then
@@ -4175,10 +4178,12 @@
 	fi
 
 	# Install the pseudo-library for information purposes.
+	if /usr/bin/false; then
 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
 	instname="$dir/$name"i
 	$show "$install_prog $instname $destdir/$name"
 	$run eval "$install_prog $instname $destdir/$name" || exit $?
+	fi
 
 	# Maybe install the static library, too.
 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112271935.fBRJZ8313327>