libunwind: initial import

This commit is contained in:
Danny Rawlins 2021-10-16 17:32:38 +11:00
parent 0583f3d107
commit f81ecfbdf6
3 changed files with 59 additions and 0 deletions

37
libunwind/.footprint Normal file

@ -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

5
libunwind/.signature Normal file

@ -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

17
libunwind/Pkgfile Normal file

@ -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
}