Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 13:37:31 +0000 (UTC)
From:      =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494800 - in head/net: . measurement-kit
Message-ID:  <201903061337.x26DbVHB052381@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903061337.x26DbVHB052381>