Date: Wed, 14 Sep 2005 13:17:12 +0600 From: Boris Kovalenko <boris@tagnet.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/86102: [MAINTAINER UPDATE] net/quagga: [SUMMARIZE CHANGES] Message-ID: <E1EFRW4-000M1p-8K@boris.nikom.ru> Resent-Message-ID: <200509140720.j8E7K1JF080847@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86102 >Category: ports >Synopsis: [MAINTAINER UPDATE] net/quagga: [SUMMARIZE CHANGES] >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Sep 14 07:20:00 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Boris Kovalenko >Release: FreeBSD 5.4-STABLE i386 >Organization: JSC "Tagnet" >Environment: System: FreeBSD boris.nikom.ru 5.4-STABLE FreeBSD 5.4-STABLE #4: Thu Aug 18 08:12:33 YEKST 2005 >Description: [DESCRIBE CHANGES] Due upgrade we lost ability to use SNMP. Fixed. This is dirty and temporary fix until all problems with autotools system will be resolved. Added file(s): - files/patch-configure Port maintainer (boris@tagnet.ru) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- quagga-0.98.5_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/quagga/Makefile /usr/ports/net/quagga.new/Makefile --- /usr/ports/net/quagga/Makefile Tue Aug 30 18:36:47 2005 +++ /usr/ports/net/quagga.new/Makefile Wed Sep 14 12:06:47 2005 @@ -7,7 +7,7 @@ PORTNAME= quagga PORTVERSION= 0.98.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://quagga.net/download/ @@ -19,6 +19,7 @@ CONFLICTS= zebra-devel-[0-9]* zebra-0* GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} USE_GMAKE= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes @@ -41,8 +42,7 @@ .include <bsd.port.pre.mk> -CONFIGURE_ARGS+=--includedir=${PREFIX}/include --enable-exampledir=${PREFIX}/share/examples/quagga \ - --program-transform-name="" +CONFIGURE_ARGS+=--includedir=${PREFIX}/include --enable-exampledir=${PREFIX}/share/examples/quagga CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ LIBTOOL=${LIBTOOL} LIBTOOLIZE=${LIBTOOLIZE} \ diff -ruN --exclude=CVS /usr/ports/net/quagga/files/patch-configure /usr/ports/net/quagga.new/files/patch-configure --- /usr/ports/net/quagga/files/patch-configure Thu Jan 1 05:00:00 1970 +++ /usr/ports/net/quagga.new/files/patch-configure Wed Sep 14 12:07:55 2005 @@ -0,0 +1,42 @@ +--- configure.orig Sun Aug 28 21:37:37 2005 ++++ configure Wed Sep 14 12:07:40 2005 +@@ -14751,13 +14751,13 @@ + fi + + if test "${HAVE_SNMP}" = "yes"; then +- for ac_snmp in /usr/include/net-snmp/library/asn1.h /usr/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null ++ for ac_snmp in /usr/local/include/net-snmp/library/asn1.h /usr/local/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null + do + test -f "${ac_snmp}" && break + done + + case ${ac_snmp} in +- /usr/include/net-snmp/*) ++ /usr/local/include/net-snmp/*) + + cat >>confdefs.h <<\_ACEOF + #define HAVE_SNMP +@@ -14773,20 +14773,20 @@ + #define UCD_COMPATIBLE + _ACEOF + +- CFLAGS="${CFLAGS} -I/usr/include/net-snmp -I/usr/include/net-snmp/library" ++ CFLAGS="${CFLAGS} -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/library" + if test "${HAVE_NETSNMP}" = "yes"; then + LIBS="${LIBS} -lnetsnmp" + else + LIBS="${LIBS} -lsnmp" + fi + ;; +- /usr/include/ucd-snmp/*) ++ /usr/local/include/ucd-snmp/*) + + cat >>confdefs.h <<\_ACEOF + #define HAVE_SNMP + _ACEOF + +- CFLAGS="${CFLAGS} -I/usr/include/ucd-snmp" ++ CFLAGS="${CFLAGS} -I/usr/local/include/ucd-snmp" + LIBS="${LIBS} -lsnmp" + ;; + /usr/local/include/ucd-snmp/*) --- quagga-0.98.5_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1EFRW4-000M1p-8K>