| #
a507a702
|
| 08-Oct-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Asid
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Aside from being wrong, this confuses pkg <= 2.3.1 and causes "pkg info -d" to show the dependencies as "<pkgname>-(null)" instead of the correct version string.
Remove the explicit origin from dependencies in the UCL files, and instead populate this during the build in generate-ucl.lua. In the (very unlikely) case that an explicit origin is still needed, don't overwrite one if it's already present.
MFC after: 1 day Fixes: 822fd5606748 ("pkgbase: set origin for each packages as base/FreeBSD-*") Reported by: bapt Reviewed by: cperciva, bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52892
show more ...
|
| #
014647a3
|
| 24-Sep-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth r
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth requires ppp for rfcomm_pppd (a very common use case).
* bsdconfig and bsdinstall are written in shell script and therefore require /bin/sh.
* devd requires /bin/sh to invoke its hooks.
While here, document the policy for adding dependencies in the README. This will hopefully ensure we end up with consistent dependencies.
MFC after: 1 day Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D52699
show more ...
|
| #
a507a702
|
| 08-Oct-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Asid
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Aside from being wrong, this confuses pkg <= 2.3.1 and causes "pkg info -d" to show the dependencies as "<pkgname>-(null)" instead of the correct version string.
Remove the explicit origin from dependencies in the UCL files, and instead populate this during the build in generate-ucl.lua. In the (very unlikely) case that an explicit origin is still needed, don't overwrite one if it's already present.
MFC after: 1 day Fixes: 822fd5606748 ("pkgbase: set origin for each packages as base/FreeBSD-*") Reported by: bapt Reviewed by: cperciva, bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52892
show more ...
|
| #
014647a3
|
| 24-Sep-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth r
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth requires ppp for rfcomm_pppd (a very common use case).
* bsdconfig and bsdinstall are written in shell script and therefore require /bin/sh.
* devd requires /bin/sh to invoke its hooks.
While here, document the policy for adding dependencies in the README. This will hopefully ensure we end up with consistent dependencies.
MFC after: 1 day Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D52699
show more ...
|
| #
a507a702
|
| 08-Oct-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Asid
packages: Set dependency origin in generate-ucl.lua
Commit 822fd5606748 changed the origin of packages from "base" to "base/<package name>", but the old origin was still used for dependencies.
Aside from being wrong, this confuses pkg <= 2.3.1 and causes "pkg info -d" to show the dependencies as "<pkgname>-(null)" instead of the correct version string.
Remove the explicit origin from dependencies in the UCL files, and instead populate this during the build in generate-ucl.lua. In the (very unlikely) case that an explicit origin is still needed, don't overwrite one if it's already present.
MFC after: 1 day Fixes: 822fd5606748 ("pkgbase: set origin for each packages as base/FreeBSD-*") Reported by: bapt Reviewed by: cperciva, bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52892
show more ...
|
| #
014647a3
|
| 24-Sep-2025 |
Lexi Winter <ivy@FreeBSD.org> |
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth r
packages: Add some missing dependencies
* at requires cron, since atrun is started by cron and won't work without it, and also requires runtime because at runs jobs under /bin/sh.
* bluetooth requires ppp for rfcomm_pppd (a very common use case).
* bsdconfig and bsdinstall are written in shell script and therefore require /bin/sh.
* devd requires /bin/sh to invoke its hooks.
While here, document the policy for adding dependencies in the README. This will hopefully ensure we end up with consistent dependencies.
MFC after: 1 day Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D52699
show more ...
|