From f81ecfbdf6cdf5af10c43f9a49ff80d02c21ee8d Mon Sep 17 00:00:00 2001 From: Danny Rawlins Date: Sat, 16 Oct 2021 17:32:38 +1100 Subject: [PATCH] libunwind: initial import --- libunwind/.footprint | 37 +++++++++++++++++++++++++++++++++++++ libunwind/.signature | 5 +++++ libunwind/Pkgfile | 17 +++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 libunwind/.footprint create mode 100644 libunwind/.signature create mode 100644 libunwind/Pkgfile diff --git a/libunwind/.footprint b/libunwind/.footprint new file mode 100644 index 000000000..c0e8cb6ab --- /dev/null +++ b/libunwind/.footprint @@ -0,0 +1,37 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/libunwind-common.h +-rw-r--r-- root/root usr/include/libunwind-coredump.h +-rw-r--r-- root/root usr/include/libunwind-dynamic.h +-rw-r--r-- root/root usr/include/libunwind-ptrace.h +-rw-r--r-- root/root usr/include/libunwind-x86_64.h +-rw-r--r-- root/root usr/include/libunwind.h +-rw-r--r-- root/root usr/include/unwind.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libunwind-coredump.a +-rwxr-xr-x root/root usr/lib/libunwind-coredump.la +lrwxrwxrwx root/root usr/lib/libunwind-coredump.so -> libunwind-coredump.so.0.0.0 +lrwxrwxrwx root/root usr/lib/libunwind-coredump.so.0 -> libunwind-coredump.so.0.0.0 +-rwxr-xr-x root/root usr/lib/libunwind-coredump.so.0.0.0 +lrwxrwxrwx root/root usr/lib/libunwind-generic.a -> libunwind-x86_64.a +lrwxrwxrwx root/root usr/lib/libunwind-generic.so -> libunwind-x86_64.so +-rw-r--r-- root/root usr/lib/libunwind-ptrace.a +-rwxr-xr-x root/root usr/lib/libunwind-ptrace.la +lrwxrwxrwx root/root usr/lib/libunwind-ptrace.so -> libunwind-ptrace.so.0.0.0 +lrwxrwxrwx root/root usr/lib/libunwind-ptrace.so.0 -> libunwind-ptrace.so.0.0.0 +-rwxr-xr-x root/root usr/lib/libunwind-ptrace.so.0.0.0 +-rw-r--r-- root/root usr/lib/libunwind-x86_64.a +-rwxr-xr-x root/root usr/lib/libunwind-x86_64.la +lrwxrwxrwx root/root usr/lib/libunwind-x86_64.so -> libunwind-x86_64.so.8.0.1 +lrwxrwxrwx root/root usr/lib/libunwind-x86_64.so.8 -> libunwind-x86_64.so.8.0.1 +-rwxr-xr-x root/root usr/lib/libunwind-x86_64.so.8.0.1 +-rw-r--r-- root/root usr/lib/libunwind.a +-rwxr-xr-x root/root usr/lib/libunwind.la +lrwxrwxrwx root/root usr/lib/libunwind.so -> libunwind.so.8.0.1 +lrwxrwxrwx root/root usr/lib/libunwind.so.8 -> libunwind.so.8.0.1 +-rwxr-xr-x root/root usr/lib/libunwind.so.8.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libunwind-coredump.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libunwind-generic.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libunwind-ptrace.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libunwind.pc diff --git a/libunwind/.signature b/libunwind/.signature new file mode 100644 index 000000000..331b78744 --- /dev/null +++ b/libunwind/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/T1Zli+uAZ/yuCr+lmFOZTpwiYVL5uP7QjYuKfgAZRqHqbGYtTdY0pRdItNUU3Ag776CKjbbXfZ/wsGe4BgLJww= +SHA256 (Pkgfile) = e6f6fc6b7584f1b2731d17d5c29cc3278ae2c9dc0797d1e56752b918ec4474cc +SHA256 (.footprint) = 5c047d8ece2b1c9ac79f91fadcdc7d1d82dff62feae56ed6ce17a886f4de5ade +SHA256 (libunwind-1.5.0.tar.gz) = 90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017 diff --git a/libunwind/Pkgfile b/libunwind/Pkgfile new file mode 100644 index 000000000..4f0799516 --- /dev/null +++ b/libunwind/Pkgfile @@ -0,0 +1,17 @@ +# Description: Portable and efficient API to determine the call-chain of a program +# URL: https://savannah.nongnu.org/projects/libunwind +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: + +name=libunwind +version=1.5.0 +release=1 +source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make + make DESTDIR=$PKG install +}