The NetBSD Project

CVS log for pkgsrc/archivers/bzip2/buildlink3.mk

[BACK] Up to [cvs.netbsd.org] / pkgsrc / archivers / bzip2

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 20 19:23:50 2009 UTC (3 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, HEAD
Changes since 1.20: +6 -13 lines
Diff to previous 1.20 (colored)

Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 8 23:10:35 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 8 22:38:58 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Apr 6 06:21:32 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Over 1200 files touched but no revisions bumped :)

RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri May 27 00:46:12 2005 UTC (6 years, 11 months ago) by snj
Branch: pkgsrc-2005Q1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Pullup ticket 516 - requested by Lubomir Sedlacik
security update for bzip2

Revisions pulled up:
- pkgsrc/archivers/bzip2/PLIST			1.3
- pkgsrc/archivers/bzip2/Makefile		1.39
- pkgsrc/archivers/bzip2/buildlink3.mk		1.17
- pkgsrc/archivers/bzip2/distinfo		1.12
- pkgsrc/archivers/bzip2/patches/patch-aa	1.11

    Module Name:    pkgsrc
    Committed By:   rillig
    Date:           Mon May 23 06:49:29 UTC 2005

    Modified Files:
            pkgsrc/archivers/bzip2: PLIST

    Log Message:
    Sorted PLIST entries to make pkglint happy.
    ----
    Module Name:    pkgsrc
    Committed By:   salo
    Date:           Thu May 26 15:03:11 UTC 2005

    Modified Files:
            pkgsrc/archivers/bzip2: Makefile buildlink3.mk distinfo
            pkgsrc/archivers/bzip2/patches: patch-aa

    Log Message:
    Security update to version 1.0.3

    - Further robustification against corrupted compressed data.
        There are currently no known bitstreams which can cause the
      decompressor to crash, loop or access memory which does not
      belong to it.  If you are using bzip2 or the library to
      decompress bitstreams from untrusted sources, an upgrade
      to 1.0.3 is recommended.

      http://scary.beasts.org/security/CESA-2005-002.txt

    - The documentation has been converted to XML, from which html
        and pdf can be derived.

    - Various minor bugs in the documentation have been fixed.

    - Fixes for various compilation warnings with newer versions of
        gcc, and on 64-bit platforms.

    - The BZ_NO_STDIO cpp symbol was not properly observed in 1.0.2.
        This has been fixed.

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 26 15:03:11 2005 UTC (6 years, 11 months ago) by salo
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Security update to version 1.0.3

- Further robustification against corrupted compressed data.
  There are currently no known bitstreams which can cause the
  decompressor to crash, loop or access memory which does not
  belong to it.  If you are using bzip2 or the library to
  decompress bitstreams from untrusted sources, an upgrade
  to 1.0.3 is recommended.

  http://scary.beasts.org/security/CESA-2005-002.txt

- The documentation has been converted to XML, from which html
  and pdf can be derived.

- Various minor bugs in the documentation have been fixed.

- Fixes for various compilation warnings with newer versions of
  gcc, and on 64-bit platforms.

- The BZ_NO_STDIO cpp symbol was not properly observed in 1.0.2.
  This has been fixed.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 3 00:13:04 2004 UTC (7 years, 7 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2004Q4-base, pkgsrc-2004Q4
Branch point for: pkgsrc-2005Q1
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Libtool fix for PR pkg/26633, and other issues.  Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.14: +7 -67 lines
Diff to previous 1.14 (colored)

Split out the code that deals with checking whether the software is
built-in or not into a separate builtin.mk file.  The code to deal
checking for built-in software is much simpler to deal with in pkgsrc.

The buildlink3.mk file for a package will be of the usual format
regardless of the package, which makes it simpler for packagers to
update a package.

The builtin.mk file for a package must define a single yes/no variable
USE_BUILTIN.<pkg> that is used by bsd.buildlink3.mk to decide whether
to use the built-in software or to use the pkgsrc software.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Feb 18 16:35:27 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.13: +21 -19 lines
Diff to previous 1.13 (colored)

Reorder some lines so that BUILDLINK_USE_BUILTIN.<pkg> set in the
environment overrides all other settings.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 12 02:35:06 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.12: +13 -3 lines
Diff to previous 1.12 (colored)

Create a new variable PREFER_NATIVE that has the opposite semantics
as PREFER_PKGSRC.  Preferences are determined by the most specific
instance of the package in either PREFER_PKGSRC or PREFER_NATIVE.  If
a package is specified in neither or in both variables, then PREFER_PKGSRC
has precedence over PREFER_NATIVE.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 12 01:59:37 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.11: +13 -14 lines
Diff to previous 1.11 (colored)

Reorganize code so that any dependencies are checked as part of deciding
whether the software is built-in or not.  This facilitates implementing
the forthcoming PKGSRC_NATIVE variable.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 11 11:30:49 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.10: +11 -12 lines
Diff to previous 1.10 (colored)

Move the INCOMPAT_FOO checks to a more natural location within the
block that decides whether package FOO is built-in or not.  If the
platform is listed in IMCOMPAT_FOO, then treat FOO as being not
built-in.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 6 19:04:24 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 5 07:17:14 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.8: +3 -5 lines
Diff to previous 1.8 (colored)

Make PREFER_PKGSRC just yes/no or a list of packages.  This makes it
simpler to understand.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 5 07:06:15 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.7: +4 -5 lines
Diff to previous 1.7 (colored)

Rename BUILDLINK_PREFER_PKGSRC to PREFER_PKGSRC so that we can use its
value outside of buildlink-related files.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 5 06:58:02 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.6: +9 -1 lines
Diff to previous 1.6 (colored)

Support a new global variable:

BUILDLINK_PREFER_PKGSRC
	This variable determines whether or not to prefer the pkgsrc
	versions of software that is also present in the base system.

	This variable is multi-state:
		defined, or "yes"	always prefer the pkgsrc versions
		not defined, or "no"	only use the pkgsrc versions if
					needed by dependency requirements

	This can also take a list of packages for which to prefer the
	pkgsrc-installed software.  The package names may be found by
	consulting the value added to BUILDLINK_PACKAGES in the
	buildlink[23].mk files for that package.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Jan 24 03:12:31 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Support BUILDLINK_DEPENDS.<pkg> being a list of values.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 5 11:05:44 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Use S/+$// instead of C/\+$// to save a backslash.  Very highly
recommended by seb :)

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 5 09:34:23 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Sprinkle a few double quotes here and there.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 5 09:31:31 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.2: +12 -19 lines
Diff to previous 1.2 (colored)

Sow BUILDLINK_USE_BUILTIN.<pkg> and reap _NEED_<PKG> variables.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jan 4 23:34:04 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 3 23:06:43 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN

Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>