From 81c61b9980f866b237b26bca06d5f269324c8083 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 21 Feb 2022 19:10:09 -0500 Subject: [PATCH] mininet: update to 2.3.0, move to python 3, adopt. --- srcpkgs/mininet/template | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/srcpkgs/mininet/template b/srcpkgs/mininet/template index 003b522c1e8e..80b0c9a3be30 100644 --- a/srcpkgs/mininet/template +++ b/srcpkgs/mininet/template @@ -1,19 +1,22 @@ # Template file for 'mininet' pkgname=mininet -version=2.2.2 -revision=2 -build_style=python2-module -hostmakedepends="help2man python-setuptools" -depends="bash inetutils-telnet iperf iputils libcgroup-utils net-tools openvswitch socat" +version=2.3.0 +revision=1 +build_style=python3-module +hostmakedepends="help2man python3-setuptools" +depends="bash ethtool inetutils-telnet iperf iproute2 iputils libcgroup-utils + net-tools openssh openvswitch psmisc python3-tkinter socat xbitmaps xhost xterm" short_desc="Emulator for rapid prototyping of Software Defined Networks" -maintainer="Orphaned " +maintainer="classabbyamp " license="custom:MIT-like" homepage="http://mininet.org/" distfiles="https://github.com/mininet/${pkgname}/archive/${version}.tar.gz" -checksum=d0aed2ea7a9096ae975694a4b3d0995259ef79268dd8888ba8be28601c100db5 +checksum=1b16ee53ddb9a34a3751a77517643bda2286fc31be123209e84884d0697107b0 +# tests require root +make_check=no post_extract() { - sed -i 's/^\tcc /\t$(CC) /' Makefile + vsed -i Makefile -e 's/^\tcc /\t$(CC) /' } post_build() {