From owner-svn-ports-all@freebsd.org Wed Mar 14 13:42:27 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC07EF52D1F; Wed, 14 Mar 2018 13:42:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7412C814E8; Wed, 14 Mar 2018 13:42:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6EFDE905; Wed, 14 Mar 2018 13:42:26 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2EDgQuI053806; Wed, 14 Mar 2018 13:42:26 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2EDgQLk053803; Wed, 14 Mar 2018 13:42:26 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201803141342.w2EDgQLk053803@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 14 Mar 2018 13:42:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464491 - head/misc/mbuffer X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/misc/mbuffer X-SVN-Commit-Revision: 464491 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2018 13:42:27 -0000 Author: tobik Date: Wed Mar 14 13:42:25 2018 New Revision: 464491 URL: https://svnweb.freebsd.org/changeset/ports/464491 Log: misc/mbuffer: Update to 2017.10.11 - While here switch to options helpers PR: 222329 Submitted by: asomers Approved by: mm (maintainer timeout, 6 months) Added: head/misc/mbuffer/pkg-plist (contents, props changed) Modified: head/misc/mbuffer/Makefile head/misc/mbuffer/distinfo Modified: head/misc/mbuffer/Makefile ============================================================================== --- head/misc/mbuffer/Makefile Wed Mar 14 13:00:56 2018 (r464490) +++ head/misc/mbuffer/Makefile Wed Mar 14 13:42:25 2018 (r464491) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mbuffer -PORTVERSION= 2016.06.13 +PORTVERSION= 2017.10.11 CATEGORIES= misc MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -13,37 +13,29 @@ COMMENT= Tool for buffering data streams LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= gmake tar:tgz +USES= gmake localbase ssl tar:tgz GNU_CONFIGURE= yes -MAKE_ARGS= SHELL=${SH} +# 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 +MAKE_ARGS= SHELL=/bin/sh -PLIST_FILES= bin/mbuffer man/man1/mbuffer.1.gz - OPTIONS_DEFINE= MHASH -MHASH_DESC= Use mhash for hash generation - OPTIONS_DEFAULT= MHASH -.include +MHASH_DESC= Use mhash for hash generation -.if ${PORT_OPTIONS:MMHASH} -LIB_DEPENDS+= libmhash.so:security/mhash -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.else -CONFIGURE_ARGS+=ac_cv_search_mhash_init=no -USES+= ssl -.endif +MHASH_LIB_DEPENDS= libmhash.so:security/mhash +MHASH_CONFIGURE_OFF= ac_cv_search_mhash_init=no -# 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 - 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 + ${WRKSRC}/config.h ${WRKSRC}/settings.c -.include +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer + ${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \ + ${STAGEDIR}${PREFIX}/etc/mbuffer.rc.sample + +.include Modified: head/misc/mbuffer/distinfo ============================================================================== --- head/misc/mbuffer/distinfo Wed Mar 14 13:00:56 2018 (r464490) +++ head/misc/mbuffer/distinfo Wed Mar 14 13:42:25 2018 (r464491) @@ -1,3 +1,3 @@ -TIMESTAMP = 1466720344 -SHA256 (mbuffer-20160613.tgz) = 67a92869c0a7e8da1bd96b70cc7de7233286a7ccba55ffc9b55d0d611df649fd -SIZE (mbuffer-20160613.tgz) = 123253 +TIMESTAMP = 1512145808 +SHA256 (mbuffer-20171011.tgz) = eb2f979708bb5ba42a6c1f12c7502dff3b05df8e49b5686c308eda96cad0d1fc +SIZE (mbuffer-20171011.tgz) = 136630 Added: head/misc/mbuffer/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/mbuffer/pkg-plist Wed Mar 14 13:42:25 2018 (r464491) @@ -0,0 +1,3 @@ +bin/mbuffer +@sample etc/mbuffer.rc.sample +man/man1/mbuffer.1.gz