From owner-freebsd-ports Thu Sep 2 7: 1: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C986155ED for ; Thu, 2 Sep 1999 07:01:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id HAA27253; Thu, 2 Sep 1999 07:00:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from germanium.xtalwind.net (germanium.xtalwind.net [205.160.242.5]) by hub.freebsd.org (Postfix) with ESMTP id D1C0F1563F for ; Thu, 2 Sep 1999 06:52:13 -0700 (PDT) (envelope-from jack@germanium.xtalwind.net) Received: (from jack@localhost) by germanium.xtalwind.net (8.9.3/8.9.3) id JAA27667; Thu, 2 Sep 1999 09:51:00 -0400 (EDT) Message-Id: <199909021351.JAA27667@germanium.xtalwind.net> Date: Thu, 2 Sep 1999 09:51:00 -0400 (EDT) From: jack@germanium.xtalwind.net Reply-To: jack@germanium.xtalwind.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13539: Bump ucd-snmp shlib version Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 + + /* 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 + #include 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