| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Patch provided in PR 14072 by Stoned Elipot <seb@script.jussieu.fr>
|
|
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
|
|
|
|
Patch by Hubert Feyrer.
Addresses pkg/13536.
|
|
|
|
|
|
completeness, as @cwd will be used almost everywhere, and @cd is
deprecated).
|
|
for the @src and @cwd PLIST directives.
Bump version number.
|
|
pkgdb.byfile.db database. If -U is specified on command line to
pkg_create, don't add the PLIST entry to pkgdb.byfile.db.
Bump version number.
|
|
given filename.
* Use strip_txz() inside the FTP-wildcard-depends handling code to
prevent it handing a combination of glob and dewey pattern to pmatch(),
which our pattern matching code currently does not handle. Bugfix!
XXX The other places that could be changed to use strip_txz() are not
touched in this commit to keep the impact of this change small in the
light of the approaching 1.5.1 release. I'll revisit them.
|
|
This prevents some warnings from being printed over and over again
after one error was found.
|
|
if we suspend/change window size.
|
|
As seen on tech-userlevel.
|
|
When invoked with 'pkg_add -u ...', and the package to be installed is
found already being installed, the old (installed) package is removed
with pkg_delete, and the new one is installed.
A very crude handling of dependencies is done (by moving the +REQUIRED_BY
file aside before pkg_delete, and back into place after the new pkg is
installed).
This needs a lot more work to TRT, but it's a first start.
|
|
|
|
|
|
|
|
|
|
Bump version to 20010306.
|
|
Document it. While there, fix the ordering of the option descriptions in
some man pages. Set version to 20010305.
|
|
|
|
end in 'z' or 'Z'.
|
|
|
|
When the bzip-pkg handling was introduced, a dewey pattern (foo>1) may get
a character-class-pattern attached (.t[bg]z), and the code was not prepared
to match that. I've special-cased handling of character-class pkg suffixes
for ".t[bg]z", and when scanning a dir in findmatchingname() now both the
'first' part of the pattern (e.g. "foo>1") and the suffix (e.g. ".t[bg]z")
must match the file, hence the two pmatch() calls.
* findbestmatchingname_fn():
Caught a case where ".t[bg]z" was not properly handled. Must do the same
suffix-processing again here!
Fixes PR 11856 by Dan McMahill <mcmahill@mit.edu>
|
|
|
|
pkg_info
* In pkg_create, compress with bzip2 if a .tbz suffix is given
* Fix pkg_info to work via ftp, either via URL specified on command line
or via one made up from PKG_PATH (if set)
XXX ALWAYS tacks on ".t[bg]z", NOT ".t[gb]z" !!!
|
|
The FTP coprocess formerly wrote the output of the "get | tar vxf -" pipe
to stderr, which resulted in no output to the feedback pipe (stdout), and
thus the timeout was not updated for any line printed by the "tar" process.
This was now changed to also feed back the chars to the expect() routine,
updating the timeout handler. The "also" part is implemented by passing
the output through "tee /dev/stderr".
At least NetBSD and Solaris have this, so no problem there.
Thanks to Frank van der Linden for helping me to debug this.
|
|
If it's there, use it. If it's not there - bad luck.
Pointed out by Simon Burge <simonb@wasabisystems.com>.
|
|
Patch submitted in PR 11352 by Brook Milligan <brook@biology.nmsu.edu>
|
|
|
|
|
|
pkg_info from spewing.
|
|
|
|
|
|
Found during a post-install of a fresh machine:
1. setenv PKG_PATH ftp://smaug.fh-regensburg.de/pub/NetBSD/arch/i386ELF/All
2. pkg_add tcsh ssh XF86Config
3. Run XF86Config
4. pkg_add kde
5. Be done.
We should do this from /etc/rc.local on first boot... :-)
|
|
If they used some other string, pkg_add would hang forever.
The result of testing things only against one FTP server...
|
|
'get pkg.tgz "| cd /var/tmp/inst ; gunzip | tar -x -f -"'), handle
two cases better:
1. Timing out ftp connections: Make sure the hanging pipeline gets a ^C
(SIGINT), and wait until the ftp prompt is available again. Else we
may nuke away tar's working dir, and it may be displeased.
2. One of the commands from the pipeline exiting: caught via SIGCHLD;
for this signal to be delivered, a empty handler is needed)
Adresses PR 10925 by Greg A. Woods <woods@planix.com>
|
|
stderr, thus making them visible. (tar's stdout goes somewhere else)
|
|
* Comment a workaround for a certain lukem ftp behaviour
* Fix a bug where a invalid initial dir was not caught early enough
|
|
|
|
|
|
|
|
* Document some return code
|
|
|
|
|
|
a bit, to make them more descriptive
* in findbestmatchingname_fn, fix a bug where a null pointer wasn't
caught (I wonder why we didn't actually hit that case...)
* Bugfix in findbestmatchingname_fn: when comparing, strip off any
trailing ".tgz", as this will give wrong results. "1.9.8.tgz" was
found to be greater than "1.9.8.1".
|
|
put pkg_add on a install floppy)
|