Commit graph

14 commits

Author SHA1 Message Date
joerg
2d1ba244e9 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.
2009-03-20 19:23:50 +00:00
jlam
c16221a4db 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
2006-07-08 23:10:35 +00:00
jlam
9430e49307 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.
2006-07-08 22:38:58 +00:00
reed
5abef9be14 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).
2006-04-06 06:21:32 +00:00
adam
95763fcf7c Install bin/pear with correct file permissions 2006-02-17 09:48:01 +00:00
martti
d5484cd27d Updated lang/php5 to 5.1.2
* HTTP Response Splitting has been addressed in ext/session and in
  the header() function.
* Fixed format string vulnerability in ext/mysqli.
* Fixed possible cross-site scripting problems in certain error conditions.
* Hash & XMLWriter extensions added and enabled by default.
* Upgraded OCI8 extension.
* Over 85 various bug fixes.

(I haven't heard anything from the MAINTAINER but since this works fine
on my servers and as this fixes security issues I checked in this)
2006-02-06 06:39:59 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jdolecek
94bac0eb30 Update PHP5 to version 5.1.1. Some of the key features include:
* A complete rewrite of date handling code, with improved timezone support.
* Significant performance improvements compared to PHP 5.0.X.
* PDO extension is now enabled by default (separate pkg for pkgsrc)
* Over 30 new functions in various extensions and built-in functionality.
* Bundled libraries, PCRE and SQLite upgraded to latest versions.
* Over 400 various bug fixes.
* PEAR upgraded to version 1.4.5

This release also fixes various security problems discovered in 5.0.X.
2005-12-03 18:53:57 +00:00
schmonz
aa2f6e2eae Allow versions of PHP newer than 5.0.4nb1 to satisfy BUILDLINK_RECOMMENDED.
Fixes build of ap-php and PHP modules.
2005-09-09 05:49:00 +00:00
adrianp
cc1cb5fdce Bump BUILDLINK_RECOMMENDED to nb1 for recent security issue and fix typo
Fix suggested by salo@.
2005-09-03 14:41:05 +00:00
jdolecek
bcc8db8a6e Update php5 to 5.0.4. This is maintenance/bugfix release, full list of changes
available at:
	http://www.php.net/ChangeLog-5.php#5.0.4
2005-04-11 20:16:02 +00:00
jdolecek
b7fe8d73e2 default to full dependance on php for anything including this buildlink 2004-11-01 19:52:58 +00:00
grant
2042eccfef s/wip/lang/ 2004-10-30 05:46:21 +00:00
jdolecek
baa00fd7fb Import PHP 5.0.2, based on the pkgsrc-wip PHP5 package.
Some of the key features of PHP 5 include:
* The Zend Engine II with a new object model and dozens of new features.
* XML support has been completely redone in PHP 5, all extensions
  are now focused around the excellent libxml2 library
  (http://www.xmlsoft.org/).
* A new SimpleXML extension for easily accessing and manipulating
  XML as PHP objects. It can also interface with the DOM extension
  and vice-versa.
* A brand new built-in SOAP extension for interoperability with Web Services.
* A new MySQL extension named MySQLi for developers using MySQL
  4.1 and later. This new extension includes an object-oriented
  interface in addition to a traditional interface; as well as support
  for many of MySQL's new features, such as prepared statements.
* SQLite has been bundled with PHP. For more information on SQLite,
  please visit their website.
* Streams have been greatly improved, including the ability to access
  low-level socket operations on streams.
2004-10-29 20:31:54 +00:00