summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Use full name (noticed by: ru@chinsan2009-01-111-1/+1
|
* - Backout latest changes (follow symlinks: r186496, r186518).flz2009-01-062-61/+24
| | | | - Bump PKG_INSTALL_VER to 20090106.
* - s/no-scripts/no-script/chinsan2009-01-041-2/+2
| | | | | | PR: docs/127732 Submitted by: TerryP <BigBoss1964@gmail.com> MFC after: 3 days
* Fix memory leaks introduced in last commit.flz2008-12-272-13/+3
| | | | | | | | Bump version to 20081227. Reported by: gcooper Submitted by: Andrea Barberio <insomniac@slackware.it> MFC after: 1 month
* Follow symlinks when deleting directories.flz2008-12-252-24/+71
| | | | | | | | Bump PKG_INSTALL_VER to 20081225 (Merry Christmas \o/). PR: bin/54446 Submitted by: Andrea Barberio <insomniac@slackware.it> MFC after: 1 month
* Add package directory for 7.1-RELEASE in head as well as stable/7.flz2008-12-251-0/+1
|
* Display usage when pkg_add is called with no arguments.brooks2008-10-171-1/+1
| | | | | | | PR: bin/121093 Submitted by: volker Approved by: portmgr (linimon) MFC after: 3 days
* Use humanize_number to report pen-sizes so people don't have to countphk2008-08-072-4/+18
| | | | the digits when trying to install openoffice.
* Enable the -n option of pkg_create(1).keramida2008-07-082-1/+5
| | | | | | | | | The changes to make the option work are already in place, but I missed the patch hunk that adds it to the getopt() option-handling loop. Pointy hat: keramida Approved by: flz MFC after: 1 week
* Remove support for RELENG_4 (__FreeBSD_version < 500039).flz2008-06-165-30/+1
| | | | MFC after: 1 day
* Style fix (use naked commands).flz2008-06-161-7/+3
| | | | Reported by: obrien
* - add: Keep dependent packages too if -K is specified.flz2008-06-123-2/+4
| | | | | | | | | - updating: terminating '\n' is not part of the package origin. - bump PKG_INSTALL_VERSION to 20080612. PR: bin/119368 [1], bin/124459 [2] Submitted by: gcooper [1], Beat Gatzi <beat@chruetertee.ch> [2] MFC after: 3 days
* Exclude .svn directories from generated distfile.flz2008-06-031-1/+2
|
* - Add long options to pkg_install.flz2008-05-3013-100/+206
| | | | | - Remove check for '-?' as it's not listed in authorized options. - Bump PKG_INSTALL_VERSION to 20080530.
* Use PKG_INSTALL_VERSION for the distfile name instead of current date.flz2008-05-281-1/+1
| | | | X-MFC after: pkg_install sync on -STABLE branches
* Bump PKG_INSTALL_VERSION to 20080528.flz2008-05-281-1/+1
| | | | X-MFC after: latest HEAD changes have been MFC'ed to RELENG_[67]
* Update usage strings to add a missing -n option.keramida2008-05-271-1/+1
| | | | Noticed by: Matthias Apitz, matthias.apitz at oclc.org
* Add a -n option to pkg_create(1), to inhibit duplicate work.keramida2008-05-274-5/+42
| | | | | | | | | | | | | | | | | | | | When run without this option, multiple runs of `pkg_create -Rb' will recreate common packages multiple times. This can take a lot of time for large packages. With the -n option `pkg_create -b' checks with stat(2) and skips packages that already exist. Note that this may *not* be safe of the existing output file is not really a package, or if it has been corrupted, modified or otherwise tinkered with between subsequent pkg_create runs. For this and POLA reasons, the default behavior is to *rebuild* the packages, and the -n option can be used when we know it is `safe' to run in no-regenerate mode. Inspired by: A post to freebsd-questions by Matthias Apitz &lt; matthias.apitz at oclc.org &gt; Reviewed by: marcus, flz Approved by: marcus MFC after: 2 weeks
* - Backout 1.15, it was committed by accidentpav2008-05-031-0/+5
| | | | Pointy hat to: pav
* - Restore functionality broken in previous commit; we need to be able to reportpav2008-05-035-32/+37
| | | | | | | multiple installed packages with the same PKGORIGIN. Reported by: marcus MFC after: 1 month
* Fix pkg_info when specifying a remote package.flz2008-04-162-18/+23
| | | | MFC after: 1 week
* Optimize package registration/deregistration. Previously, when looking up thepav2008-04-114-51/+144
| | | | | | | | | | | package name for the origin of a dependency, all entries in /var/db/pkg were traversed for each dependency of added/removed package. Now, gather all the origins first, then do the lookup in a single pass over /var/db/pkg. This should provide a major speedup for packages with hundreds of dependencies. Submitted by: rdivacky (earlier version) MFC after: 1 month
* Add a distfile target to generate a distfile to be used by theflz2008-04-091-0/+16
| | | | ports-mgmt/pkg_install port.
* Retire pkg_sign. It was used to embed signatures in gzip'ed packages.flz2008-03-3118-2590/+1
| | | | | | It's not relevant since we've changed to bzip2 compression. MFC after: 1 week
* Improve style a little and remove one always-true condition.rdivacky2008-03-301-3/+3
| | | | | Approved by: portmgr (pav) Approved by: kib (mentor)
* Sync list of directories to look for packages in to current releaseskensmith2008-02-261-1/+3
| | | | | | available. MFC after: 3 days
* Introduce -i to SYNOPSIS, forgotten by krion@.ru2008-02-081-1/+1
|
* Revise the TECHNICAL DETAILS section.ru2008-01-091-68/+87
| | | | Reviewed by: skv
* - Adjust INDEX file name to INDEX-8 so that it matches the major FreeBSDgabor2007-12-201-5/+5
| | | | | | | version number, as it is named after that PR: docs/118053 Submitted by: Michael Plass <mfp49_freebsd@plass-family.net>
* Backout previous commit, since it's done without maintainerskrion2007-12-0910-173/+1
| | | | | | | approval. These changes were approved by adding it as port to ports/ tree, but not for src/. I talked to PR submitter and miwi@ some days ago and explained the reasons for it, the both were agree to add it to ports/ only.
* Add the 'pkg_search' script.obrien2007-12-0910-1/+173
| | | | | | This makes it easier to figure what packages you want to install. Submitted by: Matthias Schmidt <schmidtm @ mathematik . uni-marburg . de>
* Fix segfault while running with -a option and deinstalling brokenkrion2007-11-101-1/+1
| | | | | | | | packages with incorrect plists. PR: bin/115327 Submitted by: Michael Zhilin <mizhka@gmail.com> MFC after: 3 days
* Some code cleanups, including removing of stale getopt argument andkrion2007-11-105-32/+26
| | | | | | | | hardcoded +CONTENTS defines. PR: bin/117855 Submitted by: Beat Gaetzi <beat@chruetertee.ch> MFC after: 14 days
* 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
|
OpenPOWER on IntegriCloud