svn commit: r370384 - head/misc/mbuffer

Marcus von Appen mva at FreeBSD.org
Tue Oct 7 17:57:29 UTC 2014


Author: mva
Date: Tue Oct  7 17:57:27 2014
New Revision: 370384
URL: https://svnweb.freebsd.org/changeset/ports/370384
QAT: https://qat.redports.org/buildarchive/r370384/

Log:
  - 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 at fabiankeil.de
  Approved by:	maintainer timeout (mm@)

Modified:
  head/misc/mbuffer/Makefile
  head/misc/mbuffer/distinfo
  head/misc/mbuffer/pkg-descr

Modified: head/misc/mbuffer/Makefile
==============================================================================
--- head/misc/mbuffer/Makefile	Tue Oct  7 17:54:07 2014	(r370383)
+++ head/misc/mbuffer/Makefile	Tue Oct  7 17:57:27 2014	(r370384)
@@ -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=
 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>

Modified: head/misc/mbuffer/distinfo
==============================================================================
--- head/misc/mbuffer/distinfo	Tue Oct  7 17:54:07 2014	(r370383)
+++ head/misc/mbuffer/distinfo	Tue Oct  7 17:57:27 2014	(r370384)
@@ -1,2 +1,2 @@
-SHA256 (mbuffer-20130220.tgz) = 1d549c3ac7e29c6064b63195141a61253095831cf5d16f419ae6cc342f12c512
-SIZE (mbuffer-20130220.tgz) = 120519
+SHA256 (mbuffer-20140310.tgz) = ab90b6fdce16db2bf08bcda0bc5d2bfb053a9a163d2a24f95fbf246460549b99
+SIZE (mbuffer-20140310.tgz) = 122422

Modified: head/misc/mbuffer/pkg-descr
==============================================================================
--- head/misc/mbuffer/pkg-descr	Tue Oct  7 17:54:07 2014	(r370383)
+++ head/misc/mbuffer/pkg-descr	Tue Oct  7 17:57:27 2014	(r370384)
@@ -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


More information about the svn-ports-all mailing list