Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2021 17:39:47 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: e54f515c21be - main - New port: devel/libbacktrace: C library that produces symbolic backtraces in C/C++ programs
Message-ID:  <202105031739.143Hdlgo020417@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=e54f515c21be4f034d81dcd0971346b0b840053b

commit e54f515c21be4f034d81dcd0971346b0b840053b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-05-03 17:20:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-05-03 17:39:40 +0000

    New port: devel/libbacktrace: C library that produces symbolic backtraces in C/C++ programs
---
 devel/Makefile               |  1 +
 devel/libbacktrace/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/libbacktrace/distinfo  |  3 +++
 devel/libbacktrace/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6d2f2ec5da44..b19eeeddacdc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1110,6 +1110,7 @@
     SUBDIR += libaura
     SUBDIR += libavl
     SUBDIR += libb2
+    SUBDIR += libbacktrace
     SUBDIR += libbde
     SUBDIR += libbegemot
     SUBDIR += libbfd
diff --git a/devel/libbacktrace/Makefile b/devel/libbacktrace/Makefile
new file mode 100644
index 000000000000..a06f47755720
--- /dev/null
+++ b/devel/libbacktrace/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	libbacktrace
+DISTVERSION=	1.0
+CATEGORIES=	devel
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	C library that produces symbolic backtraces in C/C++ programs
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		gmake libtool
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	ianlancetaylor
+GH_TAGNAME=	4f57c99
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--enable-shared
+
+INSTALL_TARGET=	install-strip
+
+PLIST_FILES=	include/backtrace-supported.h \
+		include/backtrace.h \
+		lib/libbacktrace.a \
+		lib/libbacktrace.so \
+		lib/libbacktrace.so.0 \
+		lib/libbacktrace.so.0.0.0
+
+.include <bsd.port.mk>
diff --git a/devel/libbacktrace/distinfo b/devel/libbacktrace/distinfo
new file mode 100644
index 000000000000..2d0399d39b56
--- /dev/null
+++ b/devel/libbacktrace/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1620061382
+SHA256 (ianlancetaylor-libbacktrace-1.0-4f57c99_GH0.tar.gz) = 428938b5f9b1330f1bb20cd4d3b867c1c68c5f21e054620423e2cfc3a35e95d7
+SIZE (ianlancetaylor-libbacktrace-1.0-4f57c99_GH0.tar.gz) = 664774
diff --git a/devel/libbacktrace/pkg-descr b/devel/libbacktrace/pkg-descr
new file mode 100644
index 000000000000..470359617afa
--- /dev/null
+++ b/devel/libbacktrace/pkg-descr
@@ -0,0 +1,4 @@
+libbacktrace is a C library that may be linked into a C/C++ program to produce
+symbolic backtraces.
+
+WWW: https://github.com/ianlancetaylor/libbacktrace



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