Skip site navigation (1)Skip section navigation (2)

CVS log for src/usr.sbin/pkg_install/add/main.c

[BACK] Up to [FreeBSD] / src / usr.sbin / pkg_install / add

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.89.2.5: download - view: text, markup, annotated - select for diffs
Sat Jan 28 19:48:44 2012 UTC (13 days, 22 hours ago) by eadler
Branches: RELENG_9
Diff to: previous 1.89.2.4: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.4: +1 -1 lines
SVN rev 230653 on 2012-01-28 19:48:44Z by eadler

MFC r229831:
	- X11BASE has been deprecated for a long time and will die soon

Approved by:	cperciva

Revision 1.92: download - view: text, markup, annotated - select for diffs
Mon Jan 9 00:48:19 2012 UTC (4 weeks, 5 days ago) by eadler
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -1 lines
SVN rev 229831 on 2012-01-09 00:48:19Z by eadler

X11BASE has been deprecated for a long time and will die soon

Approved by:	x11 (eadler)
Approved by:	brucec
MFC after:	1 week

Revision 1.89.2.4: download - view: text, markup, annotated - select for diffs
Sat Jan 7 00:33:13 2012 UTC (5 weeks ago) by kensmith
Branches: RELENG_9
Diff to: previous 1.89.2.3: preferred, colored; branchpoint 1.89: preferred, colored
Changes since revision 1.89.2.3: +1 -1 lines
SVN rev 229751 on 2012-01-07 00:33:13Z by kensmith

When copying/pasting a line to create a line you want to add make sure
to change all pieces of it, not just some of them.

Submitted by:	A helpful soul on IRC
Pointy hat:	me

Revision 1.89.2.3: download - view: text, markup, annotated - select for diffs
Sat Jan 7 00:07:23 2012 UTC (5 weeks ago) by kensmith
Branches: RELENG_9
Diff to: previous 1.89.2.2: preferred, colored; branchpoint 1.89: preferred, colored
Changes since revision 1.89.2.2: +2 -1 lines
SVN rev 229748 on 2012-01-07 00:07:23Z by kensmith

MFC the rest of r225757 that applies to the package set directories.

Revision 1.89.2.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 2 18:50:17 2012 UTC (5 weeks, 4 days ago) by kensmith
Branches: RELENG_9_0
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.89.2.1.2.1: preferred, colored; branchpoint 1.89.2.1: preferred, colored; next MAIN 1.89.2.2: preferred, colored
Changes since revision 1.89.2.1.2.1: +1 -0 lines
SVN rev 229305 on 2012-01-02 18:50:17Z by kensmith

MFC r229304:
> The portion of r225757 that added the packages-9.0-release directory
> was supposed to be MFCed closer to the release but that got missed.
>
> Pointy hat:   kensmith

Approved by:	re (implicit)

Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 2 18:42:29 2012 UTC (5 weeks, 4 days ago) by kensmith
Branches: RELENG_9
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored
Changes since revision 1.89.2.1: +1 -0 lines
SVN rev 229304 on 2012-01-02 18:42:29Z by kensmith

The portion of r225757 that added the packages-9.0-release directory
was supposed to be MFCed closer to the release but that got missed.

Pointy hat:	kensmith

Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri Dec 30 10:58:14 2011 UTC (6 weeks, 1 day ago) by uqs
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +1 -1 lines
SVN rev 228990 on 2011-12-30 10:58:14Z by uqs

Spelling fixes for usr.sbin/

Revision 1.89.2.1.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 04:20:22 2011 UTC (3 months ago) by kensmith
Branches: RELENG_9_0
Diff to: previous 1.89.2.1: preferred, colored
Changes since revision 1.89.2.1: +0 -0 lines
SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Sep 26 02:27:04 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -1 lines
SVN rev 225757 on 2011-09-26 02:27:04Z by kensmith

Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by:	re (implicit)

Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 23 00:51:37 2011 UTC (4 months, 2 weeks ago) by kensmith
Branches: RELENG_9
CVS tags: RELENG_9_0_BP
Branch point for: RELENG_9_0
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +0 -0 lines
SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)

Revision 1.89: download - view: text, markup, annotated - select for diffs
Tue May 17 19:11:47 2011 UTC (8 months, 3 weeks ago) by flz
Branches: MAIN
CVS tags: RELENG_9_BP
Branch point for: RELENG_9
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -3 lines
SVN rev 222035 on 2011-05-17 19:11:47Z by flz

Backout libinstall.a -> libpkg commit.

Discussed with:	erwin, brooks, bapt

Revision 1.88: download - view: text, markup, annotated - select for diffs
Wed Dec 22 15:44:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -0 lines
SVN rev 216665 on 2010-12-22 15:44:25Z by kensmith

Add package directories used for the upcoming 8.2 and 7.4 releases,
and catch up on a few from previous releases.

Revision 1.72.2.10: download - view: text, markup, annotated - select for diffs
Wed Dec 22 14:47:45 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7
Diff to: previous 1.72.2.9: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.9: +3 -0 lines
SVN rev 216660 on 2010-12-22 14:47:45Z by kensmith

Add the package directories for the 7.4, 8.1, and 8.2 releases.

Approved by:	re (implicit)

Revision 1.81.2.6: download - view: text, markup, annotated - select for diffs
Wed Dec 22 14:31:42 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8
Diff to: previous 1.81.2.5: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.2.5: +2 -0 lines
SVN rev 216655 on 2010-12-22 14:31:42Z by kensmith

Add the packages directories that will be used for the upcoming
8.2/7.4 releases.

Approved by:	re (implicit)

Revision 1.72.2.9.4.2: download - view: text, markup, annotated - select for diffs
Wed Dec 22 05:53:46 2010 UTC (13 months, 3 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.72.2.9.4.1: preferred, colored; branchpoint 1.72.2.9: preferred, colored; next MAIN 1.72.2.10: preferred, colored
Changes since revision 1.72.2.9.4.1: +3 -0 lines
SVN rev 216648 on 2010-12-22 05:53:46Z by kensmith

Add release package directories for upcoming releases, and one past release.

Approved by:	re (implicit)

Revision 1.81.2.5.2.2: download - view: text, markup, annotated - select for diffs
Wed Dec 22 04:56:55 2010 UTC (13 months, 3 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.81.2.5.2.1: preferred, colored; branchpoint 1.81.2.5: preferred, colored; next MAIN 1.81.2.6: preferred, colored
Changes since revision 1.81.2.5.2.1: +2 -0 lines
SVN rev 216640 on 2010-12-22 04:56:55Z by kensmith

Add packages-7.4-release and packages-8.2-release for the upcoming
releases.

Approved by:	re (implicit)

Revision 1.72.2.9.4.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 3 weeks ago) by kensmith
Branches: RELENG_7_4
Diff to: previous 1.72.2.9: preferred, colored
Changes since revision 1.72.2.9: +0 -0 lines
SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)

Revision 1.81.2.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 3 weeks ago) by kensmith
Branches: RELENG_8_2
Diff to: previous 1.81.2.5: preferred, colored
Changes since revision 1.81.2.5: +0 -0 lines
SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)

Revision 1.81.2.5: download - view: text, markup, annotated - select for diffs
Tue Nov 23 11:31:12 2010 UTC (14 months, 2 weeks ago) by mm
Branches: RELENG_8
CVS tags: RELENG_8_2_BP
Branch point for: RELENG_8_2
Diff to: previous 1.81.2.4: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.4: +3 -3 lines
SVN rev 215738 on 2010-11-23 11:31:12Z by mm

MFC r213718:

- Add support for xz compression to pkg_create, bzip2 remains the default
compression algorithm.
- Bump PKG_INSTALL_VERSION to 20101012.

Submitted by:	mm
Approved by:	portmgr (flz)

Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Oct 12 10:04:44 2010 UTC (16 months ago) by flz
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +3 -3 lines
SVN rev 213718 on 2010-10-12 10:04:44Z by flz

- Add support for xz compression to pkg_create, bzip2 remains the default
compression algorithm.
- Bump PKG_INSTALL_VERSION to 20101012.

Submitted by:	mm
MFC after:	1 month

Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Aug 30 21:58:52 2010 UTC (17 months, 1 week ago) by nwhitehorn
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +8 -4 lines
SVN rev 212029 on 2010-08-30 21:58:52Z by nwhitehorn

Use MACHINE_ARCH instead of MACHINE as the directory to fetch packages
from. Packages are architecture dependent, not machine dependent.

Revision 1.81.2.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 14 02:09:06 2010 UTC (19 months, 4 weeks ago) by kensmith
Branches: RELENG_8_1
CVS tags: RELENG_8_1_0_RELEASE
Diff to: previous 1.81.2.4: preferred, colored; next MAIN 1.81.2.5: preferred, colored
Changes since revision 1.81.2.4: +0 -0 lines
SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)

