aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-10-08 01:57:27 +0800
committermva <mva@FreeBSD.org>2014-10-08 01:57:27 +0800
commit606d48708f40f0dc353e7e1133acdf7772dc0f6d (patch)
tree736a5b7263d006c3da12dba771fc4dc238a15f35 /misc
parentf7b6ec5c2321400d2ba1cf9d72c5f33488c4607d (diff)
downloadfreebsd-ports-gnome-606d48708f40f0dc353e7e1133acdf7772dc0f6d.tar.gz
freebsd-ports-gnome-606d48708f40f0dc353e7e1133acdf7772dc0f6d.tar.zst
freebsd-ports-gnome-606d48708f40f0dc353e7e1133acdf7772dc0f6d.zip
- Update to version 2014.03.10
- Fix version display - Minor updates to pkg-descr, incoluding a WWW: whitespace fix Notable changes: 0140310: - added memory advise for buffer memory - compatibility fix for Solars st driver - prevent buffer overflow attack via defaults file - ignore defaults file from other users - updated documentation for use with cron - minor bugfixes 20140126: - new feature: set option defaults in ~/.mbuffer.rc - enhancement: write status to the log file - enhancement: added option to suppress status logging - fix: formatting fix for summary message PR: 193480 Submitted by: fk@fabiankeil.de Approved by: maintainer timeout (mm@)
Diffstat (limited to 'misc')
-rw-r--r--misc/mbuffer/Makefile12
-rw-r--r--misc/mbuffer/distinfo4
-rw-r--r--misc/mbuffer/pkg-descr18
3 files changed, 22 insertions, 12 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile
index ef7ae6709745..1ab7a21a4392 100644
--- a/misc/mbuffer/Makefile
+++ b/misc/mbuffer/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mbuffer
-PORTVERSION= 2013.02.20
-PORTREVISION= 1
+PORTVERSION= 2014.03.10
CATEGORIES= misc
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@@ -36,9 +35,18 @@ CONFIGURE_ARGS+=ac_cv_search_mhash_init=no
USE_OPENSSL= yes
.endif
+# Prevent sendfile() from being detected by configure and rejected
+# by mbuffer.c due to being "unable to send from buffers".
+CONFIGURE_ARGS+=ac_cv_search_sendfile=no
+
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure
+post-configure:
+ # Rename variables to make sure they aren't redefined through mhash.h
+ @${REINPLACE_CMD} -E -e 's@(PACKAGE|VERSION)@MBUFFER_\1@' \
+ ${WRKSRC}/config.h ${WRKSRC}/mbuffer.c
+
.include <bsd.port.post.mk>
diff --git a/misc/mbuffer/distinfo b/misc/mbuffer/distinfo
index 863fd1243c17..7dd6756401c5 100644
--- a/misc/mbuffer/distinfo
+++ b/misc/mbuffer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mbuffer-20130220.tgz) = 1d549c3ac7e29c6064b63195141a61253095831cf5d16f419ae6cc342f12c512
-SIZE (mbuffer-20130220.tgz) = 120519
+SHA256 (mbuffer-20140310.tgz) = ab90b6fdce16db2bf08bcda0bc5d2bfb053a9a163d2a24f95fbf246460549b99
+SIZE (mbuffer-20140310.tgz) = 122422
diff --git a/misc/mbuffer/pkg-descr b/misc/mbuffer/pkg-descr
index ecdbca743065..1a6f0acc3ee7 100644
--- a/misc/mbuffer/pkg-descr
+++ b/misc/mbuffer/pkg-descr
@@ -1,12 +1,14 @@
mbuffer is a tool for buffering data streams. It is also a replacement
for buffer with additional functionality:
-- display of i/o speed
-- optional use of memory mapped i/o for huge buffer files
-- multithreaded instead of shared memory ipc
-- multi-volume support
-- auto-loader support
-- network support
-- buffer compatible command-line options
+- multi-target network output
+- on the fly hash calculation
+- display of I/O speed
+- optional use of memory mapped I/O for huge buffers
+- multithreaded instead of sharedmemory ipc
+- multi volume support
+- autoloader support
+- networking support
+- command-line options compatible to buffer
-WWW: http://www.maier-komor.de/mbuffer.html
+WWW: http://www.maier-komor.de/mbuffer.html