Commit graph

52 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
drochner
a54d1f643d fixa possible heap overflow due to wrong buffer length check
(CVE-2008-5030), from Debian, bump PKGREVISION
2008-11-21 10:38:19 +00:00
joerg
f605fec2db Mark as destdir ready. 2008-07-14 12:55:56 +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
e422a7df78 Fix typo or mispelling. 2006-04-22 02:57:31 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +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
tv
eb3e6589e0 NOT_FOR_PLATFORM Interix. 2005-10-31 15:37:50 +00:00
abs
ee9906d198 Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
2005-09-06 08:10:57 +00:00
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
rh
675216eaad Remove superfluous blank line. 2005-05-16 09:48:30 +00:00
rh
28af5e6872 Fix vulnerability pointed out in http://secunia.com/advisories/14877/
Bump PKGREVISION
Update BUILDLINK_RECOMMENDED
2005-04-15 01:50:56 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
71c8259803 Add RMD160 digests to the SHA1 ones. 2005-02-23 20:39:42 +00:00
adam
763ca89a46 Changes in 0.99.12
* Fix a libtool version mismatch that led to incorrect library
  extensions.

Changes in 0.99.11
* Some erratic information and behaviour, introduced in 0.99.10, has
  been fixed.
2004-11-26 13:38:30 +00:00
tv
c487cb967a 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.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
minskim
178120203d Enable pkgviews installation. 2004-05-17 21:54:49 +00:00
minskim
ed36cbe965 statvfs fix. This closes PR pkg/25619. 2004-05-17 21:53:28 +00:00
snj
ba31ef823e No longer used. 2004-04-12 01:37:46 +00:00
xtraeme
d6d9fc9279 bl3ify, add missing pkgconfig bl3.mk. 2004-04-11 16:27:37 +00:00
drochner
7a87d55492 update to 0.99.10
minor bugfixes (and XBox support)
2004-04-08 14:12:50 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
39c26b6f02 use LIBTOOL_OVERRIDE, not LTCONFIG_OVERRIDE. fixes installation on
Solaris (and others).

bump PKGREVISION.
2004-01-23 06:20:40 +00:00
xtraeme
6beb1a084e Update to 0.99.9 from Min Sik Kim in PR pkg/23930.
Changes in 0.99.9
        * (cdaudio.c) cd_poll: accept CDS_MIXED CD's too.
        * (cddb.c) cddb_read_line: fixed fprintf() format.
        * (coverart.c) coverart_direct_erase_data: removed unused local
          variable.
        * (cddb.h): added cddb_mc_generate_new_entry's interface, which is
          used in cdindex.c.

Changes in 0.99.8
	* Minor bugfix release.  Switched to Automake 1.6.

Changes in 0.99.7
	* Fixed a bug that made libcdaudio log more messages than desired to
	  klogd.  Thanks to Matt Kraai.
2004-01-04 18:26:17 +00:00
cjep
c30d261d80 Add trailing slash 2003-10-18 11:59:58 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
wiz
3b82aa32ca Not needed any longer. 2002-08-31 03:44:50 +00:00
wiz
e408a36d73 Convert to buildlink2. Add RCS Id to patch-aa. 2002-08-31 03:19:07 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
jschauma
82f26389a3 Beautify: correct tab-stops. 2002-08-16 02:50:02 +00:00
jschauma
30fcec2c52 Update to 0.99.6, from new homepage at sourceforge.
Changes too many to list here, see Changelog in tarball.
2002-07-06 03:19:22 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
jlam
93af58d969 Buildlinkify. 2001-11-26 05:56:36 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
drochner
4430ba7548 the patch recently added to libcdaudio is important, so add "nb1" to
its version and make p5-Audio-CD-disc-cover depend on it
(as suggested by Christoph Badura)
2001-04-28 14:43:28 +00:00
drochner
07e617a9dc fix uninitialized struct member passed to ioctl() 2001-04-20 18:27:09 +00:00
agc
952fa0ef9f Move to sha1 digests, and add distfile sizes. 2001-04-18 12:14:28 +00:00
agc
18ea9c7e79 + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:22:24 +00:00
wiz
f7bb9e2078 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:30:32 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
wiz
a23a692c5f add two files 2000-12-28 03:25:44 +00:00
perry
3fda2fdea4 upgrade to libcdaudio-0.99.4 -- no changes seem to be needed 2000-12-05 22:35:09 +00:00
wiz
49d7b4e0fb LTCONFIG_OVERRIDE -> remove one patch 2000-08-14 13:41:00 +00:00
wiz
4cddb7c7ef USE_PKGLIBTOOL -> USE_LIBTOOL 2000-08-14 13:14:43 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
b80a572bb4 reformatted for 70 characters per line 1999-12-26 00:31:39 +00:00