#
319119 |
|
29-May-2017 |
ngie |
MFC r314659,r314676:
r314659:
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
r314676:
Fix build after r314656
Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated.
Reminder: thou shalt separate out separate functional changes before committing them.
(YUGE) Pointyhat to: ngie In collaboration with: bdrewery
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
287579 |
|
08-Sep-2015 |
bapt |
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
|
#
275054 |
|
25-Nov-2014 |
bapt |
Convert usr.sbin to LIBADD Reduce overlinking
|
#
273778 |
|
28-Oct-2014 |
nwhitehorn |
Remove spurious libelf dependency.
Submitted by: pluknet
|
#
273754 |
|
27-Oct-2014 |
nwhitehorn |
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
|
#
269648 |
|
06-Aug-2014 |
bapt |
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
|
#
263686 |
|
24-Mar-2014 |
bdrewery |
Add missing LIBM to DPADD from r263650
Reported by: jilles
|
#
263650 |
|
22-Mar-2014 |
bdrewery |
Fix build with libucl 20140321
|
#
262400 |
|
23-Feb-2014 |
bapt |
Switch pkg(7) from libyaml to libucl
|
#
257378 |
|
30-Oct-2013 |
bdrewery |
Add a pkg(7) manpage for bootstrap
Approved by: bapt MFC after: 2 days
|
#
257158 |
|
26-Oct-2013 |
bdrewery |
Link in libcrypto as well to fix build in some cases.
Approved by: bapt MFC after: 2 days Reported by: many
|
#
257147 |
|
26-Oct-2013 |
bdrewery |
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
|
#
256450 |
|
14-Oct-2013 |
bdrewery |
Rename libbsdyml to libyaml, make private, and bump SHLIB_MAJOR to 1.0
Suggested by: des Approved by: bapt MFC after: 1 week
|
#
248133 |
|
10-Mar-2013 |
antoine |
Fix a typo in DPADD.
|
#
247841 |
|
05-Mar-2013 |
bapt |
Add the ability to correctly read pkg.conf is exists.
Only look for boostrap useful options: - PACKAGESITE - ABI - MIRROR_TYPE - ASSUME_ALWAYS_YES
While here makes PACKAGESITE expand the ${ABI} variable. Allow to deactivate any SRV record look up (MIRROR_TYPE=none) Use the same mechanism as for pkgng itself: first get configuration out of environment variable and fallback on pkg.conf if exists.
Reviewed by: bdrewery
|
#
243883 |
|
05-Dec-2012 |
bapt |
if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records and use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org
MFC after: 1 month
|
#
234351 |
|
16-Apr-2012 |
bapt |
- Use _PATH_TMP instead of hardcoded /tmp - more style(9) fixes - some refactoring - better error detection - Add the DPADD to Makefile
Submitted by: Garrett Cooper <yanegomi@gmail.com> Approved by: des (mentor)
|
#
234313 |
|
15-Apr-2012 |
bapt |
add usr.sbin/pkg which is a bootstrap tool for pkgng. it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages) it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package. for now uses pkgbeta.FreeBSD.org as default mirror to find its package it respects MK_PKGTOOLS
Approved by: des (mentor)
|