summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Implement pubkey support for the bootstrapbapt2015-09-081-1/+1
| | | | | | | | | | | | | | 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
* Convert usr.sbin to LIBADDbapt2014-11-251-4/+1
| | | | Reduce overlinking
* Remove spurious libelf dependency.nwhitehorn2014-10-281-1/+1
| | | | Submitted by: pluknet
* Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g.nwhitehorn2014-10-271-1/+1
| | | | | | | | 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
* Rework privatelib/internallibbapt2014-08-061-1/+1
| | | | | | | | | | | | | | 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
* Add missing LIBM to DPADD from r263650bdrewery2014-03-241-1/+1
| | | | Reported by: jilles
* Fix build with libucl 20140321bdrewery2014-03-221-1/+1
|
* Switch pkg(7) from libyaml to libuclbapt2014-02-231-5/+5
|
* Add a pkg(7) manpage for bootstrapbdrewery2013-10-301-1/+1
| | | | | Approved by: bapt MFC after: 2 days
* Link in libcrypto as well to fix build in some cases.bdrewery2013-10-261-2/+3
| | | | | | Approved by: bapt MFC after: 2 days Reported by: many
* Support checking signature for pkg bootstrap.bdrewery2013-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Rename libbsdyml to libyaml, make private, and bumpbdrewery2013-10-141-2/+5
| | | | | | | | SHLIB_MAJOR to 1.0 Suggested by: des Approved by: bapt MFC after: 1 week
* Fix a typo in DPADD.antoine2013-03-101-1/+1
|
* Add the ability to correctly read pkg.conf is exists.bapt2013-03-051-3/+3
| | | | | | | | | | | | | | | 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
* if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records andbapt2012-12-051-1/+1
| | | | | | | use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org MFC after: 1 month
* - Use _PATH_TMP instead of hardcoded /tmpbapt2012-04-161-0/+1
| | | | | | | | | | - 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)
* add usr.sbin/pkg which is a bootstrap tool for pkgng.bapt2012-04-151-0/+9
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)
OpenPOWER on IntegriCloud