Revision 1.81.2.4: download - view: text, markup, annotated - select for diffs
Wed May 26 17:18:32 2010 UTC (20 months, 2 weeks ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_1_BP
Branch point for: RELENG_8_1
Diff to: previous 1.81.2.3: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.3: +2 -0 lines
SVN rev 208571 on 2010-05-26 17:18:32Z by kensmith

Add packages-8.1-release directory.  While here add packages-7.3-release.

Approved by:	re (implicit)

Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Apr 23 11:07:43 2010 UTC (21 months, 2 weeks ago) by flz
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -1 lines
SVN rev 207113 on 2010-04-23 11:07:43Z by flz

- Take libinstall.a out of pkg_install and make it a proper shared library.
- 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.

Revision 1.72.2.9.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 10 00:26:20 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7_3
CVS tags: RELENG_7_3_0_RELEASE
Diff to: previous 1.72.2.9: preferred, colored; next MAIN 1.72.2.10: preferred, colored
Changes since revision 1.72.2.9: +0 -0 lines
SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)

Revision 1.72.2.9: download - view: text, markup, annotated - select for diffs
Wed Jan 27 20:30:50 2010 UTC (2 years ago) by kensmith
Branches: RELENG_7
CVS tags: RELENG_7_4_BP, RELENG_7_3_BP
Branch point for: RELENG_7_4, RELENG_7_3
Diff to: previous 1.72.2.8: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.8: +1 -0 lines
SVN rev 203095 on 2010-01-27 20:30:50Z by kensmith

Add packages-7.3-release directory.

Approved by:	re (implicit)

Revision 1.61.2.16: download - view: text, markup, annotated - select for diffs
Fri Jan 22 23:19:33 2010 UTC (2 years ago) by flz
Branches: RELENG_6
Diff to: previous 1.61.2.15: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.2.15: +5 -2 lines
SVN rev 202842 on 2010-01-22 23:19:33Z by flz

Synchronize pkg_install with HEAD.

Revision 1.72.2.8: download - view: text, markup, annotated - select for diffs
Fri Jan 22 23:17:07 2010 UTC (2 years ago) by flz
Branches: RELENG_7
Diff to: previous 1.72.2.7: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.7: +4 -2 lines
SVN rev 202841 on 2010-01-22 23:17:07Z by flz

Synchronize pkg_install with HEAD.

Revision 1.81.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 22 23:13:46 2010 UTC (2 years ago) by flz
Branches: RELENG_8
Diff to: previous 1.81.2.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.2: +1 -1 lines
SVN rev 202840 on 2010-01-22 23:13:46Z by flz

Synchronize pkg_install with HEAD.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Dec 29 22:33:53 2009 UTC (2 years, 1 month ago) by ed
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +1 -1 lines
SVN rev 201226 on 2009-12-29 22:33:53Z by ed

