Age | Commit message (Collapse) | Author |
|
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...
|
|
|
|
|
|
(This could have been done by using pax -n, but since pkg_* is so badly
written, it's harder to hunt down all the code using tar and fix it to
use the right options.
If this code were written properly, there would be one clean entry point
to processing archives, and it would be trivial to switch archivers...)
|
|
|
|
- use the new form of chown, with user:group instead of user.group.
|
|
|
|
|
|
|
|
|
|
|
|
Pending a check and a rewriting, as the documentation is misleading.
It seems to imply it looks thru installed packages first, whereas
code tells pkg_info looks thru package files first.
|
|
now tries to complete the package name with a version number while
scanning the installed list of packages.
Not foolproof. The pkg_* tools are atrocious anyway.
|
|
|
|
|
|
|
|
- warn when COMMENT > 60 characters.
*** In one month we turn this into an error -> fix packages files ***
|
|
- use snprintf in place of sprintf
- code cleanup
- Package -> package_t, PackingList -> plist_t
Also: remove files that haven't been linked in a while
Pass -q to mtree so it is quiet in the presence of symlinks
|