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

CVS log for src/usr.sbin/pkg_install/create/pl.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.31: 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
CVS tags: HEAD
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +1 -1 lines
SVN rev 228990 on 2011-12-30 10:58:14Z by uqs

Spelling fixes for usr.sbin/

Revision 1.30.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
CVS tags: RELENG_9_0_0_RELEASE
Diff to: previous 1.30.2.1: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.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.30.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.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +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.30: 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.29: preferred, colored
Changes since revision 1.29: +1 -1 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.28.14.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
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.28.10.1.6.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
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.28.10.1: preferred, colored; next MAIN 1.28.12.1: preferred, colored
Changes since revision 1.28.10.1: +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.28.10.1.4.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.28.10.1: preferred, colored; next MAIN 1.28.12.1: preferred, colored
Changes since revision 1.28.10.1: +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.29: 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.28: preferred, colored
Changes since revision 1.28: +1 -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.28.12.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.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.28.10.1.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.28.10.1: preferred, colored; next MAIN 1.28.12.1: preferred, colored
Changes since revision 1.28.10.1: +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.28.10.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
CVS tags: RELENG_8_2_BP, RELENG_8_1_BP, RELENG_8_0_BP
Branch point for: RELENG_8_2, RELENG_8_1, RELENG_8_0
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.28.8.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
CVS tags: RELENG_7_2_0_RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.28.6.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
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +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.27.8.2.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
CVS tags: RELENG_6_4_0_RELEASE
Diff to: previous 1.27.8.2: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.8.2: +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.27.8.2: download - view: text, markup, annotated - select for diffs
Mon Apr 7 11:31:59 2008 UTC (3 years, 10 months ago) by flz
Branches: RELENG_6
CVS tags: RELENG_6_4_BP
Branch point for: RELENG_6_4
Diff to: previous 1.27.8.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.8.1: +0 -0 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.27.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 10 22:17:08 2006 UTC (6 years, 1 month ago) by krion
Branches: RELENG_5
CVS tags: RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +10 -3 lines
MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28
     info/show.c:1.40 lib/plist.c:1.51

  date: 2006/01/07 22:10:57;  author: krion;  state: Exp;  lines: +10 -3
  When using @cwd %%FOO%%, we must ensure to return in the original
  prefix later, but doing so with @cwd %%OLDPREFIX%% (having
  PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
  list. That's not really a problem when dealing with ports but that's
  a problem with packages since pkg_add -p option only overrides the
  first @cwd occurrence.

  This patch allow us to use @cwd without any argument. If no
  directory argument is given, it will set current working directory
  to the first prefix given by the @cwd command.

  PR:             bin/77212
  Submitted by:   flz

Revision 1.27.8.1: download - view: text, markup, annotated - select for diffs
Tue Jan 10 22:15:05 2006 UTC (6 years, 1 month ago) by krion
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -3 lines
MFC: add/extract.c:1.44 create/perform.c:1.82 create/pkg_create.1:1.70 create/pl.c:1.28
     info/show.c:1.40 lib/plist.c:1.51

  date: 2006/01/07 22:10:57;  author: krion;  state: Exp;  lines: +10 -3
  When using @cwd %%FOO%%, we must ensure to return in the original
  prefix later, but doing so with @cwd %%OLDPREFIX%% (having
  PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
  list. That's not really a problem when dealing with ports but that's
  a problem with packages since pkg_add -p option only overrides the
  first @cwd occurrence.

  This patch allow us to use @cwd without any argument. If no
  directory argument is given, it will set current working directory
  to the first prefix given by the @cwd command.

  PR:             bin/77212
  Submitted by:   flz

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jan 7 22:10:57 2006 UTC (6 years, 1 month ago) by krion
Branches: MAIN
CVS tags: RELENG_8_BP, RELENG_7_BP, RELENG_7_4_BP, RELENG_7_3_BP, RELENG_7_2_BP, RELENG_7_1_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0, RELENG_7
Branch point for: RELENG_8, RELENG_7_4, RELENG_7_3, RELENG_7_2, RELENG_7_1
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -3 lines
When using @cwd %%FOO%%, we must ensure to return in the original
prefix later, but doing so with @cwd %%OLDPREFIX%% (having
PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
list. That's not really a problem when dealing with ports but that's
a problem with packages since pkg_add -p option only overrides the
first @cwd occurrence.

This patch allow us to use @cwd without any argument. If no
directory argument is given, it will set current working directory
to the first prefix given by the @cwd command.

PR:		bin/77212
Submitted by:	flz

Revision 1.13.2.9: download - view: text, markup, annotated - select for diffs
Wed Aug 11 16:16:23 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.13.2.8: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.2.8: +47 -31 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.27: 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
CVS tags: RELENG_6_BP, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_5_BP, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3
Branch point for: RELENG_6, RELENG_5
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -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.26: download - view: text, markup, annotated - select for diffs
Tue Jun 29 18:56:59 2004 UTC (7 years, 7 months ago) by eik
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +42 -26 lines
- pkg_create: new flag -S (clean room installation)

- pkg_create: checksum meta files too

PR:		66032

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Dec 17 13:36:05 2003 UTC (8 years, 1 month ago) by nectar
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Correct truncation detection after use of snprintf:  The case where
exactly one character was truncated was not detected.

Revision 1.13.2.8: download - view: text, markup, annotated - select for diffs
Sat Aug 31 19:31:02 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.13.2.7: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.7: +2 -2 lines
MFC: rev 1.18 (handle snprintf() returning <0)

Forgotten by:	brian (for 1 year)

Revision 1.13.2.7: 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.13.2.6: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.6: +7 -9 lines
MFC: don't use the GCC'ism __FUNCTION__, but rather than ISO __func__'ism.

Revision 1.13.2.6: download - view: text, markup, annotated - select for diffs
Fri Aug 2 11:09:05 2002 UTC (9 years, 6 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.13.2.5: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.5: +3 -0 lines
MFC: all latest changes, fixes and new features. This pretty much brings code
in stable on par with -current.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 14 21:42:37 2002 UTC (9 years, 9 months ago) by sobomax
Branches: MAIN
CVS tags: RELENG_5_2_BP, RELENG_5_2_1_RELEASE, RELENG_5_2_0_RELEASE, RELENG_5_2, RELENG_5_1_BP, RELENG_5_1_0_RELEASE, RELENG_5_1, RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -0 lines
- Make use of DEPOROGINs (if there are any) when installing package;
- fix few bogosities here and there;
- move some common routines into the library.

MFC after:	2 weeks

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat May 11 04:17:54 2002 UTC (9 years, 9 months ago) by alfred
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -4 lines
replace __FUNCTION__ with standardized __func__.

Requested by: jhb

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat May 11 03:48:48 2002 UTC (9 years, 9 months ago) by alfred
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -4 lines
fix build:
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"

Revision 1.21: 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.20: preferred, colored
Changes since revision 1.20: +3 -5 lines
Fix SCM ID's.

Revision 1.13.2.5: download - view: text, markup, annotated - select for diffs
Wed Oct 24 10:06:55 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_6, RELENG_4_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.13.2.4: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.4: +13 -1 lines
MFC: symlinks and other non-regular files handling fixes, packing list format
versioning.

Revision 1.13.2.4: 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
Diff to: previous 1.13.2.3: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.3: +10 -9 lines
MFC: WANSify.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Oct 10 08:21:41 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +13 -1 lines
- Introduce a notion of `packing list format version'. This allows making
  non-backward compatible changes in the format of packing list and handle
  them gracefully;
- fix a longstanding issue with symlinks handling. Instead of recording
  checksum for the file symlink points to, record checksum for the value
  returned by readlink(2). For backward compatibility increase packing list
  format minor version number and provide a fallback to a previous behaviour,
  if package in question was created with older version of pkg_* tools;

Submitted by:	Alec Wolman <wolman@cs.washington.edu>, sobomax

- don't record MD5 checksum for device nodes, fifo's and other non-regular
  files.

Submitted by:	nbm
MFC in:		2 weeks

Revision 1.19: 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.18: preferred, colored
Changes since revision 1.18: +11 -10 lines
WARNS=2 cleanup.

Tested on:	i386, alpha
MFC after:	2 weeks

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 20 15:09:33 2001 UTC (10 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
Handle snprintf() returning < 0 (not just -1)

MFC after:	2 weeks

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Aug 20 13:24:39 2001 UTC (10 years, 5 months ago) by brian
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Handle snprintf() returning -1.

MFC after:	2 weeks

Revision 1.13.2.3: 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
CVS tags: RELENG_4_4_BP, RELENG_4_4_0_RELEASE, RELENG_4_4
Diff to: previous 1.13.2.2: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.2: +21 -11 lines
MFC: Sync up with HEAD, modulo update/*, version/*, sign/* and r1.38
     of add/mail.c

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu May 17 10:12:41 2001 UTC (10 years, 8 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +22 -12 lines
Style policy: reformat multiline comments to conform to style(9).

Revision 1.13.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 15 14:13:18 2001 UTC (11 years ago) by sobomax
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.13.2.1: preferred, colored; branchpoint 1.13: preferred, colored
Changes since revision 1.13.2.1: +17 -12 lines
MFC:
Fix a bug where pkg_create does not make an md5 entry for the last item in
the packing list. Also use switch() instead of zillion "else if ()" and for()
loop instead of while() loop for traversing through linked list.

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 15 14:13:18 2001 UTC (11 years ago) by sobomax
Branches: RELENG_3
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +16 -11 lines
MFC:
Fix a bug where pkg_create does not make an md5 entry for the last item in
the packing list. Also use switch() instead of zillion "else if ()" and for()
loop instead of while() loop for traversing through linked list.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Jan 12 11:36:12 2001 UTC (11 years, 1 month ago) by sobomax
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +17 -12 lines
Fix a bug where pkg_create does not make an md5 entry for the last item in
the packing list. Also use switch() instead of zillion "else if ()" and for()
loop instead of while() loop for traversing through linked list.

MFC candidate.

Submitted by:	Alec Wolman <wolman@cs.washington.edu>

Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 23 18:34:15 2000 UTC (11 years, 3 months ago) by jkh
Branches: RELENG_4
CVS tags: RELENG_4_2_0_RELEASE
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
MFC: more informative errx() messages, use ISO string functions.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Oct 22 09:53:25 2000 UTC (11 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
Cause fatal error messages to be a little more helpful to the programmer
concerning where they're taking place.

Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.

Prompted by:	Edward Welbourne <eddy@vortigen.demon.co.uk>

Revision 1.7.4.3: 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.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.4.2: +1 -1 lines
$Id$ -> $FreeBSD$

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

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:45:16 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE, RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Aug 28 01:17:59 1999 UTC (12 years, 5 months ago) by peter
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_1_1_RELEASE, RELENG_4_1_0_RELEASE, RELENG_4_0_0_RELEASE, PRE_SMPNG
Branch point for: RELENG_4
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -1 lines
$Id$ -> $FreeBSD$

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 11 07:27:18 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored
Changes since revision 1.8.2.1: +17 -9 lines
MFC: cleanup() fixes.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Sep 11 07:26:57 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_3_BP, RELENG_3_2_PAO_BP, RELENG_3_2_PAO, RELENG_3_2_0_RELEASE, RELENG_3_1_0_RELEASE, RELENG_3_0_0_RELEASE
Branch point for: RELENG_3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +17 -9 lines
correct usage of cleanup() everywhere - this became bogus when the warnx/errx
stuff was added and nobody seems to have noticed. :)
Noticed by:	Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:09:06 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.8: preferred, colored
Changes since revision 1.8: +7 -5 lines
MFC: Use err(3). Cosmetics in usage string and man page.

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

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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 14 07:14:40 1997 UTC (15 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +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.2: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:37:37 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.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.4.1: +1 -1 lines
Merge from HEAD.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Thu Aug 1 12:17:31 1996 UTC (15 years, 6 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -10 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.8: download - view: text, markup, annotated - select for diffs
Tue Jul 30 10:48:13 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.7: preferred, colored
Changes since revision 1.7: +12 -10 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: download - view: text, markup, annotated - select for diffs
Tue May 30 03:49:56 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_5_RELEASE, RELENG_2_1_0_RELEASE, 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: +3 -3 lines
Remove trailing whitespace.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Dec 6 00:51:38 1994 UTC (17 years, 2 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: +127 -6 lines
Many of John T. Kohl's patches from NetBSD.  Thanks, John!
Submitted by:	jkohl

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 17 10:35:04 1994 UTC (17 years, 2 months ago) by jkh
Branches: MAIN
CVS tags: RELEASE_2_0, BETA_2_0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -17 lines
Remove the QUERY_* functions.  I don't think they're as good an
idea as I apparently once did.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 29 16:31:38 1994 UTC (17 years, 5 months ago) by adam
Branches: MAIN
CVS tags: ALPHA_2_0
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -6 lines
Allow creation of absolute package names
typo index() --> rindex()  in order to split correct suffix
Fix @srcdir so it actually works
Submitted by:	adam

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Aug 28 14:15:23 1994 UTC (17 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
Add @srcdir option for customizing creation of packages.
Submitted by:	jkh

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Sep 3 23:00:57 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: MOVED_NEWCVS, BP_BETA_1_1
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