summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2014-10-13scaffolding for future new features, committed early, so that pkg_signMarc Espie
will grok it when it happens
2014-10-11allow signing to proceed when interruptedMarc Espie
2014-09-21final bulk shows chunking to happen in all the right places, and signingMarc Espie
works correctly as well. So activate this. This basically makes package snapshots rsync-friendly with a low-tech approach. Instead of having a patched gzip, we borrow from other archive formats, and cut the archive every few files. Since the files are already sorted in order of date of modification, packages that don't change tend to end with identical gzip archives. Note that this will still work when/if we transition to bzip2/xz packages...
2014-09-20gzip timestamps are not needed there. In fact, they produce gratuitousMarc Espie
differences
2014-09-20need meta stuff that tells me those are "real files" to not create extraMarc Espie
chunks at the beginning of the package... Also, be very verbose about everything.
2014-09-19.py files no longer need to be special, as the timestamps are stored inMarc Espie
the plist itself, so there's no longer any worry of the timestamp not getting updated and python throwing a fit.
2014-09-16fix display of comments to use "say" properly.Marc Espie
Prepare scaffolding to be able to chunk archives
2014-09-16if a @ts annotation is detected, wipe tarball timestamp. Archives willMarc Espie
look as if all files were born in 1970. The useful side-effect is that meta-data for content-identical files WILL be identical as well.
2014-09-16store explicit timestamps in generated plists.Marc Espie
this prevents updates from fucking up mtime of new file, thus the "python exception" no longer prevents python files from being reordered. Note that this requires newish scaffolding in pkg_add proper. That scaffolding was committed prior to 5.6, in preparation for this change.
2014-09-11fix the only .Xr ordering and punctuation issue i could findIngo Schwarze
with the new MANDOCERR_XR_* warnings in the whole tree
2014-09-09register @newuser/@newgroup so that we try creating tarballs with the correctMarc Espie
users (which doesn't really matter all that much, as the owner/group in the plist are what matters) Otherwise, if we're not root, dismiss user id and groups, replace with root/bin (significant fix from previous version: this interprets $( correctly). Should help with FAKE_AS_ROOT=No
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-09-01@newuser and @newgroup won't necessarily be on the machine during pkg_create,Marc Espie
so fake uid/gid 0 if they're not. (removes some warning message)
2014-09-01be a wee bit more paranoid about file sizes.Marc Espie
2014-08-27Rename Persistant to Persistent.Kent R. Spillner
sure espie@
2014-08-26Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is notJoel Sing
a system/superuser binary. At the same time, move the source code from its current lib/libssl/src/apps location to a more appropriate home under usr.bin/openssl. ok deraadt@ miod@
2014-08-10zap trailing whitespaceJasper Lievisse Adriaanse
2014-08-10comment what's going onMarc Espie
2014-08-10Ouch... fuck cvsMarc Espie
2014-08-10if pkg_create is run as non-root, restory correct group/owner to root/bin.Marc Espie
also, remove write permissions without explicit modes. Allows fake installs to keep directories/files writable while producing correct package.
2014-07-30prepare for post 5.6 packages, recognize special case where timestamp exist.Marc Espie
(specifically, this is a nop for 5.6, but it will allow changes to packages without needing anything in pkg_add)
2014-07-27make sure makewhatis shows error messages without unsightly CODE() refsMarc Espie
2014-07-27- log libraries in a proper wayMarc Espie
- mark wanted libraries, then run the db check. Gives you a way to figure out when locate db are behind wrt pkgs
2014-07-27ensure log stuff happens, even without contextMarc Espie
2014-07-23document format changes, including the new @ts annotation that pkg_createMarc Espie
will generate after 5.6.
2014-07-23move misleading commentMarc Espie
2014-07-19actually use the cve match_location correctly.Marc Espie
problem noticed by aja@
2014-07-18fix sorted outputMarc Espie
2014-07-14unhardcode db paths.Marc Espie
put pruning of paths back early: these happen to be in the source db for the most part, so if we auto-detect source first, we lose.
2014-07-13bye bye src url. Never amounted to much, we went another road a while agoMarc Espie
2014-07-13bundling base + packages was slow, as it needed to find lots of files.Marc Espie
different approach: mark the base system in one go, then hand pick the files from the pkglocatedb. quite a few unaccounted files yet, this will get better
2014-07-13tedu setlist support, superseded by the new locate dbs.Marc Espie
2014-07-13stuff no longer needed, now that base/x release install its own locate dbsMarc Espie
2014-07-12don't check_security on newer *after* making sure the set doesn't haveMarc Espie
errors. Note that the errors are already signaling enough (conflicts, bad package etc)... And not having any errors mean we actually have proper plists. problem noticed by zhuk@
2014-07-12zap trailing whitespace;Jason McIntyre
2014-07-12oh well, remove -Q entirely... I'm probably the only one who ever used that.Marc Espie
2014-07-12security check in quirksMarc Espie
2014-07-12undocument -QMarc Espie
2014-07-12finish killing old experiment, less confusing codeMarc Espie
2014-07-12@endfake died a while agoMarc Espie
2014-07-12so, pkg_check can now troll thru the whole file system. Either useMarc Espie
a full pkglocatedb, or the system locate dbs...
2014-07-11use the merged 4.4BSD.dist mtree if BSD.local is goneMarc Espie
2014-07-11display the extraction tally only if verboseMarc Espie
2014-07-11with out-of-order extraction, match tempnames to item namesMarc Espie
2014-07-10make quirks slightly more special, grab the whole packing-list always,Marc Espie
and display the timestamp from the signature if we were signed.
2014-07-10prevent users from adding timestamp themselvesMarc Espie
2014-07-10add a separate timestamp annotation to have this as metadataMarc Espie
2014-07-08don't really bother cleaning up the callback, it will go away soon enoughMarc Espie
2014-07-08in case we say("Some parameter #1 blabla there") but weMarc Espie
forget the parameter, display a decent error message instead of the usual warning...
2014-07-08Prettify the list of "required by" package names by sorting it.Vadim Zhukov
okay espie@