pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import nongnu-libunwind-1.1.0nb20160204 as wip/nongnu-libunwind-git.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Feb 4 21:12:19 2016 +0100
Changeset:	f77a4f65bd70366aa6085604ec44d802f0cd1ce8

Added Files:
	nongnu-libunwind-git/DESCR
	nongnu-libunwind-git/Makefile
	nongnu-libunwind-git/PLIST
	nongnu-libunwind-git/buildlink3.mk
	nongnu-libunwind-git/distinfo
	nongnu-libunwind-git/patches/patch-configure.ac

Log Message:
Import nongnu-libunwind-1.1.0nb20160204 as wip/nongnu-libunwind-git.

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:
- exception handling
    The libunwind API makes it trivial to implement the stack-manipulation
    aspects of exception handling.
- debuggers
    The libunwind API makes it trivial for debuggers to generate the call-chain
    (backtrace) of the threads in a running program.
- 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.
- 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).

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f77a4f65bd70366aa6085604ec44d802f0cd1ce8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 nongnu-libunwind-git/DESCR                      |  23 ++++
 nongnu-libunwind-git/Makefile                   |  28 +++++
 nongnu-libunwind-git/PLIST                      | 144 ++++++++++++++++++++++++
 nongnu-libunwind-git/buildlink3.mk              |  13 +++
 nongnu-libunwind-git/distinfo                   |  15 +++
 nongnu-libunwind-git/patches/patch-configure.ac |  13 +++
 6 files changed, 236 insertions(+)

