summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for INDEX-9 [1]dougb2009-08-311-3/+3
| | | | | | While I'm here, strip off support for FreeBSD 5.x. Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> [1]
* Oops. Needed to adjust a little bit more of the line for packages-8-stablekensmith2009-08-241-1/+1
| | | | | | | now that we're prepping for 8.0's release. Submitted by: pluknet at gmail dot com Pointy hat: kensmith
* Make head 9.0-CURRENT in preparation for lifting code freeze.kensmith2009-08-221-1/+3
| | | | Approved by: re (implicit)
* Disable r194497 for now. It doesn't work well with ports-mgmt/tinderbox.brian2009-07-051-0/+2
| | | | Approved by: re (ken)
* Don't imply that only FTP urls are supported when we can't fetchbrian2009-06-301-1/+1
| | | | | | | a package. Approved by: re (kib) MFC after: 3 weeks
* When running pkg_add -r, check & install our dependencies for eachbrian2009-06-196-44/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | package rather than expecting our top level package to get all of the dependencies correct. Previously, the code depended on the top level package having all of the pkgdep lines in +CONTENTS correct and in the right order, but that doesn't always happen due to code such as this (in security/gnutls/Makefile): .if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO) LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2 .... With such conditional dependencies, my 'sophox-packages' package won't install. The dependency tree looks like this: sophox-packages ... x11/gnome2 x11/gnome-applets net/libgweather devel/libsoup security/gnutls security/libgcrypt security/libgpg-error ... x11/gnome2 archivers/file-roller archivers/gtar archivers/lzop archivers/lzo2 ... gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the mix via other dependencies and is built by the initial 'make'. The subsequent package generation for gnutls adds a pkgdep line for lzo2 to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS has gnutls *before* lzo2. As a result, sophox-packages cannot install; gnutls fails because lzo2 is missing, 82 more packages fail because gnutls is missing and the whole thing spirals into a super-confusing mess! MFC after: 3 weeks
* Fix segfault when giving invalid long option to pkg_info.jilles2009-06-011-0/+1
| | | | | | | PR: bin/133473 Submitted by: Rafal Grodzinski Approved by: ed (mentor) MFC after: 1 week
* Skip @pkgdep if there's no argument.flz2009-05-192-1/+5
| | | | | Submitted by: pav MFC after: 1 week
* Add release package directories for 6.4 and 7.2.kensmith2009-04-151-0/+2
|
* 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)
OpenPOWER on IntegriCloud