| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Do not use just freed memory.
Approved by: re (kib)
|
|
|
|
|
|
|
| |
Use proper capitalization for FreeBSD.org
Approved by: bapt
Approved by: re (gjb)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add -f support to 'pkg bootstrap' and 'pkg add' to force installation
of pkg(8) even if already installed.
This is useful if you somehow messup pkg(8) and need to reinstall from
remote with it already being registered in the pkg(8) /var/db/pkg database.
Also add some sanity checks to 'pkg add'.
Approved by: bapt
Approved by: re (glebius)
|
|
|
|
|
|
|
| |
Add a pkg(7) manpage for bootstrap
Approved by: bapt
Approved by: re (gjb)
|
|
|
|
|
|
|
|
| |
Add a 'pkg bootstrap' command which will bootstrap pkg(8) without
forwarding any command to it after installation.
Approved by: bapt
Approved by: re (gjb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r257149,r257150,r257158,r257159,r257164,r257168,
r257193
- Support checking signature for pkg bootstrap from remote
and for 'pkg add ./pkg.txz'
- Be verbose on where pkg is being bootstrapped from.
- Add support for reading configuration files from /etc/pkg.
For now only /etc/pkg/FreeBSD.conf is supported.
- Add test package signing key fingerprint into /etc/keys/pkg/trusted.
- Disable fingerprint checking by default for now as the official
packages are not yet signed.
Approved by: bapt
Approved by: re (glebius)
|
|
|
|
|
|
|
|
|
|
|
| |
Add support for using "pkg+http://" for the PACKAGESITE.
pkg 1.2 is adding this support as well. This should help
lessen the confusion on why the default SRV PACKAGESITE
does not load in a browser.
Approved by: bapt
Approved by: re (glebius)
|
|
|
|
|
|
|
|
|
|
|
|
| |
Improve SRV records support for the pkg(8) bootstrap:
- order srv records by priorities
- for all entries of the same priority, order randomly respect the weight
- select the port where to fetch from respect the port provided in the SRV
record
Allow to bootstrap by doing pkg add ./a/path/to/a/pkg_package.txz
Approved by: re (glebius)
|
|
|
|
|
|
|
|
| |
Rename libbsdyml to libyaml, make private, and bump
SHLIB_MAJOR to 1.0
Approved by: bapt
Approved by: re (glebius)
|
|
|
|
|
|
|
|
| |
Only define EF_MIPS_ABI when not already supplied
Remove old now unused ARM macros
Reported by: imp
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two different versions of the ARM ABI depending on the
TARGET_ARCH. As these are sligntly different a package built for
one may not work on another. We need to detect which one we are on
by parsing the .ARM.attributes section.
This will only work on the ARM EABI as this section is part of the
ABI definition. As armv6 only supports the ARM EABI this is not a
problem for the oabi.
Older versions of libelf in FreeBSD fail to read the
.ARM.attributes section needed. As armv6 is unsupported on these
versions we can assume we are running on arm.
Submitted by: andrew
Approved by: re (delphij)
Obtained from: pkgng git
|
|
|
|
|
| |
Submitted by: andrew
Obtained from: pkg git
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Reporter by : Alexander Yerenkow (via irc)
|
|
|
|
|
|
| |
PACKAGESITE
Reviewed by: bdrewery
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
PACKAGESITE they use or install from ports directly indicating where the port
is localted in the port collection
Submitted by: kientzle
|
|
|
|
|
| |
Reported by: Jeremy Chadwick <jdc@koitsu.org>
MFC after: 3 days
|
|
|
|
|
|
| |
Submitted by: pjd, gcooper
Approved by: bapt
MFC after: 2 weeks
|
|
|
|
|
| |
Approved by: bapt
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
status. '-n' is already used extensively elsewhere in pkgng (to mean
'dry-run') and this reduces the potential confusion
Submitted by: eadler
Approved by: bapt
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
whether a system has been configured to use pkgng, cause /usr/sbin/pkg
recognise a -n option and exit with a failure code when the pkg port
is not installed.
Approved by: bapt
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead
of pkgbeta.FreeBSD.org
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
|
|
|
| |
Reported by: mjg
|
|
|
|
|
|
|
| |
- if not on a tty prompt about the missing pkg(8) but default on 'no' except if
ASSUME_ALWAYS_YES is set
MFC after: 2 days
|
|
|
|
|
|
|
|
| |
The previous behaviour was to silently download and install the pkg
package, without ever telling user about what it was doing and why.
Discussed with: bapt
Reviewed by: kib
|
|
|
|
|
|
| |
Reported by: beat
Approved by: des (mentor)
MFC after: 1 day
|
|
|
|
|
|
| |
- create a default /usr/local/etc/pkg.conf
Approved by: des (mentor)
|
|
|
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
Submitted by: marius
Approved by: des (mentor)
|
|
|
|
|
|
|
| |
style(9) says for (;;) not while (1)
Reported by: culot
Approved by: des
|
|
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)
|