Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 1999 09:51:00 -0400 (EDT)
From:      jack@germanium.xtalwind.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13539: Bump ucd-snmp shlib version
Message-ID:  <199909021351.JAA27667@germanium.xtalwind.net>

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

>Number:         13539
>Category:       ports
>Synopsis:       Bump ucd-snmp shlib version
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep  2 07:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
>Environment:

	

>Description:

	API changes in ucd-snmp 4.x cause programs linked against 3.6.x libs
	to dump core.  Also remove executable flags from installed header and
	mib files, and fix path to perl in tkmib.

>How-To-Repeat:

	

>Fix:
	
	
diff -ruN ucd-snmp/Makefile ucd-snmp.fixed/Makefile
--- ucd-snmp/Makefile	Fri Aug 27 16:18:45 1999
+++ ucd-snmp.fixed/Makefile	Sat Aug 28 02:24:19 1999
@@ -47,7 +47,7 @@
 BROKEN=		"Uses the old VM system interfaces"
 .endif
 
-SHLIB_VERSION=3
+SHLIB_VERSION=4
 PLIST_SUB= shlib=${SHLIB_VERSION}
 
 post-patch:
@@ -56,6 +56,8 @@
 post-install:
 	( cd ${PREFIX}/bin && strip ${BIN} )
 	( cd ${PREFIX}/sbin && strip ${SBIN} )
+	( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * )
+	( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
 	( cd ${PREFIX}/lib && ${LN} -f libsnmp.so.${SHLIB_VERSION} libsnmp.so )
 	@${MKDIR} ${PREFIX}/share/examples/ucd-snmp
 	@for F in ${WRKSRC}/etc/* ; do \
diff -ruN ucd-snmp/patches/patch-ae ucd-snmp.fixed/patches/patch-ae
--- ucd-snmp/patches/patch-ae	Wed Apr  7 12:07:40 1999
+++ ucd-snmp.fixed/patches/patch-ae	Sat Aug 28 02:26:59 1999
@@ -5,7 +5,7 @@
      freebsd*)
  	SHLIB_LD_CMD="ld -Bshareable -o"
 -	SHLIB_VERSION=.3.5
-+	SHLIB_VERSION=.3
++	SHLIB_VERSION=.4
  	;;
  
      *)
diff -ruN ucd-snmp/patches/patch-ag ucd-snmp.fixed/patches/patch-ag
--- ucd-snmp/patches/patch-ag	Wed Dec 31 19:00:00 1969
+++ ucd-snmp.fixed/patches/patch-ag	Sat Aug 28 02:26:15 1999
@@ -0,0 +1,11 @@
+--- snmplib/ucd-snmp-includes.h.orig	Wed Jan 20 18:18:42 1999
++++ snmplib/ucd-snmp-includes.h	Sat Aug 28 02:13:56 1999
+@@ -4,7 +4,7 @@
+ #include <netinet/in.h>
+ 
+ /* uncomment if you don't have in_addr_t in netinet/in.h */
+-/* typedef u_int in_addr_t; */
++typedef u_int in_addr_t;
+ 
+ #include <ucd-snmp/asn1.h>
+ #include <ucd-snmp/snmp_api.h>
diff -ruN ucd-snmp/patches/patch-ah ucd-snmp.fixed/patches/patch-ah
--- ucd-snmp/patches/patch-ah	Wed Dec 31 19:00:00 1969
+++ ucd-snmp.fixed/patches/patch-ah	Sat Aug 28 02:38:45 1999
@@ -0,0 +1,8 @@
+--- local/tkmib.orig	Wed Jul 21 19:06:52 1999
++++ local/tkmib	Sat Aug 28 02:37:57 1999
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ 
+ require 5;
+ 


>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?199909021351.JAA27667>