From owner-svn-ports-head@freebsd.org Mon Sep 3 12:20:10 2018 Return-Path: Delivered-To: svn-ports-head@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 3112FFE80A1; Mon, 3 Sep 2018 12:20:10 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D12F4821F1; Mon, 3 Sep 2018 12:20:09 +0000 (UTC) (envelope-from antoine@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 C1CA827C67; Mon, 3 Sep 2018 12:20:09 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w83CK9pN008798; Mon, 3 Sep 2018 12:20:09 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w83CK8aZ008791; Mon, 3 Sep 2018 12:20:08 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201809031220.w83CK8aZ008791@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Mon, 3 Sep 2018 12:20:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478858 - in head/devel: capstone3 capstone3/files py-capstone py-capstone/files X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: in head/devel: capstone3 capstone3/files py-capstone py-capstone/files X-SVN-Commit-Revision: 478858 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 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, 03 Sep 2018 12:20:10 -0000 Author: antoine Date: Mon Sep 3 12:20:08 2018 New Revision: 478858 URL: https://svnweb.freebsd.org/changeset/ports/478858 Log: Update capstone3 and py-capstone to 3.0.5 PR: 230347 Approved by: maintainer timeout (30 days) Added: head/devel/capstone3/files/ head/devel/capstone3/files/patch-Makefile (contents, props changed) head/devel/py-capstone/files/patch-capstone_____init____.py (contents, props changed) Deleted: head/devel/py-capstone/files/patch-setup.py Modified: head/devel/capstone3/Makefile head/devel/capstone3/distinfo head/devel/capstone3/pkg-plist head/devel/py-capstone/Makefile head/devel/py-capstone/distinfo Modified: head/devel/capstone3/Makefile ============================================================================== --- head/devel/capstone3/Makefile Mon Sep 3 12:11:33 2018 (r478857) +++ head/devel/capstone3/Makefile Mon Sep 3 12:20:08 2018 (r478858) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= capstone -PORTVERSION= 3.0.4 +PORTVERSION= 3.0.5 CATEGORIES= devel MAINTAINER= oliver.pntr@gmail.com @@ -17,8 +17,9 @@ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= aquynh -MAKE_ENV+= INSTALL_LIB="${INSTALL_LIB}" \ - INSTALL_DATA="${INSTALL_DATA}" +MAKE_ENV+= INSTALL_BIN="${INSTALL_PROGRAM}" \ + INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_LIB="${INSTALL_LIB}" TEST_ENV= ${MAKE_ENV} LD_LIBRARY_PATH=${STAGEDIR}${PREFIX}/lib TEST_TARGET= check Modified: head/devel/capstone3/distinfo ============================================================================== --- head/devel/capstone3/distinfo Mon Sep 3 12:11:33 2018 (r478857) +++ head/devel/capstone3/distinfo Mon Sep 3 12:20:08 2018 (r478858) @@ -1,2 +1,3 @@ -SHA256 (aquynh-capstone-3.0.4_GH0.tar.gz) = 5d6dadf5864c56f8de66c66088fa68e849d0bff6577865a4f81b6f23112b14f2 -SIZE (aquynh-capstone-3.0.4_GH0.tar.gz) = 2800818 +TIMESTAMP = 1533370077 +SHA256 (aquynh-capstone-3.0.5_GH0.tar.gz) = 913dd695e7c5a2b972a6f427cb31f2e93677ec1c38f39dda37d18a91c70b6df1 +SIZE (aquynh-capstone-3.0.5_GH0.tar.gz) = 2886717 Added: head/devel/capstone3/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/capstone3/files/patch-Makefile Mon Sep 3 12:20:08 2018 (r478858) @@ -0,0 +1,11 @@ +--- Makefile.orig 2018-07-18 16:17:10 UTC ++++ Makefile +@@ -395,7 +395,7 @@ endif + mkdir -p $(PKGCFGDIR) + $(INSTALL_DATA) $(PKGCFGF) $(PKGCFGDIR)/ + mkdir -p $(BINDIR) +- $(INSTALL_LIB) cstool/cstool $(BINDIR) ++ $(INSTALL_BIN) cstool/cstool $(BINDIR) + + uninstall: + rm -rf $(INCDIR)/$(LIBNAME) Modified: head/devel/capstone3/pkg-plist ============================================================================== --- head/devel/capstone3/pkg-plist Mon Sep 3 12:11:33 2018 (r478857) +++ head/devel/capstone3/pkg-plist Mon Sep 3 12:20:08 2018 (r478858) @@ -1,3 +1,4 @@ +bin/cstool include/capstone/arm.h include/capstone/arm64.h include/capstone/capstone.h Modified: head/devel/py-capstone/Makefile ============================================================================== --- head/devel/py-capstone/Makefile Mon Sep 3 12:11:33 2018 (r478857) +++ head/devel/py-capstone/Makefile Mon Sep 3 12:20:08 2018 (r478858) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= capstone -PORTVERSION= 3.0.4 -PORTREVISION= 1 +PORTVERSION= 3.0.5 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,5 +18,9 @@ LIB_DEPENDS= libcapstone.so:devel/capstone3 USES= python USE_PYTHON= autoplist distutils +MAKE_ENV+= LIBCAPSTONE_PATH= # Prevent bundled libcapstone from being built + +post-patch: + @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/capstone/__init__.py .include Modified: head/devel/py-capstone/distinfo ============================================================================== --- head/devel/py-capstone/distinfo Mon Sep 3 12:11:33 2018 (r478857) +++ head/devel/py-capstone/distinfo Mon Sep 3 12:20:08 2018 (r478858) @@ -1,2 +1,3 @@ -SHA256 (python/capstone-3.0.4.tar.gz) = 945d3b8c3646a1c3914824c416439e2cf2df8969dd722c8979cdcc23b40ad225 -SIZE (python/capstone-3.0.4.tar.gz) = 3175587 +TIMESTAMP = 1533371042 +SHA256 (python/capstone-3.0.5.tar.gz) = 8d5f71b4c42d1552d2253bfd8e8366460de19f01236c3dc485bf24baffee60dd +SIZE (python/capstone-3.0.5.tar.gz) = 1616487 Added: head/devel/py-capstone/files/patch-capstone_____init____.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-capstone/files/patch-capstone_____init____.py Mon Sep 3 12:20:08 2018 (r478858) @@ -0,0 +1,10 @@ +--- capstone/__init__.py.orig 2018-07-18 16:17:10 UTC ++++ capstone/__init__.py +@@ -236,6 +236,7 @@ _cs = None + # - last-gasp attempt at some hardcoded paths on darwin and linux + + _path_list = [os.getenv('LIBCAPSTONE_PATH', None), ++ '%%LOCALBASE%%/lib', + pkg_resources.resource_filename(__name__, 'lib'), + join(split(__file__)[0], 'lib'), + '',