CVS log for pkgsrc/mk/pkgformat/pkg/list-dependencies
Up to [cvs.NetBSD.org] / pkgsrc / mk / pkgformat / pkg
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 11 08:24:48 2024 UTC (2 years, 1 month ago) by jperkin
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base,
pkgsrc-2026Q3,
pkgsrc-2026Q2-base,
pkgsrc-2026Q2,
pkgsrc-2026Q1-base,
pkgsrc-2026Q1,
pkgsrc-2025Q4-base,
pkgsrc-2025Q4,
pkgsrc-2025Q3-base,
pkgsrc-2025Q3,
pkgsrc-2025Q2-base,
pkgsrc-2025Q2,
pkgsrc-2025Q1-base,
pkgsrc-2025Q1,
pkgsrc-2024Q4-base,
pkgsrc-2024Q4,
HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -2
lines
mk: Add support for stricter USE_INDIRECT_DEPENDS.
The current and historical behaviour is that the BUILDLINK_DEPMETHOD for
a package defaults to "full", regardless of what any parent package that
included it has set for its BUILDLINK_DEPMETHOD. In addition, only
direct dependencies and indirect "build" dependencies are logged as
dependencies in the files that are used for check-shlibs verification
and package dependency metadata for pkg_install. Any indirect "full"
dependency is ignored.
This combination of factors can lead to a broken package being produced.
A package may end up linking against a pkgsrc library, but because it is
an indirect dependency, and because indirect "full" dependencies are not
registered, check-shlibs will have no knowledge of it and has to assume
that it is correct. This situation will occur if any packages that are
a parent dependency of the required library have set BUILDLINK_DEPMETHOD
to "build".
To mitigate this problem, a more accurate algorithm is implemented to
calculate BUILDLINK_DEFAULT_DEPMETHOD for each package based on the
setting of its parent(s), rather than simply defaulting to "full". If
USE_INDIRECT_DEPENDS is enabled, then the output of this algorithm is
used, and both "build" and "full" indirect dependencies are calculated
and added to the dependency metadata files. check-shlibs can then use
this extra information to issue an error if a library is found to belong
to an indirect build dependency.
Unfortunately due to buildlink3.mk inclusion guards, we cannot currently
guarantee that the BUILDLINK_DEFAULT_DEPMETHOD setting for each package
is 100% accurate, and so there may be the occasional false positive when
USE_INDIRECT_DEPENDS is enabled. For this reason it is currently not
enabled by default, but it is strongly recommended that developers, and
especially anyone producing public binary packages, enable it.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Jan 13 07:31:53 2020 UTC (6 years, 10 months ago) by rillig
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -4
lines
mk/pkgformat: update documentation in list-dependencies
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 13 12:48:57 2018 UTC (8 years, 10 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -5
lines
Introduce TEST_DEPENDS.
Place them in ALL_DEPENDS iff PKGSRC_RUN_TESTS is set, so that bulk
builds will pick them up.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu May 9 23:37:26 2013 UTC (13 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -4
lines
Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.
ok agc
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 15 00:23:09 2011 UTC (15 years, 1 month ago) by reed
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4
Rename "flavor" to "pkgformat".
This is from Anton Panev's GSoC 2011 project to add RPM and DPKG
support to pkgsrc. (I am not adding that further support in this
commit.)
This is just a rename of the existing functionality. Now it will
be easy to test the GSoC work by simply putting in a single
directory (such as "rpm" or "deb"). See
http://addpackageforma.sourceforge.net/ for some details.
This is from Anton's CVS, but I made some minor changes:
- changed plural pkgformats to singular pkgformat (to be consistent)
- fixed a few places (in comments) that were missed
- catch up on some additions to flavor not in the pkgforma cvs:
PKGSRC_SETENV and _flavor-destdir-undo-replace and
undo-destdir-replace-install.
CVSweb <webmaster@jp.NetBSD.org>