Add missing `void' keywords.

Revision 1.81.2.2.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 25 01:10:29 2009 UTC (2 years, 3 months ago) by kensmith
Branches: RELENG_8_0
CVS tags: RELENG_8_0_0_RELEASE
Diff to: previous 1.81.2.2: preferred, colored; next MAIN 1.81.2.3: preferred, colored
Changes since revision 1.81.2.2: +0 -0 lines
SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)

Revision 1.83: download - view: text, markup, annotated - select for diffs
Mon Aug 24 03:04:13 2009 UTC (2 years, 5 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -1 lines
SVN rev 196485 on 2009-08-24 03:04:13Z by kensmith

Oops.  Needed to adjust a little bit more of the line for packages-8-stable
now that we're prepping for 8.0's release.

Submitted by:	pluknet at gmail dot com
Pointy hat:	kensmith

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Aug 22 23:44:37 2009 UTC (2 years, 5 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -1 lines
SVN rev 196432 on 2009-08-22 23:44:37Z by kensmith

Make head 9.0-CURRENT in preparation for lifting code freeze.

Approved by:	re (implicit)

Revision 1.81.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 12 07:37:18 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
CVS tags: RELENG_8_0_BP
Branch point for: RELENG_8_0
Diff to: previous 1.81.2.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.2.1: +3 -1 lines
SVN rev 196115 on 2009-08-12 07:37:18Z by kensmith

Prepare for 8.0 package set, adjust for 8-stable, acknowledge 9-current
is coming.

Approved by:	re (implicit)

Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Mon Aug 3 08:13:06 2009 UTC (2 years, 6 months ago) by kensmith
Branches: RELENG_8
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +0 -0 lines
SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Apr 15 17:14:43 2009 UTC (2 years, 9 months ago) by kensmith
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -0 lines
SVN rev 191110 on 2009-04-15 17:14:43Z by kensmith

Add release package directories for 6.4 and 7.2.

Revision 1.72.2.6.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 15 04:28:22 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.72.2.6.2.1: preferred, colored; branchpoint 1.72.2.6: preferred, colored; next MAIN 1.72.2.7: preferred, colored
Changes since revision 1.72.2.6.2.1: +2 -0 lines
SVN rev 191100 on 2009-04-15 04:28:22Z by kensmith

Add package directory for 7.2-REL.  While here add the one for 6.4-REL.

Approved by:	re (implicit)

Revision 1.72.2.7: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:48:34 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7
Diff to: previous 1.72.2.6: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.6: +2 -0 lines
SVN rev 191092 on 2009-04-15 03:48:34Z by kensmith

Add package directory for 7.2-REL (and 6.4-REL while here).

Approved by:	re (implicit)

Revision 1.72.2.6.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 03:14:26 2009 UTC (2 years, 9 months ago) by kensmith
Branches: RELENG_7_2
Diff to: previous 1.72.2.6: preferred, colored
Changes since revision 1.72.2.6: +0 -0 lines
SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Dec 25 15:44:10 2008 UTC (3 years, 1 month ago) by flz
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +1 -0 lines
SVN rev 186494 on 2008-12-25 15:44:10Z by flz

Add package directory for 7.1-RELEASE in head as well as stable/7.

Revision 1.72.2.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 25 19:46:21 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.72.2.5.2.1: preferred, colored; branchpoint 1.72.2.5: preferred, colored; next MAIN 1.72.2.6: preferred, colored
Changes since revision 1.72.2.5.2.1: +1 -0 lines
SVN rev 185316 on 2008-11-25 19:46:21Z by kensmith

Add __FreeBSD_version and package directory for 7.1.

Approved by:	re (implicit)

Revision 1.72.2.6: download - view: text, markup, annotated - select for diffs
Tue Nov 25 17:34:36 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7
CVS tags: RELENG_7_2_BP
Branch point for: RELENG_7_2
Diff to: previous 1.72.2.5: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.5: +1 -0 lines
SVN rev 185303 on 2008-11-25 17:34:36Z by kensmith

Add FreeBSD_version and package directory for 7.1.

Approved by:	re (implicit)

Revision 1.72.2.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 25 02:59:29 2008 UTC (3 years, 2 months ago) by kensmith
Branches: RELENG_7_1
Diff to: previous 1.72.2.5: preferred, colored
Changes since revision 1.72.2.5: +0 -0 lines
SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)

Revision 1.72.2.5: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:22:10 2008 UTC (3 years, 3 months ago) by brooks
Branches: RELENG_7
CVS tags: RELENG_7_1_BP
Branch point for: RELENG_7_1
Diff to: previous 1.72.2.4: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.4: +1 -1 lines
SVN rev 184296 on 2008-10-26 19:22:10Z by brooks

MFC r183979:
 Display usage when pkg_add is called with no arguments.

PR:		bin/121093
Submitted by:	volker
Approved by:	re (kensmith)

Revision 1.61.2.15: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:22:10 2008 UTC (3 years, 3 months ago) by brooks
Branches: RELENG_6
Diff to: previous 1.61.2.14: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.14: +1 -1 lines
SVN rev 184296 on 2008-10-26 19:22:10Z by brooks

MFC r183979:
 Display usage when pkg_add is called with no arguments.

PR:		bin/121093
Submitted by:	volker
Approved by:	re (kensmith)

Revision 1.61.2.13.2.3: download - view: text, markup, annotated - select for diffs
Sun Oct 26 19:22:10 2008 UTC (3 years, 3 months ago) by brooks
Branches: RELENG_6_4
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.61.2.13.2.2: preferred, colored; branchpoint 1.61.2.13: preferred, colored; next MAIN 1.61.2.14: preferred, colored
Changes since revision 1.61.2.13.2.2: +1 -1 lines
SVN rev 184296 on 2008-10-26 19:22:10Z by brooks

MFC r183979:
 Display usage when pkg_add is called with no arguments.

PR:		bin/121093
Submitted by:	volker
Approved by:	re (kensmith)

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Oct 17 15:10:45 2008 UTC (3 years, 3 months ago) by brooks
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +1 -1 lines
SVN rev 183979 on 2008-10-17 15:10:45Z by brooks

Display usage when pkg_add is called with no arguments.

PR:		bin/121093
Submitted by:	volker
Approved by:	portmgr (linimon)
MFC after:	3 days

Revision 1.61.2.13.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 4 02:58:54 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
Diff to: previous 1.61.2.13.2.1: preferred, colored; branchpoint 1.61.2.13: preferred, colored
Changes since revision 1.61.2.13.2.1: +2 -0 lines
SVN rev 183586 on 2008-10-04 02:58:54Z by kensmith

MFS r183585:
> Add info for the two upcoming releases - 6.4 and 7.1.

Approved by:	re (implicit)

Revision 1.61.2.14: download - view: text, markup, annotated - select for diffs
Sat Oct 4 02:56:02 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6
Diff to: previous 1.61.2.13: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.13: +2 -0 lines
SVN rev 183585 on 2008-10-04 02:56:02Z by kensmith

Add info for the two upcoming releases - 6.4 and 7.1.

Approved by:	re (implicit)

Revision 1.61.2.13.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 2 02:57:24 2008 UTC (3 years, 4 months ago) by kensmith
Branches: RELENG_6_4
Diff to: previous 1.61.2.13: preferred, colored
Changes since revision 1.61.2.13: +0 -0 lines
SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)

Revision 1.61.2.13: download - view: text, markup, annotated - select for diffs
Tue Jun 17 10:48:46 2008 UTC (3 years, 7 months ago) by flz
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.61.2.12: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.12: +1 -6 lines
SVN rev 179844 on 2008-06-17 10:48:46Z by flz

MFC: remove 4.x support (r179835)

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Tue Jun 17 10:47:24 2008 UTC (3 years, 7 months ago) by flz
Branches: RELENG_7
Diff to: previous 1.72.2.3: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.3: +1 -6 lines
SVN rev 179843 on 2008-06-17 10:47:24Z by flz

MFC: remove 4.x support (r179835)

Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Jun 16 23:41:11 2008 UTC (3 years, 7 months ago) by flz
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +1 -6 lines
SVN rev 179835 on 2008-06-16 23:41:11Z by flz

Remove support for RELENG_4 (__FreeBSD_version < 500039).

MFC after:	1 day

Revision 1.61.2.12: download - view: text, markup, annotated - select for diffs
Tue Jun 10 09:56:11 2008 UTC (3 years, 8 months ago) by flz
Branches: RELENG_6
Diff to: previous 1.61.2.11: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.11: +24 -5 lines
SVN rev 179703 on 2008-06-10 09:56:11Z by flz

Synchronize pkg_install with HEAD (20080530)

    r179352,179366: don't regenerate packages
    r179433: add long options

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 10 09:55:25 2008 UTC (3 years, 8 months ago) by flz
Branches: RELENG_7
Diff to: previous 1.72.2.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.2: +24 -5 lines
SVN rev 179702 on 2008-06-10 09:55:25Z by flz

Synchronize pkg_install with HEAD (20080530)

    r179352,179366: don't regenerate packages
    r179433: add long options

Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri May 30 14:26:07 2008 UTC (3 years, 8 months ago) by flz
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +24 -5 lines
- Add long options to pkg_install.
- Remove check for '-?' as it's not listed in authorized options.
- Bump PKG_INSTALL_VERSION to 20080530.

Revision 1.61.2.11: download - view: text, markup, annotated - select for diffs
Mon Apr 7 11:31:58 2008 UTC (3 years, 10 months ago) by flz
Branches: RELENG_6
Diff to: previous 1.61.2.10: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.10: +12 -5 lines
Synchronize pkg_install with HEAD:

- Add pkg_updating,
- Remove pkg_sign,
- Support for 8-CURRENT,
- Style cleanup (__P use),
- ... and much more.

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 7 10:27:18 2008 UTC (3 years, 10 months ago) by flz
Branches: RELENG_7
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.2.1: +9 -4 lines
Synchronize pkg_install with HEAD:

- Add pkg_updating,
- Remove pkg_sign,
- Support for 8-CURRENT,
- Style cleanup (__P use),
- ... and much more.

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 8 00:04:57 2008 UTC (3 years, 11 months ago) by delphij
Branches: RELENG_7
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -1 lines
Merge from RELENG_7_0: Teach pkg_add(1) about 6.3-RELEASE, 7.0-RELEASE
and 7-STABLE.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Feb 26 14:35:01 2008 UTC (3 years, 11 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -1 lines
Sync list of directories to look for packages in to current releases
available.

MFC after:	3 days

Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 22 13:45:15 2007 UTC (4 years, 1 month ago) by kensmith
Branches: RELENG_7_0
CVS tags: RELENG_7_0_0_RELEASE
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -1 lines
Update directories to search for packages in.

Approved by:	re (implicit)

Revision 1.61.2.9.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 25 06:36:32 2007 UTC (4 years, 2 months ago) by kensmith
Branches: RELENG_6_3
CVS tags: RELENG_6_3_0_RELEASE
Diff to: previous 1.61.2.9: preferred, colored; next MAIN 1.61.2.10: preferred, colored
Changes since revision 1.61.2.9: +1 -0 lines
Prepare for packages-6.3-release to exist.

Approved by:	re (implicit)

Revision 1.61.2.10: download - view: text, markup, annotated - select for diffs
Sun Nov 25 06:20:35 2007 UTC (4 years, 2 months ago) by kensmith
Branches: RELENG_6
Diff to: previous 1.61.2.9: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.9: +1 -0 lines
Get ready for packages-6.3-release to exist.

Approved by:	re (implicit)

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Nov 10 09:40:39 2007 UTC (4 years, 3 months ago) by krion
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +6 -2 lines
Add -i option for package installation without fetching and
installing its dependencies.

PR:		bin/117065
Submitted by:	Vladimir Ermakov <samflanker@gmail.com>
MFC after:	14 days

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Nov 7 10:53:36 2007 UTC (4 years, 3 months ago) by kevlo
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -1 lines
Cleanup of userland __P use

Revision 1.73: download - view: text, markup, annotated - select for diffs
Thu Oct 11 04:28:08 2007 UTC (4 years, 4 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -1 lines
To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.

Approved by:	re (implicit)

Revision 1.59.2.8: download - view: text, markup, annotated - select for diffs
Wed Feb 7 09:15:04 2007 UTC (5 years ago) by ade
Branches: RELENG_5
Diff to: previous 1.59.2.7: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.7: +13 -21 lines
MFC: rev 1.71/1.72

Remove hard-coded limit (200) on maximum number of packages that can be
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.

Revision 1.61.2.9: download - view: text, markup, annotated - select for diffs
Wed Feb 7 09:14:26 2007 UTC (5 years ago) by ade
Branches: RELENG_6
CVS tags: RELENG_6_3_BP
Branch point for: RELENG_6_3
Diff to: previous 1.61.2.8: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.8: +13 -21 lines
MFC: rev 1.71/1.72

Remove hard-coded limit (200) on maximum number of packages that can be
added with a single invocation of pkg_add, replacing it with something
rather more dynamic.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Feb 1 15:52:47 2007 UTC (5 years ago) by pav
Branches: MAIN
CVS tags: RELENG_7_BP, RELENG_7_0_BP
Branch point for: RELENG_7_0, RELENG_7
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -1 lines
Fix previous rev.: don't step behind the end of memory we allocate

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Jan 31 22:34:45 2007 UTC (5 years ago) by ade
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +13 -21 lines
Remove hard-coded limit (200) on maximum number of packages that can be
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

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Sep 29 17:17:53 2006 UTC (5 years, 4 months ago) by ru
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -1 lines
Sync usage() with manpage's SYNOPSIS.

Revision 1.61.2.8: download - view: text, markup, annotated - select for diffs
Thu Sep 28 18:35:26 2006 UTC (5 years, 4 months ago) by kensmith
Branches: RELENG_6
CVS tags: RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2
Diff to: previous 1.61.2.7: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.7: +1 -0 lines
Partial MFC of v1.69 - adding info for 5.5-REL.

Approved by:	re (hrs)

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Sep 26 14:51:33 2006 UTC (5 years, 4 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +3 -0 lines
Oops.  Catch up on the last couple of releases and prepare for the next
one.

Revision 1.61.2.7: download - view: text, markup, annotated - select for diffs
Fri Sep 15 19:27:40 2006 UTC (5 years, 4 months ago) by kensmith
Branches: RELENG_6
Diff to: previous 1.61.2.6: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.6: +1 -0 lines
Begin making RELENG_6 think 6.2 exists.  It doesn't officially exist
yet but this helps various folks get ready for it.

Approved by:	re (implicit)

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Jun 12 22:39:31 2006 UTC (5 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -1 lines
Allow variable amounts of verbosity.

Revision 1.61.2.6: download - view: text, markup, annotated - select for diffs
Sun May 14 06:52:24 2006 UTC (5 years, 9 months ago) by krion
Branches: RELENG_6
Diff to: previous 1.61.2.5: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.5: +6 -1 lines
MFC: add.h: 1.14, main.c: 1.67, perform.c: 1.80, pkg_add.1: 1.71

  date: 2006/03/09 14:49:19;  author: phk;  state: Exp;  lines: +6 -1
  Add -F option to not fail on already installed packages.

  Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>

Revision 1.59.2.7: download - view: text, markup, annotated - select for diffs
Fri May 12 15:51:55 2006 UTC (5 years, 9 months ago) by kensmith
Branches: RELENG_5
Diff to: previous 1.59.2.6: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.6: +1 -0 lines
Add packages-5.5-release.

Approved by:	re (implicit)

Revision 1.59.2.6.2.1: download - view: text, markup, annotated - select for diffs
Fri May 12 15:50:26 2006 UTC (5 years, 9 months ago) by kensmith
Branches: RELENG_5_5
CVS tags: RELENG_5_5_0_RELEASE
Diff to: previous 1.59.2.6: preferred, colored; next MAIN 1.59.2.7: preferred, colored
Changes since revision 1.59.2.6: +1 -0 lines
Add packages-5.5-release.

Approved by:	re (implicit)

Revision 1.61.2.5: download - view: text, markup, annotated - select for diffs
Sat May 6 07:44:56 2006 UTC (5 years, 9 months ago) by scottl
Branches: RELENG_6
Diff to: previous 1.61.2.4: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.4: +1 -0 lines
Set pointer to 6.1-STABLE.

Approved by: re

Revision 1.61.2.4.2.1: download - view: text, markup, annotated - select for diffs
Sat May 6 07:41:04 2006 UTC (5 years, 9 months ago) by scottl
Branches: RELENG_6_1
CVS tags: RELENG_6_1_0_RELEASE
Diff to: previous 1.61.2.4: preferred, colored; next MAIN 1.61.2.5: preferred, colored
Changes since revision 1.61.2.4: +1 -0 lines
Set all the pointers to 6.1-RELEASE.

Approved by: re

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Mar 9 14:49:19 2006 UTC (5 years, 11 months ago) by phk
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -1 lines
Add -F option to not fail on already installed packages.

Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>

Revision 1.59.2.6: download - view: text, markup, annotated - select for diffs
Mon Jan 16 19:51:41 2006 UTC (6 years ago) by flz
Branches: RELENG_5
CVS tags: RELENG_5_5_BP
Branch point for: RELENG_5_5
Diff to: previous 1.59.2.5: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.5: +7 -3 lines
MFC:

  Add -K option to pkg_add and pkg_info.
  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.

      src/usr.sbin/pkg_install/info/perform.c: rev 1.53 -> 1.54
      src/usr.sbin/pkg_install/add/main.c: rev 1.65 -> 1.66
      src/usr.sbin/pkg_install/lib/lib.h: rev 1.56 -> 1.57
      src/usr.sbin/pkg_install/info/pkg_info.1: rev 1.55 -> 1.56
      src/usr.sbin/pkg_install/add/add.h: rev 1.12 -> 1.13
      src/usr.sbin/pkg_install/add/pkg_add.1: rev 1.68 -> 1.69
      src/usr.sbin/pkg_install/add/perform.c: rev 1.78 -> 1.79
      src/usr.sbin/pkg_install/info/info.h: rev 1.28 -> 1.29
      src/usr.sbin/pkg_install/lib/url.c: rev 1.4 -> 1.5
      src/usr.sbin/pkg_install/info/main.c: rev 1.48 -> 1.49

Revision 1.61.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 16 19:48:17 2006 UTC (6 years ago) by flz
Branches: RELENG_6
CVS tags: RELENG_6_1_BP
Branch point for: RELENG_6_1
Diff to: previous 1.61.2.3: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.3: +7 -3 lines
MFC:

  Add -K option to pkg_add and pkg_info.
  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.

      src/usr.sbin/pkg_install/info/perform.c: rev 1.53 -> 1.54
      src/usr.sbin/pkg_install/add/main.c: rev 1.65 -> 1.66
      src/usr.sbin/pkg_install/lib/lib.h: rev 1.56 -> 1.57
      src/usr.sbin/pkg_install/info/pkg_info.1: rev 1.55 -> 1.56
      src/usr.sbin/pkg_install/add/add.h: rev 1.12 -> 1.13
      src/usr.sbin/pkg_install/add/pkg_add.1: rev 1.68 -> 1.69
      src/usr.sbin/pkg_install/add/perform.c: rev 1.78 -> 1.79
      src/usr.sbin/pkg_install/info/info.h: rev 1.28 -> 1.29
      src/usr.sbin/pkg_install/lib/url.c: rev 1.4 -> 1.5
      src/usr.sbin/pkg_install/info/main.c: rev 1.48 -> 1.49

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jan 9 18:27:20 2006 UTC (6 years, 1 month ago) by flz
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +7 -3 lines
Add -K option to pkg_add and pkg_info.
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

Revision 1.61.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 17 18:08:58 2005 UTC (6 years, 2 months ago) by krion
Branches: RELENG_6
Diff to: previous 1.61.2.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.2: +9 -2 lines
MFC: add.h:1.12, main.c:1.65, perform.c:1.78, pkg_add.1:1.67

  date: 2005/11/12 11:45:01;  author: krion;  state: Exp;  lines: +9 -2
  Add -P flag, it does the same as the -p option, except that the
  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>

Revision 1.59.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 17 18:07:54 2005 UTC (6 years, 2 months ago) by krion
Branches: RELENG_5
Diff to: previous 1.59.2.4: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.4: +9 -2 lines
MFC: add.h:1.12, main.c:1.65, perform.c:1.78, pkg_add.1:1.67

  date: 2005/11/12 11:45:01;  author: krion;  state: Exp;  lines: +9 -2
  Add -P flag, it does the same as the -p option, except that the
  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>

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Nov 12 11:45:01 2005 UTC (6 years, 3 months ago) by krion
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +9 -2 lines
Add -P flag, it does the same as the -p option, except that the
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

Revision 1.61.2.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 27 18:38:48 2005 UTC (6 years, 3 months ago) by murray
Branches: RELENG_6_0
CVS tags: RELENG_6_0_0_RELEASE
Diff to: previous 1.61.2.1: preferred, colored; next MAIN 1.61.2.2: preferred, colored
Changes since revision 1.61.2.1: +2 -1 lines
MFC: Use packages-6-release directory for packages, as appropriate.

Approved by:	re

Revision 1.61.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 27 18:36:13 2005 UTC (6 years, 3 months ago) by murray
Branches: RELENG_6
Diff to: previous 1.61.2.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.2.1: +2 -1 lines
MFC: look for packages in the packages-6-release directory when
appropriate.

Reviewed by:	portmgr (kris@)
Approved by:	re (scottl@)

Revision 1.64: download - view: text, markup, annotated - select for diffs
Thu Oct 27 18:34:51 2005 UTC (6 years, 3 months ago) by murray
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -1 lines
Look for packages in packages-6.0-release or packages-6-stable, as
appropriate.

Approved by:	re (scottl@)
Reviewed by:	portmgr (kris@)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jul 11 16:16:24 2005 UTC (6 years, 7 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +1 -1 lines
Fix an oops on FBSD-version for packages-5-stable I made in previous
commit.

Pointy hat:	kensmith
Approved by:	re (implicit)

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Jul 11 16:14:21 2005 UTC (6 years, 7 months ago) by kensmith
Branches: RELENG_6
CVS tags: RELENG_6_0_BP
Branch point for: RELENG_6_0
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -1 lines
Retro-fit packages-5.4-release entry.

Approved by:	re (implicit)

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jul 11 15:56:25 2005 UTC (6 years, 7 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -1 lines
Prepare for packages-7-current.  While here retro-fit packages-5.4-release
which probably should have been done a while ago.

Approved by:	re (implicit)

Revision 1.59.2.4: download - view: text, markup, annotated - select for diffs
Sun Apr 3 08:57:08 2005 UTC (6 years, 10 months ago) by kensmith
Branches: RELENG_5
Diff to: previous 1.59.2.3: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.3: +1 -0 lines
Add packages-5.4-release.

Revision 1.59.2.3.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 3 07:55:14 2005 UTC (6 years, 10 months ago) by kensmith
Branches: RELENG_5_4
CVS tags: RELENG_5_4_0_RELEASE
Diff to: previous 1.59.2.3: preferred, colored; next MAIN 1.59.2.4: preferred, colored
Changes since revision 1.59.2.3: +1 -0 lines
Add packages-5.4-release.

Approved by:	re (implicit)

Revision 1.29.2.24: download - view: text, markup, annotated - select for diffs
Mon Mar 21 17:42:03 2005 UTC (6 years, 10 months ago) by marcus
Branches: RELENG_4
Diff to: previous 1.29.2.23: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.23: +1 -1 lines
MFC: rev 1.61

Change the PATH for pkg_add to be the same used for pointyhat package builds.
This will give our users and porters a more consistent experience between
installing ports and installing packages.

Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 21 17:41:00 2005 UTC (6 years, 10 months ago) by marcus
Branches: RELENG_5
CVS tags: RELENG_5_4_BP
Branch point for: RELENG_5_4
Diff to: previous 1.59.2.2: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.2: +1 -1 lines
MFC: rev 1.61

Change the PATH for pkg_add to be the same used for pointyhat package builds.
This will give our users and porters a more consistent experience between
installing ports and installing packages.

Approved by:	re (kensmith)

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Mar 19 19:20:19 2005 UTC (6 years, 10 months ago) by marcus
Branches: MAIN
CVS tags: RELENG_6_BP
Branch point for: RELENG_6
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -1 lines
Change the PATH for pkg_add to be the same used for pointyhat package builds.
This will give our users and porters a more consistent experience between
installing ports and installing packages.

Discussed with:	portmgr

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 28 19:14:36 2004 UTC (7 years, 2 months ago) by kensmith
Branches: RELENG_5
Diff to: previous 1.59.2.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.2.1: +1 -1 lines
Partial MFC of v1.60 I think.  Switch it so 5-stable package fetches
look in packages-5-stable instead of packages-5-current.

Requested by:	kris

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 24 09:42:10 2004 UTC (7 years, 3 months ago) by scottl
Branches: RELENG_5
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +1 -1 lines
5-current packages should track post 5.3, not post 5.2.

Approved by: re

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 24 09:41:12 2004 UTC (7 years, 3 months ago) by scottl
Branches: RELENG_5_3
CVS tags: RELENG_5_3_0_RELEASE
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +1 -1 lines
5-current packages need to track post 5.3, not post 5.2.

Approved by: re

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun Oct 17 14:36:30 2004 UTC (7 years, 3 months ago) by obrien
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +3 -1 lines
Set the real limits on 5-current, add 5-stable, add 6-current.

Revision 1.29.2.23: download - view: text, markup, annotated - select for diffs
Wed Aug 11 16:16:22 2004 UTC (7 years, 6 months ago) by eik
Branches: RELENG_4
CVS tags: RELENG_4_11_BP, RELENG_4_11_0_RELEASE, RELENG_4_11
Diff to: previous 1.29.2.22: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.22: +35 -7 lines
sync the pkg_install tools with -CURRENT:

- MFC of the package tools revision 20040629 changes.

- replace the perl version of pkg_version(1) by its C equivalent,
  which means that `pkg_version -c' does no longer work

