aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/lib/lib.h
Commit message (Collapse)AuthorAgeFilesLines
* Make it possible to have separate install scripts as well as haveJordan K. Hubbard1998-12-161-1/+3
| | | | | | | | | an on-delete script. Submitted by: Rajesh Vaidheeswarran <rv@fore.com> Notes: svn path=/head/; revision=41866
* Eliminate the idea of nested "playpens" entirely - it just obfuscatedJordan K. Hubbard1998-02-161-2/+2
| | | | | | | the code and, in at least one case, made it more dangerous to no gain. Notes: svn path=/head/; revision=33427
* Use err(3). Cosmetics in usage string and man page.Philippe Charnier1997-10-081-2/+1
| | | | Notes: svn path=/head/; revision=30221
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Add MD5 checksums to packing list for all files during pkg_create and useJordan K. Hubbard1996-07-301-12/+13
| | | | | | | | | | | | later at pkg_delete time to verify that you're deleting what you added. This, of course, does NOT cover the case where a file you still need hasn't changed! That's a tougher problem to solve, and this provides only the minimal amount of safety belt. MD5 checksums are stored in comment fields, so packages produced with these tools are backwards compatible with the older ones. Notes: svn path=/head/; revision=17338
* Make pkg_install understand and use libftpio instead of its ownJordan K. Hubbard1996-06-201-1/+4
| | | | | | | | copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile. Notes: svn path=/head/; revision=16549
* Change min_free to return free space as an off_t instead of a size_t.Alexander Langer1996-06-081-2/+2
| | | | Notes: svn path=/head/; revision=16179
* Bring forward my changes from 2.1Jordan K. Hubbard1995-10-251-4/+5
| | | | Notes: svn path=/head/; revision=11780
* Use size_t properly in all fs size ops. This kills a bugJordan K. Hubbard1995-08-261-2/+2
| | | | | | | | | encountered by someone who had his /tmp on a partition with 3.7GB of free space! Spotted by: Francisco Rosich Viana <rosich@power.ci.uv.es> Notes: svn path=/head/; revision=10309
* You can run pkg_info everywhere expect /var/db/pkg directory :-)Andrey A. Chernov1995-07-301-1/+2
| | | | | | | | | Running there you got any kind of strange errors from tar caused by treating directories as tar files! Fix it by adding new isfile(name) (check for reg. files) to simple fexists(name) calls. Notes: svn path=/head/; revision=9782
* Add code for dealing with URLs.Jordan K. Hubbard1995-04-261-2/+7
| | | | Notes: svn path=/head/; revision=8087
* Export the min_free() function.Jordan K. Hubbard1995-04-221-1/+3
| | | | Notes: svn path=/head/; revision=7999
* 1. Add an new @option directive. You'll understand it better in a moment.Jordan K. Hubbard1995-04-221-2/+4
| | | | | | | | | 2. Fix a long-standing bug in pkg_add where the failure of one package in a multipackage installation (pkg_add *.tgz) would blow you right out of the water. Ick. Notes: svn path=/head/; revision=7996
* Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is theJordan K. Hubbard1995-04-191-3/+5
| | | | | | | | default, and probably not something you'd ever change, but now it's possible to do so for local/custom installations. Notes: svn path=/head/; revision=7937
* Many of John T. Kohl's patches from NetBSD. Thanks, John!Jordan K. Hubbard1994-12-061-4/+8
| | | | | | | Submitted by: jkohl Notes: svn path=/head/; revision=4996
* Add a new basename_of() function.Jordan K. Hubbard1994-11-171-1/+2
| | | | Notes: svn path=/head/; revision=4546
* Add the ability to verify that a package won't extract in the spaceJordan K. Hubbard1994-10-041-2/+2
| | | | | | | available. Thanks to Michael Elbel for pushing me in the right direction. Notes: svn path=/head/; revision=3364
* Don't let pkg_delete remove the recorded location until everything hasJordan K. Hubbard1994-09-291-2/+2
| | | | | | | | | | absolutely, positively been successfully removed. Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=3198
* Add @srcdir option for customizing creation of packages.Jordan K. Hubbard1994-08-281-2/+2
| | | | | | | Submitted by: jkh Notes: svn path=/head/; revision=2331
* The environment variable PKG_PREFIX is set to the first @cwd commandSatoshi Asami1994-05-251-1/+3
| | | | | | | | | | in the packing list, or the argument to -p if it is specified, before the requirements/installation/deinstallation scripts are called. This enables the scripts to be written to work on the final installation destination, even if the user uses -p to override the package's default. Notes: svn path=/head/; revision=1550
* Add new find_plist() function.Jordan K. Hubbard1994-05-251-2/+2
| | | | Notes: svn path=/head/; revision=1547
* Make y_or_n() pay attention to AutoAnswer global.Jordan K. Hubbard1994-04-051-1/+5
| | | | Notes: svn path=/head/; revision=1338
* Added code for doing % sequence expansion, added new @unexec command.Jordan K. Hubbard1993-09-181-2/+4
| | | | Notes: svn path=/head/; revision=479
* Made staging area configurable rather than assuming /tmp (-t)Jordan K. Hubbard1993-09-051-1/+3
| | | | Notes: svn path=/head/; revision=383
* Lots of misc tweaks, support for arbitrary separators in pkg_info, moreJordan K. Hubbard1993-09-031-2/+4
| | | | | | | | intelligent name handling in pkg_create. Most of these files are changed because of rcsid's being different in my cvs tree and freefall's (foo). Notes: svn path=/head/; revision=379
* The release version of my package install suite. Please see man pagesJordan K. Hubbard1993-08-261-0/+143
for info. Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=327