The NetBSD Project

CVS log for pkgsrc/security/PAM/buildlink3.mk

[BACK] Up to [cvs.netbsd.org] / pkgsrc / security / PAM

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 20 19:25:16 2009 UTC (3 years, 2 months 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.24: +6 -13 lines
Diff to previous 1.24 (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.24 / (download) - annotate - [select for diffs], Sat Jul 8 23:11:05 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.23: +2 -2 lines
Diff to previous 1.23 (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.23 / (download) - annotate - [select for diffs], Sat Jul 8 22:39:35 2006 UTC (5 years, 10 months ago) by jlam
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Wed Apr 12 10:27:32 2006 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 6 06:22:37 2006 UTC (6 years, 1 month ago) by reed
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (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.20 / (download) - annotate - [select for diffs], Sun Feb 5 23:10:42 2006 UTC (6 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Recursive revision bump / recommended bump for gettext ABI change.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 14 05:10:37 2005 UTC (7 years, 4 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

Rename the multiple inclusion guard to LINUX_PAM_BUILDLINK3_MK.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 14 00:08:46 2005 UTC (7 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

* Rename the buildlink module name associated with the security/PAM
  package from "pam" to "linux-pam".

* Rewrite PAM/builtin.mk to check that we have Linux-PAM, and re-classify
  MacOS X's PAM as Linux-PAM because it _is_, according to to Apple.
  Also don't use BUILDLINK_TRANSFORM.* to rewrite header file paths
  -- just use a symlink so that <security/*.h> can be used to find
  <pam/*.h>.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Nov 25 22:47:15 2004 UTC (7 years, 6 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)

PAM modules are dlopen'ed by the PAM library.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 19 14:54:55 2004 UTC (7 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Fix brokenness I introduced in the conversion of security/PAM to use
libtool: the PAM libraries weren't being built with -DPAM_DYNAMIC, which
made it impossible to dlopen PAM modules.

Bump PKGREVISION.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Nov 16 07:46:57 2004 UTC (7 years, 6 months ago) by jlam
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Libtoolize security/PAM so that the appropriate options are passed to
the compiler to build shared modules, and so that it builds correctly
across different platforms.  Bump the PKGREVISION.

In particular, this should fix problems building this package on
NetBSD/amd64.

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 17 21:32:34 2004 UTC (8 years ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymore
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Mar 16 18:23:27 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

If the ${PKGBASE} of a package doesn't match the token passed to
BUILDLINK_PACKAGES, then set BUILDLINK_PKGBASE.<pkg> explicitly so that
we can map from <pkg> to BUILDLINK_PKGBASE.<pkg>.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 10 17:57:14 2004 UTC (8 years, 2 months ago) by jlam
Branch: MAIN
Changes since 1.11: +7 -45 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Wed Feb 18 16:35:27 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.10: +18 -16 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 12 02:35:07 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.9: +13 -3 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Thu Feb 12 01:59:38 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.8: +7 -9 lines
Diff to previous 1.8 (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.8 / (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.7: +3 -5 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (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.6: +4 -5 lines
Diff to previous 1.6 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Thu Feb 5 06:58:03 2004 UTC (8 years, 3 months ago) by jlam
Branch: MAIN
Changes since 1.5: +9 -1 lines
Diff to previous 1.5 (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.5 / (download) - annotate - [select for diffs], Sat Jan 24 03:12:32 2004 UTC (8 years, 4 months ago) by jlam
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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

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

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

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: +9 -17 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:07 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:45 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>