Commit graph

42 commits

Author SHA1 Message Date
wiz
4b688a25c8 Update to 0.6.4:
Noteworthy changes in version 0.6.4 (2007-06-12)
------------------------------------------------

* Make sure the test suite uses non-guessable file names
  for temporary files.

* Fix a problem in the file handling code.


Noteworthy changes in version 0.6.3 (2007-06-06)
------------------------------------------------

* Remove unused references in the opencdk config script.
  This fixes an error because a variable were not referenced.

Interface changes relative to 0.6.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cdk_dek_get_cipher		   NEW
cdk_dek_get_mdc_flag		   NEW


Noteworthy changes in version 0.6.2 (2007-05-25)
------------------------------------------------

* Fix versioning script of the library.

* Bug fixes for the remaining memory leaks.

* Better way to handle gcrypt initialization.

Interface changes relative to 0.6.1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

cdk_lit_format_t		   NEW

functions:
cdk_pk_to_fingerprint		   NEW
2007-06-15 22:42:33 +00:00
wiz
16b51cb3da Update to 0.6.1.
Package change: Fix opencdk-config and opencdk.pc.

Noteworthy changes in version 0.6.1 (2007-05-12)
------------------------------------------------

* The opencdk.def file is included in the distribution archive,
  fixes build failures on mingw32.

* Some bug fixes for the mingw32 build in combination with WINE.

* Now the decryption code uses the name in the literal packet
  for the output file whenever this is possible.

* Take care of absolute file names in literal packets.
2007-06-06 06:11:16 +00:00
wiz
ae15e1fe1e Update to 0.6.0:
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
2007-06-05 05:35:19 +00:00
wiz
ce60f8c137 Update to 0.5.13:
Noteworthy changes in version 0.5.13 (2007-02-01)
------------------------------------------------

* Fixed shared library for newly added APIs in last release.

* Add -no-undefined to LDFLAGS, to make opencdk build under mingw32.

* Add AC_LIBTOOL_WIN32_DLL to configure.ac, which is required for
* libtool to behave correctly for cross-compiles to mingw32.

* Use gnulib for mingw32 support.

Noteworthy changes in version 0.5.12 (2007-02-01)
------------------------------------------------

* Add new API to extract public/secret OpenPGP key to S-expr.
The functions are cdk_pubkey_to_sexp and cdk_seckey_to_sexp.  Patch by
Mario Lenz <mario.lenz@gmx.net>.

* Autoconf 2.60 and automake 1.10 are now required.

* Doc fixes.
2007-02-05 22:59:00 +00:00
joerg
aa48c98240 DESTDIR support. 2006-11-05 17:31:09 +00:00
wiz
ed09c58b07 Update to 0.5.11:
Noteworthy changes in version 0.5.11 (2006-10-26)
------------------------------------------------

* Add a new self test "basic" to test cdk_check_version.

* Add prototype of cdk_stream_decrypt to opencdk.h, reported by Adam
  Langley.

* Fix crash in cdk_data_transform triggered by self-tests.
2006-10-31 22:49:57 +00:00
wiz
0f7a405dc1 Update to 0.5.10:
Noteworthy changes in version 0.5.10 (2006-10-11)
------------------------------------------------

* Fix double-free in cdk_pklist_encrypt, reported by Adam Langley.

* Fix keydb_idx_search() to handle keys at offset 0, thanks to Adam Langley.

* A pkg-config script was added, thanks to Andreas Metzler.

* Autobuild time stamps are used, for easier build robot testing.
2006-10-23 07:33:42 +00:00
wiz
a16b84906d Update to 0.5.9:
Noteworthy changes in version 0.5.9 (2006-08-06)
------------------------------------------------

* Fix cdk_kbnode_write_to_mem to return CDK_Too_Short when buf is
  NULL, tiny patch from Mario Lenz.

* Fixed opencdk-config script to include -lz, thanks to Weng Liong, Low.

* Fix prototypes for AIX compiler, reported by John Heiden.

* Don't use trailing comma in last enum constant, for IBM C v6.  Tiny
  patch from Albert Chin.
