pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/libtree
Module Name: pkgsrc
Committed By: wiz
Date: Sat May 7 17:52:26 UTC 2022
Modified Files:
pkgsrc/sysutils/libtree: Makefile distinfo
Log Message:
libtree: update to 3.1.0.
# v3.1.0
- Add a `--max-depth` flag to limit recursion depth. For example,
`libtree --max-depth 1 <file>` will show the resolved paths of direct dependencies
only.
# v3.0.2
- Improve `make check`, `make clean` and CI
- Preserve original timestamps when installing files
- Add rpath order test
# v3.0.1
- Fix man pages directory in `make install`
- Skip dynamic linker on aarch64 and powerpc
# v3.0.0
- Rewritten in C99 with 0 external dependencies.
- Significantly faster & smaller (~50KB statically compiled with musl libc, or
even smaller than the source file with diet libc).
- Cross-compiled binaries now available thanks to
[binarybuilder.org](https://binarybuilder.org/)
- Improved search path printing when libraries cannot be located.
- Improved rpath search: shows `[rpath of ...]` when lib is located by parent
of parent ... of parent's rpath.
- `fd` inspired highlight of filename when printing paths.
- Caches files by inode instead of soname, which is useful in the sense that
this allows you to find broken libraries that only work because of a
particular search order of the tree. (Consider an executable A and libraries
B, C and D, where A depends on B and C, and B and C depend on D:
```
B
/ \
A D
\ /
C
```
It may happen that D *can* be located through B's rpath, but not through C's.
Then, depending on whether A - B - D is traversed first, or A - C - D, ld.so
will complain about missing libraries or not. `libtree` on the other hand
will always tell you that D can't be located through C.
- More verbosity levels `-v`, `-vv`, `-vvv` instead of `-a` and `-v` flags.
- Skip fewer libraries by default (only libc / libstdc++ type of libs).
- `PLATFORM` rpath interpolation now uses `uname`, this is not always the same
as `AT_PLATFORM`, but unlikely to be different, and in fact the feature is
rarely used.
- Support for `NODEFLIB` flag, which is a dynamic array entry flag that signals
to the dynamic linker that it should not search default system paths
including those specified in `ld.so.conf`.
- Better FreeBSD support (`OSREL`, `OSNAME` interpolation in rpaths and
`/etc/ld-elf.so.conf` config file support)
- Support for relative includes in `ld.so.conf` config files.
Breaking changes:
- The bundling feature was dropped in `3.0.0`, but is still supported in `2.x`.
It may return in a future `3.x` release, but my impression is that there are
excellent tools like Exodus which do a better job at bundling (in particular:
they ship a copy of the dynamic linker.)
- The `--skip` and `--platform` flags were removed.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/libtree/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/libtree/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/libtree/Makefile
diff -u pkgsrc/sysutils/libtree/Makefile:1.3 pkgsrc/sysutils/libtree/Makefile:1.4
--- pkgsrc/sysutils/libtree/Makefile:1.3 Thu Apr 14 06:29:19 2022
+++ pkgsrc/sysutils/libtree/Makefile Sat May 7 17:52:26 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2022/04/14 06:29:19 nia Exp $
+# $NetBSD: Makefile,v 1.4 2022/05/07 17:52:26 wiz Exp $
-DISTNAME= libtree-2.0.0
+DISTNAME= libtree-3.1.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=haampie/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -10,19 +10,10 @@ HOMEPAGE= https://github.com/haampie/lib
COMMENT= Show library info in a tree form
LICENSE= mit
-USE_LANGUAGES= c c++17
-USE_CMAKE= yes
+USE_LANGUAGES= c99
+USE_TOOLS+= gmake
-GCC_REQD+= 8 # std::filesystem
-
-CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099915
-USE_PKGSRC_GCC= yes
-USE_PKGSRC_GCC_RUNTIME= yes
-.endif
+MAKE_FLAGS= SHAREDIR=${PREFIX}
.include "../../devel/cxxopts/buildlink3.mk"
.include "../../devel/elfio/buildlink3.mk"
Index: pkgsrc/sysutils/libtree/distinfo
diff -u pkgsrc/sysutils/libtree/distinfo:1.1 pkgsrc/sysutils/libtree/distinfo:1.2
--- pkgsrc/sysutils/libtree/distinfo:1.1 Fri Dec 31 17:28:11 2021
+++ pkgsrc/sysutils/libtree/distinfo Sat May 7 17:52:26 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2021/12/31 17:28:11 plunky Exp $
+$NetBSD: distinfo,v 1.2 2022/05/07 17:52:26 wiz Exp $
-BLAKE2s (libtree-2.0.0.tar.gz) = 7fbbb975e701060ec8c13d836d09912e58ef96fa2dac3165c1346712e42c17ca
-SHA512 (libtree-2.0.0.tar.gz) = 9272afd8540110f43ade864a2df58d8b8a7690c79cd29a9804b43e7e550bc05a4da530a763a27bd85a474673055e7a5ba63c0aa0bcaf8b246fbfc73a4f36c870
-Size (libtree-2.0.0.tar.gz) = 161133 bytes
+BLAKE2s (libtree-3.1.0.tar.gz) = c4462840396c8731a0116c29a6d9fd2bdffee0412e19ef15498e3e4dcdb5c7fb
+SHA512 (libtree-3.1.0.tar.gz) = c4d030c693736009a42388fc6e12cf4a696ccd922ab5afbd5d05010392cc7410b0fb9205d89163fff14f8bffd6a73da49c069fd3fd6ea3cf3ae3f4f11b1f532c
+Size (libtree-3.1.0.tar.gz) = 79936 bytes
Home |
Main Index |
Thread Index |
Old Index