tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
usr.sbin
/
pkg_add
/
OpenBSD
/
at
master
4 folders
71 files
Dependencies
under some circumstances, we end up with libexecinfo -> BaseSystem being recorded as a new dependency. Even though ForwardDependencies normally takes care of that, with tags, this is not enough.
4 years ago
LibSpec
zap old-style .>= specs
15 years ago
PackageRepository
final part of caching for always-update: the new annotation doesn't need any specific handling.
3 years ago
ProgressMeter
Catch the termcap exception if there's a problem looking the terminal up. It's just a progressmeter after all, there's no reason to error out instead of simply devolving to "no progress meter".
3 years ago
Add.pm
gc old stats code I no longer use
3 years ago
AddCreateDelete.pm
I'm such a doofus, of course I have to call base method as well
5 years ago
AddDelete.pm
GC old stats code, I already removed the collection part
3 years ago
ArcCheck.pm
expand on the mismatches between the tarball and the packing-list
3 years ago
BaseState.pm
"move" part of the OpenBSD::State code into its own (stateless) class so that it can be reused light-weight by portgen and the likes.
4 years ago
BaseState.pod
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
CollisionReport.pm
let collisionreport work better with FETCH_PACKAGES
6 years ago
Delete.pm
se more specific discrimination to know if extra data is still there after an update.
3 years ago
Dependencies.pm
name value to shorten code
6 years ago
Error.pm
GC old catchall add a better framework for signal handling (not used yet)
6 years ago
ForwardDependencies.pm
do the matching as a last resort to handle .libs fix the bug I introduced that bluhm@ et al noticed
4 years ago
FwUpdate.pm
Add mtw(4) to fw_update(8).
4 years ago
Getopt.pm
prevent dpb trace handler from getting in the way of normal usage error reports.
14 years ago
Getopt.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
Handle.pm
better abstraction: instead of storing a string we're going to parse for signature dates, just annotate the PackageLocation with the info, and decorate the PackingList itself when we finished reading it from the location
3 years ago
IdCache.pm
handle failures from ports tree with more care. this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
15 years ago
IdCache.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
InstalledInfo.pm
future replacement for PackageInfo.pm - 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.
6 years ago
Interactive.pm
spacing
8 years ago
Intro.pod
move a bit of code in a separate sub, fix indentation, add some comments that explain some of the more complicated stuff going on now
3 years ago
LibSpec.pm
we already have a comparison function for libobjects, so move it up to the best class, and sort bad libraries in dependency solving accordingly
8 years ago
Log.pm
ensure log stuff happens, even without context
11 years ago
Mtree.pm
remove $_ usage that warns under perl 5.18
12 years ago
Mtree.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
OldLibs.pm
"pretty print" verbose messages: more context, and indent them to make clearer those message are grouped together
4 years ago
PackageInfo.pm
simplify code based on afresh1@'s remark: indeed I always need to have a state once I'm past the initial locking
4 years ago
PackageLocation.pm
get rid of horribly complex optimization that's no longer relevant.
3 years ago
PackageLocator.pm
Refactor locator code so it's a proper object. 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.
9 years ago
PackageName.pm
forgot the case about find... oops fixes GraphicsMagick updates
4 years ago
PackageName.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
PackageRepository.pm
better abstraction: instead of storing a string we're going to parse for signature dates, just annotate the PackageLocation with the info, and decorate the PackingList itself when we finished reading it from the location
3 years ago
PackageRepositoryList.pm
allow search objects to say "keep_all" and make PackageRepositoryLists aware of that for match_locations
6 years ago
PackingElement.pm
allow "=" to be "hey only the default value" for pkgspec in dependencies to be used later once it's in snaps.
3 years ago
PackingElement.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
PackingList.pm
also zap signer if we zap digital-signature
3 years ago
PackingList.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
Paths.pm
add Paths to the quirks locate db and the locate binary proper
4 years ago
PkgAdd.pm
don't leave user guessing after latest "no need to update" show a "processing" message when we're actually grabbing data (often from the net). This should be really quick in most cases, but sometimes, it might take minutes (like for texlive), so that we know what's going on.
3 years ago
PkgCfl.pm
style
12 years ago
PkgCfl.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
PkgCheck.pm
if we pass exact pkg args, just check that their files are there instead of the full pkgtree, useful for debug
4 years ago
PkgCreate.pm
change naming convention for the lru "save history" cache, so that ports like "lang/chicken/core" do generate files like lang.chicken.core.lru instead of lang.chicken.core (which can create confusion in people's mind)
3 years ago
PkgDelete.pm
pkg_delete(1): print usage when args aren't supplied.
4 years ago
PkgInfo.pm
refactor opt('Q') into its own code 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.
6 years ago
PkgSign.pm
error out if we can't create the temp file
6 years ago
PkgSpec.pm
temporarily reallow "empty" flavor parts so that rsync-- works again (I really need to split that code off)
4 years ago
PkgSpec.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
ProgressMeter.pm
gc old stats code I no longer use
3 years ago
Replace.pm
remove old "paranoid" option, I'm pretty sure nobody uses it.
4 years ago
RequiredBy.pm
scaffolding that will display more info for the elusive REQUIRED_BY error
10 years ago
RequiredBy.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
Search.pm
document (hopefully) near future directions
4 years ago
Search.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
SharedItems.pm
somehow, I thought I was recording destdir there, but I'm not.
6 years ago
SharedLibs.pm
we already have a comparison function for libobjects, so move it up to the best class, and sort bad libraries in dependency solving accordingly
8 years ago
Signature.pm
final part of caching for always-update: the new annotation doesn't need any specific handling.
3 years ago
Signer.pm
kill creating old signatures.
9 years ago
State.pm
switch to using the common code in BaseState
4 years ago
State.pod
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
Subst.pm
add the strerror to the error message
6 years ago
Temp.pm
explain some details
6 years ago
Tracker.pm
start erroring out based on unfilled tracker entries (to be specified more later... right now it doesn't even warn if you have packages installed that are MORE recent than the mirror)
7 years ago
Update.pm
spelling fixes; from paul tagliamonte any parts of his diff not taken are noted on tech
3 years ago
UpdateSet.pm
track ::Sample and ::Extra across an UpdateSet so that we may eventually give out more accurate diagnostic (soon !)
4 years ago
Ustar.pm
EOF does not result in an error code, as spotted by stsp@
3 years ago
Ustar.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
Vstat.pm
add some extra logic to prevent moving files around when this is possible. Specifically, we created pkg.XXXX temp files for updates to work.
4 years ago
Vstat.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
md5.pm
revisit die messages: remove extra "\n", add $! if needed, don't use string concat as die takes a list like print.
6 years ago
md5.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago
style.pod
rename pkg_add's pod files to avoid filenames with colons
5 years ago