summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* - add a missing "be" and "in"eadler2011-11-111-1/+1
| | | | | | | | | | | - fix other errors introduced when committing r226436 - add 'function' to a sentence where it makes sense Submitted by: delphij Submitted by: dougb Submitted by: jhb Approved by: dougb Approved by: jhb
* Staticify elide_root() for now to fix build.delphij2011-10-241-1/+1
|
* Avoid printing // for packages that install to /emaste2011-10-241-3/+11
| | | | | | I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file when listing files (pkg_info -L, pkg_info -g etc.) This change avoids printing the redundant / .
* - change "is is" to "is" or "it is"eadler2011-10-161-1/+1
| | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
* Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasingkensmith2011-09-261-1/+3
| | | | | | it from the 9.0-RELEASE release cycle code freeze. Approved by: re (implicit)
* Print the package name on deletion errors.pluknet2011-09-161-2/+2
| | | | | | | | | | It appears this was already done in NetBSD a decade ago, hence I just reuse the change (except our code is bad styled). PR: bin/160516 Approved by: portmgr Approved by: re (kib) Obtained from: NetBSD
* Backout libinstall.a -> libpkg commit.flz2011-05-1738-68/+3315
| | | | Discussed with: erwin, brooks, bapt
* Remove $Log$ keyword and associated history, which can cause annoyance inemaste2011-03-311-25/+0
| | | | | diffs in some cases. Revision control tools have a history command to obtain this information.
* Add package directories used for the upcoming 8.2 and 7.4 releases,kensmith2010-12-221-0/+4
| | | | and catch up on a few from previous releases.
* - Add support for xz compression to pkg_create, bzip2 remains the defaultflz2010-10-126-8/+36
| | | | | | | | compression algorithm. - Bump PKG_INSTALL_VERSION to 20101012. Submitted by: mm MFC after: 1 month
* Use MACHINE_ARCH instead of MACHINE as the directory to fetch packagesnwhitehorn2010-08-301-4/+8
| | | | from. Packages are architecture dependent, not machine dependent.
* mdoc: use mdoc spelling of Umlautsuqs2010-05-271-1/+1
|
* mdoc: move remaining sections into consistent orderuqs2010-05-131-14/+14
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-2338-3315/+68
| | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
* Bump PKG_INSTALL_VERSION to 20100403.flz2010-04-031-1/+1
|
* Fix pkg_delete, check if the file we're trying to delete is aflz2010-04-031-1/+1
| | | | | | | | symlink before complaining that it doesn't exist. Typical case would be a leftover library symlink that's left over after the actual library has been removed. Reported by: tabthorpe
* Various fixes.flz2010-04-019-52/+86
| | | | | | | | | | | | | | | | - Replace hardcoded INDEX version. [1] - Fix a buffer overlap. [2] - Remove empty package when fetching fails and -K is used. [3] - Remove useless chmod2() after mkdtemp(3). [4] - Replace mkdir(1) call with mkdir(2). [5] - Get rid of some vsystem() calls. - Switch from lstat(2) to open(2) in fexists(). - Try rename(2) in move_file() first. - Bump PKG_INSTALL_VERSION to 20100401. PR: bin/145101 [1], bin/139492 [2], bin/144919 [3] bin/144920 [4], bin/144921 [5] Submitted by: gcooper [1,2,3,4,5]
* Fix several typos in macros or macro misusage.uqs2010-03-121-9/+0
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* - Add support for UPDATING remote fetching.flz2010-01-223-35/+53
| | | | | | | | | - Reorganize EXAMPLES section in pkg_updating(1). - Style fixes. - Bump PKG_INSTALL_VERSION to 20100122. Submitted by: beat MFC after: 1 week
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-024-4/+0
|
* Add missing `void' keywords.ed2009-12-295-5/+5
|
* - Bump PKG_INSTALL_VERSION to 20090902 after dougb's changes.flz2009-09-021-3/+3
| | | | | - Change the comment to say that version must be changed when a non-cosmetic change is made.
* 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
OpenPOWER on IntegriCloud