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

CVS log for src/usr.sbin/pkg_install/lib/deps.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Dec 30 10:58:14 2011 UTC (5 weeks, 6 days ago) by uqs
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
SVN rev 228990 on 2011-12-30 10:58:14Z by uqs

Spelling fixes for usr.sbin/

Revision 1.14.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.14.2.1: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.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.14.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.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +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.14: 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.13: preferred, colored
Changes since revision 1.13: +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.12.14.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:10:29 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_7_4
CVS tags: RELENG_7_4_0_RELEASE
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +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.12.10.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Dec 21 17:09:25 2010 UTC (13 months, 2 weeks ago) by kensmith
Branches: RELENG_8_2
CVS tags: RELENG_8_2_0_RELEASE
Diff to: previous 1.12.10.1: preferred, colored; next MAIN 1.12.12.1: preferred, colored
Changes since revision 1.12.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.12.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.12.10.1: preferred, colored; next MAIN 1.12.12.1: preferred, colored
Changes since revision 1.12.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.13
Fri Apr 23 11:07:43 2010 UTC (21 months, 2 weeks ago) by flz
Branches: MAIN
FILE REMOVED
Changes since revision 1.12: +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.12.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.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +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.12.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.12.10.1: preferred, colored; next MAIN 1.12.12.1: preferred, colored
Changes since revision 1.12.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.12.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.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +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.12.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.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +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.12.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.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +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.11.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.11.8.2: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.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.11.8.2: download - view: text, markup, annotated - select for diffs
Mon Apr 7 11:32:00 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.11.8.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.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.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Jul 2 08:05:34 2007 UTC (4 years, 7 months ago) by pav
Branches: RELENG_6
CVS tags: RELENG_6_3_BP, RELENG_6_3_0_RELEASE, RELENG_6_3
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +111 -65 lines
MFC 1.12: Replace rather inefficient bubble sort with a recursive depth-first
  search.  This speeds up registration of packages considerably.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Jun 18 22:49:13 2007 UTC (4 years, 7 months ago) by pav
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.11: preferred, colored
Changes since revision 1.11: +111 -65 lines
- Replace rather inefficient bubble sort with a recursive depth-first search.
  This speeds up registration of packages considerably.
- style(9) police welcome!

PR:		bin/112630
Submitted by:	Stephen Montgomery-Smith <stephen@cauchy.math.missouri.edu>
Tested by:	bento i386 experimental run
MFC after:	14 days

Revision 1.1.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.1.2.8: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.8: +3 -3 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.11: download - view: text, markup, annotated - select for diffs
Tue Jun 29 18:59:19 2004 UTC (7 years, 7 months ago) by eik
Branches: MAIN
CVS tags: RELENG_6_BP, RELENG_6_2_BP, RELENG_6_2_0_RELEASE, RELENG_6_2, RELENG_6_1_BP, RELENG_6_1_0_RELEASE, RELENG_6_1, RELENG_6_0_BP, RELENG_6_0_0_RELEASE, RELENG_6_0, RELENG_5_BP, RELENG_5_5_BP, RELENG_5_5_0_RELEASE, RELENG_5_5, RELENG_5_4_BP, RELENG_5_4_0_RELEASE, RELENG_5_4, RELENG_5_3_BP, RELENG_5_3_0_RELEASE, RELENG_5_3, RELENG_5
Branch point for: RELENG_6
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 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.1.2.8: download - view: text, markup, annotated - select for diffs
Tue Aug 20 06:35:08 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.1.2.7: preferred, colored
Changes since revision 1.1.2.7: +4 -6 lines
MFC: don't use the GCC'ism __FUNCTION__, but rather than ISO __func__'ism.

