summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
...
* Add -i option for package installation without fetching andkrion2007-11-104-4/+16
| | | | | | | | installing its dependencies. PR: bin/117065 Submitted by: Vladimir Ermakov <samflanker@gmail.com> MFC after: 14 days
* Cleanup of userland __P usekevlo2007-11-079-45/+45
|
* Introduce pkg_updating(1) which scans for installed ports and showskrion2007-11-025-1/+385
| | | | | | | | | all ports/UPDATING entries that affect one of the installed ports, and are relevant on the given machine. PR: bin/117564 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
* Momoize the results of isinstalledpkg()krion2007-11-021-10/+56
| | | | | | PR: bin/116452 Submitted by: wollmann MFC after: 7 days
* If the INDEX file cannot be opened, print the actual filename / pathsimon2007-10-261-7/+8
| | | | | | | | pkg_version tried to open instead of just "INDEX" to make the actual problem more clear (e.g. missing INDEX-8). MFC after: 3 days Reviewed by: portmgr (pav)
* Add whitespace.krion2007-10-171-1/+1
|
* Update for INDEX-8 support.krion2007-10-171-1/+3
|
* To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.kensmith2007-10-111-1/+2
| | | | Approved by: re (implicit)
* Fix pkg_add behaviour to preserve pathnames.krion2007-08-231-1/+1
| | | | | | | PR: bin/93915 bin/109134 Submitted by: Jason Heiss <heissj@yahoo-inc.com>, Constantin Stefanov<cstef@mail.ru> Approved by: re@ (kensmith) MFC after: 7 days
* - Replace rather inefficient bubble sort with a recursive depth-first search.pav2007-06-181-66/+112
| | | | | | | | | | This speeds up registration of packages considerably. - style(9) police welcome! PR: bin/112630 Submitted by: Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu> Tested by: bento i386 experimental run MFC after: 14 days
* Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.njl2007-03-284-7/+7
|
* Invoke tar(1) with the -p option when installing a packageru2007-03-061-2/+2
| | | | | | | | | from an URL (i.e., do it the same way as when installing from a file). This fixes the lossage of the setuid bits. It wasn't a problem before because GNU tar(1) implied the -p option for root, but BSD tar(1) doesn't do that. Discussed with: tobez and some advanced users :)
* The use of predefined strings such as \*[Ge] can be harmful here,ru2007-03-041-3/+3
| | | | | as some fonts (e.g., KOI8-R) have special symbols for displaying them, and we want symbols ">=" literally here.
* Fix markup and clean up some of the wording.ru2007-03-041-23/+32
| | | | | | (This English was hard to translate as it uses a language that is far from a pure technical. It would definitely benefit from a revision.)
* Clarify the meaning information printed by the -o option.grog2007-03-031-4/+3
| | | | Clean up grammar, adding articles.
* Fix a bug in 1.40 - it missed three occurences in pkg_info which leads topav2007-02-071-5/+23
| | | | | | (null)/file output. MFC after: 1 week
* Fix previous rev.: don't step behind the end of memory we allocatepav2007-02-011-1/+1
|
* Remove hard-coded limit (200) on maximum number of packages that can beade2007-01-311-21/+13
| | | | | | | | | added with a single invocation of pkg_add, replacing it with something rather more dynamic. Approved by: portmgr (pav) Tested by: full pointyhat package run MFC after: 1 week
* Fix the logic bug that caused the custom versions of warn(3) andru2007-01-302-3/+3
| | | | | | warnx(3) to be compiled on systems that have it (e.g. FreeBSD), while the intention was opposite, i.e., compile them on systems that don't have them. Also fixes static linkage of pkg_sign(1).
* Markup fixes.ru2006-09-291-1/+1
|
* Fix usage().ru2006-09-291-6/+6
|
* Sync usage() with manpage's SYNOPSIS.ru2006-09-291-1/+1
|
* Oops. Catch up on the last couple of releases and prepare for the nextkensmith2006-09-261-0/+3
| | | | one.
* Fix "pkg_version -Io" coredump, if some packages have no origin atkrion2006-08-121-1/+1
| | | | | | | | all. PR: bin/101932 Submitted by: novel, sat MFC after: 5 days
* Cosmetic: fix indentation.des2006-08-111-2/+2
|
* Turn on libfetch debugging if -v was specified on the command line.des2006-07-081-0/+1
| | | | MFC after: 2 weeks
* Allow variable amounts of verbosity.obrien2006-06-127-7/+7
|
* Add INDEX-7 and remove trailing spaces.krion2006-04-171-3/+5
| | | | MFC after: 5 days
* Use bzip2(1) by default to compress package tarball onkrion2006-04-171-1/+6
| | | | | | | __FreeBSD_version >= 500039. Submitted by: Alex Lyashkov <umka@sevcity.net> MFC after: 5 days
* Reimplementation of world/kernel build options. For details, see:ru2006-03-172-2/+6
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Close descriptor in retrieve_x509_marker function.krion2006-03-152-10/+16
| | | | | PR: bin/71594 Submitted by: Dan Lukes <dan@obluda.cz>
* Add -F option to not fail on already installed packages.phk2006-03-094-5/+13
| | | | Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
* Fix pkg_version with the -o argument to print the origin.krion2006-02-121-4/+5
| | | | | Submitted by: Sebastian Stach <sebsta AT t-online DOT de> MFC after: 3 days
* Fix typo.krion2006-01-291-1/+1
|
* Add -K option to pkg_add and pkg_info.flz2006-01-0910-18/+71
| | | | | | | | | This option saves packages to PKGDIR (if defined or current directory by default) as they are downloaded. Silent a warning when -n is used and package has a +DISPLAY file. Approved by: krion MFC after: 1 week
* When using @cwd %%FOO%%, we must ensure to return in the originalkrion2006-01-076-9/+42
| | | | | | | | | | | | | | | prefix later, but doing so with @cwd %%OLDPREFIX%% (having PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing list. That's not really a problem when dealing with ports but that's a problem with packages since pkg_add -p option only overrides the first @cwd occurrence. This patch allow us to use @cwd without any argument. If no directory argument is given, it will set current working directory to the first prefix given by the @cwd command. PR: bin/77212 Submitted by: flz
* Document PKG_PATH enviroment variable.krion2005-11-231-1/+4
| | | | | Prodded by: Mark Andrews <Mark_Andrews AT isc DOT org> MFC after: 2 days
* -mdoc sweep.ru2005-11-182-5/+7
|
* Add -P flag, it does the same as the -p option, except that thekrion2005-11-124-11/+52
| | | | | | | | | | | given prefix is also used recursively for the dependency packages, if any. If the -P flag appears after any -p flag on the command line, it overrides it's effect, causing pkg_add to use the given prefix recursively. PR: bin/75742 Submitted by: Frerich Raabe <raabe AT kde DOT org> MFC after: 3 days
* Introduce 3 new options for pkg_create(1), -x for using basickrion2005-11-084-7/+61
| | | | | | | | regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days
* Look for packages in packages-6.0-release or packages-6-stable, asmurray2005-10-271-1/+2
| | | | | | | appropriate. Approved by: re (scottl@) Reviewed by: portmgr (kris@)
* * pkg_version(1) exits if INDEX files is not found and -I is notkrion2005-10-102-5/+10
| | | | | | | | | | specified. The result is that the package will be listed with a '?' as if it was not found within the INDEX file, so fix this behaviour. * Remove trailing spaces. PR: bin/87136 Submitted by: Sean Farley <sean-freebsd at farley dot org> MFC after: 3 days
* Fix pkg_info(1) and pkg_delete(1) to handle properly packages whichkrion2005-10-102-2/+2
| | | | | | | | names start with a digit. PR: bin/76858 Submitted by: Matthew D. Fuller <fullermd@over-yonder dot net> MFC after: 3 days
* Do not bitch about bsdpan modules not having origin.krion2005-09-241-1/+1
| | | | | | Based on PR: bin/82269 Submitted by: Steven Hartland <killing at multiplay dot co dot uk> MFC after: 3 days
* Remove '\n' since it's redundant in case if file doesn't exist whilekrion2005-09-241-1/+1
| | | | | | | | running 'pkg_info -g' Based on PR: bin/42609 Submitted by: Jeff King <peff-freebsd at peff dot net> MFC after: 3 days
* Add -o/-O options to pkg_version:krion2005-07-274-27/+57
| | | | | | | | | | -o Show the origin recorded on package generation instead of the package name. -O Only list packages whose registered origin is origin. Based on PR: bin/78640 Submitted by: Marcus Grando <marcus at corp dot grupos.com.br>, flz
* Fix an oops on FBSD-version for packages-5-stable I made in previouskensmith2005-07-111-1/+1
| | | | | | | commit. Pointy hat: kensmith Approved by: re (implicit)
* Prepare for packages-7-current. While here retro-fit packages-5.4-releasekensmith2005-07-111-1/+3
| | | | | | which probably should have been done a while ago. Approved by: re (implicit)
* remove a few uses of the word `really'jmg2005-06-272-4/+3
| | | | | | Reviewed by: hrs Approved by: re (scottl) MFC after: 1 week
* Fix last commit.ru2005-06-221-2/+3
| | | | Approved by: re (blanket)
OpenPOWER on IntegriCloud