summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/4.1.0_cvscvs2svn2000-07-266-6/+6
| | | | | | | 'RELENG_4_1_0_RELEASE'. This commit was manufactured to restore the state of the 4.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* MFC: Use libfetchDag-Erling Smørgrav2000-07-161-2/+2
| | | | Notes: svn path=/stable/4/; revision=63244
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-4/+8
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57673
* Add cross references to pkg_version(1) in all the other pkg_* man pages.John Baldwin2000-02-291-0/+1
| | | | | | | | | | | Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally, in pkg_version(1), don't put a period at the end of the list of see also man pages. Noticed by: Matt Ayres <matta@fast.net> Notes: svn path=/head/; revision=57628
* pkg_create doesn't use more(1) for displaying +DISPLAY files, itKris Kennaway2000-02-271-2/+1
| | | | | | | just cats it to stdout. Notes: svn path=/head/; revision=57528
* Grammar fix: ``Different than'' should be ``different from''.Chris Costello2000-01-291-1/+1
| | | | Notes: svn path=/head/; revision=56885
* Document the fact that pkg_add/delete passes INSTALL/DEINSTALLMasafumi Max NAKANE1999-09-111-0/+5
| | | | | | | respectively to rscript. Notes: svn path=/head/; revision=51142
* Use the appropriate macro for double quotes rather than using doubleJordan K. Hubbard1999-09-011-9/+24
| | | | | | | | | | quotes. Submitted by: Alexey Zelkin <phantom@cris.net> PR: 13436 Notes: svn path=/head/; revision=50741
* $Id$ -> $FreeBSD$Peter Wemm1999-08-286-6/+6
| | | | Notes: svn path=/head/; revision=50479
* Various man page cleanup:Mike Pritchard1999-08-151-2/+2
| | | | | | | | | | | | | - Sort xrefs. - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net> Notes: svn path=/head/; revision=49824
* -Wall fixes. Ambigious if/elses, uninitialized values, missing headers,Bill Fumerola1999-08-111-3/+4
| | | | | | | missing prototypes, and empty format strings. Notes: svn path=/head/; revision=49637
* '?' shouldn't be in the usage string. Unknown characters are alreadyWarner Losh1999-06-241-2/+2
| | | | | | | converted to '?'. Notes: svn path=/head/; revision=48170
* If we are going to have a case for '?' then we should define it in Options.Bill Fumerola1999-06-231-2/+2
| | | | | | | Submitted by: Ben Olson <bseth@chc-chimes.com> Notes: svn path=/head/; revision=48143
* Make it possible to have separate install scripts as well as haveJordan K. Hubbard1998-12-164-14/+82
| | | | | | | | | an on-delete script. Submitted by: Rajesh Vaidheeswarran <rv@fore.com> Notes: svn path=/head/; revision=41866
* Fix support for uncompressed (".tar") package types. It's not completelySatoshi Asami1998-12-051-5/+21
| | | | | | | | fixed (chained dependency checking for pkg_add is broken, for one thing) but at least you can now create one package and use it. Notes: svn path=/head/; revision=41530
* correct usage of cleanup() everywhere - this became bogus when the warnx/errxJordan K. Hubbard1998-09-112-34/+58
| | | | | | | | stuff was added and nobody seems to have noticed. :) Noticed by: Josh MacDonald <jmacd@paris.CS.Berkeley.EDU> Notes: svn path=/head/; revision=39068
* o Set paths internally for pkg_add for tools we might want to invoke.Jordan K. Hubbard1998-09-081-2/+1
| | | | | | | | | | | o Fix bogus suffix handling. o Tell user when an FTP url is being xferred rather than being silent. This sort of violates "the unix way" but it stops people from whacking ^C when they think it's hung, too. Sometimes visual indication of success is important. Doesn't spit out anything if not on a TTY. Notes: svn path=/head/; revision=38942
* Fix bogus suffix stripping to be less naive.Jordan K. Hubbard1998-09-081-9/+7
| | | | | | | | PR: 3418 Noted by: pst Notes: svn path=/head/; revision=38933
* Don't exit() from cleanup() if we got there via a non-signal sinceJordan K. Hubbard1998-07-281-2/+3
| | | | | | | | | we're only going to exit (after printing a more detailed error message) afterwards anyway. PR: 7020 Notes: svn path=/head/; revision=37914
* Document environment variables used by pkg_{add,create,info}. TheseJoseph Koshy1998-06-261-1/+35
| | | | | | | | | | include PKG_TMPDIR, TMPDIR, PKG_DBDIR. Add a FILES section to these manual pages. PR: docs/7064 Notes: svn path=/head/; revision=37166
* Loosely document the '-s' commandline option.Steve Price1998-05-241-1/+7
| | | | | | | PR: 6713 Notes: svn path=/head/; revision=36322
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-9/+8
| | | | Notes: svn path=/head/; revision=34809
* Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internalBruce Evans1998-03-071-10/+4
| | | | | | | | libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries. Notes: svn path=/head/; revision=34149
* Eliminate the idea of nested "playpens" entirely - it just obfuscatedJordan K. Hubbard1998-02-161-3/+8
| | | | | | | the code and, in at least one case, made it more dangerous to no gain. Notes: svn path=/head/; revision=33427
* MF22: Revert part of -p handling.Jordan K. Hubbard1997-11-141-1/+4
| | | | Notes: svn path=/head/; revision=31166
* The prefix override code was bogus. The original idea was soundJordan K. Hubbard1997-11-131-6/+1
| | | | | | | | | | | enough, but we're not using the pkg_create tool that way anymore in the ports collection. PR: 4894 Submitted by: Adrian Colley <aecolley@ois.ie> Notes: svn path=/head/; revision=31152
* Don't return from cleanup() - if it's removed the playpen then veryJordan K. Hubbard1997-10-131-2/+3
| | | | | | | | bad things will happen if we return to unsuspecting code. Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org> Notes: svn path=/head/; revision=30387
* Use err(3). Cosmetics in usage string and man page.Philippe Charnier1997-10-085-91/+66
| | | | Notes: svn path=/head/; revision=30221
* Document pkg_add's dependency auto-install. While I'm here, fixTim Vanderhoek1997-09-271-7/+7
| | | | | | | | | | | | a couple typos, and consistent double-spacing after sentences. This is actually a spinoff from the "ports-current discontinued" blow-up some time ago. Ack'd by: jkh Notes: svn path=/head/; revision=29889
* Add proper md5 comments to ports-installed packages also byJordan K. Hubbard1997-07-041-1/+2
| | | | | | | | masticating it through the same routine used by pkg_create. Submitted by: se Notes: svn path=/head/; revision=27192
* Change the naming conventions for preserve'd files and also documentJordan K. Hubbard1997-07-011-1/+13
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=27137
* Fix multiple documentation bogons.Jordan K. Hubbard1997-06-191-2/+2
| | | | | | | | PR: 3798 Submitted by: Jan Kuriyama <kuriyama@opt.phys.waseda.ac.jp> Notes: svn path=/head/; revision=26745
* Add support for srcdir overrides.Jordan K. Hubbard1997-06-063-6/+20
| | | | Notes: svn path=/head/; revision=26473
* Minor typo.Masafumi Max NAKANE1997-05-021-2/+2
| | | | | | | | PR: 3473 Submitted by: Josh Gilliam <soil@quick.net> Notes: svn path=/head/; revision=25394
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-225-5/+5
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Add MD5 checksums to packing list for all files during pkg_create and useJordan K. Hubbard1996-07-303-18/+15
| | | | | | | | | | | | 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
* Bring in my changes for removing the pestilent obj links (unless youJordan K. Hubbard1996-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. Notes: svn path=/head/; revision=16663
* Make pkg_install understand and use libftpio instead of its ownJordan K. Hubbard1996-06-202-2/+5
| | | | | | | | 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
* Correct some man page xrefs, and some other minor changes to bring someMike Pritchard1996-04-081-2/+2
| | | | | | | | | 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. Notes: svn path=/head/; revision=15135
* Close a file descriptor that I had (harmlessly) left open in a childJohn Polstra1996-03-201-1/+2
| | | | | | | process. Notes: svn path=/head/; revision=14728
* Another round of man page cleanups.Mike Pritchard1996-02-121-6/+6
| | | | | | | Down to only about 100 items left to cleanup! :-) Notes: svn path=/head/; revision=14045
* Fixed pkg_create to eliminate the limits on the size of the PLIST.John Polstra1996-02-061-31/+41
| | | | | | | | | | Formerly, there were limits on both the number of files (hard-coded into the program) and the number of characters (because of the ARG_MAX limit in exec(2)). In this new version, the filenames are passed to tar through a pipe, using tar's "-T" option, rather than on the command line. Notes: svn path=/head/; revision=13946
* Bring forward my changes from 2.1Jordan K. Hubbard1995-10-253-8/+10
| | | | Notes: svn path=/head/; revision=11780
* Remove useless -lftp arguments from Makefiles.Jordan K. Hubbard1995-08-041-3/+0
| | | | | | | Suggested by: ache Notes: svn path=/head/; revision=9894
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-5/+5
| | | | Notes: svn path=/head/; revision=8857
* Bump the number of allowable args by a factor of 4. I just scannedJordan K. Hubbard1995-05-101-2/+2
| | | | | | | | all possible packing lists and found that at least one of them is pretty large! Notes: svn path=/head/; revision=8422
* Re-work make_dist() routine to build the tar command more reasonably.Jordan K. Hubbard1995-05-101-54/+58
| | | | | | | This should eliminate the problem with truncated packages. Notes: svn path=/head/; revision=8419
* Add a great deal more error checking to various things.Jordan K. Hubbard1995-04-262-22/+44
| | | | Notes: svn path=/head/; revision=8084