#
3d0a0dda |
| 01-Jan-2025 |
Kyle Evans <kevans@FreeBSD.org> |
pkg: finish adding the ECC signer and signature type bits
Signature types need to be parsed out of the key/signature information that we are presented with from the files we download. We use that t
pkg: finish adding the ECC signer and signature type bits
Signature types need to be parsed out of the key/signature information that we are presented with from the files we download. We use that to understand whicher signer we need to dispatch to.
The ECC signer is more-or-less lifted from pkg(8), with some changes to slim it down for pkg(7).
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D48108
show more ...
|
#
2629e90d |
| 01-Jan-2025 |
Kyle Evans <kevans@FreeBSD.org> |
pkg: pull rsa bits out of pkg.c
We'll eventually add a pkgsign abstraction over these similar to how we do in pkg(8), but start by isolating these parts.
Reviewed by: bapt, emaste Differential Revi
pkg: pull rsa bits out of pkg.c
We'll eventually add a pkgsign abstraction over these similar to how we do in pkg(8), but start by isolating these parts.
Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D48105
show more ...
|
Revision tags: release/14.2.0, release/13.4.0 |
|
#
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
Revision tags: release/14.1.0, release/13.3.0, release/14.0.0 |
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0 |
|
#
b2654064 |
| 09-Mar-2023 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkg(7): use libmd for sha256 instead of openssl
OpenSSL 3.0 has deprecated the sha256 api, let's use libmd which has the same API instead.
In order to avoid the collision in definitions (sha256.h c
pkg(7): use libmd for sha256 instead of openssl
OpenSSL 3.0 has deprecated the sha256 api, let's use libmd which has the same API instead.
In order to avoid the collision in definitions (sha256.h cannot be included in the same file as a file where openssl headers has been included) let's move the sha256 related code in its own file
PR: 270023 Reported by: ngie
show more ...
|
Revision tags: release/12.4.0 |
|
#
f92e0d6a |
| 10-Jun-2022 |
Ed Maste <emaste@FreeBSD.org> |
pkg-bootstrap: use latest package set on arm64 stable branches
As with i386 and amd64, "latest" packages are available on stable branches for arm64/aarch64.
Reviewed by: manu MFC after: 1 week Spon
pkg-bootstrap: use latest package set on arm64 stable branches
As with i386 and amd64, "latest" packages are available on stable branches for arm64/aarch64.
Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35445
show more ...
|
Revision tags: release/13.1.0 |
|
#
ec0ea6ef |
| 15-Dec-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
pkgbase: Add a FreeBSD-pkg-bootstrap package
And put pkg and its keys in it. It's easier for small image to depend on this package rather than the larger utilities one.
MFC after: 2 weeks Sponsored
pkgbase: Add a FreeBSD-pkg-bootstrap package
And put pkg and its keys in it. It's easier for small image to depend on this package rather than the larger utilities one.
MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33458
show more ...
|
Revision tags: release/12.3.0, release/13.0.0 |
|
#
d3516453 |
| 18-Feb-2021 |
Kyle Evans <kevans@FreeBSD.org> |
pkg: use specific CONFSNAME_${file} for FreeBSD.conf
Setting CONFSNAME directly is a little more complicated for downstream consumers, as any additional CONFS that are added here will inherit the gr
pkg: use specific CONFSNAME_${file} for FreeBSD.conf
Setting CONFSNAME directly is a little more complicated for downstream consumers, as any additional CONFS that are added here will inherit the group name by default. This is perhaps arguably a design flaw in CONFS because inheriting NAME will never give a good result when additional files are added, but this is a low-effort change.
While we're here, pull FreeBSD.conf.${branch} out into a PKGCONF variable so one can just drop a new repo config in entirely with a new naming scheme. CONFSNAME gets set based on chopping anything off after ".conf", so that, e.g.:
- FooBSD.conf => FooBSD.conf - FooBSD.conf.internal => FooBSD.conf
Reviewed by: bapt, manu Differential Revision: https://reviews.freebsd.org/D28767
show more ...
|
#
cc9a8a11 |
| 27-Apr-2021 |
Baptiste Daroussin <bapt@FreeBSD.org> |
pkg(7): replace usage of sbuf(9) with open_memstream(3)
open_memstream(3) is a standard way to obtain the same feature we do get by using sbuf(9) (aka dynamic size buffer), switching to using it mak
pkg(7): replace usage of sbuf(9) with open_memstream(3)
open_memstream(3) is a standard way to obtain the same feature we do get by using sbuf(9) (aka dynamic size buffer), switching to using it makes pkg(7) more portable, and reduces its number of dependencies.
Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D30005
show more ...
|
#
56d11d4a |
| 18-Nov-2020 |
Stefan Eßer <se@FreeBSD.org> |
Make use of the getlocalbase() function for run-time adjustment of the local software base directory, as committed in SVN rev. 367813.
The pkg and mailwrapper programs used the LOCALBASE environment
Make use of the getlocalbase() function for run-time adjustment of the local software base directory, as committed in SVN rev. 367813.
The pkg and mailwrapper programs used the LOCALBASE environment variable for this purpose and this functionality is preserved by getlocalbase().
After this change, the value of the user.localbase sysctl variable is used if present (and not overridden in the environment).
The nvmecontrol program gains support of a dynamic path to its plugin directory with this update.
Differential Revision: https://reviews.freebsd.org/D27237
show more ...
|
#
8e103108 |
| 15-Nov-2020 |
Scott Long <scottl@FreeBSD.org> |
Revert the whole getlocalbase() set of changes while a different design is hashed out.
|
#
7ca0d540 |
| 14-Nov-2020 |
Scott Long <scottl@FreeBSD.org> |
Replace hardcoded references to _PATH_LOCALBASE with calls to getlocalbase.3
Reviewed by: imp, se
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
#
9122aeea |
| 09-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r353316 through r353350.
|
#
48c8f7d4 |
| 08-Oct-2019 |
Glen Barber <gjb@FreeBSD.org> |
Rework the logic for installing the pkg(8) configuration.
'quarterly' package sets do not exist for head, so explicitly install the 'latest' configuration file there. Otherwise, fall back to the or
Rework the logic for installing the pkg(8) configuration.
'quarterly' package sets do not exist for head, so explicitly install the 'latest' configuration file there. Otherwise, fall back to the original conditional evaluation to determine if the 'latest' or 'quarterly' configuration file should be installed.
Reported by: manu Reviewed by: manu MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate)
show more ...
|
#
0f80acb9 |
| 19-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352436 through r352536.
|
#
5f6bb72e |
| 19-Sep-2019 |
Glen Barber <gjb@FreeBSD.org> |
Apply r346792 (cperciva) from stable/12 to head. The original commit message:
On non-x86 systems, use "quarterly" packages.
x86 architectures have "latest" package builds on stable/*, so keep us
Apply r346792 (cperciva) from stable/12 to head. The original commit message:
On non-x86 systems, use "quarterly" packages.
x86 architectures have "latest" package builds on stable/*, so keep using those (they'll get switched over to "quarterly" during releases).
The original commit was a direct commit to stable/12, as at the time it was presumed it would not be necessary for head. However, when it is time to create a releng branch or switch from PRERELEASE/STABLE to BETA/RC, the pkg(7) Makefile needs further adjusting. This commit includes those further adjustments, evaluating the BRANCH variable from release/Makefile to determine the pkg(7) repository to use.
MFC after: immediate (if possible) Sponsored by: Rubicon Communications, LLC (Netgate)
show more ...
|
Revision tags: release/11.3.0 |
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
0b18e008 |
| 24-Apr-2019 |
Colin Percival <cperciva@FreeBSD.org> |
Keep two versions of the FreeBSD.conf pkg configuration file; one which points at the "latest" branch and one which points at the "quarterly" branch. Install the "latest" version unless overridden v
Keep two versions of the FreeBSD.conf pkg configuration file; one which points at the "latest" branch and one which points at the "quarterly" branch. Install the "latest" version unless overridden via the newly added PKGCONFBRANCH variable.
This does not change user-visible behaviour (assuming said vairable is not set) but will make it easier to change the defaults in the future -- on stable branches we will want "latest" on x86 but "quarterly" elsewhere.
Discussed with: gjb MFC after: 3 days X-MFC: After MFCing this I'll make a direct commit to stable/* to switch non-x86 architectures to "quarterly".
show more ...
|
Revision tags: release/12.0.0 |
|
#
14b841d4 |
| 11-Aug-2018 |
Kyle Evans <kevans@FreeBSD.org> |
MFH @ r337607, in preparation for boarding
|
#
bbd7a929 |
| 04-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r336870 through r337285, and resolve conflicts.
|
#
5836319a |
| 31-Jul-2018 |
Brad Davis <brd@FreeBSD.org> |
Move pkg/FreeBSD.conf to usr.sbin/pkg/
Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D16491
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0 |
|
#
64a0982b |
| 04-Mar-2017 |
Enji Cooper <ngie@FreeBSD.org> |
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
MFC after: 1 month Sponsored by: Dell EMC Isilon
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
#
becbad1f |
| 13-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
f94594b3 |
| 12-Sep-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Finish merging from head, messed up in previous attempt
|