Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 09:47:43 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1580c05d2da6 - main - devel/libvex: Library for dynamic binary instrumentation and translation
Message-ID:  <202302250947.31P9lhDs027896@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1580c05d2da6661cef7474f89969fc2ff04e1cfa

commit 1580c05d2da6661cef7474f89969fc2ff04e1cfa
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-25 09:46:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
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 <bsd.port.mk>
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



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