summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
Commit message (Collapse)AuthorAgeFilesLines
* Add entry for packages-9.2-release directory.gjb2013-08-191-0/+1
| | | | Approved by: re (implicit)
* sysconf(3) returns a long, not an int.obrien2013-06-293-3/+5
|
* sysconf(3) returns a long, not an int.obrien2013-06-281-1/+2
|
* Update location to ports INDEX file.bdrewery2013-05-181-6/+6
| | | | | PR: bin/164561 Approved by: bapt
* Fix compilation errors.jasone2013-01-231-2/+2
|
* Use snprintf instead of strc* functions and add bounds checking when creatingbapt2013-01-222-4/+9
| | | | | | pkgngpath Submitted by: sbz, gahr
* Provide an option to users to shoot themselves in the foot.eadler2012-11-268-7/+45
| | | | | | Reviewed by: bapt Approved by: cperciva MFC after: 1 month
* Use modern license instead of being consistent with the other pkg_ toolseadler2012-11-263-11/+25
| | | | | | | | | | | | Use a more informative message Fix some style(9) nits. Bump version number In pkg_add only warn users after the chroot is performed. Submitted by: gavin, jilles Reviewed by: beat, bapt Approved by: cperciva MFC after: 1 month
* Add the release package directory for 9.1-RELEASE.kensmith2012-10-241-0/+1
|
* Warn users when using pkg tools if it looks like theyeadler2012-10-229-1/+46
| | | | | | | | | be be pkgng users. Reviewed by: bapt (earlier version) Reviewed by: kwm Approved by: cperciva MFC after: 3 days
* More -Wmissing-variable-declarations fixes.ed2012-10-191-3/+3
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* Make sure that each va_start has one and only one matching va_end,kevlo2012-09-281-0/+1
| | | | especially in error cases.
* if a file in plist starts with / then do not prefix it with "prefix" [1]bapt2012-09-188-30/+67
| | | | | | | | | | | | | | | | | | | | | | | | pkg info -g returns 1 if a file mismatch [2] flush stdout in pkg info -g [3] clean up quiet mode (-q | --quiet) output of pkg_version(1) [4] fix missing error call in uname check added to pkg_version(1) [5] fix pkg_add(1) fails to install with -C from bad path [6] only resolve path from pkg_add(1) -p if the given prefix do not start with a '/' [7] PR: bin/13128 [1] bin/139015 [2] bin/113702 [3] bin/142570 [4] bin/146857 [5] bin/157543 [6] Submitted by: cy [1] Anton Yuzhaninov <citrin@citrin.ru> [2] Ighighi <ighighi@gmail.com> [3] "N.J. Mann" <njm@njm.me.uk> [4] gcooper [5] David Naylor <naylor.b.david@gmail.com> [6] netchild [7] MFC after: 2 weeks
* Do not change owner, group, or mode when package database directory andjkim2012-09-145-6/+7
| | | | | | | | its contents are created with pkg_add(1). It may happen when the packing list contains @owner, @group, or @mode. Reported by: Donald Bostrom (dbostrom at niksun dot com) Reviewed by: portmgr (bapt)
* Bump PKG_INSTALL_VERSION which should've been done in r236233jpaetzel2012-05-301-1/+1
| | | | | MFC after: 3 days Pointed out by: bapt
* Let pkg_add use the ENV variable PACKAGESUFFIX. Thisjpaetzel2012-05-305-11/+38
| | | | | | | | | | can be used to override the default .tbz package extension to .txz .tgz or .tar Submitted by: kmoore Obtained from: PC-BSD Sponsored by: iXsystems MFC after: 3 days
* Make sure that each va_start has one and only one matching va_end,kevlo2012-05-292-0/+3
| | | | especially in error cases.
* - Print package name in case an empty pkgdep line is found.beat2012-05-111-1/+2
| | | | | | | PR: bin/164378 Submitted by: Yuri <yuri AT tsoft.com> and many others Approved by: flz MFC after: 2 weeks
* General mdoc(7) and typo fixes.gjb2012-05-101-1/+1
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-3/+3
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Add entry for packages-8.3-release directory.kensmith2012-03-031-0/+1
|
* Fix r231300: Use correct test so we only bail out on error instead of on ↵eadler2012-02-101-1/+1
| | | | | | | | | | non-error. Also, fix a style bug. Submitted by: ache Approved by: cperciva MFC after: 1 month
* Permit the use of relative paths for the prefix argument.eadler2012-02-091-3/+9
| | | | | | | | | Remove an unnecessary cwd from created plists when -p is specified PR: bin/145000 Submitted by: gcooper Approved by: portmgr (flo) MFC after: 1 month
* X11BASE has been deprecated for a long time and will die sooneadler2012-01-091-1/+1
| | | | | | Approved by: x11 (eadler) Approved by: brucec MFC after: 1 week
* Touch up some more small typos missed in the previous round.uqs2012-01-051-1/+1
| | | | Reported by: Ben Kaduk <minimarmot@gmail.com> et al.
* Spelling fixes for usr.sbin/uqs2011-12-3034-37/+39
|
* Reencode files to UTF-8. Drop CP1252 em-dash.uqs2011-12-303-3/+3
|
* In usr.sbin/pkg_install/updating/main.c, use the size of the destinationdim2011-12-171-2/+2
| | | | | | buffer as size argument to strlcpy(), not the length of the source. MFC after: 1 week
* - 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.
OpenPOWER on IntegriCloud