- keep the perl version of pkg_update(1) until a replacement is available

- include some man pages fixes

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Jul 28 07:19:15 2004 UTC (7 years, 6 months ago) by kan
Branches: MAIN
CVS tags: RELENG_5_BP, RELENG_5_3_BP
Branch point for: RELENG_5_3, RELENG_5
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -1 lines
Downgrade WARNS level to more tolerable value. Attempt to fix
casts as lvalue usage whenever possible.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jun 29 19:06:41 2004 UTC (7 years, 7 months ago) by eik
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +16 -3 lines
- pkg_add spawns itself as argv[0]  when installing dependent packages, to
  enable the use as a port on older systems

- use absolute paths in all calls to external programs, to account for strange
  PATH settings

- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on
  FreeBSD 4.x as a port.

- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the
  pkg_install tools can be kept in sync on 4.x and 5.x

- Bump PKG_INSTALL_VERSION

Reviewed by:	portmgr (bento run)
MFC after:	4 weeks

Revision 1.29.2.21.2.1: download - view: text, markup, annotated - select for diffs
Sat May 8 23:59:16 2004 UTC (7 years, 9 months ago) by bmah
Branches: RELENG_4_10
CVS tags: RELENG_4_10_0_RELEASE
Diff to: previous 1.29.2.21: preferred, colored; next MAIN 1.29.2.22: preferred, colored
Changes since revision 1.29.2.21: +1 -0 lines
MFRELENG_4:  Add 4.10 entry so that pkg_add -r fetches from the right
package set.

	main.c	1.29.2.21->1.29.2.22

