summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg
Commit message (Collapse)AuthorAgeFilesLines
* Remove some unneeded headersbapt2016-01-131-7/+0
|
* Remove extra debug that crept inbapt2015-09-081-3/+3
|
* Implement pubkey support for the bootstrapbapt2015-09-084-35/+182
| | | | | | | | | | | | | | 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
* Fix indentation, no functional changesbapt2015-09-081-6/+6
|
* Plug a possible memory leak.delphij2015-08-271-1/+2
| | | | MFC after: 2 weeks
* Issue warning and refuse to proceed further if the configureddelphij2015-08-191-2/+14
| | | | | | | | | | | | | | | | | | | | | repository signature_type is unsupported by bootstrap pkg(7). Previously, when signature_type specified an unsupported method, the bootstrap pkg(7) would proceed like when signature_type is "none". MITM attackers may be able to use this vulnerability and bypass validation and install their own versions of pkg(8). At this time, only fingerprint and none are supported by the bootstrap pkg(7). FreeBSD's official pkg(8) repository uses the fingerprint method and is therefore unaffected. Errata candidate. Discussed with: bapt@ Submitted by: Fabian Keil Obtained from: ElectroBSD
* Add META_MODE support.sjg2015-06-131-0/+31
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-273-22/+23
| |\ | |/ |/|
| * Updated/new dependenciessjg2014-11-191-1/+0
| |
| * Merge from head@274682sjg2014-11-193-411/+23
| |\
| * \ Merge head from 7/28sjg2014-08-192-2/+2
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+3
| | | |
| * | | Merge headsjg2014-04-287-144/+1367
| |\ \ \
| * | | | Updated dependenciessjg2013-10-131-0/+6
| | | | |
| * | | | Merge headsjg2013-09-112-19/+205
| |\ \ \ \
| * \ \ \ \ Merge from headsjg2013-09-052-6/+18
| |\ \ \ \ \
| * | | | | | New/updated dependenciessjg2013-04-141-0/+2
| | | | | | |
| * | | | | | sync from headsjg2013-04-124-173/+505
| |\ \ \ \ \ \
| * | | | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | | | |
| * | | | | | | Updated dependenciessjg2013-02-161-2/+1
| | | | | | | |
| * | | | | | | Sync with HEAD.obrien2013-02-084-9/+229
| |\ \ \ \ \ \ \
| | \ \ \ \ \ \ \
| | \ \ \ \ \ \ \
| *-. \ \ \ \ \ \ \ Sync from headsjg2012-11-042-9/+40
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+22
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | Allow fetching pkg(8) even if servers/proxies are not passing Content-lengthbapt2015-04-031-13/+6
| | | | | | | | | |
* | | | | | | | | | Test the return of fetchParseURL(3)bapt2015-02-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CID: 1125811 MFC after: 1 week
* | | | | | | | | | Plug resources leakbapt2015-02-041-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CID: 1125813 CID: 1125807 CID: 1125808 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-273-410/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | When we fail to extract the pkg binaries (for example, / is read-only),gavin2014-07-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | give a more helpful error message. MFC after: 1 week
* | | | | | | | Remove ia64.marcel2014-07-071-1/+0
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* | | | | | | Import libucl 0.4.0bapt2014-04-222-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt pkg(7) to the new libucl API
* | | | | | | Add missing LIBM to DPADD from r263650bdrewery2014-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: jilles
* | | | | | | Fix build with libucl 20140321bdrewery2014-03-221-1/+1
| | | | | | |
* | | | | | | Fix ASSUME_ALWAYS_YES not being parsed properly from config after UCL ↵bdrewery2014-03-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conversion. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week
* | | | | | | Fix ABI from /usr/local/etc/pkg.conf not being respected.bdrewery2014-03-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from r259266. Sponsored by: EMC / Isilon Storage Division MFC after: 1 week
* | | | | | | Remove a useless newline, warnx already appends a newlinebapt2014-02-231-1/+1
| | | | | | |
* | | | | | | Update my copyrightbapt2014-02-232-2/+2
| | | | | | |
* | | | | | | Switch pkg(7) from libyaml to libuclbapt2014-02-233-146/+82
| | | | | | |
* | | | | | | Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to ↵bapt2014-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bring it Newer version of gelf.h and libelf.h does not include sys/queue.h anymore Submitted by: kaiw MFC after: 3 days
* | | | | | | Fix yet another typobapt2013-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: kib
* | | | | | | Fix typosbapt2013-12-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: bryanv
* | | | | | | Do not print a question in non-interractive mode but explain why boostrappingbapt2013-12-231-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | has failed and how to allow it to happen Reported by: jmmv
* | | | | | | Fix multi-repository support by properly respecting 'enabled' flag.bdrewery2013-12-123-15/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will read the REPOS_DIR env/config setting (default is /etc/pkg and /usr/local/etc/pkg/repos) and use the last enabled repository. This can be changed in the environment using a comma-separated list, or in /usr/local/etc/pkg.conf with JSON array syntax of: REPOS_DIR: ["/etc/pkg", "/usr/local/etc/pkg/repos"] Approved by: bapt MFC after: 1 week
* | | | | | | Do not create pkg.conf, as it is not necessary anymore and packagesite is ↵bapt2013-11-251-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deprecated Reported by: glebius MFC after: 3 days
* | | | | | | Follow-up to r258227 and document 'enabled' as a boolean instead ofbdrewery2013-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a string. Approved by: bapt MFC after: 2 days X-MFC-With: r258227
* | | | | | | argc is now usedbapt2013-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 days
* | | | | | | Remove useless checks for NULL pointer before free(3)bdrewery2013-11-111-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: eadler Approved by: eadler
OpenPOWER on IntegriCloud