diffs:
diff --git a/nongnu-libunwind-git/DESCR b/nongnu-libunwind-git/DESCR
new file mode 100644
index 0000000..c36cad3
--- /dev/null
+++ b/nongnu-libunwind-git/DESCR
@@ -0,0 +1,23 @@
+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:
+- exception handling
+    The libunwind API makes it trivial to implement the stack-manipulation
+    aspects of exception handling.
+- debuggers
+    The libunwind API makes it trivial for debuggers to generate the call-chain
+    (backtrace) of the threads in a running program.
+- 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.
+- 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).
diff --git a/nongnu-libunwind-git/Makefile b/nongnu-libunwind-git/Makefile
new file mode 100644
index 0000000..840b2e3
--- /dev/null
+++ b/nongnu-libunwind-git/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
+
+PKGNAME=	nongnu-libunwind-1.1.0
+CATEGORIES=	lang devel
+
+GIT_REPOSITORIES=	libunwind
+GIT_REPO.libunwind=		http://git.savannah.gnu.org/r/libunwind.git
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.nongnu.org/libunwind/
+COMMENT=	NONGNU libunwind
+LICENSE=	mit
+
+WRKSRC=			${WRKDIR}/libunwind
+
+GNU_CONFIGURE=	yes
+
+USE_TOOLS+=	autoreconf autoconf automake
+
+USE_LIBTOOL=	yes
+USE_LANGUAGES=	c c++
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && pwd && ./autogen.sh
+
+.include "../../wip/mk/git-package.mk"
+.include "../../wip/llvm-git/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/nongnu-libunwind-git/PLIST b/nongnu-libunwind-git/PLIST
new file mode 100644
index 0000000..01a04b4
--- /dev/null
+++ b/nongnu-libunwind-git/PLIST
@@ -0,0 +1,144 @@
+@comment $NetBSD$
+include/c++/v1/__bit_reference
+include/c++/v1/__config
+include/c++/v1/__debug
+include/c++/v1/__functional_03
+include/c++/v1/__functional_base
+include/c++/v1/__functional_base_03
+include/c++/v1/__hash_table
+include/c++/v1/__locale
+include/c++/v1/__mutex_base
+include/c++/v1/__nullptr
+include/c++/v1/__refstring
+include/c++/v1/__split_buffer
+include/c++/v1/__sso_allocator
+include/c++/v1/__std_stream
+include/c++/v1/__tree
+include/c++/v1/__tuple
+include/c++/v1/__undef___deallocate
+include/c++/v1/__undef_min_max
+include/c++/v1/algorithm
+include/c++/v1/array
+include/c++/v1/atomic
+include/c++/v1/bitset
+include/c++/v1/cassert
+include/c++/v1/ccomplex
+include/c++/v1/cctype
+include/c++/v1/cerrno
+include/c++/v1/cfenv
+include/c++/v1/cfloat
+include/c++/v1/chrono
+include/c++/v1/cinttypes
+include/c++/v1/ciso646
+include/c++/v1/climits
+include/c++/v1/clocale
+include/c++/v1/cmath
+include/c++/v1/codecvt
+include/c++/v1/complex
+include/c++/v1/complex.h
+include/c++/v1/condition_variable
+include/c++/v1/csetjmp
+include/c++/v1/csignal
+include/c++/v1/cstdarg
+include/c++/v1/cstdbool
+include/c++/v1/cstddef
+include/c++/v1/cstdint
+include/c++/v1/cstdio
+include/c++/v1/cstdlib
+include/c++/v1/cstring
+include/c++/v1/ctgmath
+include/c++/v1/ctime
+include/c++/v1/ctype.h
+include/c++/v1/cwchar
+include/c++/v1/cwctype
+include/c++/v1/deque
+include/c++/v1/errno.h
+include/c++/v1/exception
+include/c++/v1/experimental/__config
+include/c++/v1/experimental/algorithm
+include/c++/v1/experimental/any
+include/c++/v1/experimental/chrono
+include/c++/v1/experimental/dynarray
+include/c++/v1/experimental/functional
+include/c++/v1/experimental/optional
+include/c++/v1/experimental/ratio
+include/c++/v1/experimental/string_view
+include/c++/v1/experimental/system_error
+include/c++/v1/experimental/tuple
+include/c++/v1/experimental/type_traits
+include/c++/v1/experimental/utility
+include/c++/v1/ext/__hash
+include/c++/v1/ext/hash_map
+include/c++/v1/ext/hash_set
+include/c++/v1/float.h
+include/c++/v1/forward_list
+include/c++/v1/fstream
+include/c++/v1/functional
+include/c++/v1/future
+include/c++/v1/initializer_list
+include/c++/v1/inttypes.h
+include/c++/v1/iomanip
+include/c++/v1/ios
+include/c++/v1/iosfwd
+include/c++/v1/iostream
+include/c++/v1/istream
+include/c++/v1/iterator
+include/c++/v1/limits
+include/c++/v1/list
+include/c++/v1/locale
+include/c++/v1/map
+include/c++/v1/math.h
+include/c++/v1/memory
+include/c++/v1/module.modulemap
+include/c++/v1/mutex
+include/c++/v1/new
+include/c++/v1/numeric
+include/c++/v1/ostream
+include/c++/v1/queue
+include/c++/v1/random
+include/c++/v1/ratio
+include/c++/v1/regex
+include/c++/v1/scoped_allocator
+include/c++/v1/set
+include/c++/v1/setjmp.h
+include/c++/v1/shared_mutex
+include/c++/v1/sstream
+include/c++/v1/stack
+include/c++/v1/stddef.h
+include/c++/v1/stdexcept
+include/c++/v1/stdio.h
+include/c++/v1/stdlib.h
+include/c++/v1/streambuf
+include/c++/v1/string
+include/c++/v1/strstream
+include/c++/v1/support/android/locale_bionic.h
+include/c++/v1/support/ibm/limits.h
+include/c++/v1/support/ibm/support.h
+include/c++/v1/support/ibm/xlocale.h
+include/c++/v1/support/musl/xlocale.h
+include/c++/v1/support/newlib/xlocale.h
+include/c++/v1/support/solaris/floatingpoint.h
+include/c++/v1/support/solaris/wchar.h
+include/c++/v1/support/solaris/xlocale.h
+include/c++/v1/support/win32/limits_win32.h
+include/c++/v1/support/win32/locale_win32.h
+include/c++/v1/support/win32/math_win32.h
+include/c++/v1/support/win32/support.h
+include/c++/v1/support/xlocale/xlocale.h
+include/c++/v1/system_error
+include/c++/v1/tgmath.h
+include/c++/v1/thread
+include/c++/v1/tuple
+include/c++/v1/type_traits
+include/c++/v1/typeindex
+include/c++/v1/typeinfo
+include/c++/v1/unordered_map
+include/c++/v1/unordered_set
+include/c++/v1/utility
+include/c++/v1/valarray
+include/c++/v1/vector
+include/c++/v1/wchar.h
+include/c++/v1/wctype.h
+lib/libc++.so
+lib/libc++.so.1
+lib/libc++.so.1.0
diff --git a/nongnu-libunwind-git/buildlink3.mk b/nongnu-libunwind-git/buildlink3.mk
new file mode 100644
index 0000000..d437d9a
--- /dev/null
+++ b/nongnu-libunwind-git/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	nongnu-libunwind
+
+.if !defined(NONGNU_LIBUNWIND_BUILDLINK3_MK)
+NONGNU_LIBUNWIND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.nongnu-libunwind+=	non-libunwind>=1.1nb20151127
+BUILDLINK_PKGSRCDIR.nongnu-libunwind?=	../../wip/nongnu-libunwind-git
+
+.endif	# NONGNU_LIBUNWIND_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-nongnu-libunwind
diff --git a/nongnu-libunwind-git/distinfo b/nongnu-libunwind-git/distinfo
new file mode 100644
index 0000000..df7b884
--- /dev/null
+++ b/nongnu-libunwind-git/distinfo
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.35 2015/09/11 01:21:57 tnn Exp $
+
+SHA1 (cfe-3.6.2.src.tar.xz) = 7ba809c9c17819a16b668640a642ed134d7052f0
+RMD160 (cfe-3.6.2.src.tar.xz) = 10d913b4d5317f8c2520e5fc6117df30937317a8
+Size (cfe-3.6.2.src.tar.xz) = 8617576 bytes
+SHA1 (compiler-rt-3.6.2.src.tar.xz) = c6c52d2923a60f1a2ca2f22fea1770fd2e25728d
+RMD160 (compiler-rt-3.6.2.src.tar.xz) = 9b68a32d49d4bef4603d550934192f39fea42895
+Size (compiler-rt-3.6.2.src.tar.xz) = 1128080 bytes
+SHA1 (libcxx-3.6.2.src.tar.xz) = 6c5aee9f05ecf17d1e3ecb1add34a33a5a904469
+RMD160 (libcxx-3.6.2.src.tar.xz) = 42b8832d01d4e6b553babc93cb5dbd4ce2bb1931
+Size (libcxx-3.6.2.src.tar.xz) = 944020 bytes
+SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
+RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
+Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
+SHA1 (patch-configure.ac) = 51f0def27ebf1198f043c3754496c991794956bd
diff --git a/nongnu-libunwind-git/patches/patch-configure.ac b/nongnu-libunwind-git/patches/patch-configure.ac
new file mode 100644
index 0000000..1d97a67
--- /dev/null
+++ b/nongnu-libunwind-git/patches/patch-configure.ac
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- configure.ac.orig	2016-02-04 19:54:06.000000000 +0000
++++ configure.ac
+@@ -122,7 +122,7 @@ AC_MSG_RESULT([$enable_ptrace])
+ 
+ AC_ARG_ENABLE(setjmp,
+ 	AS_HELP_STRING([--enable-setjmp],[building libunwind-setjmp library]),,
+-        [AS_IF([test x$target_arch == x$host_arch], [enable_setjmp=yes], [enable_setjmp=no])]
++        [AS_IF([test x$target_arch = x$host_arch], [enable_setjmp=yes], [enable_setjmp=no])]
+ )
+ 
+ AC_ARG_ENABLE(documentation,


Home | Main Index | Thread Index | Old Index