From owner-svn-ports-head@freebsd.org Mon Jul 22 03:26:36 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7CCEA67EF; Mon, 22 Jul 2019 03:26:36 +0000 (UTC) (envelope-from koobs@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 1BE4680CB7; Mon, 22 Jul 2019 03:26:36 +0000 (UTC) (envelope-from koobs@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 0678F680F; Mon, 22 Jul 2019 03:26:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6M3QZ6G096418; Mon, 22 Jul 2019 03:26:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6M3QZd1096415; Mon, 22 Jul 2019 03:26:35 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201907220326.x6M3QZd1096415@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Mon, 22 Jul 2019 03:26:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507127 - in head/net/py-libnet: . files X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/net/py-libnet: . files X-SVN-Commit-Revision: 507127 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1BE4680CB7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.93)[-0.932,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2019 03:26:36 -0000 Author: koobs Date: Mon Jul 22 03:26:34 2019 New Revision: 507127 URL: https://svnweb.freebsd.org/changeset/ports/507127 Log: net/py-libnet: Update to 3.0rc1, Remove/fix BROKEN_* Switch port to use autoplist to preclude having to manually construct shared library names based on ARCH/uname manipulations. While I'm here: - Switch to latest upstream release: 3.0rc1, via CHEESESHOP - Remove patch that was fixed upstream [1] - Match COMMENT to setup.py:description - Strip shared library [1] https://github.com/allfro/pylibnet/commit/67cd7b84179def8b7d88ce1456dec3984aa9ea59 Reviewed by: loader, sbz Approved by: sbz (maintainer) Tested by: loader (armv6, armv7, aarch64, mips64) MFH: 2019Q3 (blanket(s): bugfix releases, bugfixes) Differential Revision: D20754 Deleted: head/net/py-libnet/files/ Modified: head/net/py-libnet/Makefile head/net/py-libnet/distinfo head/net/py-libnet/pkg-descr head/net/py-libnet/pkg-plist Modified: head/net/py-libnet/Makefile ============================================================================== --- head/net/py-libnet/Makefile Mon Jul 22 02:53:48 2019 (r507126) +++ head/net/py-libnet/Makefile Mon Jul 22 03:26:34 2019 (r507127) @@ -2,49 +2,33 @@ # $FreeBSD$ PORTNAME= libnet -PORTVERSION= 1.1 -PORTREVISION= 3 +DISTVERSION= 3.0rc1 CATEGORIES= net python +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pylibnet-${DISTVERSION} MAINTAINER= sbz@FreeBSD.org -COMMENT= Python module for the libnet packet construction library +COMMENT= Python extension for the Libnet packet injection library LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnet.so:net/libnet -BROKEN_aarch64= fails to package: lib.freebsd-11.0-RELEASE-p1-aarch64-2.7/libnet.so: No such file or directory -BROKEN_armv6= fails to package: lib.freebsd-11.0-RELEASE-p1-armv6-2.7/libnet.so: No such file or directory -BROKEN_armv7= fails to package: lib.freebsd-11.0-RELEASE-p1-armv7-2.7/libnet.so: No such file or directory -BROKEN_mips64= fails to package: lib.freebsd-11.0-RELEASE-p1-mips64-2.7/libnet.so: No such file or directory - USES= python:-2.7 -USE_PYTHON= distutils pythonprefix +USE_PYTHON= autoplist concurrent distutils -USE_GITHUB= yes -GH_ACCOUNT= allfro -GH_PROJECT= pylibnet -GH_TAGNAME= b2fa552 - -EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} - OPTIONS_DEFINE= EXAMPLES -LIBNET_ARCH= ${ARCH:S/powerpc64/powerpc/} -OSVER= uname -r post-patch: @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py -do-install: - ${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - ${INSTALL_LIB} \ - ${WRKSRC}/build/lib.${OPSYS:tl}-$$(${OSVER})-${LIBNET_ARCH}-${PYTHON_VER}/${PORTNAME}.so \ - ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} - do-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/libnet.so .include Modified: head/net/py-libnet/distinfo ============================================================================== --- head/net/py-libnet/distinfo Mon Jul 22 02:53:48 2019 (r507126) +++ head/net/py-libnet/distinfo Mon Jul 22 03:26:34 2019 (r507127) @@ -1,2 +1,3 @@ -SHA256 (allfro-pylibnet-1.1-b2fa552_GH0.tar.gz) = a9cc100ea911edcc45144df41c7a7783db64e03cb2cb664b06258657b418aed9 -SIZE (allfro-pylibnet-1.1-b2fa552_GH0.tar.gz) = 73736 +TIMESTAMP = 1561462994 +SHA256 (pylibnet-3.0rc1.tar.gz) = 9fc2b9190bce2ce42ab6569debe41f4ff94824fa2447da8044b1a8097ba9cc5a +SIZE (pylibnet-3.0rc1.tar.gz) = 75395 Modified: head/net/py-libnet/pkg-descr ============================================================================== --- head/net/py-libnet/pkg-descr Mon Jul 22 02:53:48 2019 (r507126) +++ head/net/py-libnet/pkg-descr Mon Jul 22 03:26:34 2019 (r507127) @@ -1,3 +1,3 @@ Python module for the libnet packet construction library -WWW: http://pylibnet.sourceforge.net/ +WWW: https://pylibnet.sourceforge.net/ Modified: head/net/py-libnet/pkg-plist ============================================================================== --- head/net/py-libnet/pkg-plist Mon Jul 22 02:53:48 2019 (r507126) +++ head/net/py-libnet/pkg-plist Mon Jul 22 03:26:34 2019 (r507127) @@ -1,4 +1,3 @@ -%%PYTHON_SITELIBDIR%%/libnet.so %%PORTEXAMPLES%%%%EXAMPLESDIR%%/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dnsv4.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp4echo.py