From nobody Sat Feb 25 09:47:43 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PP24H4fVcz3swvR; Sat, 25 Feb 2023 09:47:43 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PP24H48btz4D9m; Sat, 25 Feb 2023 09:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677318463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V5WJZCw4pPAmL1YmV5BXXWBJzslin+gzrbJWF4DfCqw=; b=FRatW8u9rFhjbDXc1Npt6CHuxfC+lx8TcGDhGROH1TK+MJWpg9E54TAj/v6xaAg0GUWaF2 emmLLydB/tu+ViDUEvUnr48sOOMqj53jZ5UOc1tXM3nG27HJv607xSa/K9vUvMOgPVcDyi pcbiWeu8y2oStAaEmric1P2wY2+pic9aiWIqYxOx4BAOzAjkt9iiTNNFWOL0vRr62A8PnB EMJPztdF1jdJ+mhPTCwNs4sdaunvsoN3wHFeNkGaQrp6ag6/eVSSRR0wTt+PIeIeJG9MV1 V/VzinsIiYojMdXPDKGL+YTbp5P5UkBlNK690ZGivGSbZ+HLa3oRJBIwan44fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677318463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=V5WJZCw4pPAmL1YmV5BXXWBJzslin+gzrbJWF4DfCqw=; b=Jc9U3w2yc3eVLAIQHqTeZ0emWgWhSy/oc8z2NQwE9sQg/Bj7QlFpP5N0165mBZKLXbqQla sSBfhq0uG9J6JWOyxulX04meJZiU1kaG7MY4cM4s/fNS8UcC9EjiguNlCyll/s26YNWvFY HjMb76myDaE0iXCJ6LCStVCALQH9jwJiZEJkTSZkt2kYVuFbw6drgA40JJGluxQ+GNPwUP aqOGJs1q7zxlRFMy6/7PvEqe21x+OPinmP8NsSixiFdHw6ai11sezJnAXPJGFch2s5+sl4 LDDIz1oJFR/HV4ukn+47tI0qY+ACQ+W/kNCGX8UKEPR2gj8tpqCghInB7kwcnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677318463; a=rsa-sha256; cv=none; b=OYOV5KSHTnuucxP5R1alYhEzvlPNPpV6hIDHO4lxvcPs5migl/yieZrnvNUmE5QjZlQ27A VLiIiSDSSmU0yQplmDOUn53sHF90POa744x33Yoq9+5N0VeupiDf7QiIJHZ4xI3wGoDuTQ fthjmG4dhFtEkH2BB4YBld87Ui6YpWbgH+ukrdMuvKDdtaGj8kkSRNk2m05hxQABn+9qJU XduVflcShWf1SZgLGKLlsOmDoeBkE4NlXGFPW344UKxJ+ovLmdiciz59OqMrqN2PkINA8Y e5u2sjhA8Ss7IYUv1jTYrgv+K16tiKNl2uyfYTwMTD5DC9Vaif+WxnzxVMwk/w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PP24H2vkXz108P; Sat, 25 Feb 2023 09:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31P9lhcR027897; Sat, 25 Feb 2023 09:47:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31P9lhDs027896; Sat, 25 Feb 2023 09:47:43 GMT (envelope-from git) Date: Sat, 25 Feb 2023 09:47:43 GMT Message-Id: <202302250947.31P9lhDs027896@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1580c05d2da6 - main - devel/libvex: Library for dynamic binary instrumentation and translation List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1580c05d2da6661cef7474f89969fc2ff04e1cfa Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1580c05d2da6661cef7474f89969fc2ff04e1cfa commit 1580c05d2da6661cef7474f89969fc2ff04e1cfa Author: Yuri Victorovich AuthorDate: 2023-02-25 09:46:54 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-25 09:47:40 +0000 devel/libvex: Library for dynamic binary instrumentation and translation --- devel/Makefile | 1 + devel/libvex/Makefile | 29 ++++++++++++++++++++++++++++ devel/libvex/distinfo | 3 +++ devel/libvex/files/patch-pub_libvex__inner.h | 11 +++++++++++ devel/libvex/pkg-descr | 2 ++ devel/libvex/pkg-plist | 19 ++++++++++++++++++ 6 files changed, 65 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index b918365c5e78..dad100c828b8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1419,6 +1419,7 @@ SUBDIR += libvanessa_socket SUBDIR += libvc SUBDIR += libversion + SUBDIR += libvex SUBDIR += libvhdi SUBDIR += libvirt SUBDIR += libvirt-dbus diff --git a/devel/libvex/Makefile b/devel/libvex/Makefile new file mode 100644 index 000000000000..3f68284b203a --- /dev/null +++ b/devel/libvex/Makefile @@ -0,0 +1,29 @@ +PORTNAME= libvex +DISTVERSION= g20230201 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for dynamic binary instrumentation and translation +WWW= https://github.com/pmem/valgrind + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.GPL + +USES= gmake + +USE_GITHUB= yes +GH_ACCOUNT= pmem +GH_PROJECT= valgrind +GH_TAGNAME= c0abd81 + +WRKSRC_SUBDIR= VEX + +MAKEFILE= Makefile-gcc + +MAKE_ARGS= EXTRA_CFLAGS="${CFLAGS}" + +do-install: + cd ${WRKSRC}/pub && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/libvex + ${INSTALL_DATA} ${WRKSRC}/libvex.a ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/devel/libvex/distinfo b/devel/libvex/distinfo new file mode 100644 index 000000000000..3202171741df --- /dev/null +++ b/devel/libvex/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677317026 +SHA256 (pmem-valgrind-g20230201-c0abd81_GH0.tar.gz) = eef06d4ee7c0d1d19a0a438d093167d23e1e47a54300a11e93f53451731b5f49 +SIZE (pmem-valgrind-g20230201-c0abd81_GH0.tar.gz) = 16035613 diff --git a/devel/libvex/files/patch-pub_libvex__inner.h b/devel/libvex/files/patch-pub_libvex__inner.h new file mode 100644 index 000000000000..fcc7b1b3a629 --- /dev/null +++ b/devel/libvex/files/patch-pub_libvex__inner.h @@ -0,0 +1,11 @@ +--- pub/libvex_inner.h.orig 2023-02-25 09:25:47 UTC ++++ pub/libvex_inner.h +@@ -37,7 +37,7 @@ + // For more details, see README_DEVELOPPERS. + //-------------------------------------------------------------------- + +-#include "config.h" ++//#include "config.h" + + // The code of the inner Valgrind (core or tool code) contains client + // requests (e.g. from helgrind.h, memcheck.h, ...) to help the diff --git a/devel/libvex/pkg-descr b/devel/libvex/pkg-descr new file mode 100644 index 000000000000..3331551c408b --- /dev/null +++ b/devel/libvex/pkg-descr @@ -0,0 +1,2 @@ +LibVEX is a library for dynamic binary instrumentation and translation +that is normally a part of Valgrind. diff --git a/devel/libvex/pkg-plist b/devel/libvex/pkg-plist new file mode 100644 index 000000000000..825ab1f0c370 --- /dev/null +++ b/devel/libvex/pkg-plist @@ -0,0 +1,19 @@ +include/libvex/libvex.h +include/libvex/libvex_basictypes.h +include/libvex/libvex_emnote.h +include/libvex/libvex_guest_amd64.h +include/libvex/libvex_guest_arm.h +include/libvex/libvex_guest_arm64.h +include/libvex/libvex_guest_mips32.h +include/libvex/libvex_guest_mips64.h +include/libvex/libvex_guest_offsets.h +include/libvex/libvex_guest_ppc32.h +include/libvex/libvex_guest_ppc64.h +include/libvex/libvex_guest_s390x.h +include/libvex/libvex_guest_x86.h +include/libvex/libvex_inner.h +include/libvex/libvex_inner.h.orig +include/libvex/libvex_ir.h +include/libvex/libvex_s390x_common.h +include/libvex/libvex_trc_values.h +lib/libvex.a