|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0 |
|
| #
b2654064 |
| 09-Mar-2023 |
Baptiste Daroussin <[email protected]> |
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 |
| 09-Jun-2022 |
Ed Maste <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
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 <[email protected]> |
Revert the whole getlocalbase() set of changes while a different design is hashed out.
|
| #
7ca0d540 |
| 14-Nov-2020 |
Scott Long <[email protected]> |
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 |
|
| #
48c8f7d4 |
| 08-Oct-2019 |
Glen Barber <[email protected]> |
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 ...
|
| #
5f6bb72e |
| 19-Sep-2019 |
Glen Barber <[email protected]> |
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 |
|
| #
0b18e008 |
| 24-Apr-2019 |
Colin Percival <[email protected]> |
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 |
|
| #
5836319a |
| 31-Jul-2018 |
Brad Davis <[email protected]> |
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 <[email protected]> |
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 |
|
| #
61acb458 |
| 08-Sep-2015 |
Baptiste Daroussin <[email protected]> |
Implement pubkey support for the bootstrap
Note that to not interfer with finger print it expects a signature on pkg itself which is named pkg.txz.pubkeysign
To genrate it: echo -n "$(sha256 -q pkg
Implement pubkey support for the bootstrap
Note that to not interfer with finger print it expects a signature on pkg itself which is named pkg.txz.pubkeysign
To genrate it: echo -n "$(sha256 -q pkg.txz)" | openssl dgst -sha256 -sign /thekey \ -binary -out ./pkg.txz.pubkeysig
Note the "echo -n" which prevent signing the '\n' one would get otherwise
PR: 202622 MFC after: 1 week
show more ...
|
|
Revision tags: release/10.2.0 |
|
| #
c6db8143 |
| 25-Nov-2014 |
Baptiste Daroussin <[email protected]> |
Convert usr.sbin to LIBADD Reduce overlinking
|
|
Revision tags: release/10.1.0 |
|
| #
ffcaf4d2 |
| 28-Oct-2014 |
Nathan Whitehorn <[email protected]> |
Remove spurious libelf dependency.
Submitted by: pluknet
|
| #
60b9a1fc |
| 27-Oct-2014 |
Nathan Whitehorn <[email protected]> |
Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g. FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg. Thanks to portmgr for providing symlinks so both styles work.
Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g. FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg. Thanks to portmgr for providing symlinks so both styles work.
Reviewed by: bapt MFC after: 3 weeks
show more ...
|
| #
d029c3aa |
| 06-Aug-2014 |
Baptiste Daroussin <[email protected]> |
Rework privatelib/internallib
Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not p
Rework privatelib/internallib
Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS.
Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
show more ...
|
|
Revision tags: release/9.3.0 |
|
| #
4d3b6a78 |
| 24-Mar-2014 |
Bryan Drewery <[email protected]> |
Add missing LIBM to DPADD from r263650
Reported by: jilles
|
| #
825ab354 |
| 22-Mar-2014 |
Bryan Drewery <[email protected]> |
Fix build with libucl 20140321
|
| #
8a7d859e |
| 23-Feb-2014 |
Baptiste Daroussin <[email protected]> |
Switch pkg(7) from libyaml to libucl
|
|
Revision tags: release/10.0.0 |
|
| #
5eb90b9a |
| 30-Oct-2013 |
Bryan Drewery <[email protected]> |
Add a pkg(7) manpage for bootstrap
Approved by: bapt MFC after: 2 days
|
| #
029df170 |
| 26-Oct-2013 |
Bryan Drewery <[email protected]> |
Link in libcrypto as well to fix build in some cases.
Approved by: bapt MFC after: 2 days Reported by: many
|
| #
f12db248 |
| 26-Oct-2013 |
Bryan Drewery <[email protected]> |
Support checking signature for pkg bootstrap.
If the pkg.conf is configured with SIGNATURE_TYPE: FINGERPRINTS, and FINGERPRINTS: /etc/keys/pkg then a pkg.sig file is fetched along with pkg.txz. The
Support checking signature for pkg bootstrap.
If the pkg.conf is configured with SIGNATURE_TYPE: FINGERPRINTS, and FINGERPRINTS: /etc/keys/pkg then a pkg.sig file is fetched along with pkg.txz. The signature contains the signature provided by the signing server, and the public key. The .sig is the exact output from the signing server in the following format:
SIGNATURE <openssl signed> CERT <rsa public key> END
The signature is verified with the following logic:
- If the .sig file is missing, it fails. - If the .sig doesn't validate, it fails. - If the public key in the .sig is not in the known trusted fingerprints, it fails. - If the public key is in the revoked key list, it fails.
Approved by: bapt MFC after: 2 days Discussed by: bapt with des, jonathan, gavin
show more ...
|