1
0
forked from ports/opt

Merge remote-tracking branch 'origin/3.6' into 3.7

This commit is contained in:
Tim Biermann 2022-03-13 10:36:12 +01:00
commit 7bdb365bd3
3 changed files with 101 additions and 8 deletions

View File

@ -8,6 +8,84 @@ drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libinproctrace.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/gdb/
drwxr-xr-x root/root usr/share/gdb/python/
drwxr-xr-x root/root usr/share/gdb/python/gdb/
-rw-r--r-- root/root usr/share/gdb/python/gdb/FrameDecorator.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/FrameIterator.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/__init__.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/FrameDecorator.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/FrameDecorator.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/FrameIterator.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/FrameIterator.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/frames.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/frames.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/printing.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/printing.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/prompt.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/prompt.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/types.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/types.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/unwinder.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/unwinder.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/xmethod.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/__pycache__/xmethod.cpython-39.pyc
drwxr-xr-x root/root usr/share/gdb/python/gdb/command/
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__init__.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/command/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/explore.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/explore.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/frame_filters.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/frame_filters.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/pretty_printers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/pretty_printers.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/prompt.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/prompt.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/type_printers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/type_printers.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/unwinders.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/unwinders.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/xmethods.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/__pycache__/xmethods.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/explore.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/frame_filters.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/pretty_printers.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/prompt.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/type_printers.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/unwinders.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/command/xmethods.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/frames.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/function/
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__init__.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/function/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/as_string.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/as_string.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/caller_is.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/caller_is.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/strfns.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/__pycache__/strfns.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/as_string.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/caller_is.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/function/strfns.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/printer/
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/__init__.py
drwxr-xr-x root/root usr/share/gdb/python/gdb/printer/__pycache__/
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/__pycache__/bound_registers.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/__pycache__/bound_registers.cpython-39.pyc
-rw-r--r-- root/root usr/share/gdb/python/gdb/printer/bound_registers.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/printing.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/prompt.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/types.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/unwinder.py
-rw-r--r-- root/root usr/share/gdb/python/gdb/xmethod.py
drwxr-xr-x root/root usr/share/gdb/syscalls/
-rw-r--r-- root/root usr/share/gdb/syscalls/aarch64-linux.xml
-rw-r--r-- root/root usr/share/gdb/syscalls/amd64-linux.xml

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bPgXFR+WnVQKNQgA1pN0SOcwVIktVi4xOJHQ/yB0kHbClbry0hBfhEAHmR6Yv/C48MNDnzsdiUywdxYEpcXnAo=
SHA256 (Pkgfile) = a9705610f2a43257a2e475192e199df8c78eabbc606d9dbbe81c739196619109
SHA256 (.footprint) = 2b1c8a1230995bcc07a526aaee56df28339a3f99afe97bb7ed5535bf56e79962
RWSE3ohX2g5d/QpjfnrvnawOVjOnDGWk75itRFLyET5vWQq0wfmD0fD2dMfA448LgYgSk60r9HJ5Yyb14AzCRYAE175C9B+22gg=
SHA256 (Pkgfile) = 4c754abd93b355dc0159188878f83177051eeadc5cfdc151c37d9d5617e17fda
SHA256 (.footprint) = e6234312a0106643a611edbd1bf201394615465dba8281630d89961e4c1e633e
SHA256 (gdb-11.2.tar.xz) = 1497c36a71881b8671a9a84a0ee40faab788ca30d7ba19d8463c3cc787152e32

View File

@ -1,11 +1,11 @@
# Description: The GNU Debugger (GDB)
# URL: https://www.gnu.org/software/gdb
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libmpfr readline xz zlib expat
# Depends on: expat libmpfr readline xz zlib
name=gdb
version=11.2
release=1
release=2
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
@ -17,14 +17,29 @@ build() {
../configure \
--prefix=/usr \
--with-system-{readline,zlib}
--with-pkgversion="$(crux | awk '{ print $1 " " $3 }')" \
--with-bugurl="https://crux.nu/bugs" \
--with-system-{readline,zlib} \
--with-python=/usr/bin/python3 \
--enable-tui \
--enable-64-bit-bfd \
--without-zlib \
--disable-readline \
--disable-werror \
--disable-nls
make
make DESTDIR=$PKG install
export PYTHONHASHSEED=0
/usr/bin/python3 -m compileall -d /usr/share/gdb/python $PKG/usr/share/gdb/python
/usr/bin/python3 -O -m compileall -d /usr/share/gdb/python $PKG/usr/share/gdb/python
install -d $PKG/usr/share/man/man{1,5}
install -m 0644 ../gdb/doc/*.1 $PKG/usr/share/man/man1
install -m 0644 ../gdb/doc/*.5 $PKG/usr/share/man/man5
rm -r $PKG/usr/{include,lib/{*.a,*.la}}
rm -r $PKG/usr/share/{info,locale}
rm -r $PKG/usr/{include,share/info}
find $PKG \( -name '*.la' -o \
-name '*.a' \) \
-type f -delete
}