[Midnightbsd-cvs] mports [23583] trunk/devel: add libunwind

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 10 14:49:07 EDT 2018


Revision: 23583
          http://svnweb.midnightbsd.org/mports/?rev=23583
Author:   laffer1
Date:     2018-06-10 14:49:06 -0400 (Sun, 10 Jun 2018)
Log Message:
-----------
add libunwind

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/libunwind/
    trunk/devel/libunwind/Makefile
    trunk/devel/libunwind/distinfo
    trunk/devel/libunwind/files/
    trunk/devel/libunwind/files/patch-tests-mapper.c
    trunk/devel/libunwind/pkg-descr
    trunk/devel/libunwind/pkg-plist

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2018-06-10 18:44:29 UTC (rev 23582)
+++ trunk/devel/Makefile	2018-06-10 18:49:06 UTC (rev 23583)
@@ -190,6 +190,7 @@
 SUBDIR += libunicode
 SUBDIR += libuninum
 SUBDIR += libunistring
+SUBDIR += libunwind
 SUBDIR += libuv
 SUBDIR += libvolume_id
 SUBDIR += libzvbi

Added: trunk/devel/libunwind/Makefile
===================================================================
--- trunk/devel/libunwind/Makefile	                        (rev 0)
+++ trunk/devel/libunwind/Makefile	2018-06-10 18:49:06 UTC (rev 23583)
@@ -0,0 +1,32 @@
+# Created by: stas at FreeBSD.org
+# $FreeBSD: head/devel/libunwind/Makefile 460139 2018-01-27 18:42:50Z sunpoet $
+# $MidnightBSD$
+
+PORTNAME=	libunwind
+PORTVERSION=	20170615	# This is the release date of libunwind 1.2.1
+CATEGORIES=	devel
+MASTER_SITES=	SAVANNAH
+DISTNAME=	${PORTNAME}-1.2.1
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Generic stack unwinding library
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_SUB=	yes
+DOCS_CONFIGURE_ON=	ac_cv_path_LATEX2MAN=${TRUE}
+DOCS_CONFIGURE_OFF=	--disable-documentation
+
+ONLY_FOR_ARCHS=	i386 amd64
+
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USE_LDCONFIG=	yes
+USES=		libtool pathfix pkgconfig
+LLD_UNSAFE=	yes
+
+PLIST_SUB=	ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|}
+
+.include <bsd.port.mk>


Property changes on: trunk/devel/libunwind/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libunwind/distinfo
===================================================================
--- trunk/devel/libunwind/distinfo	                        (rev 0)
+++ trunk/devel/libunwind/distinfo	2018-06-10 18:49:06 UTC (rev 23583)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1515854352
+SHA256 (libunwind-1.2.1.tar.gz) = 3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb
+SIZE (libunwind-1.2.1.tar.gz) = 780774


Property changes on: trunk/devel/libunwind/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libunwind/files/patch-tests-mapper.c
===================================================================
--- trunk/devel/libunwind/files/patch-tests-mapper.c	                        (rev 0)
+++ trunk/devel/libunwind/files/patch-tests-mapper.c	2018-06-10 18:49:06 UTC (rev 23583)
@@ -0,0 +1,12 @@
+--- tests/mapper.c.orig	2014-10-06 14:46:27.000000000 -0400
++++ tests/mapper.c	2014-10-06 14:47:00.000000000 -0400
+@@ -39,6 +39,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
+ #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
+ # define MAP_ANONYMOUS MAP_ANON
+ #endif
++#if !defined(MAP_NORESERVE)
++# define MAP_NORESERVE 0
++#endif
+ 
+ int
+ main (void)


Property changes on: trunk/devel/libunwind/files/patch-tests-mapper.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libunwind/pkg-descr
===================================================================
--- trunk/devel/libunwind/pkg-descr	                        (rev 0)
+++ trunk/devel/libunwind/pkg-descr	2018-06-10 18:49:06 UTC (rev 23583)
@@ -0,0 +1,24 @@
+The primary goal of this project is to define a portable and efficient
+C programming interface (API) to determine the call-chain of a program.
+The API additionally provides the means to manipulate the preserved
+(callee-saved) state of each call-frame and to resume execution at any
+point in the call-chain (non-local goto). The API supports both local
+(same-process) and remote (across-process) operation. As such, the API
+is useful in a number of applications. Some examples include:
+
+o exception handling
+	The libunwind API makes it trivial to implement the stack-manipulation
+	aspects of exception handling.
+o debuggers
+	The libunwind API makes it trivial for debuggers to generate
+	the call-chain (backtrace) of the threads in a running program.
+o introspection
+	It is often useful for a running thread to determine its call-chain.
+	For example, this is useful to display error messages (to show how
+	the error came about) and for performance monitoring/analysis.
+o efficient setjmp()
+	With libunwind, it is possible to implement an extremely efficient
+	version of setjmp(). Effectively, the only context that needs to be
+	saved consists of the stack-pointer(s).
+
+WWW: http://www.nongnu.org/libunwind/


