summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add
Commit message (Collapse)AuthorAgeFilesLines
* Many places in the code NULL is used in integer context, wherephk1997-09-181-2/+2
| | | | | | | | | plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments. PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
* Typo.max1997-09-131-1/+1
|
* Change the naming conventions for preserve'd files and also documentjkh1997-07-011-22/+16
| | | | | | | | | the option in pkg_create. Now preserved files start with a . and are named .<filename>.<pkgname>.backup so that their purpose is more clear. Note that just using the preserve option without proper pkg_deps is also foolish since packages being deleted in the incorrect order with preserve on can generate some odd results.
* Whoops, only attempt to back up the file if it exists. :-}jkh1997-06-301-2/+2
|
* Add support for @option preserve - moves existing files out of the wayjkh1997-06-292-7/+46
| | | | | | before replacing them (using pkgname to make this hopefully unique). Delete also moves them back, if they exist, resulting in a package which can be "backed out" with reasonable safety.
* Fix multiple documentation bogons.jkh1997-06-191-1/+1
| | | | | PR: 3798 Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp>
* When no last file specified for % command user barf(error diagnostic)ache1997-05-241-1/+3
| | | | instead of segmentation fault
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-2/+2
| | | | posix standard on the topic.
* Close PR#2459jkh1997-02-251-16/+13
|
* Revert $FreeBSD$ to $Id$peter1997-02-225-5/+5
|
* Prevent potential argument buffer overflow.jkh1997-02-151-8/+7
|
* Fix a bogon with playpen size calculation for pkg of "-". It's amazingjkh1997-02-151-1/+3
| | | | this ever worked, actually.
* Put back @owner/@group/@mode behavior I took out way back when.jkh1997-02-141-1/+1
| | | | Submitted-By: pst
* Sort cross references.wosch1997-01-201-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-145-5/+5
| | | | | | | | 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.
* Correct a problem which broke +DISPLAY file handling.jkh1997-01-131-3/+4
|
* Fix PR#1557 - chained package dependencies using URLs didn't work.jkh1996-10-141-31/+32
|
* Clean up the english a little, having made the mistake of reading it.jkh1996-08-201-20/+21
|
* Make -force work for pkg_add.jkh1996-07-311-2/+2
|
* Add MD5 checksums to packing list for all files during pkg_create and usejkh1996-07-302-4/+3
| | | | | | | | | 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.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-3/+3
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Make pkg_install understand and use libftpio instead of its ownjkh1996-06-202-9/+7
| | | | | copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
* fix PR#599jkh1996-06-031-1/+4
| | | | Submitted-By: jdp
* Oh my, looks like I didn't understand .B as well as I thought I did! :-)jkh1996-06-011-3/+9
|
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-081-1/+1
| | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* Fix a couple of miscellaneous bugs and make pkg_add also support readingjkh1996-03-123-13/+23
| | | | from stdin.
* Another round of man page cleanups.mpp1996-02-121-9/+9
| | | | Down to only about 100 items left to cleanup! :-)
* Bring my pkg_install improvements forward from 2.1.jkh1995-11-122-40/+53
|
* Fix the `pkg_add relative to .' bug. Thank you, Ville!jkh1995-10-311-3/+5
| | | | Submitted by: Ville Eerola <ville@vlsi.fi>
* Bring forward my changes from 2.1jkh1995-10-253-190/+181
|
* Some fixes to make this "TMPDIR agile".jkh1995-08-171-6/+6
| | | | Submitted by: jmacd + some of my own fixes.
* Make "out of space in ${PKG_TMPDIR}" handling a bit more robust.jkh1995-08-061-6/+4
| | | | Print the right thing, do the right thing. Back to you, Satoshi!
* Document how to get pkg_add to use PASSIVE MODE ftp in such transfers.jkh1995-07-301-0/+12
|
* o Fix PR# bin/643 - always set "where_to" properly.jkh1995-07-302-5/+3
| | | | o Nuke dependence on libftp - it's about to die!
* The default for temporary directory is /var/tmp, not /tmp.asami1995-07-301-1/+1
|
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-9/+8
|
* Remove trailing whitespace.rgrimes1995-05-303-7/+7
|
* Only apply @mode directives to files.jkh1995-05-191-3/+3
| | | | | Don't use the -p flag to tar; it sets the files to the wrong permissions. Submitted by: jmz
* Document fetch-by-URL.jkh1995-05-101-1/+9
|
* Use mtree -U instead of -u and put back error check. Thanks Rod!jkh1995-04-281-5/+7
|
* Don't bother checking the return status of the mtree command - it returnsjkh1995-04-271-9/+4
| | | | non-zero stats when it changes things, too.
* Further work on making all this more robust in the face of failure.jkh1995-04-262-36/+70
| | | | | | | Also allow URL specification for a package. This works for things the package may depend on, too. Allow PKG_PATH to be used anywhere a package is being searched for.
* Check dependencies BEFORE doing final extraction of package.jkh1995-04-261-62/+76
| | | | | Fix a bug where direct-extract mode would have still invoked the packing list reordering commands.
* My handling of the missing dependency but !Verbose was wrong. Makejkh1995-04-261-2/+7
| | | | the right message come out.
* Second round:jkh1995-04-222-64/+150
| | | | | | | 1. Make paths work correctly. 2. Make pkg_add generally more robust in the face of failure. 3. Make the depend messages come out on stderr or stdout, but not both interspersed! :-)
* 1. Add an new @option directive. You'll understand it better in a moment.jkh1995-04-221-3/+7
| | | | | | 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.
* 1. Add proper dependencies to the library in my Makefiles. This was pointedjkh1995-04-221-1/+8
| | | | | | | out by Bruce. 2. Add a "feature" to pkg_create (OK, OK, it's a miserable hack!) to get it to dump its internal packing list out so that the `fake-pkg' rule in bsd.port.mk can generate a more meaningful packing list.
* Greatly simplify the calling of mtree - the error handling wasn't workingjkh1995-04-191-37/+4
| | | | | anyway, at least not with FreeBSD's mtree, and the arguments were being built incorrectly.
* Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is thejkh1995-04-192-8/+15
| | | | | default, and probably not something you'd ever change, but now it's possible to do so for local/custom installations.
* Neither of these tools really told you what you needed to know neatlyjkh1995-04-101-5/+11
| | | | | and succinctly in verbose mode. I hope people find this more to their liking.
OpenPOWER on IntegriCloud