2006-09-10 20:24:01 +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
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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
dfabe0d09c Update to 0.5.8, set TEST_TARGET.
Noteworthy changes in version 0.5.8 (2005-08-31)
------------------------------------------------

* Added versioned symbols again.
* Improved searching for libz.
* Should build on platforms that lack "inline".
2005-09-30 12:21:40 +00:00
drochner
0b0729b955 this one doesn't look useful anymore 2005-08-30 17:20:16 +00:00
adam
840995b48e Changes 0.5.7:
* Various build fixes, to make version info not say 0.5.5 any more.

Changes 0.5.6:
* Use libtool -export-symbols-regex instead of GNU ld script.
* Fix license with new FSF address.
* Test for socklen_t, needed for libgcrypt on some platforms.
* A few configure/build fixes.
* Don't use malloc.h.
2005-08-30 14:28:46 +00:00
salo
415ae56473 Build on DragonFly. From Joerg Sonnenberger. 2005-05-31 21:02:10 +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
grant
fc9c762fd7 this won't build with xlc without some work, mark it as such. 2004-12-19 00:19:18 +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
drochner
28e05752a9 update to 0.5.5
changes:
Severeal cleanups and Libgcrypt 1.2.0 adjustments.
2004-08-27 13:01:35 +00:00
reed
5cdf9aa4fd The libopencdk.so.8.0 used libgcrypt.so.11.
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-05-27 00:51:39 +00:00
danw
93fada1eb5 belated commit to go with the new patches added yesterday 2004-05-10 15:52:42 +00:00
danw
6e2815189e s/malloc.h/stdlib.h/ for darwin/freebsd 2004-05-09 20:02:59 +00:00
agc
e89bc72dad gnutls will only configure correctly with 0.5.4 of opencdk, so bump the
value of BUILDLINK_DEPENDS.opencdk accordingly.
2004-04-02 15:57:58 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
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-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
minskim
1ed4d35a43 Update opencdk to 0.5.4.
Changes since 0.5.3:
  * Added versioned symbols.
2004-03-03 04:00:32 +00:00
minskim
8131e4341f Not used any more. 2004-02-25 18:42:12 +00:00
minskim
2333b63720 Enable pkgviews installation. 2004-02-25 18:20:06 +00:00
minskim
f5e93c14ab Bump PKGREVISION due to the update of libgcrypt. 2004-02-25 15:53:17 +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
jlam
42055451ff bl3ify 2004-02-10 00:20:29 +00:00
xtraeme
e4737eba0b This needs gettext-lib's buildlink, reported by Soren Jacobsen PR
pkg/23765. Bump PKGREVISION.
2003-12-21 10:03:42 +00:00
xtraeme
fe6153dbee Updated to 0.5.3, provided by Min Sik Kim PR pkg/23322.
Changes:

* Added a compile time check for vasprintf.
* The unsigned long types were changed to unsigned int.
* Internal message digest and symmetric crypto library to simplify to
  include parts of OpenCDK into an own application.
* Huge interface and naming changes to enhance the readability of the
  code. Several code cleanups which means some functions are not
  public any longer. No backward compatibility to force client
  applications to change the interface as soon as possible.
* Simplified API for listing keys.
* Extended key node (KBNODE) API to extract attributes more easier.
* Signature sub packet API is now public.
* Read-only support for revocation keys.
* Bug fix to prevent possible DOS memory attack.
* Support for literal partial body packets.

And more...
2003-12-06 00:28:21 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
salo
2e172b9dcb wip->security. 2003-05-14 03:17:22 +00:00
salo
436cec638b Import of opencdk-0.4.5: Open Crypto Development Kit.
OpenCDK (Open Crypto Development Kit) provides basic parts of the OpenPGP
message format.  The aim of the library is *not* to replace any available
OpenPGP version.  There will be no real support for key management (sign,
revoke, alter preferences, ...) and some other parts are only rudimentary
available.  The main purpose is to handle and understand OpenPGP packets and
to use basic operations.  For example to encrypt/decrypt or to sign/verify
and packet routines.

Provided by Juan RP via pkgsrc-wip with some modifications by me.
2003-05-14 03:16:23 +00:00