| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
- create an element that accumulates version values for when we have
several
- actually use compare on version values instead of hardcoding the
difference
no functional change
|
|
|
|
| |
now handle_continue and find_window_size are fully separated.
|
|
|
|
| |
this does fix the grep case
|
|
|
|
|
|
| |
return -1, in which case we never need to suppress output.
noticed by Mark Patruck
|
|
|
|
| |
who pointed at ssh code for process group handling. Thanks
|
| |
|
| |
|
|
|
|
| |
(to be overrideen by subclasses when needed)
|
|
|
|
|
| |
the better thing to do would be to pseudo-install it under /tmp so we
can run it, but it requires way more changes
|
|
|
|
| |
thanks bluhm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- tweak the look-up mechanism for dependencies to NOT look at installed
packages for inter-dependencies between subpackages (and debug packages)
of the SAME pkgpath.
The rationale for looking at installed packages in the usual case
is that it's normally much faster rather than have the ports tree
spew out packing-lists.
In the case of multi-packages updates, the new version may have been built
successfully (and correctly) while the old version is still around.
However, if pkg_create looks at the installed version, it may fail to create
the package because the shared library versions will be different.
|
| |
|
|
|
|
|
|
|
|
|
| |
Filenames with colons are not allowed on windows filesystems. So we rename
the pod files to avoid this. Should get us closer to being able to check
out the openbsd source code on a windows system.
ok espie@ (who suggested the current approach); sthen@ was ok with a
previous version of the diff
|
|
|
|
|
|
|
|
|
| |
first pass will read packing-lists fully, use that to cache along dependency
information, so we don't have to read packing-list again during second pass.
we do not cache full plists for the file checks, because
1/ that is significantly larger
2/ that pass is disk io bound anyway
|
|
|
|
|
|
|
|
|
|
|
|
| |
definitions to the list of RequiredBy.
requires passing the pkgname around for the special case where tag and
define-tag are in the same location, so use that info for better diagnostics
Note that this loses the optimization where we only need read DependsOnly
this can be addressed later by storing stub packing-lists with only relevant
info during the first pass, so that we don't have to read them again
|
| |
|
| |
|
|
|
|
| |
ok landry@ robert@
|
|
|
|
|
|
| |
end of an install and can take quite a while if you have certain fonts
installed. Before this change the cursor was left at an empty line.
tweak/ok espie@
|
|
|
|
|
|
| |
be read. This happens for packages ending in symlinks for instance.
this should fix some fringe cases where FETCH_PACKAGES doesn't work
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We already supported "beta" releases but not "alpha", probably to
discourage people from pushing "alpha-quality" software in the ports
tree.
We have 30 ports with distfiles matching "alpha", and people just work
around the lack of explicit support for "alpha" releases with mixes of
crafted PKGNAME and REVISION/EPOCH. This looks needlessly complicated
and a bit unfair when compared to GH_COMMIT support.
Pointers from landry@ and sthen@, lgtm landry@, no objection from espie@
|
| |
|
|
|
|
| |
stuff "no debug" eventually
|
|
|
|
|
|
| |
make sure we see -a along with opt('Q')
tweak -aQ to use keep_all so that it shows every entry in every
repository instead of stopping at the first one.
|
|
|
|
| |
aware of that for match_locations
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- the name was a bit confusing (pkg_info)
- one of the first modules I wrote, and the old one isn't OO at all, and
full of globals, which can be a problem for displaying error messages, and
for tweaking PKG_DB locally...
This will replace PackageInfo.pm once I've gone through all the callers.
New synopsis would make this part of State in most cases, without any
singleton.
|
| |
|
| |
|
|
|
|
| |
probably GC'd.
|
|
|
|
|
|
| |
points in there.
okay aja@ sthen@
|
| |
|
|
|
|
|
| |
It's only used for debugging pkgtools, it shouldn't interfere with
possible flavors in pkg_create
|
|
|
|
|
|
|
|
|
| |
make sure the child has the same effective and real ids,
as perl interprets it as "setuid, refuse to debug"
go to the end of the pipe so the child doesn't exit
prematurely (didn't use to happen but now it does)
help from afresh1@ in diagnosing that one.
|
|
|
|
|
|
| |
Let .so/.a print again in pkg_info -L
noticed by Mikolaj Kucharski
|
|
|
|
|
|
| |
repo for debug packages, but we need the full path for the handle (for now)
fixes regression noticed by bluhm@
|
|
|
|
|
|
|
|
|
| |
(coincidentally, that's the pattern used for install from ports)
This just requires always passing pkgname thru parse to extract the right
name.
There's definitely a bit of code to clean up in pkg_add afterwards :/
|
|
|
|
|
|
|
|
| |
help bootstrap the process
Clean the code:
- move the decision logic into individual may_grab_debug_for
- acknowledge the PkgAdd object doesn't matter in there, just use class
- for already installed stuff, we skip packages that already exist
|
|
|
|
|
|
|
|
|
|
| |
Basically, if you set DEBUG_PKG_CACHE to a directory, pkg_add will download
debug packages "on the sly" any time it installs packages. It is mostly
silent (apart from fetching error or directory non existent).
It *won't* download packages that are already installed, but this allows
keeping debug packages "just in case" in synch with your current snapshot,
as some people (mpi@) have worried that by the time you get to debugging
something, the snapshots will have moved too much.
|
| |
|
|
|
|
|
|
| |
they're present along the packages we want to add/update)
probably not perfect yet, but 100% a no-op if it's not used, so won't
break existing usage.
|
|
|
|
|
|
| |
equal, alphabetically otherwise)
prompted by claudio@, okay claudio@ kmos@
|
|
|
|
|
|
|
| |
existing @bin @lib
and new @static-lib @so
as discussed with p2k19 people
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
instead of ditching stderr entirely, keep it in a temp file, and if the
child exits with an error, we got something to display.
(note that returning and undef'd plist is enough of an error, just we
had no clue what went wrong previously)
aja@ ran into this a few weeks ago.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
fix it so commands are run when several fontdirs are involved
also streamline the alias code a little bit, and have it report actual
issues in opening files
|