Age | Commit message (Collapse) | Author |
|
gets used, tools already know about it a bit.
(meant to simplify wantlib updates down the line)
|
|
have now.
as seen by landry@
|
|
in particular, disable future PORTS_PRIVSEP mechanisms under
pkg_create, because we should already be running as _pbuild
by this point.
|
|
with at least python and ruby.
ok naddy@
|
|
|
|
don't call exit, since grab_object is only used within a fork
and parent does exit.
this prevents signal cleanup from fucking up and trying to close
the fhs a second time.
somewhat long-standing problem, as seen by jeremy@ and I.
okay jeremy@
|
|
pkg_add actually looks at the env variable, and it doesn't affect
other tools.
buglet noticed by Lari Rasku
|
|
and display a name (/dev/sd0h on /usr/local) based on that
|
|
ok espie@ sthen@
|
|
Add a -S option that computes signatures, so that we may remove
code from bsd.port.mk that does the exact same thing, and no longer
work since the addition of @version.
For now, -S is exclusive of other package creation options, as it exits
as soon as it computes what it needs.
|
|
you won't notice until the repository wants to output an error message,
which is bad.
if code breaks thanks to this commit, the call site needs to be fixed.
|
|
|
|
Problem noticed by anton@
|
|
|
|
|
|
the best class, and sort bad libraries in dependency solving accordingly
|
|
|
|
|
|
This resolves the speed issues Michael Reed <michael@michaelreed.io>
reported that were introduced by my changes in 1.45.
OK landry@
|
|
just '<a href="foo">'; several mirrors now include a title attribute which
pkg_add can't cope with.
Diff from Taylor Stearns to handle attributes following the href; tweaked
by me to also handle attribute before the href.
ok zhuk@
|
|
"pkg_info -Q quake -d" function as expected.
OK landry@
|
|
|
|
wasn't even aware that stuff existed, thanks nicm@
NOKERNINFO hardcoded, because it's not in the POSIX module, shouldn't be
a big issue.
okay millert@
|
|
- if we can't retrieve the package, of course signify will say it's truncated
so that's redundant.
- if you give a full package name, can_be_empty should make directories
vanish.
(landry just discovered 6.1/packages-stable by accident, make it vanish
again so he can't find it back... :D )
|
|
|
|
allow fw_update to short-circuit entirely, thus the specific
treatment of paths is actually less of a special case,
and the code that reaches into /etc/installurl is no longer used
at all in that case.
problem noticed by mlarkin@
|
|
use it to simplify logic.
have ./ always be silent, wherever it may come from.
zap NOINSTALLPATH since it's more intuitive to just define PKG_PATH=
(nothing) now.
|
|
Before this, pkg_add(1) neglected running makewhatis(8) in directories
like /usr/local/man/ru/.
OK espie@
|
|
also, allow child_error to take a parameter so that this can be used to decode
an arbitrary wait() result.
|
|
message advising use of "fw_update -d" rather than saying "ok" and doing
nothing. (pkg_delete intentionally makes it hard to uninstall firmware
to prevent surprises when cleaning a machine).
aja and I were surprised by the "ok" leaving the fw package installed.
suggestion from espie to mention fw_update -d in the message.
|
|
OK espie@
|
|
as discussed with sthen@
manpage bits to follow soonish
|
|
|
|
pass thru the $@ "dieing" report from reading a plist.
|
|
|
|
|
|
on a -stable system, %c/packages will expand to
two directories in support of packages-stable,
with the -stable directory being "silent".
Also add a -Dsnap option that forces %c to be snapshots
so that the last weeks of testing of release are less
painful.
okay aja@
|
|
Fix the "no checksum" part: pass thru do_not_delete, and do it even if
quick is set.
Simplify the error messages in case realname and fullname are identical
(which is the most common case)
|
|
so that we don't have to write the same thing twice later.
|
|
|
|
file can't be read properly (got a Read error on delete),
so stop trying to do things ourselves, just wrap the error to inject
a decent error message, catching inexistent files and read errors in
the process.
|
|
so no need to say it again
|
|
|
|
- if we don't have an object for fetch, then we're grabbing a list for http
"not found" means it's not a proper package directory.
- report once for "empty" repositories, and we know the difference between
an empty dir and a non existing directory
- if we have an object, save we already reported an error to avoiding
cascading error reports
|
|
parse_problems would report unspecific repository issues instead of trouble
with a given package.
|
|
okay sthen@
|
|
OK espie@
|
|
okay aja@, rpe@
|
|
a single configuration file for the OpenBSD repository location.
The pkg_* tools now use installurl(5) to find the package repository.
NOTE:
/etc/installurl only contains a single URL pointing to a mirror.
Use the PKG_PATH environment variable to specify more than one
package repository.
prodded by and OK deraadt@ aja@
|
|
of a package you actually downloaded, or how many packages you touch)
okay aja@
|