PR:		66251
Submitted by:	eik
Approved by:	re

Revision 1.29.2.22: download - view: text, markup, annotated - select for diffs
Sat May 8 23:54:26 2004 UTC (7 years, 9 months ago) by bmah
Branches: RELENG_4
Diff to: previous 1.29.2.21: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.21: +1 -0 lines
MFC:  Add 4.10 entries so that pkg_add -r fetches from the
right package sets.

Partial merge of:

	src/usr.sbin/pkg_install/add/main.c 1.56->1.57

PR:		66251
Submitted by:	eik

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat May 8 23:45:31 2004 UTC (7 years, 9 months ago) by bmah
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -1 lines
Add 4.10 and 5.2.1 entries so that pkg_add -r fetches from the right
package sets.

PR:		66251
Submitted by:	eik

Revision 1.56: download - view: text, markup, annotated - select for diffs
Mon Mar 1 21:58:21 2004 UTC (7 years, 11 months ago) by kensmith
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +13 -3 lines
Add command line option for chrootdir, all pkg_add(8) operations will be
done inside of chroot(2) to chrootdir.  Added to help with sysinstall(8)
support of install to alternate root but possibly useful for setting up
jails, etc.

No objection from:	portmgr@
Style(9) abuse due to:	entire program violates style(9)
Approved by:		rwatson (mentor)

Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 23 05:35:58 2004 UTC (7 years, 11 months ago) by scottl
Branches: RELENG_5_2
CVS tags: RELENG_5_2_1_RELEASE
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.1: +2 -1 lines
Point the pkg tools to the 5.2.1 packages.

Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 2 06:12:05 2004 UTC (8 years, 1 month ago) by bmah
Branches: RELENG_5_2
CVS tags: RELENG_5_2_0_RELEASE
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -1 lines
MFC:  Catch up with reality with respect to the location of 4.8, 4.9,
5.0, 5.1, 5.2, and CURRENT packages.

	main.c	1.54->1.55

Approved by:	re (scottl)

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jan 2 00:13:20 2004 UTC (8 years, 1 month ago) by bmah
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -1 lines
Catch up with reality with respect to the location of 4.8, 4.9,
5.0, 5.1, 5.2, and CURRENT packages.

Revision 1.29.2.20.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 27 07:57:32 2003 UTC (8 years, 3 months ago) by murray
Branches: RELENG_4_9
CVS tags: RELENG_4_9_0_RELEASE
Diff to: previous 1.29.2.20: preferred, colored; next MAIN 1.29.2.21: preferred, colored
Changes since revision 1.29.2.20: +2 -0 lines
MFS: 4.9-RELEASE should fetch the release packages with pkg_add -r.

Revision 1.29.2.21: download - view: text, markup, annotated - select for diffs
Mon Oct 27 07:56:27 2003 UTC (8 years, 3 months ago) by murray
Branches: RELENG_4
CVS tags: RELENG_4_10_BP
Branch point for: RELENG_4_10
Diff to: previous 1.29.2.20: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.20: +2 -0 lines
Add proper entries to release table so that pkg_add -r on a 4.9 system
will fetch 4.9 packages, instead of falling back on 4-stable packages.

Revision 1.54.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 4 06:00:49 2003 UTC (8 years, 8 months ago) by scottl
Branches: RELENG_5_1
CVS tags: RELENG_5_1_0_RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +2 -1 lines
Notify pkg_add about 5.1

Revision 1.29.2.20.2.1: download - view: text, markup, annotated - select for diffs
Sun Mar 30 20:45:02 2003 UTC (8 years, 10 months ago) by murray
Branches: RELENG_4_8
CVS tags: RELENG_4_8_0_RELEASE
Diff to: previous 1.29.2.20: preferred, colored; next MAIN 1.29.2.21: preferred, colored
Changes since revision 1.29.2.20: +1 -0 lines
4.8 should look for packages in the packages-4.8-release directory.

Approved by:	re

Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 16 06:03:40 2003 UTC (9 years ago) by scottl
Branches: RELENG_5_0
CVS tags: RELENG_5_0_0_RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +1 -0 lines
Note the home of the 5.0-release packages.

Approved by:	re (blanket)

Revision 1.29.2.19.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 8 05:39:07 2002 UTC (9 years, 4 months ago) by bmah
Branches: RELENG_4_7
CVS tags: RELENG_4_7_0_RELEASE
Diff to: previous 1.29.2.19: preferred, colored; next MAIN 1.29.2.20: preferred, colored
Changes since revision 1.29.2.19: +1 -0 lines
MFS:  Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriate
osreldate.

Approved by:	re

Revision 1.29.2.20: download - view: text, markup, annotated - select for diffs
Tue Oct 8 05:35:46 2002 UTC (9 years, 4 months ago) by bmah
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_8_BP
Branch point for: RELENG_4_9, RELENG_4_8
Diff to: previous 1.29.2.19: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.19: +1 -0 lines
MFC:  Teach pkg_add -r how to find 4.7-RELEASE packages with an
appropriate osreldate.

Approved by:	re

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Oct 8 05:15:21 2002 UTC (9 years, 4 months ago) by bmah
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_1_BP, RELENG_5_0_BP
Branch point for: RELENG_5_2, RELENG_5_1, RELENG_5_0
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -0 lines
Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriate
osreldate.