Revision 1.1.2.7: 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.1.2.6: preferred, colored
Changes since revision 1.1.2.6: +30 -15 lines
MFC: all latest changes, fixes and new features. This pretty much brings code
in stable on par with -current.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue May 14 21:42:37 2002 UTC (9 years, 8 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.9: preferred, colored
Changes since revision 1.9: +6 -9 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.9: download - view: text, markup, annotated - select for diffs
Sat May 11 04:17:55 2002 UTC (9 years, 9 months ago) by alfred
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1 lines
replace __FUNCTION__ with standardized __func__.

Requested by: jhb

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 5 21:03:25 2002 UTC (9 years, 9 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +24 -6 lines
New feature: allow origins of all dependencies be recorded into package list
using new `@comment DEPORIGIN:...' directive. This would allow us to make
many neat things including:

- easier binary upgrades;
- source upgrades without using external tools by simply extending
  bsd.port.mk and pkg_install tools;
- mixed-mode upgrades (source + binary);
- depreciate and deorbit silly +REQUIRED_BY files in the near future.

This feature is no-op until appropriate bsd.port.mk patch is committed, and
even when it is already committed packages generated will remain 100%
compatible with old set of pkg_install tools (module all those neat
features, of course).

MFC after:	6 days

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

Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Wed Feb 27 18:45:17 2002 UTC (9 years, 11 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
Diff to: previous 1.1.2.5: preferred, colored
Changes since revision 1.1.2.5: +4 -1 lines
MFC:
- make sortdeps() working with dependency lists containing one or no elements;
- provide protection against incorrect input (dependency list).

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 20 17:15:17 2002 UTC (9 years, 11 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -1 lines
Make sortdeps() working with dependency lists containing one or no elements.

Submitted by:	roam
MFC in:		1 week

Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 23 09:16:04 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.1.2.4: preferred, colored
Changes since revision 1.1.2.4: +2 -2 lines
MFC: WANSify.

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

Tested on:	i386, alpha
MFC after:	2 weeks

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Wed Oct 3 07:46:03 2001 UTC (10 years, 4 months ago) by sobomax
Branches: RELENG_4
Diff to: previous 1.1.2.3: preferred, colored
Changes since revision 1.1.2.3: +80 -11 lines
MFC:
- fix harmless compiler's warnings;
- before refusing to delete package because "there are packages installed
  that require this package" check that packages in question is actually
  installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
  packages specified at command line, but all packages that depend on
  specified packages as well.

This brings in the following deltas:

  1.57      src/usr.sbin/pkg_install/create/perform.c
  1.7       src/usr.sbin/pkg_install/delete/delete.h
  1.23      src/usr.sbin/pkg_install/delete/main.c
  1.33      src/usr.sbin/pkg_install/delete/perform.c
  1.27      src/usr.sbin/pkg_install/delete/pkg_delete.1
  1.42      src/usr.sbin/pkg_install/info/perform.c
  1.4       src/usr.sbin/pkg_install/lib/deps.c
  1.38      src/usr.sbin/pkg_install/lib/lib.h

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 19 08:06:48 2001 UTC (10 years, 4 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +79 -10 lines
Various fixes and improvements:
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
  that require this package" check that packages in question is actually
  installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
  packages specified at command line, but all packages that depend on
  specified packages as well.

MFC after:	2 weeks

Revision 1.1.2.3: 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.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +2 -4 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.3: download - view: text, markup, annotated - select for diffs
Thu Aug 2 13:13:06 2001 UTC (10 years, 6 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -3 lines
Cosmetics: replace dozen instances of "(tmp = getenv(PKG_DBDIR) ? tmp : DEF_LOG_DIR)"
with macro.

MFC after:	1 month

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Thu May 17 12:33:39 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.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +0 -1 lines
MFC: Sync up with HEAD, modulo update/*, version/*, sign/* and r1.38
     of add/mail.c

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Mar 23 18:45:24 2001 UTC (10 years, 10 months ago) by sobomax
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -1 lines
- Add which(1)-like functionality into pkg_info;
- fix a harmless bug in match_installed() function introduced in my last
  commit;
- uniformely reorder includes across files.

Submitted by:		Garrett Rooney <rooneg@electricjellyfish.net>
Not objected by:	jkh, -ports

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 20 09:45:55 2001 UTC (10 years, 10 months ago) by sobomax
Branches: RELENG_4
CVS tags: RELENG_4_3_BP, RELENG_4_3_0_RELEASE, RELENG_4_3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
MFC:
When creating package sort dependencies in dependency order rather than in the
order specified on the command line. This should allow ``pkg_add -r'' to
work seamlessly with packages created after this change.

Tested by:	bento
Approved by:	jkh

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Mar 15 10:47:00 2001 UTC (10 years, 10 months ago) by sobomax
Branches: MAIN
Branch point for: RELENG_4
When creating a package sort dependencies in such a way that if dependency
A depends on dependency B then dependency A will be in all cases listed
before B, so ``pkg_add -r'' will fetch/install packages in the correct order.

Previously dependencies were sorted just by its names, which is why
``pkg_add -r'' never actually worked properly.

To be usefull, hovewer, this fix requires that all packages have been
rebuilt, so it will take some time until users would be able to feel
posititive improvements. For the same reasons it is desirable to propagate
these changes to the 4-stable package building cluster *before* 4.3 ports
freeze, so packages for 4.3-RELEASE would be properly prepared.

Prompted by:			kris
Insanely appreciated by:	obrien
Silently approved by:		jkh, -ports

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