Property changes on: trunk/devel/libunwind/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libunwind/pkg-plist
===================================================================
--- trunk/devel/libunwind/pkg-plist	                        (rev 0)
+++ trunk/devel/libunwind/pkg-plist	2018-06-10 18:49:06 UTC (rev 23583)
@@ -0,0 +1,63 @@
+include/libunwind-common.h
+include/libunwind-coredump.h
+include/libunwind-dynamic.h
+include/libunwind-ptrace.h
+include/libunwind-%%ARCH%%.h
+include/libunwind.h
+include/unwind.h
+lib/libunwind-coredump.a
+lib/libunwind-coredump.so
+lib/libunwind-coredump.so.0
+lib/libunwind-coredump.so.0.0.0
+lib/libunwind-generic.a
+lib/libunwind-generic.so
+lib/libunwind-ptrace.a
+lib/libunwind-ptrace.so
+lib/libunwind-ptrace.so.0
+lib/libunwind-ptrace.so.0.0.0
+lib/libunwind-setjmp.a
+lib/libunwind-setjmp.so
+lib/libunwind-setjmp.so.0
+lib/libunwind-setjmp.so.0.0.0
+lib/libunwind-%%ARCH%%.a
+lib/libunwind-%%ARCH%%.so
+lib/libunwind-%%ARCH%%.so.8
+lib/libunwind-%%ARCH%%.so.8.0.1
+lib/libunwind.a
+lib/libunwind.so
+lib/libunwind.so.8
+lib/libunwind.so.8.0.1
+libdata/pkgconfig/libunwind-coredump.pc
+libdata/pkgconfig/libunwind-generic.pc
+libdata/pkgconfig/libunwind-ptrace.pc
+libdata/pkgconfig/libunwind-setjmp.pc
+libdata/pkgconfig/libunwind.pc
+%%DOCS%%man/man3/_U_dyn_cancel.3.gz
+%%DOCS%%man/man3/_U_dyn_register.3.gz
+%%DOCS%%man/man3/libunwind-dynamic.3.gz
+%%DOCS%%man/man3/libunwind-ia64.3.gz
+%%DOCS%%man/man3/libunwind-ptrace.3.gz
+%%DOCS%%man/man3/libunwind-setjmp.3.gz
+%%DOCS%%man/man3/libunwind.3.gz
+%%DOCS%%man/man3/unw_backtrace.3.gz
+%%DOCS%%man/man3/unw_create_addr_space.3.gz
+%%DOCS%%man/man3/unw_destroy_addr_space.3.gz
+%%DOCS%%man/man3/unw_flush_cache.3.gz
+%%DOCS%%man/man3/unw_get_accessors.3.gz
+%%DOCS%%man/man3/unw_get_fpreg.3.gz
+%%DOCS%%man/man3/unw_get_proc_info.3.gz
+%%DOCS%%man/man3/unw_get_proc_info_by_ip.3.gz
+%%DOCS%%man/man3/unw_get_proc_name.3.gz
+%%DOCS%%man/man3/unw_get_reg.3.gz
+%%DOCS%%man/man3/unw_getcontext.3.gz
+%%DOCS%%man/man3/unw_init_local.3.gz
+%%DOCS%%man/man3/unw_init_remote.3.gz
+%%DOCS%%man/man3/unw_is_fpreg.3.gz
+%%DOCS%%man/man3/unw_is_signal_frame.3.gz
+%%DOCS%%man/man3/unw_regname.3.gz
+%%DOCS%%man/man3/unw_resume.3.gz
+%%DOCS%%man/man3/unw_set_caching_policy.3.gz
+%%DOCS%%man/man3/unw_set_fpreg.3.gz
+%%DOCS%%man/man3/unw_set_reg.3.gz
+%%DOCS%%man/man3/unw_step.3.gz
+%%DOCS%%man/man3/unw_strerror.3.gz


Property changes on: trunk/devel/libunwind/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list