(Actually, due to differences in package compression formats, I'm
not sure that a -CURRENT pkg_add -r will do the right thing in
this case, once it finds them.)

Revision 1.29.2.19: download - view: text, markup, annotated - select for diffs
Wed Sep 25 23:22:13 2002 UTC (9 years, 4 months ago) by bmah
Branches: RELENG_4
CVS tags: RELENG_4_7_BP
Branch point for: RELENG_4_7
Diff to: previous 1.29.2.18: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.18: +1 -2 lines
Revert to gzip as the default compression scheme used by the
pkg_* utilities.

While the idea of bzip2 compression is a good one, our support for
this feature isn't mature enough for the impending release.

Reviewed by:	obrien
Approved by:	re (bmah)

Revision 1.29.2.13.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 9 21:45:56 2002 UTC (9 years, 5 months ago) by bmah
Branches: RELENG_4_6
Diff to: previous 1.29.2.13.4.1: preferred, colored; branchpoint 1.29.2.13: preferred, colored; next MAIN 1.29.2.14: preferred, colored
Changes since revision 1.29.2.13.4.1: +1 -1 lines
MFS:  Fix minor off-by-one error.

Approved by:	re (jhb)
Originally approved by:	security-officer (nectar)

Revision 1.29.2.18: download - view: text, markup, annotated - select for diffs
Mon Sep 9 21:22:56 2002 UTC (9 years, 5 months ago) by bmah
Branches: RELENG_4
Diff to: previous 1.29.2.17: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.17: +1 -1 lines
MFC:  Fix minor off-by-one-error.

Submitted by:	jhb
Approved by:	re (jhb)

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon Sep 9 21:21:34 2002 UTC (9 years, 5 months ago) by bmah
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1 lines
Fix minor off-by-one error.

Submitted by:	jhb

Revision 1.29.2.13.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 9 20:05:33 2002 UTC (9 years, 5 months ago) by bmah
Branches: RELENG_4_6
Diff to: previous 1.29.2.13: preferred, colored
Changes since revision 1.29.2.13: +2 -0 lines
MFS:  Make pkg_install go to the right place for 4.6-RELEASE and
4.6.2-RELEASE packages.

Approved by:	security-officer (nectar)

Revision 1.29.2.17: download - view: text, markup, annotated - select for diffs
Mon Sep 9 19:50:37 2002 UTC (9 years, 5 months ago) by bmah
Branches: RELENG_4
Diff to: previous 1.29.2.16: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.16: +2 -0 lines
MFC:  Make pkg_install go to the right place for 4.6-RELEASE and
4.6.2-RELEASE packages.

Approved by:	re

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Sep 9 19:44:17 2002 UTC (9 years, 5 months ago) by bmah
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -0 lines
Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE
packages.

Pointed out by:	obrien
Reviewed by:	jhb

Revision 1.29.2.16: download - view: text, markup, annotated - select for diffs
Sat Aug 31 18:54:28 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.29.2.15: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.15: +37 -22 lines
MFC: Reduce private "lesser known" function redirection to improve clarity.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sun Aug 25 01:00:16 2002 UTC (9 years, 5 months ago) by obrien
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -2 lines
Find remaining hardcoded gzip bits and change to bzip2 bits.
Mark with XXX so someone that cares about being able to handle either
bziped or gziped packages knows where the remaining nits are.

Revision 1.29.2.15: download - view: text, markup, annotated - select for diffs
Tue Aug 20 06:35:07 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.29.2.14: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.14: +2 -4 lines
MFC: don't use the GCC'ism __FUNCTION__, but rather than ISO __func__'ism.

Revision 1.29.2.14: download - view: text, markup, annotated - select for diffs
Tue Aug 20 03:27:37 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.29.2.13: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.13: +1 -1 lines
MFC: rev 1.49 (increase the number of packages that can be installed by an
order of magnitude)

Revision 1.50: download - view: text, markup, annotated - select for diffs
Mon Apr 1 09:39:06 2002 UTC (9 years, 10 months ago) by obrien
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -4 lines
Fix SCM ID's.

Revision 1.29.2.13: download - view: text, markup, annotated - select for diffs
Tue Oct 23 09:16:03 2001 UTC (10 years, 3 months ago) by sobomax
Branches: RELENG_4
CVS tags: RELENG_4_6_BP, RELENG_4_6_2_RELEASE, RELENG_4_6_1_RELEASE, RELENG_4_6_0_RELEASE, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Branch point for: RELENG_4_6
Diff to: previous 1.29.2.12: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.12: +1 -1 lines
MFC: WANSify.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Oct 16 06:42:06 2001 UTC (10 years, 3 months ago) by obrien
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +1 -1 lines
Increase the number of packages that can be installed by an order of
magnitude.  Geez, this is Unix, what is with the arbitrary needless
constants.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Oct 10 06:58:41 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +1 -1 lines
WARNS=2 cleanup.

Tested on:	i386, alpha
MFC after:	2 weeks

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Sep 17 13:37:50 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -3 lines
Fix segfault introduced in previous commit (when adding local packages).

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Sep 7 22:32:37 2001 UTC (10 years, 5 months ago) by unfurl
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -1 lines
Fixes problem with pkg_add -r when adding multiple pkgs.

Reviewed by:	chris

Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Aug 13 04:18:29 2001 UTC (10 years, 6 months ago) by obrien
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +28 -19 lines
Reduce private "lesser known" function redirection to improve clarity.

Approved by:	jkh

Revision 1.29.2.12: download - view: text, markup, annotated - select for diffs
Wed Aug 1 08:32:34 2001 UTC (10 years, 6 months ago) by sobomax
Branches: RELENG_4
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.29.2.11: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.11: +2 -2 lines
MFC: bzip2 is in the base system now, so we don't need /usr/local/bin in the
PATH anymore.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:44:09 2001 UTC (10 years, 6 months ago) by obrien
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +19 -19 lines
The security officer requested this be backed out for discussion.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Jul 28 01:59:58 2001 UTC (10 years, 6 months ago) by obrien
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +19 -19 lines
Remove s_strl*().  I am not sure what was thought they accomplished.

When reading the code I had to stop, say "ok, what does *these*
modifications of strl*() do?  Pull out grep.  Oh, not in add/, maybe above
in ../lib/?  Yep.  So what do they do?  Comments above them are misleading,
guess I'll have to read the code.  Oh, they just test strl* against the
size and return the result of the test.  Now I can continue to read the
code I was.

The uses of s_strl*() then test that result and errx()'s.
Lets think about the "optimized" code I am removing:

In general the compiler pushes the three args to strl* onto the stack and calls
s_strl*.  s_strl* has to indirectly access 3 args from the stack.  Then push
them on the stack a 2nd time for the real strl* call.  s_strl* then pops the
return from strl* off the stack; or moves it from the register it was returned
in, to the register where tests can happen.  s_strl* then pops the three
arguments to strl*.  Perform the test, push the result of the test, or move it
from the result register to the return value register.  The caller to s_strl*
now has to either pop the return value of s_strl* or move it from the return
value register to the test register.  The caller then pops the three args to
s_strl* off the stack (the same args that s_strl* itself had to pop off after
the real call to strl*).  The s_strl* caller then performs a simular test to
what has already been done, and conditionally jumps.  By doing things this way, we've given the compiler optimizer less to work with.

Also, please don't forget the that call to s_strl* has possibly jumped to code
not in the cache due to being far away from the calling code, thus causing a
pipeline stall.

So where is the "optimization" from s_strl*?
It isn't code clarity.
It isn't code execution speed.  It isn't code size either.

Revision 1.29.2.11: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:26:24 2001 UTC (10 years, 6 months ago) by kris
Branches: RELENG_4
Diff to: previous 1.29.2.10: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.10: +2 -2 lines
MFC: Only match the first osreldate date range for constructing the FTP
URL, not all of them.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jul 26 20:25:50 2001 UTC (10 years, 6 months ago) by kris
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Only match the first osreldate date range for constructing the FTP URL,
not all of them.

Noticed by:	obrien

Revision 1.29.2.10: download - view: text, markup, annotated - select for diffs
Thu Jul 19 06:06:01 2001 UTC (10 years, 6 months ago) by kris
Branches: RELENG_4
Diff to: previous 1.29.2.9: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.9: +75 -45 lines
MFC: r1.38:

Clean up some of the evil string handling in this code, replace
warnx()+exit() with errx() and replace a big if..then..else construct
to determine the package download directory with a lookup table.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jul 19 06:01:23 2001 UTC (10 years, 6 months ago) by kris
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -5 lines
Correct a reversion in r1.39 which introduced a new instance of strcpy()
after r1.38 had attempted to remove them all.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Jul 10 15:10:47 2001 UTC (10 years, 7 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
bzip2(1) is in the base system - we don't need /usr/local/bin in the PATH
anymore.

Revision 1.29.2.9: download - view: text, markup, annotated - select for diffs
Mon Jun 18 21:22:15 2001 UTC (10 years, 7 months ago) by pirzyk
Branches: RELENG_4
Diff to: previous 1.29.2.8: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.8: +2 -1 lines
Forgot one line from the patch....

Blunder noticed by:	 Karl Wiebe <karl@dnai.com>

Revision 1.29.2.8: download - view: text, markup, annotated - select for diffs
Mon Jun 18 16:16:14 2001 UTC (10 years, 7 months ago) by pirzyk
Branches: RELENG_4
Diff to: previous 1.29.2.7: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.7: +2 -2 lines
Fixed pkg_add so when it does not find the package, it returns non zero.

PR:		bin/23083
Patch Submitted by:	Maxime Henrion <mux@qualys.com>
MFC:	1.39

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Jun 4 21:35:08 2001 UTC (10 years, 8 months ago) by pirzyk
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -2 lines
Fixed pkg_add so when it does not find a package, it returns != 0.

PR:		bin/23083
Submitted by:	Patch submitted by Maxime Henrion <mux@qualys.com>
MFC after:	2 weeks

Revision 1.29.2.7: download - view: text, markup, annotated - select for diffs
Thu May 17 12:39:56 2001 UTC (10 years, 8 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.29.2.6: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.6: +0 -0 lines
(forced)

Read `add/main.c' instead `add/mail.c' in the previous log.

Revision 1.29.2.6: download - view: text, markup, annotated - select for diffs
Thu May 17 12:33:37 2001 UTC (10 years, 8 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.29.2.5: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.5: +9 -10 lines
MFC: Sync up with HEAD, modulo update/*, version/*, sign/* and r1.38
     of add/mail.c

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat May 12 09:44:32 2001 UTC (10 years, 9 months ago) by kris
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +76 -48 lines
Clean up some of the evil string handling in this code, replace
warnx()+exit() with errx() and replace a big if..then..else construct
to determine the package download directory with a lookup table.

Reviewed by:	jkh
MFC after:	2 weeks

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed May 9 01:38:28 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +5 -6 lines
rcsid style fix.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed May 9 01:37:49 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -9 lines
A WIP snuck in the rev 1.34 commit.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Apr 26 06:48:59 2001 UTC (10 years, 9 months ago) by ache
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +4 -3 lines
Fix typo in prev commit - add missing comma

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 25 19:11:09 2001 UTC (10 years, 9 months ago) by obrien
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +11 -5 lines
Add /usr/X11R6/bin to the exported PATH.  If /usr/local/bin is there,
/usr/X11R6/bin should be there.  This helps all the ports that need to
run `mkfontdir' and error out as many port maintainers do not realize
`mkfontdir' isn't in the path.

Prompted by:	pkg_add pcemu

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Feb 17 20:04:41 2001 UTC (10 years, 11 months ago) by obrien
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +17 -5 lines
MFS: getpackagesite() from RELENG_4 that allows the code to be the same.

Revision 1.29.2.5: download - view: text, markup, annotated - select for diffs
Sat Feb 17 20:03:02 2001 UTC (10 years, 11 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.29.2.4: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.4: +34 -12 lines
MFC: rev 1.32 (add `PACKAGEROOT')
This version is enhanced a little so the same code will work on RELENG_3
(should someone care to MFC it), RELENG_4, and -CURRENT.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 13 09:49:14 2001 UTC (11 years ago) by obrien
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +23 -11 lines
In light of the dismal transfer times from ftp.FreeBSD.org, add a new
`PACKAGEROOT' env var which you would set to a proper mirror of
ftp.FreeBSD.org (say "export PACKAGEROOT=ftp://ftp3.FreeBSD.org"), to
fetch from an alternate place.  This is easier to use than `PACKAGESITE'
for true mirrors, and can be used in your dot files across all versions
of FreeBSD.

Revision 1.29.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 5 10:02:50 2001 UTC (11 years ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.29.2.3: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.3: +2 -2 lines
MFC: add ability to handle bzip2-compressed packages.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Jan 22 12:01:54 2001 UTC (11 years ago) by sobomax
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
- Add ability to handle bzip2-compressed packages;
- fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars
  and provide default clause in several switch() statements).

No response from:	-ports

Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 18 01:50:09 2000 UTC (11 years, 6 months ago) by billf
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.2: +4 -4 lines
Update this so -r groks the 4.1-RELEASE tree. After the release I will
revisit this poor, poor method and put in something that I don't have to
bump every release.

Requested by:	obrien

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Thu Apr 13 15:04:05 2000 UTC (11 years, 10 months ago) by billf
Branches: RELENG_4
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +2 -2 lines
The FTP directory for 4.x changes from 4-current to 4-stable. symlinks
make this work on the ftp site right now, but this reflects reality now.

Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 14 18:15:46 2000 UTC (11 years, 11 months ago) by jkh
Branches: RELENG_4
CVS tags: RELENG_4_0_0_RELEASE
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -3 lines
Add the -release check

Submitted by:	billf

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Mar 13 18:47:48 2000 UTC (11 years, 11 months ago) by billf
Branches: MAIN
CVS tags: PRE_SMPNG
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2 lines
-CURRENT is now 500000, reflect that.

Revision 1.20.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 12 00:19:57 1999 UTC (12 years, 2 months ago) by billf
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE
Diff to: previous 1.20.2.8: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.8: +4 -4 lines
Update the "pkg_add -r" logic so it works for this release (so long
as the numbering scheme and ftp site layout don't change :->)

Approved by:	jkh

Revision 1.20.2.8: download - view: text, markup, annotated - select for diffs
Sat Nov 20 02:01:04 1999 UTC (12 years, 2 months ago) by cpiazza
Branches: RELENG_3
Diff to: previous 1.20.2.7: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.7: +7 -5 lines
MFC rev 1.29; make pkg_add -r work for multiple packages.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Nov 18 23:32:43 1999 UTC (12 years, 2 months ago) by cpiazza
Branches: MAIN
CVS tags: RELENG_4_BP
Branch point for: RELENG_4
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -5 lines
Make `pkg_add -r package1 package2 package3 ...` work correctly.

Reviewed by:	billf

Revision 1.20.2.7: download - view: text, markup, annotated - select for diffs
Fri Oct 29 00:06:56 1999 UTC (12 years, 3 months ago) by billf
Branches: RELENG_3
Diff to: previous 1.20.2.6: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.6: +2 -2 lines
Pass the pointy hat, I broke 'pkg_add -r' for 3.3-RELEASE. It works
if you use 'pkg_add -r Latest/ethereal' but not 'pkg_add -r ethereal', which
is it's intended use. Time to go find the errata text..

Laughed at by:	obrien, jim, msmith, jkh, and unfurl

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Sep 25 03:02:08 1999 UTC (12 years, 4 months ago) by billf
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +6 -17 lines
o Remove all of the objformat logic, it's never coming back.
o Simplify getpackagesite(), it comes back in full glory when we branch
again. It's still needed however to get the i386 or alpha directory.

Revision 1.20.2.6: download - view: text, markup, annotated - select for diffs
Thu Sep 16 08:26:12 1999 UTC (12 years, 4 months ago) by jkh
Branches: RELENG_3
CVS tags: RELENG_3_3_0_RELEASE
Diff to: previous 1.20.2.5: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.5: +2 -2 lines
Emergency fix for -r.

Submitted by:	bfumerola

Revision 1.7.4.8: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:44:29 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_1_0
Diff to: previous 1.7.4.7: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.7: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.11.2.6: download - view: text, markup, annotated - select for diffs
Sun Sep 5 11:40:42 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_2_2
Diff to: previous 1.11.2.5: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.5: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.20.2.5: download - view: text, markup, annotated - select for diffs
Wed Sep 1 14:05:07 1999 UTC (12 years, 5 months ago) by billf
Branches: RELENG_3
Diff to: previous 1.20.2.4: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.4: +9 -16 lines
(1) Remove support for automatic fetching of a.out packages. No-one
qualifies for that anymore.

(2) Change if logic to reflect 3.3-RELEASE

Revision 1.20.2.4: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:45:10 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
Diff to: previous 1.20.2.3: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.3: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Aug 28 01:17:56 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.20.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 23 03:59:42 1999 UTC (12 years, 5 months ago) by mharo
Branches: RELENG_3
Diff to: previous 1.20.2.2: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.2: +16 -8 lines
MFC: use uname(3) to find out hardware platform, add braces and other minor cleanup

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jun 24 06:33:17 1999 UTC (12 years, 7 months ago) by imp
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
'?' shouldn't be in the usage string.  Unknown characters are already
converted to '?'.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jun 23 16:54:29 1999 UTC (12 years, 7 months ago) by billf
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
If we are going to have a case for '?' then we should define it in Options.

Submitted by:	Ben Olson <bseth@chc-chimes.com>

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 14 21:58:59 1999 UTC (12 years, 8 months ago) by obrien
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +16 -8 lines
Support Alpha and -CURRENT in the "-r" option case.

Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 28 21:30:04 1999 UTC (13 years ago) by billf
Branches: RELENG_2_2
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.4: +44 -3 lines
Backport remote package fetching logic. I left hooks in for future
'releases', even though that isn't likely. (I heard a rumor about a -FINAL
release or something)

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 28 20:48:03 1999 UTC (13 years ago) by billf
Branches: RELENG_3
CVS tags: RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored
Changes since revision 1.20.2.1: +2 -2 lines
MFC: Return a sane value.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Jan 28 20:17:32 1999 UTC (13 years ago) by billf
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen,
but just in case.

Revision 1.20.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 27 22:18:43 1999 UTC (13 years ago) by billf
Branches: RELENG_3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -8 lines
MFC: wcarchive updates & typos

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jan 26 22:31:23 1999 UTC (13 years ago) by billf
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Numbering typo, missed a '0'

Submitted by:	Brian Feldman

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jan 25 21:08:13 1999 UTC (13 years ago) by billf
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +6 -6 lines
Update pkg_add's remote package feature to reflect the new structure of
wcarchive. This needs to be updated when:

(a) The directory structure changes on wcarchive
(b) getosreldate() has a new significance
	(ie. get ELF packages/get a.out packages)
(c) Branches are changed around

As we stand right now, 3.0-postELFday and 4.0-x all point to the same
directory, but when 4.0 starts to have its own packages, this file will
need to be changed.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Jan 18 03:54:17 1999 UTC (13 years ago) by billf
Branches: MAIN
CVS tags: RELENG_3_BP
Branch point for: RELENG_3
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +12 -14 lines
Style police, inline ifs.

Submitted by:	 Brian Feldman <green@unixhelp.org>

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Jan 17 01:22:54 1999 UTC (13 years ago) by billf
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +51 -3 lines
Add a new option for pkg_add, -r.

The remote option allows for automatic package fetching and installation
using the package repository found on wcarchive. Naturally, this site
can be overridden with a enviornment variable.

This code uses getobjformat() and getosreldate(). This means when some event
causes the package to be fetched to change (such as e-day) the logic also
needs to be changed.

Sorta reviewed by:	jkh
Code suggestions:	peter, jkh, eivind, msmith

Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 14 19:23:16 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +5 -1 lines
MFC: PR#4014

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Sep 14 19:22:59 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +5 -1 lines
Use a more reasonable default umask in case the root umask is too
fascist.
PR:		4014

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 8 10:42:41 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +10 -5 lines
MFC: various enhancements.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Sep 8 10:42:19 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +10 -5 lines
o Set paths internally for pkg_add for tools we might want to invoke.
o Fix bogus suffix handling.
o Tell user when an FTP url is being xferred rather than being silent.
  This sort of violates "the unix way" but it stops people from whacking
  ^C when they think it's hung, too.  Sometimes visual indication of
  success is important.  Doesn't spit out anything if not on a TTY.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:07:47 1997 UTC (14 years, 4 months ago) by charnier
Branches: RELENG_2_2
CVS tags: RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE, RELENG_2_2_5_RELEASE
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +20 -31 lines
MFC: Use err(3). Cosmetics in usage string and man page.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Oct 8 07:45:43 1997 UTC (14 years, 4 months ago) by charnier
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +18 -29 lines
Use err(3). Cosmetics in usage string and man page.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Sep 18 14:08:27 1997 UTC (14 years, 4 months ago) by phk
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 05:15:38 1997 UTC (14 years, 5 months ago) by imp
Branches: RELENG_2_2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
MFC: getopt returns -1 not EOF

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Mar 31 05:10:45 1997 UTC (14 years, 10 months ago) by imp
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 22 16:09:18 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
Revert $FreeBSD$ to $Id$

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 14 07:14:29 1997 UTC (15 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -1 lines
Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.

Revision 1.7.4.7: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:36:09 1996 UTC (15 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE, RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE
Diff to: previous 1.7.4.6: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.6: +1 -1 lines
Merge from HEAD.

Revision 1.7.4.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 12:17:27 1996 UTC (15 years, 6 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.7.4.5: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.5: +1 -2 lines
Do my good deed for the day and merge in some recent pkg_install fixes
for those folk still supping -stable in the fond hope that folks might
occasionally do nice things to it.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jul 30 10:48:09 1996 UTC (15 years, 6 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_2_BP, RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Branch point for: RELENG_2_2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
Add MD5 checksums to packing list for all files during pkg_create and use
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed!  That's a tougher problem to solve, and this provides
only the minimal amount of safety belt.  MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.

Revision 1.7.4.5: download - view: text, markup, annotated - select for diffs
Mon May 27 23:58:56 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_5_RELEASE
Diff to: previous 1.7.4.4: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.4: +4 -2 lines
Merge with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Mar 12 06:12:36 1996 UTC (15 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
Fix a couple of miscellaneous bugs and make pkg_add also support reading
from stdin.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 12 04:55:19 1995 UTC (16 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +38 -16 lines
Bring my pkg_install improvements forward from 2.1.

Revision 1.7.4.4: download - view: text, markup, annotated - select for diffs
Fri Nov 10 06:44:41 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_0_RELEASE
Diff to: previous 1.7.4.3: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.3: +23 -30 lines
Every time I swear I'll never touch this again, I end up touching it.
Bleah.  Now the chained dependency adds work from FTP sites.  This was
really totally broken before, despite my claims to the contrary.  Sorry
folks.  I guess nobody uses the pkg_add ftp://... feature or somebody
would have reported it by now! :-)

Revision 1.7.4.3: download - view: text, markup, annotated - select for diffs
Fri Nov 3 02:54:56 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.7.4.2: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.2: +40 -11 lines
These patches fix two problems :

1 ) Tar was being called to process the archive after chdir()ing into the
    playpen, but the pathname given to it was uncorrected for the chdir().
    This is corrected by converting _all_ pathname arguments using
    realpath() (fileFindByPath() is used as a last-ditch attempt if the
    argument can't be found)

2 ) min_free was being called on the saved invocation directory, not on
    the playpen at one point.  (There are currently two seperate space
    checks, one when the playpen is created, and one later.  This is
    harmless cruft)
Submitted by:	Michael Smith <msmith@atrad.adelaide.edu.au>

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Oct 25 15:37:47 1995 UTC (16 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -4 lines
Bring forward my changes from 2.1

Revision 1.7.4.2: download - view: text, markup, annotated - select for diffs
Sat Oct 14 19:11:01 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.7.4.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.1: +3 -4 lines
Handle chained adds by URL.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:16:18 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Bring in the first half of my changes to handle dependencies when
fetching by URL.  This only effects the little-used get-by-URL feature
right now.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue May 30 03:49:53 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_0_BP, RELENG_2_0_5_RELEASE, RELENG_2_0_5_BP, RELENG_2_0_5
Branch point for: RELENG_2_1_0
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Remove trailing whitespace.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Apr 9 15:04:50 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_0_5_ALPHA
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
Add true support for dependency lists.

1. pkg_create now has a -P argument for specifying dependencies on the
   command line.
2. pkg_add will honor dependencies and chain-load them automatically if
   it finds the required package(s) in the same directory as the package
   that is being loaded.  For best results, install packages from a directory
   containing all the packages you'll possibly need
   (like /usr/ports/packages/all).

2 remaining flaws:

1. pkg_add looks in one place (where you were when you loaded the primary
   pkg) for depended packages.  If you can come up with a search path scheme
   that's not a total hack - be my guest!

2. Recursive dependency expansion can result in the name of a dep being
   listed more than once.  This doesn't bother pkg_add since it checks
   for package existance with pkg_info and will skip already-loaded packages.
   I don't know how/if pkg_delete handles this yet, however.  I need to look
   into it.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Dec 6 00:51:33 1994 UTC (17 years, 2 months ago) by jkh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -2 lines
Many of John T. Kohl's patches from NetBSD.  Thanks, John!
Submitted by:	jkohl

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 14 19:53:01 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: RELEASE_2_0, MOVED_NEWCVS, BP_BETA_1_1, BETA_2_0, ALPHA_2_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Fixed broken -t flag; thanks Rich!

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 5 04:53:49 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +24 -3 lines
Made staging area configurable rather than assuming /tmp (-t)
Made pkg_add -n less bitchy.
Made -p in pkg_add override "default" package location in pkg_create.

Added concept of "slave" and "master" modes, allowing many different things
to be done to packing lists on the fly.  This is really something for
front-end drivers to use, but also something for the more expert user.

rename()'ing files before trying to copy them, thus saving
considerable time when targets and staging area are on same filesystem.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 23:00:35 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
Lots of misc tweaks, support for arbitrary separators in pkg_info, more
intelligent name handling in pkg_create.  Most of these files are changed
because of rcsid's being different in my cvs tree and freefall's (foo).

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Aug 26 01:19:54 1993 UTC (18 years, 5 months ago) by jkh
CVS tags: pkg_install
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
The release version of my package install suite.  Please see man pages
for info.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 26 01:19:53 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options