ports/167082: [patch] update net/libbgpdump to 1.4.99.13
Matthew Luckie
mjl at luckie.org.nz
Wed Apr 18 23:10:03 UTC 2012
>Number: 167082
>Category: ports
>Synopsis: [patch] update net/libbgpdump to 1.4.99.13
>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 Apr 18 23:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Matthew Luckie
>Release: FreeBSD 9.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sorcerer.caida.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Take maintainer.
Update libbgpdump to a more recent version. The only material change in
the libbgpdump code is an updated configure script which is not relevant
to FreeBSD.
Don't install header files only used to build the library.
Install doc and example.
>How-To-Repeat:
N/A
>Fix:
--- patch-libbgpdump begins here ---
diff -uNr libbgpdump/Makefile libbgpdump-new/Makefile
--- libbgpdump/Makefile 2011-09-01 17:31:04.000000000 -0700
+++ libbgpdump-new/Makefile 2012-04-18 15:59:52.000000000 -0700
@@ -7,11 +7,12 @@
#
PORTNAME= libbgpdump
-PORTVERSION= 1.4.99.12
+PORTVERSION= 1.4.99.13
CATEGORIES= net
MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= mjl at luckie.org.nz
COMMENT= Analyzing dump files produced by Zebra/Quagga or MRT
LICENSE= GPLv2
@@ -22,6 +23,18 @@
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${PREFIX}/lib
- @${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/bgpdump_attr.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/bgpdump_formats.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/bgpdump_lib.h ${PREFIX}/include
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff -uNr libbgpdump/distinfo libbgpdump-new/distinfo
--- libbgpdump/distinfo 2011-09-01 17:31:04.000000000 -0700
+++ libbgpdump-new/distinfo 2012-04-18 15:25:52.000000000 -0700
@@ -1,2 +1,2 @@
-SHA256 (libbgpdump-1.4.99.12.tar.gz) = aebe46f124144fea733cc0870daa535968222fe9b19359cfa143d8fe865a52a2
-SIZE (libbgpdump-1.4.99.12.tar.gz) = 81052
+SHA256 (libbgpdump-1.4.99.13.tgz) = 7551a285fa5c0885aec7290e1f316e58968baab70a4f3467f8f70868d338311e
+SIZE (libbgpdump-1.4.99.13.tgz) = 84083
diff -uNr libbgpdump/pkg-plist libbgpdump-new/pkg-plist
--- libbgpdump/pkg-plist 2011-09-01 17:31:04.000000000 -0700
+++ libbgpdump-new/pkg-plist 2012-04-18 16:01:30.000000000 -0700
@@ -1,10 +1,10 @@
bin/bgpdump
lib/libbgpdump.a
lib/libbgpdump.so
-include/bgpdump-config.h
-include/util.h
include/bgpdump_attr.h
include/bgpdump_formats.h
include/bgpdump_lib.h
-include/bgpdump_mstream.h
-include/cfile_tools.h
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/example.c
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
--- patch-libbgpdump ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list