summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
AgeCommit message (Collapse)Author
2006-07-20Bump PKGTOOLS_VERSION for today's fix to add/perform.c.gson
2006-07-20Fix uninitialized variable which was causing pkg_add -u to randomlygson
dump core. This may fix PR pkg/30292.
2006-07-10In header files, there shall be no variable definitions, onlyrillig
declarations. Found by MIPSpro.
2006-07-01Fix pkg_info -Q for binary packages, noted by rillig.dillo
Bump version to 20060701.
2006-06-27Update usage() to match the manpage - most important, add missing optionshubertf
2006-05-11sprinkle a little (char *) to quell GCC4.mrg
2006-05-11sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.mrg
2006-04-25HOMEPAGE is not required, noted by wiz.dillo
2006-04-24Sort.wiz
2006-04-24Add support for creating summary file containing all informationdillo
about a package repository needed by package managing software. This allows better use of remote binary package repositories. Discussed on tech-pkg.
2006-04-18Bump for today's timeout change in ftpio.chubertf
2006-04-18unpackURL():hubertf
Make timeout mechanism's granularity always per-file (inside package) instead of per-package (if not -v) or per-file (inside package, if -v).
2006-04-11Bump ftp timeout from 10 minutes to 1 hour.hubertf
When installing teTeX over a dog slow VPN, this can be necessary.
2006-04-08Formatting nits.wiz
2006-04-06pkg_add also now check for USE_ABI_DEPENDS.reed
Check if USE_ABI_DEPENDS or IGNORE_RECOMMENDED was set when this package was built. IGNORE_RECOMMENDED is now historical. Remove on space in warning (and add "ABI") so will fit on standard 80 column console.
2006-04-05http_expand_URL(): fclose() the fdopen()'ed filedescriptorhubertf
before leaving the function (for all cases). Actual fix and sanity checking by Dillo & Wiz Coverity CID 2340
2006-04-05When recognizing a broken package version/name,hubertf
make sure to error out really, don't just print a warning and the run into further problems. Coverity CID 2739.
2006-04-04Bump date, so that version in src and pkgsrc have the samewiz
version _and_ the same code.
2006-03-26PR/33123: Murray Armfield: standards compliance & glob.hchristos
Certain fields in glob.h need to be size_t; fix this and version glob(3). http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
2006-03-17Put check if "best" is empty back into the right place, messed uphubertf
in previous commit. Noted by yamt@
2006-03-17Fix -uu handling so recursive updates of already installed packages work,erh
even if the initial package to install isn't installed yet. Bump the version to 20060313.
2006-03-17Add sanity check if there's a @cwd in the +CONTENT file.hubertf
If not abort, because we wouldn't know where to put the files. Coverity CID 1358
2006-03-17pkg_do(): only use cp2 if it's really set to something usefulhubertf
Coverity CID 1176
2006-03-17findbestmatchingname_fn(): catch possible problems if best (vp)hubertf
contains some strange name (shouldn't happen, but ...) Coverity CID 869
2006-03-17findbestmatchingname_fn(): only do something sensible if the pointerhubertf
handed in is actually usable (not NULL) Fixes Coverity ID 870
2006-03-17We can't sprintf() into a NULL pointer - catch that properlyhubertf
for ALL cases. Coverity CID 861
2006-03-17Fix filedescriptor leakhubertf
Coverity CID 1625
2006-03-06Fix the "Cannot chdir" error message to actually show thereed
problem directory name for lsbest and lsall. For example: # pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0' pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory Should show: pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory
2006-01-25Add conditional code to ignore the non-numeric part of an OS versionjoerg
for the sake of compatibility tests in pkg_add. E.g. DragonFly versions like 1.4.0-RELEASE are reduced to 1.4.0 This code is disabled by default on NetBSD.
2006-01-08Use MaxPathSize instead of PATH_MAX (like everywhere else here).wiz
2006-01-04sync with pkgsrc version.christos
2005-12-08(pkg_do) When marking already installed package as manually installed,dillo
only print message if we succeeded. Noted by wiz.
2005-12-06Specify the full path to tar when unpacking a package.ben
Modify pfcexec so the new process file name can be different from argv[0]. This fix is from Peter Postma, and it addresses PR#32228
2005-12-03Only warn about running as non-root when -v is givenhubertf
(or when running in non-unprivilegedmode, but how to detect?)
2005-11-28Correct PAX_CMD to be pax.ben
2005-11-23Conditionally include header files, and include nbcompat.hben
Addresses PR#32149
2005-11-23Remove unused variable "argc" in function apply_perms().tron
2005-11-23Reduce the use of the system() function in pkg_install to avoid quotingben
problems. Instead, use exec*() functions. Replace PUSHOUT() macro and string buffers with a function that operates on data structures. If it is necessary to copy files into place from staging area, then use pax to copy them. Add functions in pexec.c to create a pipe for sending data to a child process. Replace pipe code in create/perform.c with these functions. Use these functions instead of command-line arguments when copying files into place from staging area. Three system() references remain: @exec, @unexec, and vsystem().
2005-11-14Bump version for ``pkg_info -Q against local binary packages'' fix.dillo
2005-11-14Fix first part of PR 32068: pkg_info -Q broken for local binary packagesdillo
Add BUILD_INFO_FNAME to the files to extract for SHOW_BI_VAR.
2005-11-13Get rid of cvs merge botch in previous.agc
2005-11-13The Dewey number comparison routines were added by myself in 2002 inagc
revision 1.32 of pkg_install/lib/str.c, and have absolutely nothing to do with the original FreeBSD utilities. Place the appropriate (3 clause) copyright on this file.
2005-11-13Handle -1 return value from dewey_match.wiz
2005-11-13Do not use errx in dewey_match, return -1 instead.wiz
2005-11-08Remove some unnecessary header includes.wiz
2005-11-07Bump version for pkg_info -B fix.dillo
2005-11-07Don't add INSTALLED_INFO to the list of files to extract from binarydillo
packages, it will never be there. Fixes pkg_info -B against binary packages broken when INSTALLED_INFO support was added.
2005-11-07Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@wiz
on tech-pkg.
2005-11-07Sync with pkgsrc: wrap some headers in #ifs.wiz
2005-11-06Use config.h and add appropriate #if HAVE_FOO_H.wiz