CVS log for src/usr.sbin/pkg_install/add/perform.c
Up to [FreeBSD] / src / usr.sbin / pkg_install / add
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.92: 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.91: preferred, colored
Changes since revision 1.91: +1 -1 lines
SVN rev 228990 on 2011-12-30 10:58:14Z by uqs Spelling fixes for usr.sbin/
Revision 1.91.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.91.2.1: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.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.91.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.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +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.91: 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.90: preferred, colored
Changes since revision 1.90: +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.80.2.5.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
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.80.2.5: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.5: +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.88.2.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.88.2.1: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.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.88.2.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.88.2.1: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.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.90: 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.89: preferred, colored
Changes since revision 1.89: +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.89: download - view: text, markup, annotated - select for diffs
Thu Apr 1 14:27:29 2010 UTC (22 months, 1 week ago) by flz
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +17 -7 lines
SVN rev 206043 on 2010-04-01 14:27:29Z by flz Various fixes. - Replace hardcoded INDEX version. [1] - Fix a buffer overlap. [2] - Remove empty package when fetching fails and -K is used. [3] - Remove useless chmod2() after mkdtemp(3). [4] - Replace mkdir(1) call with mkdir(2). [5] - Get rid of some vsystem() calls. - Switch from lstat(2) to open(2) in fexists(). - Try rename(2) in move_file() first. - Bump PKG_INSTALL_VERSION to 20100401. PR: bin/145101 [1], bin/139492 [2], bin/144919 [3] bin/144920 [4], bin/144921 [5] Submitted by: gcooper [1,2,3,4,5]
Revision 1.80.2.5.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.80.2.5: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.5: +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.77.8.8: 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.77.8.7: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.8.7: +51 -13 lines
SVN rev 202842 on 2010-01-22 23:19:33Z by flz Synchronize pkg_install with HEAD.
Revision 1.80.2.5: download - view: text, markup, annotated - select for diffs
Fri Jan 22 23:17:07 2010 UTC (2 years ago) by flz
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.80.2.4: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.4: +51 -13 lines
SVN rev 202841 on 2010-01-22 23:17:07Z by flz Synchronize pkg_install with HEAD.
Revision 1.88.2.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.88.2.1: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.2.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.88.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
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.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +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.88: download - view: text, markup, annotated - select for diffs
Sun Jul 5 06:14:59 2009 UTC (2 years, 7 months ago) by brian
Branches: MAIN
CVS tags: RELENG_8_BP
Branch point for: RELENG_8
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +2 -0 lines
SVN rev 195346 on 2009-07-05 06:14:59Z by brian Disable r194497 for now. It doesn't work well with ports-mgmt/tinderbox. Approved by: re (ken)
Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Jun 19 17:07:38 2009 UTC (2 years, 7 months ago) by brian
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +49 -13 lines
SVN rev 194497 on 2009-06-19 17:07:38Z by brian
When running pkg_add -r, check & install our dependencies for each
package rather than expecting our top level package to get all of
the dependencies correct.
Previously, the code depended on the top level package having all
of the pkgdep lines in +CONTENTS correct and in the right order,
but that doesn't always happen due to code such as this (in
security/gnutls/Makefile):
.if (defined(WITH_LZO) || exists(${LOCALBASE}/lib/liblzo2.so)) && !defined(WITHOUT_LZO)
LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
....
With such conditional dependencies, my 'sophox-packages' package won't
install. The dependency tree looks like this:
sophox-packages
...
x11/gnome2
x11/gnome-applets
net/libgweather
devel/libsoup
security/gnutls
security/libgcrypt
security/libgpg-error
...
x11/gnome2
archivers/file-roller
archivers/gtar
archivers/lzop
archivers/lzo2
...
gnutls doesn't depend on lzo2 initially, but lzo2 is dragged into the
mix via other dependencies and is built by the initial 'make'. The
subsequent package generation for gnutls adds a pkgdep line for lzo2
to gnutls' +CONTENTS but the pkgdeps in sophox-packages' +CONTENTS
has gnutls *before* lzo2.
As a result, sophox-packages cannot install; gnutls fails because lzo2
is missing, 82 more packages fail because gnutls is missing and the
whole thing spirals into a super-confusing mess!
MFC after: 3 weeks
Revision 1.80.2.4.4.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.80.2.4: preferred, colored; next MAIN 1.80.2.5: preferred, colored
Changes since revision 1.80.2.4: +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.2.4.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
CVS tags: RELENG_7_1_0_RELEASE
Diff to: previous 1.80.2.4: preferred, colored; next MAIN 1.80.2.5: preferred, colored
Changes since revision 1.80.2.4: +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.77.8.7.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.77.8.7: preferred, colored; next MAIN 1.77.8.8: preferred, colored
Changes since revision 1.77.8.7: +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.77.8.7: 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.77.8.6: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.6: +0 -4 lines
SVN rev 179844 on 2008-06-17 10:48:46Z by flz MFC: remove 4.x support (r179835)
Revision 1.80.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
CVS tags: RELENG_7_2_BP, RELENG_7_1_BP
Branch point for: RELENG_7_2, RELENG_7_1
Diff to: previous 1.80.2.3: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.3: +0 -4 lines
SVN rev 179843 on 2008-06-17 10:47:24Z by flz MFC: remove 4.x support (r179835)
Revision 1.86: 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.85: preferred, colored
Changes since revision 1.85: +0 -4 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.77.8.6: download - view: text, markup, annotated - select for diffs
Mon Jun 16 09:03:57 2008 UTC (3 years, 7 months ago) by flz
Branches: RELENG_6
Diff to: previous 1.77.8.5: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.5: +1 -1 lines
SVN rev 179818 on 2008-06-16 09:03:57Z by flz
Synchronize pkg_install with HEAD (20080612)
r179760: fix recursive -K (add), '\n' not part of pkg origin (updating)
Revision 1.80.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 16 09:02:59 2008 UTC (3 years, 7 months ago) by flz
Branches: RELENG_7
Diff to: previous 1.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.2: +1 -1 lines
SVN rev 179817 on 2008-06-16 09:02:59Z by flz
Synchronize pkg_install with HEAD (20080612)
r179760: fix recursive -K (add), '\n' not part of pkg origin (updating)
Revision 1.85: download - view: text, markup, annotated - select for diffs
Thu Jun 12 15:21:13 2008 UTC (3 years, 8 months ago) by flz
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +1 -1 lines
SVN rev 179760 on 2008-06-12 15:21:13Z by flz - add: Keep dependent packages too if -K is specified. - updating: terminating '\n' is not part of the package origin. - bump PKG_INSTALL_VERSION to 20080612. PR: bin/119368 [1], bin/124459 [2] Submitted by: gcooper [1], Beat Gatzi <beat@chruetertee.ch> [2] MFC after: 3 days
Revision 1.77.8.5: download - view: text, markup, annotated - select for diffs
Tue Jun 3 15:02:04 2008 UTC (3 years, 8 months ago) by flz
Branches: RELENG_6
Diff to: previous 1.77.8.4: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.4: +66 -24 lines
SVN rev 179522 on 2008-06-03 15:02:04Z by flz
MFC: distfile target, pkg registration optimization
r178032,179377,179520: add distfile target
r178103,178753-178754: optimize package registration
Revision 1.80.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 3 14:58:51 2008 UTC (3 years, 8 months ago) by flz
Branches: RELENG_7
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +66 -24 lines
SVN rev 179521 on 2008-06-03 14:58:51Z by flz
MFC: distfile target, pkg registration optimization
r178032,179377,179520: add distfile target
r178103,178753-178754: optimize package registration
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat May 3 22:56:49 2008 UTC (3 years, 9 months ago) by pav
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +19 -15 lines
- Restore functionality broken in previous commit; we need to be able to report multiple installed packages with the same PKGORIGIN. Reported by: marcus MFC after: 1 month
Revision 1.83: download - view: text, markup, annotated - select for diffs
Fri Apr 11 08:26:06 2008 UTC (3 years, 10 months ago) by pav
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +62 -24 lines
Optimize package registration/deregistration. Previously, when looking up the package name for the origin of a dependency, all entries in /var/db/pkg were traversed for each dependency of added/removed package. Now, gather all the origins first, then do the lookup in a single pass over /var/db/pkg. This should provide a major speedup for packages with hundreds of dependencies. Submitted by: rdivacky (earlier version) MFC after: 1 month
Revision 1.77.8.4: 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.77.8.3: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.3: +4 -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.80.2.1: 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.80: preferred, colored
Changes since revision 1.80: +4 -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.82: download - view: text, markup, annotated - select for diffs
Sun Mar 30 16:49:19 2008 UTC (3 years, 10 months ago) by rdivacky
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +3 -3 lines
Improve style a little and remove one always-true condition. Approved by: portmgr (pav) Approved by: kib (mentor)
Revision 1.81: 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.80: preferred, colored
Changes since revision 1.80: +5 -1 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.77.8.3: 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
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
Diff to: previous 1.77.8.2: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.2: +3 -3 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.80: 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
CVS tags: RELENG_7_BP, RELENG_7_0_BP, RELENG_7_0_0_RELEASE, RELENG_7_0
Branch point for: RELENG_7
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3 lines
Add -F option to not fail on already installed packages. Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
Revision 1.77.2.2: 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, RELENG_5_5_0_RELEASE, RELENG_5_5
Diff to: previous 1.77.2.1: preferred, colored; branchpoint 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77.2.1: +7 -4 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.77.8.2: 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, RELENG_6_1_0_RELEASE, RELENG_6_1
Diff to: previous 1.77.8.1: preferred, colored; branchpoint 1.77: preferred, colored
Changes since revision 1.77.8.1: +7 -4 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.79: 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.78: preferred, colored
Changes since revision 1.78: +7 -4 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.77.8.1: 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.77: preferred, colored
Changes since revision 1.77: +7 -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.77.2.1: 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.77: preferred, colored
Changes since revision 1.77: +7 -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.78: 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.77: preferred, colored
Changes since revision 1.77: +7 -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.57.2.17: 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.57.2.16: preferred, colored; branchpoint 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57.2.16: +18 -13 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.77: download - view: text, markup, annotated - select for diffs
Wed Jul 28 16:03:13 2004 UTC (7 years, 6 months ago) by stefanf
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.76: preferred, colored
Changes since revision 1.76: +2 -2 lines
Use the length modifier 'll' instead of 'q' to print long longs.
Revision 1.76: 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.75: preferred, colored
Changes since revision 1.75: +11 -7 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.75: download - view: text, markup, annotated - select for diffs
Tue Jun 29 18:59:18 2004 UTC (7 years, 7 months ago) by eik
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +5 -4 lines
- pkg_info: flag -r: (show packages this packages depends on (documentation change)) - pkg_info: new flag -j (show the requirements script) - pkg_info: fix verbose output when used on packages - better handling of corrupt entries in /var/db/pkg - differ between corrupt entires and packages not installed - various small fixes PR: 56989, 57016, 57029, 26468
Revision 1.57.2.16: download - view: text, markup, annotated - select for diffs
Mon Aug 11 01:13:43 2003 UTC (8 years, 6 months ago) by kris
Branches: RELENG_4
CVS tags: RELENG_4_9_BP, RELENG_4_9_0_RELEASE, RELENG_4_9, RELENG_4_10_BP, RELENG_4_10_0_RELEASE, RELENG_4_10
Diff to: previous 1.57.2.15: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.15: +31 -1 lines
MFC: Support for pkg_add -C (conflicts) and pkg_info -P (pkg_tools version).
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Apr 17 09:56:05 2003 UTC (8 years, 9 months ago) by kris
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
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +31 -1 lines
* Add explicit conflict-checking to the package tools. Packages can register a list of other packages with which they conflict (via the -C option to pkg_create), and they will refuse to install (unless -f is specified) if one of the listed packages is already present. * Update documentation for the new feature as well as fleshing out some existing documentation. * Bump PKG_INSTALL_VERSION so this feature can be tested for. Submitted by: Sergey Matveychuk <sem@ciam.ru> PR: bin/47145 MFC after: 2 weeks
Revision 1.57.2.15: 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_8_BP, RELENG_4_8_0_RELEASE, RELENG_4_8, RELENG_4_7_BP, RELENG_4_7_0_RELEASE, RELENG_4_7
Diff to: previous 1.57.2.14: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.14: +1 -1 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.57.2.14: download - view: text, markup, annotated - select for diffs
Tue Sep 17 18:51:16 2002 UTC (9 years, 4 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.57.2.13: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.13: +6 -2 lines
MFC: assume that autoinstalled dependencies have the same format (.tbz, tgz or .tar) as the main one. This resolves one of the main problems with .tbz switchover. Approved by: re
Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Sep 3 06:59:33 2002 UTC (9 years, 5 months ago) by sobomax
Branches: MAIN
CVS tags: RELENG_5_0_BP, RELENG_5_0_0_RELEASE, RELENG_5_0
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +6 -2 lines
When installing package from a local file assume that all subsequent autoinstalled dependencies will have the same extension, not just ".tbz". Pointy hat to: obrien X-MFC after: -1 day
Revision 1.57.2.13: download - view: text, markup, annotated - select for diffs
Sat Aug 31 19:38:55 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.57.2.12: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.12: +10 -10 lines
MFC: use '' quotes instead of `' to delimit names of files and packages
Revision 1.57.2.12: download - view: text, markup, annotated - select for diffs
Sat Aug 31 19:25:54 2002 UTC (9 years, 5 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.57.2.11: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.11: +4 -3 lines
MFC: convert our compression method to bzip2 from gzip.
Revision 1.72: 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.71: preferred, colored
Changes since revision 1.71: +3 -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.57.2.11: 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.57.2.10: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.10: +4 -6 lines
MFC: don't use the GCC'ism __FUNCTION__, but rather than ISO __func__'ism.
Revision 1.57.2.10: download - view: text, markup, annotated - select for diffs
Fri Aug 2 11:09:04 2002 UTC (9 years, 6 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.57.2.9: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.9: +67 -35 lines
MFC: all latest changes, fixes and new features. This pretty much brings code in stable on par with -current.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue May 14 21:42:36 2002 UTC (9 years, 9 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +67 -35 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.57.2.9: download - view: text, markup, annotated - select for diffs
Sun Apr 14 13:23:49 2002 UTC (9 years, 10 months ago) by murray
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
Diff to: previous 1.57.2.8: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.8: +4 -3 lines
MFC: r1.70 - Fix pkg_add for packages read from STDIN. Reviewed by: jkh
Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Apr 2 12:47:10 2002 UTC (9 years, 10 months ago) by murray
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +4 -3 lines
DTRT for packages read from STDIN: $ cat pkg.tgz | pkg_add - The above command line will fail on -CURRENT or -STABLE, and therefore, so will sysinstall if you try to install additional packages through the network (FTP) from a multiuser system. Because of the different environment during installation (wrt the playpen), this bug does not manifest itself during initial installs, and users may install packages from the network just fine at that time. This bug was fixed in OpenBSD 4 years ago.
Revision 1.69: 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.68: preferred, colored
Changes since revision 1.68: +3 -5 lines
Fix SCM ID's.
Revision 1.57.2.8: 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_5_BP, RELENG_4_5_0_RELEASE, RELENG_4_5
Diff to: previous 1.57.2.7: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.7: +13 -13 lines
MFC: WANSify.
Revision 1.57.2.7: download - view: text, markup, annotated - select for diffs
Mon Oct 22 12:22:26 2001 UTC (10 years, 3 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.57.2.6: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.6: +13 -9 lines
MFC: allow package file to be created from a locally installed package.
Revision 1.68: 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.67: preferred, colored
Changes since revision 1.67: +12 -12 lines
WARNS=2 cleanup. Tested on: i386, alpha MFC after: 2 weeks
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Oct 8 17:05:34 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +0 -0 lines
(forced) Forgot to mention: creation of a full-fleged package archive requires some changes in bsd.ports.mk, because currently it doesn't install some files that are usually packed into the package archive (+MTREE_DIRS, +DISPLAY and so on). Support for this will be committed later.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Oct 8 17:01:35 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +12 -8 lines
- Allow package archive to be created from a locally installed package. This allows for an easy way to backup old version of port prior to installing a new one; - silence compiler warnings by killing some unused variables and adding all includes necessary. MFC after: 2 weeks
Revision 1.57.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 18 09:38:38 2001 UTC (10 years, 4 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.57.2.5: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.5: +6 -6 lines
MFC:
- kill blank lines at the end of lib/global.c;
- in the case of checksum mismatch print name of offending file to stderr;
- replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)"
with macro;
- exists(../../crypto) --> exists(${.CURDIR}/../../crypto) in a top-level
Makefile.
Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 29 17:53:21 2001 UTC (10 years, 5 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.57.2.4: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.4: +1 -2 lines
MFC: remove duplicate umask() call. Approved by: re
Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Aug 15 14:22:01 2001 UTC (10 years, 5 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -2 lines
Remove duplicate umask(2) call. PR: dusty/7998 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de> MFC after: 2 weeks
Revision 1.64: 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.63: preferred, colored
Changes since revision 1.63: +2 -2 lines
Reduce private "lesser known" function redirection to improve clarity. Approved by: jkh
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Aug 2 13:13:05 2001 UTC (10 years, 6 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +4 -4 lines
Cosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)" with macro. MFC after: 1 month
Revision 1.62: download - view: text, markup, annotated - select for diffs
Thu Aug 2 12:38:28 2001 UTC (10 years, 6 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +14 -14 lines
Usability tweak: Use '' quotes instead of `' to delimit names of files and packages in warning and error messages, because it is easier to cut-n-paste name in question that way (single click) without confusing the shell. And yes, I know that it is less eye-candy... MFC after: 1 month
Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Thu Jul 19 06:07:30 2001 UTC (10 years, 6 months ago) by kris
Branches: RELENG_4
Diff to: previous 1.57.2.3: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.3: +2 -2 lines
MFC: r1.61: Properly quote recursive pkg_add operations so that filenames with spaces or special characters in them won't barf.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Jun 11 23:27:42 2001 UTC (10 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
Properly quote recursive pkg_add operations so that filenames with spaces or special characters in them won't barf.
Revision 1.57.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
Diff to: previous 1.57.2.2: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.2: +7 -3 lines
MFC: Sync up with HEAD, modulo update/*, version/*, sign/* and r1.38
of add/mail.c
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu May 17 10:12:39 2001 UTC (10 years, 8 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +7 -3 lines
Style policy: reformat multiline comments to conform to style(9).
Revision 1.57.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 15 09:55: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.57.2.1: preferred, colored; branchpoint 1.57: preferred, colored
Changes since revision 1.57.2.1: +2 -2 lines
MFC: Fix a bug arised from the ')' in the wrong place when calling printf()-like varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jan 15 09:45:16 2001 UTC (11 years ago) by sobomax
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2 lines
Fix a bug arised from the ')' in the wrong place when calling printf()-like varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 11 01:03:36 2000 UTC (11 years, 2 months ago) by obrien
Branches: RELENG_4
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -3 lines
MFC: add /dev/zero and use PATH_* where possible.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sat Dec 9 09:35:50 2000 UTC (11 years, 2 months ago) by obrien
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +4 -3 lines
Add `_PATH_DEVZERO'. Use _PATH_* where where possible.
Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 3 23:00:38 2000 UTC (12 years, 1 month ago) by asami
Branches: RELENG_3
CVS tags: RELENG_3_5_0_RELEASE
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.2: +3 -3 lines
MFC 1.57 (silence mtree). Reviewed by: jkh (this and the version in HEAD, obviously)
Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Jan 3 22:59:27 2000 UTC (12 years, 1 month ago) by asami
Branches: MAIN
CVS tags: RELENG_4_BP, RELENG_4_2_0_RELEASE, 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.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Redirect stdout from mtree to /dev/null; we don't really need to know the list of directories being created when we install a package.
Revision 1.26.2.14: 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.26.2.13: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.13: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.37.2.15: 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.37.2.14: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.14: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 29 15:45:11 1999 UTC (12 years, 5 months ago) by peter
Branches: RELENG_3
CVS tags: RELENG_3_4_0_RELEASE, RELENG_3_3_0_RELEASE
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.56: 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.55: preferred, colored
Changes since revision 1.55: +1 -1 lines
$Id$ -> $FreeBSD$
Revision 1.54.2.1: 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.54: preferred, colored
Changes since revision 1.54: +5 -5 lines
MFC: use uname(3) to find out hardware platform, add braces and other minor cleanup
Revision 1.55: download - view: text, markup, annotated - select for diffs
Wed Aug 11 20:55:37 1999 UTC (12 years, 6 months ago) by billf
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -5 lines
-Wall fixes. Ambigious if/elses, uninitialized values, missing headers, missing prototypes, and empty format strings.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Dec 16 13:59:29 1998 UTC (13 years, 1 month 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
Branch point for: RELENG_3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +37 -11 lines
Make it possible to have separate install scripts as well as have an on-delete script. Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
Revision 1.37.2.14: download - view: text, markup, annotated - select for diffs
Wed Oct 28 12:00:32 1998 UTC (13 years, 3 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_8_RELEASE
Diff to: previous 1.37.2.13: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.13: +5 -2 lines
MFC: assorted fixes.
Revision 1.37.2.13: download - view: text, markup, annotated - select for diffs
Fri Sep 11 07:27:17 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.12: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.12: +7 -6 lines
MFC: cleanup() fixes.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Sep 11 07:26:54 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_3_0_0_RELEASE
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +7 -6 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.37.2.12: download - view: text, markup, annotated - select for diffs
Tue Sep 8 03:03:12 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.11: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.11: +7 -1 lines
MFC: PR#7318 (properly fail on missing dep).
Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue Sep 8 03:02:45 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -1 lines
Fail as documented when a dependency cannot be found PR: 7318 Submitted by: djv@bedford.net
Revision 1.37.2.11: download - view: text, markup, annotated - select for diffs
Thu Aug 27 15:00:26 1998 UTC (13 years, 5 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.10: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.10: +6 -3 lines
MFC: recurse properly
Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Aug 27 14:59:55 1998 UTC (13 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +6 -3 lines
Fix recursive package add problem (for on-disk package files) I introduced with the change in semantics to make_playpen(). Now package dependencies more than 2 levels deep should work again. Pass the hat.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Jul 17 14:56:31 1998 UTC (13 years, 6 months ago) by eivind
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -2 lines
Avoid race-conditions on playpen delete.
Revision 1.37.2.10: download - view: text, markup, annotated - select for diffs
Mon Feb 16 17:41:31 1998 UTC (13 years, 11 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_7_RELEASE, RELENG_2_2_6_RELEASE
Diff to: previous 1.37.2.9: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.9: +13 -8 lines
MFC: nuke them nested playpens.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Feb 16 17:16:14 1998 UTC (13 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +13 -8 lines
Eliminate the idea of nested "playpens" entirely - it just obfuscated the code and, in at least one case, made it more dangerous to no gain.
Revision 1.37.2.9: download - view: text, markup, annotated - select for diffs
Wed Jan 21 06:08:58 1998 UTC (14 years ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.8: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.8: +4 -4 lines
MFC: Now that the drugs have worn off, revert this change.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Wed Jan 21 06:08:35 1998 UTC (14 years ago) by jkh
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4 lines
I must have been smoking crack when I made this change. Using sh -c in a vsystem() call is just a ludicrous way of calling sh -c "sh -c ..." Whoops! I don't know my own bloody code here!
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:26:19 1998 UTC (14 years ago) by jkh
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
MF22: fix to install script handling.
Revision 1.37.2.8: download - view: text, markup, annotated - select for diffs
Sat Jan 17 12:24:48 1998 UTC (14 years ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.7: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.7: +4 -4 lines
Fix bug I recently introduced with running install scripts. Whoops! :) Submitted by: Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Fri Jan 9 14:47:05 1998 UTC (14 years, 1 month ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.6: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.6: +4 -4 lines
MFC: sh -c for install script.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jan 8 11:27:06 1998 UTC (14 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -4 lines
Don't assume install script is directly runnable - use sh -c.
Revision 1.37.2.6: download - view: text, markup, annotated - select for diffs
Sat Oct 18 05:55:11 1997 UTC (14 years, 3 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_5_RELEASE
Diff to: previous 1.37.2.5: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.5: +2 -2 lines
MFC: Fixes from NetBSD
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Oct 18 05:54:14 1997 UTC (14 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
- do string-magic on the right variable when trying to find dependent packages on the local disk (i.e. package given as filename, not URL) - document $PKG_PATH - use -v on pkg_add for dependent packages Submitted by: hubertf@NetBSD.ORG Obtained from: NetBSD
Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 13 15:06:09 1997 UTC (14 years, 4 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.4: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.4: +2 -1 lines
MFC: less destructive cleanup() handling.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Oct 13 15:03:46 1997 UTC (14 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1 lines
Don't return from cleanup() - if it's removed the playpen then very bad things will happen if we return to unsuspecting code. Noted to my great dismay by: Tim Vanderhoek <hoek@hwcn.org>
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Thu Oct 9 07:07:50 1997 UTC (14 years, 4 months ago) by charnier
Branches: RELENG_2_2
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.3: +50 -36 lines
MFC: Use err(3). Cosmetics in usage string and man page.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Wed Oct 8 07:45:48 1997 UTC (14 years, 4 months ago) by charnier
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +50 -36 lines
Use err(3). Cosmetics in usage string and man page.
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 10:42:14 1997 UTC (14 years, 7 months ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +1 -6 lines
YAMFC
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Jun 29 10:41:44 1997 UTC (14 years, 7 months ago) by jkh
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -6 lines
Add support for @option preserve - moves existing files out of the way before replacing them (using pkgname to make this hopefully unique). Delete also moves them back, if they exist, resulting in a package which can be "backed out" with reasonable safety.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Feb 22 16:09:20 1997 UTC (14 years, 11 months ago) by peter
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -1 lines
Revert $FreeBSD$ to $Id$
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 15 14:19:04 1997 UTC (14 years, 11 months ago) by jkh
Branches: RELENG_2_2
CVS tags: RELENG_2_2_2_RELEASE, RELENG_2_2_1_RELEASE, RELENG_2_2_0_RELEASE
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +4 -2 lines
YAMFC42.2
Revision 1.26.2.13: download - view: text, markup, annotated - select for diffs
Sat Feb 15 14:18:11 1997 UTC (14 years, 11 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_7_RELEASE
Diff to: previous 1.26.2.12: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.12: +4 -2 lines
Merge-o-mat.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Sat Feb 15 14:17:28 1997 UTC (14 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1 lines
Fix a bogon with playpen size calculation for pkg of "-". It's amazing this ever worked, actually.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 20 15:42:57 1997 UTC (15 years ago) by jkh
Branches: RELENG_2_2
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
Merge fix for +DISPLAY files.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Jan 14 07:14:31 1997 UTC (15 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +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.38: download - view: text, markup, annotated - select for diffs
Mon Jan 13 10:14:26 1997 UTC (15 years, 1 month ago) by jkh
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -3 lines
Correct a problem which broke +DISPLAY file handling.
Revision 1.26.2.12: download - view: text, markup, annotated - select for diffs
Tue Oct 15 18:36:14 1996 UTC (15 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
CVS tags: RELENG_2_1_6_RELEASE, RELENG_2_1_6_1_RELEASE
Diff to: previous 1.26.2.11: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.11: +32 -31 lines
Merge from HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Oct 14 19:41:42 1996 UTC (15 years, 4 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_2_BP
Branch point for: RELENG_2_2
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +32 -31 lines
Fix PR#1557 - chained package dependencies using URLs didn't work.
Revision 1.26.2.11: download - view: text, markup, annotated - select for diffs
Thu Aug 1 12:17:28 1996 UTC (15 years, 6 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.10: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.10: +6 -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.36: download - view: text, markup, annotated - select for diffs
Wed Jul 31 21:52:33 1996 UTC (15 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2 lines
Make -force work for pkg_add.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Thu Jun 20 18:33:33 1996 UTC (15 years, 7 months ago) by jkh
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -9 lines
Make pkg_install understand and use libftpio instead of its own copies of the ftp support routines. Also some cosmetic and minor bug fixes I've been meaning to incorporate for awhile.
Revision 1.26.2.10: download - view: text, markup, annotated - select for diffs
Mon Jun 3 05:12:29 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.26.2.9: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.9: +4 -1 lines
Phase 2 of merge - also fix things broken in phase 1. Watch out for falling rock until phase 3 is over! libc completely merged except for phkmalloc & rfork (don't know if David wants that). Some include files in sys/ had to be updated in order to bring in libc.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jun 3 04:40:43 1996 UTC (15 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -1 lines
fix PR#599 Submitted-By: jdp
Revision 1.26.2.9: download - view: text, markup, annotated - select for diffs
Mon May 27 23:58:58 1996 UTC (15 years, 8 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.8: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.8: +15 -10 lines
Merge with HEAD.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue Mar 12 06:12:37 1996 UTC (15 years, 11 months ago) by jkh
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +15 -9 lines
Fix a couple of miscellaneous bugs and make pkg_add also support reading from stdin.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sun Nov 12 04:55:23 1995 UTC (16 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +16 -25 lines
Bring my pkg_install improvements forward from 2.1.
Revision 1.26.2.8: download - view: text, markup, annotated - select for diffs
Fri Nov 10 06:44:42 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.26.2.7: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.7: +14 -9 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.26.2.7: download - view: text, markup, annotated - select for diffs
Fri Nov 3 02:54:57 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.6: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.6: +4 -17 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.26.2.6: download - view: text, markup, annotated - select for diffs
Tue Oct 31 20:35:16 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.5: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.5: +5 -3 lines
Sync with HEAD.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Oct 31 20:30:15 1995 UTC (16 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -3 lines
Fix the `pkg_add relative to .' bug. Thank you, Ville! Submitted by: Ville Eerola <ville@vlsi.fi>
Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Oct 25 15:37:49 1995 UTC (16 years, 3 months ago) by jkh
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +179 -186 lines
Bring forward my changes from 2.1
Revision 1.26.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 23 12:33:38 1995 UTC (16 years, 3 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.4: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.4: +24 -17 lines
Prevent slave mode from collapsing under certain circumstances.
Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Sun Oct 15 14:08:34 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.3: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.3: +10 -11 lines
Last pen sanitize pass.
Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 14 19:11:02 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.2: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.2: +116 -125 lines
Handle chained adds by URL.
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 9 11:16:19 1995 UTC (16 years, 4 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored
Changes since revision 1.26.2.1: +81 -85 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.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 30 07:49:42 1995 UTC (16 years, 5 months ago) by jkh
Branches: RELENG_2_1_0
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +10 -11 lines
Merge changes from the HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Thu Aug 17 00:35:41 1995 UTC (16 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -6 lines
Some fixes to make this "TMPDIR agile". Submitted by: jmacd + some of my own fixes.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Aug 6 03:20:01 1995 UTC (16 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -6 lines
Make "out of space in ${PKG_TMPDIR}" handling a bit more robust.
Print the right thing, do the right thing. Back to you, Satoshi!
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Jul 30 09:11:20 1995 UTC (16 years, 6 months ago) by jkh
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -2 lines
o Fix PR# bin/643 - always set "where_to" properly. o Nuke dependence on libftp - it's about to die!
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 11 19:32:48 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_1_0_BP
Branch point for: RELENG_2_1_0
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -9 lines
Merge RELENG_2_0_5 into HEAD
Revision 1.25.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 10 09:04:13 1995 UTC (16 years, 8 months ago) by jkh
Branches: RELENG_2_0_5
CVS tags: RELENG_2_0_5_RELEASE
Diff to: previous 1.25.2.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.2.1: +2 -2 lines
Fix a stupid bug in dependency checking that prevented any of the "depended" packages from extracting. Whoops! Thanks, Satoshi! Submitted by: asami
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sat Jun 10 08:14:08 1995 UTC (16 years, 8 months ago) by jkh
Branches: RELENG_2_0_5
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -8 lines
Don't have this blow up if it can't record itself.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue May 30 03:49:54 1995 UTC (16 years, 8 months ago) by rgrimes
Branches: MAIN
CVS tags: RELENG_2_0_5_BP
Branch point for: RELENG_2_0_5
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3 lines
Remove trailing whitespace.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Apr 28 04:16:30 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
CVS tags: RELENG_2_0_5_ALPHA
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -5 lines
Use mtree -U instead of -u and put back error check. Thanks Rod!
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Apr 27 11:33:08 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -9 lines
Don't bother checking the return status of the mtree command - it returns non-zero stats when it changes things, too.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Apr 26 15:06:26 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +67 -36 lines
Further work on making all this more robust in the face of failure. Also allow URL specification for a package. This works for things the package may depend on, too. Allow PKG_PATH to be used anywhere a package is being searched for.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Apr 26 07:43:30 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +76 -62 lines
Check dependencies BEFORE doing final extraction of package. Fix a bug where direct-extract mode would have still invoked the packing list reordering commands.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Apr 26 06:56:05 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +7 -2 lines
My handling of the missing dependency but !Verbose was wrong. Make the right message come out.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 22 13:58:20 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +115 -44 lines
Second round: 1. Make paths work correctly. 2. Make pkg_add generally more robust in the face of failure. 3. Make the depend messages come out on stderr or stdout, but not both interspersed! :-)
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Apr 22 07:40:54 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -3 lines
1. Add an new @option directive. You'll understand it better in a moment. 2. Fix a long-standing bug in pkg_add where the failure of one package in a multipackage installation (pkg_add *.tgz) would blow you right out of the water. Ick.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Apr 19 14:54:25 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -37 lines
Greatly simplify the calling of mtree - the error handling wasn't working anyway, at least not with FreeBSD's mtree, and the arguments were being built incorrectly.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Apr 19 14:01:49 1995 UTC (16 years, 9 months ago) by jkh
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -7 lines
Add support for the ${PKG_DBDIR} environment variable. /var/db/pkg is the
default, and probably not something you'd ever change, but now it's
possible to do so for local/custom installations.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Apr 10 08:01:44 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -5 lines
Neither of these tools really told you what you needed to know neatly and succinctly in verbose mode. I hope people find this more to their liking.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Apr 9 15:04:52 1995 UTC (16 years, 10 months ago) by jkh
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +22 -7 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.13: download - view: text, markup, annotated - select for diffs
Tue Dec 6 00:51:34 1994 UTC (17 years, 2 months ago) by jkh
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +121 -8 lines
Many of John T. Kohl's patches from NetBSD. Thanks, John! Submitted by: jkohl
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Nov 17 10:53:21 1994 UTC (17 years, 2 months ago) by jkh
Branches: MAIN
CVS tags: RELEASE_2_0, BETA_2_0
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -2 lines
Protect against old packages with bogus @name fields. Use basename_of() on the name before recording it in /var/db/pkg. Sorry, Kaleb, you were right after all! It was my fault! :)
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 14 05:43:41 1994 UTC (17 years, 4 months ago) by jkh
Branches: MAIN
CVS tags: ALPHA_2_0
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
Whoops - variable was in wrong scope. Correct.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Oct 14 05:34:04 1994 UTC (17 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -5 lines
Fix bug in home directory calculation that I introduced with the free space checking code. Fix the free space checking code, while I'm at it! ;) Thanks to Garrett for spotting the home dir problem.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Oct 4 16:07:43 1994 UTC (17 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -4 lines
Add the ability to verify that a package won't extract in the space available. Thanks to Michael Elbel for pushing me in the right direction.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed May 25 17:59:54 1994 UTC (17 years, 8 months ago) by asami
Branches: MAIN
CVS tags: MOVED_NEWCVS
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -4 lines
The environment variable PKG_PREFIX is set to the first @cwd command in the packing list, or the argument to -p if it is specified, before the requirements/installation/deinstallation scripts are called. This enables the scripts to be written to work on the final installation destination, even if the user uses -p to override the package's default.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed May 25 06:24:18 1994 UTC (17 years, 8 months ago) by jkh
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -16 lines
Remove find_name(), replace with more generic find_plist() function.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Oct 10 20:25:31 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
CVS tags: BP_BETA_1_1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
If require script fails, don't try to delete installed package.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 8 01:19:28 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4 lines
Fix problems with executing from current directory
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 03:38:48 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
fix package input from standard input -- the program tried to process stdin twice. Note: it assumes stdin is a compressed tar file. Make sure permissions on registry location are readable by pkg_info. Add new % sequence expansion for command execution.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 03:38:48 1993 UTC (18 years, 4 months ago) by jkh
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
fix package input from standard input -- the program tried to process stdin twice. Note: it assumes stdin is a compressed tar file. Make sure permissions on registry location are readable by pkg_info. Add new % sequence expansion for command execution.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Sep 5 04:53:50 1993 UTC (18 years, 5 months ago) by jkh
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +72 -30 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:36 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
