From owner-svn-ports-all@freebsd.org Mon Jan 14 18:36:59 2019 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 E6515148357E; Mon, 14 Jan 2019 18:36:58 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BA036FC05; Mon, 14 Jan 2019 18:36:58 +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 61EA36CC9; Mon, 14 Jan 2019 18:36:58 +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 x0EIawhP021962; Mon, 14 Jan 2019 18:36:58 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0EIawN6021961; Mon, 14 Jan 2019 18:36:58 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201901141836.x0EIawN6021961@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 14 Jan 2019 18:36:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490310 - head/misc/mbuffer X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/misc/mbuffer X-SVN-Commit-Revision: 490310 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8BA036FC05 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Mon, 14 Jan 2019 18:36:59 -0000 Author: tobik Date: Mon Jan 14 18:36:57 2019 New Revision: 490310 URL: https://svnweb.freebsd.org/changeset/ports/490310 Log: misc/mbuffer: Update to 20190113 - mbuffer now tries to dlopen some libraries when looking for valid hash functions. This happens at runtime only. Drop related build dependencies, CONFIGURE_ARGS, and other workarounds. - Add options for all supported hashing libraries Modified: head/misc/mbuffer/Makefile head/misc/mbuffer/distinfo Modified: head/misc/mbuffer/Makefile ============================================================================== --- head/misc/mbuffer/Makefile Mon Jan 14 18:09:46 2019 (r490309) +++ head/misc/mbuffer/Makefile Mon Jan 14 18:36:57 2019 (r490310) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mbuffer -PORTVERSION= 20180505 +PORTVERSION= 20190113 CATEGORIES= misc MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ @@ -16,23 +16,19 @@ TEST_DEPENDS= gtar:archivers/gtar USES= gmake localbase ssl tar:tgz GNU_CONFIGURE= yes -CONFIGURE_ARGS= ac_cv_header_gcrypt_h=no \ - ac_cv_search_gcry_cipher_algo_name=no TEST_ARGS= TAR=gtar # for --ignore-failed-read TEST_TARGET= check -OPTIONS_DEFINE= MHASH +OPTIONS_DEFINE= GCRYPT MHASH RHASH OPTIONS_DEFAULT= MHASH +GCRYPT_DESC= Use gcrypt for hash generation MHASH_DESC= Use mhash for hash generation +RHASH_DESC= Use rhash for hash generation -MHASH_LIB_DEPENDS= libmhash.so:security/mhash -MHASH_CONFIGURE_OFF= ac_cv_search_mhash_init=no - -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}/settings.c +GCRYPT_RUN_DEPENDS= libgcrypt>=1.8.4_1:security/libgcrypt +MHASH_RUN_DEPENDS= mhash>=0.9.9.9_5:security/mhash +RHASH_RUN_DEPENDS= rhash>=1.3.5:security/rhash post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer Modified: head/misc/mbuffer/distinfo ============================================================================== --- head/misc/mbuffer/distinfo Mon Jan 14 18:09:46 2019 (r490309) +++ head/misc/mbuffer/distinfo Mon Jan 14 18:36:57 2019 (r490310) @@ -1,3 +1,3 @@ -TIMESTAMP = 1526284647 -SHA256 (mbuffer-20180505.tgz) = 33eb3f6969be995007fe8d3b0b5e301c8d324efeab37553a492bd23d2f330b72 -SIZE (mbuffer-20180505.tgz) = 140183 +TIMESTAMP = 1547487174 +SHA256 (mbuffer-20190113.tgz) = 031de4afe6ec9984bf5392044953f829050cf3cbb2ef5806066d0ded51da2f1f +SIZE (mbuffer-20190113.tgz) = 141753