Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
- fix long time bug: call extract_plist even if not doing installation for
real, since extract_plist knows how to handle that.
|
|
We don't use these, and they are a bad idea anyway.
|
|
(current fix for flavors not being found as proper dependencies).
|
|
|
|
*always* tell them MD5Sum fails, because later, pkg_delete will
complain about a bad package anyway, and the poor user won't be
able to figure out what went wrong, and it's obviously too late
since the package is gone already...
|
|
@comment no checksum
is inserted in a packing-list, then the next file will not have
its MD5 checksum stored, and pkg_delete won't complain later if
the file checksum changed.
|
|
|
|
try to find the last dash followed by a digit in word.
If not applicable, then still use the last dash.
e.g., kterm-6.2.0-xaw3d -> kterm- as a stem, not kterm-6.2.0
|
|
|
|
|
|
Improve pkg list display slightly, insert space between pkg name and info
always (requested by aaron@).
|
|
Reviewed by aaron@... ;-)
|
|
PLIST_CWD != PLIST_SRC hack works with dependencies present.
Noticed and tested by Camiel.
|
|
|
|
description.
|
|
the PLIST_CWD in creating the tar pipe.
This takes care of pkg_create -p PREFIX -s FAKE
where PREFIX does not exist at pkg creation time.
|
|
This avoids erasing /var/db/info while keeping the package and issuing
hundreds of warnings...
|
|
it needs a file name instead of assuming we always need one).
Sent to *quite a few* people, comments by drahn@... guys, wake up !!!
|
|
cleanup along the way.
|
|
appropriate mdoc macros to handle these cases.
|
|
|
|
|
|
|
|
|
|
|
|
Spotted by Ian Darwin.
|
|
|
|
|
|
|
|
- ensure package files end in .tgz if not suffixed, but allow for .tar.gz and
uncompressed .tar as well.
- make pkg_add take as many args as you can feed it. - "pkg_add *.tgz"
works now.
- fix bug where realpath could fail and leave NULL in arg list.
- fix bug where nonexistent package could fail and leave NULL in arg list.
|
|
|
|
|
|
FD_CLOEXEC is much more appropriate here.
|
|
|
|
|
|
|
|
* signatures no longer deal with zcat. Instead, we sign the gzip file
itself (stripped of the signature part of the header, of course). Thanks
Angelos. Niels seems to think passing the header itself to sign is not
a problem, even though no-one cares about checking it ?
* gzip header handling revamped: can write to memory. Will eliminate some
pipes later on. Can stack signatures.
* taken out specific signature schemes (e.g., pgp and sha1). Code is now
signature scheme independent, mostly, and writes with client data from
memory, e.g., check.c can invoke several checks in parallel without needing
to fork.
* need the full set of popen-like functionalities (keep track of opened
file descriptors to avoid passing them down to children)
* remove simple_check.c, functionality absorbed elsewhere.
To do:
* re-check message output and what to do with unsigned/unchecked/verified
packages,
* check pkg_add implementation and remove extra-pipe in asynchronous
checking,
* control over what to do when several signatures are stacked... Simple
way would be to disable that for now (possibility for release)
* get the code through a linter again.
|
|
file.
|
|
|
|
Requires pgp for now, though the general scheme is generic.
|
|
- disable FreeBSD-specific packages organization per category
|
|
Removes an annoying limit on PLIST lengths.
|
|
|
|
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
|
|
|