summaryrefslogtreecommitdiff
path: root/security/opencdk/buildlink3.mk
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump.wiz1-2/+2
2011-04-22recursive bump from gettext-lib shlib bump.obache1-2/+2
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
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.
2007-06-05Update to 0.6.0:wiz1-2/+2
Noteworthy changes in version 0.6.0 (2007-05-XX) ------------------------------------------------ * Dropped all internal random, cipher, digest libs and only use gcrypt for such tasks. The library should only provide functions dedicated to parsing and packet creation for the protocol. * Adjust code for the new Libgcrypt interface. Now Libgcrypt >1.2.2 is required to build the code. * This new version introduces an API change and thus incompatibilities to prior versions. * Lots of cleanups all over the place. This also includes simplification for various code parts. * Better support for larger files. * Map the libgcrypt error directly and remove the invalid CDK_Gcry_Error type. * Add more regression tests for the various code parts. * We do not support ElGamal signatures any longer. * Merged patches from the other opencdk branch which is currently used by GnuTLS. * Provide user callback for the stream. As a sample implementation, socket callbacks are implemented and use in cdk_stream_sockopen(). * Drop most of the rfc1991 legacy format. This means we do not generate any rfc1991 data, but we still understand it. An exception is the packet header output. * Removed gnulib interface for now because the lib is currently not in use. * Interfaces changes relative to 0.5.x ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ functions: cdk_stream_tmp CHANGED: is now cdk_stream_tmp_new cdk_stream_new_from_mem CHANGED: new argument and return error code cdk_stream_control CHANGED: is no available any longer cdk_stream_new_from_cbs NEW cdk_stream_mmap_part NEW cdk_keydb_new_from_file NEW cdk_keydb_new_from_mem NEW cdk_keydb_new_from_stream NEW cdk_keydb_import CHANGED: second argument removed. cdk_keydb_pk_cache_sigs DELETED cdk_kbnode_write_to_mem_alloc NEW cdk_lib_startup NEW cdk_lib_shutdown NEW cdk_handle_set_keyring NEW cdk_handle_get_verify_result NEW cdk_subpkt_find_next NEW cdk_subpkt_find_nth NEW cdk_set_progress_handler DELETED cdk_userid_get_pref_array DELETED cdk_pk_encrypt CHANGED: last argument is now gcry_mpi_t cdk_pk_decrypt CHANGED: last argument is now gcry_mpi_t cdk_pk_get_mpi CHANGED: new argument nwritten. cdk_sk_get_mpi CHANGED: new argument nwritten. cdk_pk_release NEW cdk_sk_release NEW cdk_pubkey_to_sexp NEW cdk_seckey_to_sexp NEW cdk_armor_encode_buffer NEW cdk_keygen_set_mdc_feature DELETED cdk_keygen_set_algo_info CHANGED: new argument usage. cdk_seskey_new DELETED cdk_seskey_free DELETED cdk_dek_encode_pkcs1 CHANGED: not public any longer. cdk_dek_decode_pkcs1 CHANGED: not public any longer. cdk_stream_tell CHANGED: return type is now off_t cdk_stream_seek CHANGED: argument is now off_t cdk_pk_check_self_sig NEW constants: CDK_No_Data NEW CDK_CTL_TRUSTMODEL DELETED CDK_CTL_FORCE_DIGEST DELETED CDK_COMPRESS_BZIP2 NEW CDK_MD_SHA{256,384,512} NEW CDK_MD_{TIGER, MD2} DELETED CDK_CIPHER_{SAFER_SK128, DES_SK} DELETED CDK_CTL_COMPAT DELETED structures: cdk_md_hd_t CHANGED: is now gcry_md_hd_t cdk_cipher_hd_t CHANGED: is now gcry_cipher_hd_t cdk_sesskey_t CHANGED: is now gcry_mpi_t
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
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-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-04-12Aligned the last line of the buildlink3.mk files with the first line, sorillig1-2/+2
that they look nicer.
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-3/+3
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-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-2/+2
2004-10-03Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10tv1-1/+2
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-05-27The libopencdk.so.8.0 used libgcrypt.so.11.reed1-2/+2
libgcrypt was recently upgraded. So when using binary packages it is possible for new libgcrypt (libgcrypt.so.12.1) to be installed with old opencdk-0.5.4 package. So bump PKGREVISION and BUILDLINK_DEPENDS (to force a new package to be required).
2004-04-02gnutls will only configure correctly with 0.5.4 of opencdk, so bump theagc1-2/+2
value of BUILDLINK_DEPENDS.opencdk accordingly.
2004-03-18Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properlyjlam1-3/+2
by moving the inclusion of buildlink3.mk files outside of the protected region. This bug would be seen by users that have set PREFER_PKGSRC or PREFER_NATIVE to non-default values. BUILDLINK_PACKAGES should be ordered so that for any package in the list, that package doesn't depend on any packages to the left of it in the list. This ordering property is used to check for builtin packages in the correct order. The problem was that including a buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed from BUILDLINK_PACKAGES and appended to the end. However, since the inclusion of any other buildlink3.mk files within that buildlink3.mk was in a region that was protected against multiple inclusion, those dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-05Reorder location and setting of BUILDLINK_PACKAGES to match templatejlam1-5/+8
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-02-10bl3ifyjlam1-0/+19