diff options
author | robak <robak@FreeBSD.org> | 2015-10-06 19:07:36 +0800 |
---|---|---|
committer | robak <robak@FreeBSD.org> | 2015-10-06 19:07:36 +0800 |
commit | 37d89296a9a64468406443eedd671d54e2710428 (patch) | |
tree | 6fb6b7cd836df6897b0dbaef1bc8110a49b60e40 /net/libbgpdump | |
parent | 253de02ea5d9f7a648fb5031713804edb4231d54 (diff) | |
download | freebsd-ports-gnome-37d89296a9a64468406443eedd671d54e2710428.tar.gz freebsd-ports-gnome-37d89296a9a64468406443eedd671d54e2710428.tar.zst freebsd-ports-gnome-37d89296a9a64468406443eedd671d54e2710428.zip |
net/libbgpdump: update 1.4.99.13 -> 1.4.99.15
- Delete obsolete patches
- Unsilence the installation
- Add USES tar:tgz
PR: 203182
Submitted by: Matthew Luckie <mjl@luckie.org.nz> (maintainer)
Diffstat (limited to 'net/libbgpdump')
-rw-r--r-- | net/libbgpdump/Makefile | 19 | ||||
-rw-r--r-- | net/libbgpdump/distinfo | 4 | ||||
-rw-r--r-- | net/libbgpdump/files/patch-bgpdump.c | 13 | ||||
-rw-r--r-- | net/libbgpdump/files/patch-util.c | 29 |
4 files changed, 11 insertions, 54 deletions
diff --git a/net/libbgpdump/Makefile b/net/libbgpdump/Makefile index d8758bde4378..325230fa1dc9 100644 --- a/net/libbgpdump/Makefile +++ b/net/libbgpdump/Makefile @@ -1,11 +1,9 @@ # $FreeBSD$ PORTNAME= libbgpdump -PORTVERSION= 1.4.99.13 -PORTREVISION= 3 +PORTVERSION= 1.4.99.15 CATEGORIES= net MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/ -EXTRACT_SUFX= .tgz MAINTAINER= mjl@luckie.org.nz COMMENT= Analyzing dump files produced by Zebra/Quagga or MRT @@ -14,18 +12,19 @@ LICENSE= GPLv2 GNU_CONFIGURE= yes USE_LDCONFIG= yes +USES= tar:tgz OPTIONS_DEFINE= DOCS EXAMPLES do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbgpdump.so + ${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${STAGEDIR}${PREFIX}/lib + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libbgpdump.so .for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h - @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/include .endfor - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/example.c ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff --git a/net/libbgpdump/distinfo b/net/libbgpdump/distinfo index b36a4d66dd22..907574f7c9ed 100644 --- a/net/libbgpdump/distinfo +++ b/net/libbgpdump/distinfo @@ -1,2 +1,2 @@ -SHA256 (libbgpdump-1.4.99.13.tgz) = 7551a285fa5c0885aec7290e1f316e58968baab70a4f3467f8f70868d338311e -SIZE (libbgpdump-1.4.99.13.tgz) = 84083 +SHA256 (libbgpdump-1.4.99.15.tgz) = 04ad874a745541ec88c87639cb6cfdddaba4db515360855108bc9d65f14b7576 +SIZE (libbgpdump-1.4.99.15.tgz) = 131580 diff --git a/net/libbgpdump/files/patch-bgpdump.c b/net/libbgpdump/files/patch-bgpdump.c deleted file mode 100644 index 7344261f1223..000000000000 --- a/net/libbgpdump/files/patch-bgpdump.c +++ /dev/null @@ -1,13 +0,0 @@ ---- bgpdump.c.old 2014-07-24 13:02:50.000000000 +0000 -+++ bgpdump.c 2014-07-24 13:03:27.000000000 +0000 -@@ -164,10 +164,6 @@ - exit(1); - } - -- // more efficient then line buffering -- char buffer[16000]; -- setbuffer(stdout, buffer, sizeof buffer); -- - BGPDUMP *my_dump = bgpdump_open_dump(argv[0]); - - do { diff --git a/net/libbgpdump/files/patch-util.c b/net/libbgpdump/files/patch-util.c deleted file mode 100644 index c883c93f39ca..000000000000 --- a/net/libbgpdump/files/patch-util.c +++ /dev/null @@ -1,29 +0,0 @@ ---- util.c.orig 2014-08-15 12:58:56.000000000 -0700 -+++ util.c 2014-08-15 13:01:14.000000000 -0700 -@@ -29,6 +29,7 @@ - #include <syslog.h> - #include <time.h> - #include <string.h> -+#include <inttypes.h> - - static bool use_syslog = true; - -@@ -110,17 +111,7 @@ - - int int2str(uint32_t value, char* str) - { -- const int LEN = 11; -- char b[LEN]; -- int i = LEN; -- b[i--] = '\0'; -- -- do { -- b[i--] = (char)(48 + (value % 10)); -- } while (value /= 10); -- -- memcpy(str, b + i + 1, LEN - i); -- return LEN - i - 1; -+ return snprintf(str, 11, "%"PRIu32, value); - } - - static void ti2s(uint32_t value) { |