From owner-svn-ports-all@freebsd.org Wed Mar 6 13:37:34 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 F21121516AB5; Wed, 6 Mar 2019 13:37:33 +0000 (UTC) (envelope-from egypcio@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 5C0708DF3E; Wed, 6 Mar 2019 13:37:33 +0000 (UTC) (envelope-from egypcio@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 4BE4544F4; Wed, 6 Mar 2019 13:37:33 +0000 (UTC) (envelope-from egypcio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x26DbXoR052387; Wed, 6 Mar 2019 13:37:33 GMT (envelope-from egypcio@FreeBSD.org) Received: (from egypcio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x26DbVHB052381; Wed, 6 Mar 2019 13:37:31 GMT (envelope-from egypcio@FreeBSD.org) Message-Id: <201903061337.x26DbVHB052381@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: egypcio set sender to egypcio@FreeBSD.org using -f From: =?UTF-8?Q?Vin=c3=adcius_Zavam?= Date: Wed, 6 Mar 2019 13:37:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494800 - in head/net: . measurement-kit X-SVN-Group: ports-head X-SVN-Commit-Author: egypcio X-SVN-Commit-Paths: in head/net: . measurement-kit X-SVN-Commit-Revision: 494800 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5C0708DF3E 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)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.939,0]; NEURAL_HAM_LONG(-1.00)[-1.000,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: Wed, 06 Mar 2019 13:37:34 -0000 Author: egypcio Date: Wed Mar 6 13:37:31 2019 New Revision: 494800 URL: https://svnweb.freebsd.org/changeset/ports/494800 Log: [NEW PORT] net/measurement-kit: Portable C++14 network measurement library Measurement Kit is a C++14 library that implements open network measurement methodologies (performance, censorship, etc.) on Unix-like operating systems such as Android, iOS, Linux, and macOS. It is meant to be embedded by third party applications with specific network measurement needs and/or to be used by researchers to implement novel network measurement tools. It started as a common engine to implement the mobile versions of OONI and Neubot, and since then has grown to include also the implementation of Portolan traceroute and NDT tests. WWW: https://measurement-kit.github.io/ Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D19342 Added: head/net/measurement-kit/ head/net/measurement-kit/Makefile (contents, props changed) head/net/measurement-kit/distinfo (contents, props changed) head/net/measurement-kit/pkg-descr (contents, props changed) head/net/measurement-kit/pkg-message (contents, props changed) head/net/measurement-kit/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Wed Mar 6 13:32:51 2019 (r494799) +++ head/net/Makefile Wed Mar 6 13:37:31 2019 (r494800) @@ -452,6 +452,7 @@ SUBDIR += mailimporter SUBDIR += malo-firmware-kmod SUBDIR += mdns-repeater + SUBDIR += measurement-kit SUBDIR += mediastreamer SUBDIR += mediatomb SUBDIR += megatools Added: head/net/measurement-kit/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/measurement-kit/Makefile Wed Mar 6 13:37:31 2019 (r494800) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= measurement-kit +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.3 +CATEGORIES= net devel + +MAINTAINER= egypcio@FreeBSD.org +COMMENT= Portable C++14 network measurement library + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libevent.so:devel/libevent \ + libmaxminddb.so:net/libmaxminddb +RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss + +USES= autoreconf:build compiler:c++14-lang libtool ssl +USE_GITHUB= yes + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-libcurl=${LOCALBASE} \ + --with-libevent=${LOCALBASE} \ + --with-libmaxminddb=${LOCALBASE} \ + --with-openssl=${OPENSSLBASE} + +INSTALL_TARGET= install-strip +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-configure: + @(cd ${WRKSRC} && ${SH} autogen.sh --no-geoip && \ + ${SETENV} ${CONFIGURE_ENV} ${SH} configure ${CONFIGURE_ARGS}) + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/include/measurement_kit/README.md ${STAGEDIR}${DOCSDIR} + +.include Added: head/net/measurement-kit/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/measurement-kit/distinfo Wed Mar 6 13:37:31 2019 (r494800) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550314557 +SHA256 (measurement-kit-measurement-kit-v0.9.3_GH0.tar.gz) = 6203be7b3a64d6dd5cd9ca630efbc06e1e413f65f6482dffb92ed70e91dde73b +SIZE (measurement-kit-measurement-kit-v0.9.3_GH0.tar.gz) = 700060 Added: head/net/measurement-kit/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/measurement-kit/pkg-descr Wed Mar 6 13:37:31 2019 (r494800) @@ -0,0 +1,11 @@ +Measurement Kit is a C++14 library that implements open network measurement +methodologies (performance, censorship, etc.) on Unix-like operating systems +such as Android, iOS, Linux, and macOS. + +It is meant to be embedded by third party applications with specific network +measurement needs and/or to be used by researchers to implement novel +network measurement tools. It started as a common engine to implement the +mobile versions of OONI and Neubot, and since then has grown to include also +the implementation of Portolan traceroute and NDT tests. + +WWW: https://measurement-kit.github.io/ Added: head/net/measurement-kit/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/measurement-kit/pkg-message Wed Mar 6 13:37:31 2019 (r494800) @@ -0,0 +1,11 @@ +If you need Measurement-Kit to query for GeoIP data, please consider installing +'net/geoipupdate' and updating your local databases: + + # pkg install net/geoipupdate + # geoipupdate + +Once you are done, Measurement-Kit can properly show country codes - but you +still must change your nettest options and specify the database file to be +used by 'geoip_country_path'. + +Consider creating a cron job in order to keep your databases up to date. Added: head/net/measurement-kit/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/measurement-kit/pkg-plist Wed Mar 6 13:37:31 2019 (r494800) @@ -0,0 +1,36 @@ +bin/measurement_kit +include/measurement_kit/README.md +include/measurement_kit/common.hpp +include/measurement_kit/common/aaa_base.h +include/measurement_kit/common/callback.hpp +include/measurement_kit/common/data_usage.hpp +include/measurement_kit/common/error.hpp +include/measurement_kit/common/error_or.hpp +include/measurement_kit/common/logger.hpp +include/measurement_kit/common/nlohmann/json.hpp +include/measurement_kit/common/platform.h +include/measurement_kit/common/portable/arpa/inet.h +include/measurement_kit/common/portable/netdb.h +include/measurement_kit/common/portable/netinet/in.h +include/measurement_kit/common/portable/netinet/tcp.h +include/measurement_kit/common/portable/stdlib.h +include/measurement_kit/common/portable/strings.h +include/measurement_kit/common/portable/sys/socket.h +include/measurement_kit/common/portable/sys/time.h +include/measurement_kit/common/portable/sys/types.h +include/measurement_kit/common/portable/time.h +include/measurement_kit/common/scalar.hpp +include/measurement_kit/common/settings.hpp +include/measurement_kit/common/shared_ptr.hpp +include/measurement_kit/common/version.h +include/measurement_kit/ffi.h +include/measurement_kit/mkapi/orchestra.h +include/measurement_kit/ndt.hpp +include/measurement_kit/nettests.hpp +include/measurement_kit/vendor/README.md +include/measurement_kit/vendor/mkcurl.h +include/measurement_kit/vendor/mkdata.h +include/measurement_kit/vendor/mkgeoip.h +include/measurement_kit/vendor/mkiplookup.h +include/measurement_kit/vendor/mkmmdb.h +lib/libmeasurement_kit.a