pkgng/pkgng 1147926 — . configure.def configure
configure: Provide a default pkgconfig path The pkgconfig path was defaulting to WHERE. Change that to a more reasonable value.
| Delta | File | |
|---|---|---|
| +1 | -1 | configure.def |
| +1 | -0 | configure |
| +2 | -1 | 2 files |
configure: Provide a default pkgconfig path The pkgconfig path was defaulting to WHERE. Change that to a more reasonable value.
| Delta | File | |
|---|---|---|
| +1 | -1 | configure.def |
| +1 | -0 | configure |
| +2 | -1 | 2 files |
src: Fix install target We were only adding to the default install target, not replacing it. This means we would first install pkg to $(bindir), then to $(sbindir), and optionally also install pkg-static to $(sbindir). Instead of overriding the default install target, set bindir to sbindir. This is a hack, but the best we can do without completely rewriting mk/prog.mk to support multiple programs and per-program installation directories like automake does.
| Delta | File | |
|---|---|---|
| +4 | -7 | src/Makefile.in |
| +2 | -0 | mk/prog.mk |
| +6 | -7 | 2 files |
configure: Correctly propagate directories Add configure options for includedir and libdir and correctly propagate etcdir (actually sysconfdir), includedir, libdir, bindir, sbindir to the Makefiles.
| Delta | File | |
|---|---|---|
| +5 | -4 | mk/defs.mk.in |
| +6 | -0 | configure |
| +11 | -4 | 2 files |
tests: Fix after fflags change
An fflags line is now only emitted if non-zero. Update the expected
outputs of several tests which were broken by this change.
Fixes: c11b97870a4e ("fflags: emit in string value")
| Delta | File | |
|---|---|---|
| +2 | -6 | tests/frontend/create.sh |
| +0 | -1 | tests/frontend/create-parsebin.sh |
| +2 | -7 | 2 files |
fix typo
| Delta | File | |
|---|---|---|
| +1 | -1 | configure |
| +1 | -1 | 1 files |
Revert "fix header detection on linux" This reverts commit 70e8ffe3d25d8b81abad0f7b2003818f80fcd62f.
| Delta | File | |
|---|---|---|
| +0 | -5 | configure.def |
| +0 | -5 | 1 files |
fix DECL header detection
| Delta | File | |
|---|---|---|
| +7 | -0 | configure |
| +7 | -0 | 1 files |
fflags: emit in string value
| Delta | File | |
|---|---|---|
| +34 | -6 | libpkg/pkg_manifest.c |
| +34 | -6 | 1 files |
fflags: also accept integers
| Delta | File | |
|---|---|---|
| +4 | -0 | libpkg/pkg_manifest.c |
| +4 | -0 | 1 files |
fix build on macos
| Delta | File | |
|---|---|---|
| +1 | -1 | libpkg/repo/binary/Makefile.in |
| +1 | -1 | src/Makefile.in |
| +1 | -1 | tests/Makefile.in |
| +3 | -3 | 3 files |
fix header detection on linux
| Delta | File | |
|---|---|---|
| +5 | -0 | configure.def |
| +5 | -0 | 1 files |
more bmake fixes for out of tree build
| Delta | File | |
|---|---|---|
| +1 | -1 | Makefile.in |
| +1 | -1 | 1 files |
Now that we have cleanup the build system we can rename Makefiles
| Delta | File | |
|---|---|---|
| +251 | -0 | tests/Makefile.in |
| +0 | -251 | tests/Makefile.autosetup |
| +213 | -0 | libpkg/Makefile.in |
| +0 | -213 | libpkg/Makefile.autosetup |
| +147 | -0 | external/libecc/Makefile.in |
| +0 | -147 | external/libecc/Makefile.autosetup |
| +611 | -611 | 37 files not shown |
| +1,302 | -1,302 | 43 files |
mark as PHONY some targets
| Delta | File | |
|---|---|---|
| +2 | -0 | mk/common.mk |
| +2 | -0 | 1 files |
move out of common targets which are only for the test infra
| Delta | File | |
|---|---|---|
| +1 | -14 | mk/common.mk |
| +8 | -0 | tests/Makefile.autosetup |
| +9 | -14 | 2 files |
Directrly call the suppress file from the sourcetree and Kyua from the buildtree
| Delta | File | |
|---|---|---|
| +637 | -0 | Leak.suppress |
| +0 | -637 | Leak.suppress.in |
| +6 | -3 | Makefile.autosetup |
| +6 | -0 | UndefinedBehaviour.suppress |
| +0 | -6 | UndefinedBehaviour.suppress.in |
| +649 | -646 | 5 files |
don't add extra targets
| Delta | File | |
|---|---|---|
| +2 | -3 | src/Makefile.autosetup |
| +2 | -3 | libpkg/Makefile.autosetup |
| +4 | -6 | 2 files |
pkg.8: Add SRV to DIAGNOSTICS This is a FAQ.
| Delta | File | |
|---|---|---|
| +6 | -1 | docs/pkg.8 |
| +6 | -1 | 1 files |
build: replace autosetup by bbuild While ehre add a distcheck target
| Delta | File | |
|---|---|---|
| +0 | -24,471 | autosetup/jimsh0.c |
| +0 | -2,536 | autosetup/autosetup |
| +0 | -2,354 | autosetup/autosetup-config.sub |
| +0 | -1,815 | autosetup/autosetup-config.guess |
| +948 | -3 | configure |
| +0 | -756 | autosetup/cc.tcl |
| +948 | -31,935 | 23 files not shown |
| +1,405 | -33,446 | 29 files |
code cleanup: unverbose boolean
| Delta | File | |
|---|---|---|
| +4 | -4 | libpkg/pkg_osvf.c |
| +2 | -2 | src/lock.c |
| +1 | -1 | src/audit.c |
| +7 | -7 | 3 files |
repositories: enable/disable/reset
| Delta | File | |
|---|---|---|
| +175 | -0 | tests/frontend/repositories.sh |
| +128 | -4 | src/repositories.c |
| +54 | -8 | docs/pkg-repositories.8 |
| +38 | -0 | libpkg/pkg_config.c |
| +10 | -0 | libpkg/private/pkg.h |
| +2 | -1 | src/utils.c |
| +407 | -13 | 3 files not shown |
| +411 | -14 | 9 files |
fix tests
| Delta | File | |
|---|---|---|
| +3 | -3 | tests/frontend/rubypuppet.sh |
| +2 | -2 | tests/frontend/conflicts.sh |
| +2 | -2 | tests/frontend/php-pr.sh |
| +7 | -7 | 3 files |
clean fix -a and not args with no repositories Fixes: #2645 and #2646
| Delta | File | |
|---|---|---|
| +33 | -25 | src/clean.c |
| +39 | -1 | tests/frontend/clean.sh |
| +72 | -26 | 2 files |
case sensitivity: fox documentation fixes: #2649
| Delta | File | |
|---|---|---|
| +6 | -6 | docs/pkg-rquery.8 |
| +4 | -4 | docs/pkg-version.8 |
| +4 | -4 | docs/pkg-install.8 |
| +4 | -4 | docs/pkg-annotate.8 |
| +4 | -4 | docs/pkg-check.8 |
| +4 | -4 | docs/pkg-delete.8 |
| +26 | -26 | 8 files not shown |
| +58 | -58 | 14 files |
upgrade: clarify the message when a package it not found Fixes: #2648
| Delta | File | |
|---|---|---|
| +6 | -2 | libpkg/pkg_jobs.c |
| +6 | -2 | 1 files |
make: clean more files
| Delta | File | |
|---|---|---|
| +3 | -0 | Makefile.autosetup |
| +3 | -0 | libpkg/Makefile.autosetup |
| +6 | -0 | 2 files |
delete: add -G --exclude-glob Fixes: #2550
| Delta | File | |
|---|---|---|
| +54 | -4 | src/delete.c |
| +26 | -1 | tests/frontend/delete.sh |
| +16 | -1 | docs/pkg-delete.8 |
| +96 | -6 | 3 files |
check: clarify the error message: Fixes: #1332
| Delta | File | |
|---|---|---|
| +1 | -1 | src/check.c |
| +1 | -1 | 1 files |
Add a periodic scritp to check for dependencies Fixes: #1824
| Delta | File | |
|---|---|---|
| +86 | -0 | scripts/periodic/470.pkg-dependencies.in |
| +2 | -1 | scripts/Makefile.autosetup |
| +88 | -1 | 2 files |
tests: prevent from using installed pkg.conf Fixes: #1766
| Delta | File | |
|---|---|---|
| +3 | -0 | src/main.c |
| +1 | -0 | tests/frontend/test_environment.sh.in |
| +4 | -0 | 2 files |