Commit graph

18 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
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +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
joerg
eb5b7b03b9 Uses C++. 2006-06-04 10:21:33 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
jmmv
00267b0c02 Update to 4.1.1. Drop maintainership (I don't remember why I added this one,
and no package is using it ATM).

4.1.1:
	- Fixed shared library version info.

4.1.0:
	- Added SHA-384 and SHA-512 algorithms.
	- Added HMAC-SHA-384 and HMAC-SHA-512 algorithms.
	- Added generic SSE2 optimization for the above algorithms.
	- Added more digest algorithms for PKCS#1 EMSA.
	- Optimized swap32 and swap64 routines on Linux.
	- Fixed missing definition in mpopt.h for s390x.
	- Fixed nostackexec configuration bug.
	- Fixed problem in Date::toString.
	- Fixed deadlock problem which occured in certain cases where security
	  or crypto SPI constructor called getInstance for another security or
	  crypto SPI.
	- Fixed a bug in the generic CBC encryption code; when called with
	  nblocks == 1, the feedback was set incorrectly.
	- Fixed a bug in mpbsubmod; sometimes it takes multiple additions of
	  the modulus to get a positive number.
	- Fixed PowerPC 64-bit configuration problem on Linux.

4.0.0:
	- Added a C++ API interface, modeled after Java's security & crypto API.
	- Added the new GNU noexecstack feature.
	- Added more x86_64 and s390x assembler routines.
	- Modified i2osp, so that it only requires as many octets as there are
	  significant bytes in the multi-precision integers.
	- Fixed a bug in the creation of rsa keypairs; code was not correctly
	  migrated to new calling sequence. The code now implements the method
	  described in IEEE P.1363.
	- Fixed another bug in mpextgcd_w which sometimes returned incorrect
	  results.
	- Fixed a bug in mprshiftlsz, which didn't work correctly when size = 1.
	- Fixed a configuration problem on Tru64 Unix.

3.1.0:
	- Added wiping of private key components of keypairs before freeing.
	- Fixed bug in mpextgcd_w which sometimes returned incorrect result.
	- Fixed error in PowerPC 64-bit assembler symbol definitions.
2004-12-05 09:02:11 +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
snj
161c8b4a60 Convert to buildlink3. 2004-04-12 20:50:27 +00:00
jlam
3ebe053d90 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:49 +00:00
wiz
833162b90d Remove patch-a{a,b,c,d} -- I wonder where they are :) 2003-09-19 13:18:30 +00:00
jmmv
42845c849e Update to 3.0.0 (homepages not beeing up to date...):
3.0.0:
- Cleaned up installed header files.
- Modified the API so that all keys can be passed as arrays of bytes.
- Modified the API so that all key sizes are given in bits.
- Modified the multi-precision integer library to work better on 64-bit
  machines.
- Modified the assembly source generation mechanism, employing the m4
  macro processor.
- Added multi-precision integer vectorized assembler routines for
  Itanium.
- Added multi-precision integer assembler routines for PowerPC 64-bit.
- Added multi-precision integer assembler routines for Alpha.
- Added multi-precision integer assembler routines for Opteron.
- Added multi-precision integer assembler routines for IBM zSeries 64-bit.
- Added multi-precision integer assembler routines for M68K.
- Added Jeff Johnson's python bindings.
- Added new unit tests.
- Added new benchmarking programs.

2.3.0pre:
- Modified the header files so that the library now uses self-contained
  autoconf-generated configuration files; a program employing BeeCrypt can
  now use the symbols already tested and defined instead of having to
  regenerate them (thus also eliminating the risk of inconsistencies).
- Added the AES algorithm, with assembler routines for i586 and powerpc.
- Added the DSA signature algorithm.
- Added PowerPC assembler routines for blowfish.
- Added Pentium4 SSE2 assembler multiplication routines.
- Fixed the RSA CRT algorithm.
- Fixed the gas/i386 mp32even and mp32odd routines.
- Fixed a bug in modular inverse computation; thanks to Jeff Johnson of
  RedHat for pointing this out.
- Fixed a bug in testing the result of a gcd operation in the mp32prndconone
  routine.
- Fixed an ugly bug in base64 decoding.
- Fixed compatibility with the latest automake & autoconf versions.
- Replaces CPU optimization mechanism in configure script.
2003-08-03 20:58:17 +00:00
jmmv
c2444537b4 Initial import of beecrypt, version 2.1.0:
BeeCrypt is an open source cryptography library that contains highly
optimized C and assembler implementations of many well-known algorithms
including Blowfish, MD5, SHA-1, Diffie-Hellman, and ElGamal.

Unlike some other crypto libraries, BeeCrypt is not designed to solve
one specific problem, like file encryption, but to be a general purpose
toolkit which can be used in a variety of applications.

There are also no patent or royalty issues associated with BeeCrypt, and
it is released under the GNU LGPL license, which means it can used for
free in both open source and closed source commercial projects.
2003-08-03 15:47:42 +00:00