Commit graph

40 commits

Author SHA1 Message Date
tv
642acf8e6a Make build on Interix, sharing some of the OS-specific oddities with _WIN32. 2005-03-10 15:38:33 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
tv
90181e27b6 It's not very useful to include <sys/select.h> in only one source file
when other source files depend on fd_set being defined in a local header.

(Required on Interix, which does not expose <sys/select.h>/<sys/time.h>
automagically via other system headers as some OS's do by default.)
2005-01-18 13:11:38 +00:00
adam
c44530b79a Changes 1.2.1:
* Portability fixes, memory allocation fixes and other minor things.
 * Support to build as a W32 static library.
 * Changed the way the RNG gets initialized. This allows to keep it
   uninitialized as long as no random numbers are used.  To override
   this, the new macro gcry_fast_random_poll may be used.  It is in
   general a good idea to spread this macro into the application code
   to make sure that these polls happen often enough.
2005-01-14 11:26:34 +00:00
grant
daa81e9135 fix socklen_t hack by falling through to ${TRUE} if ${GREP} fails
(pattern not matched). ugh, bash.

fixes build on Linux. reported by minskim@
2004-12-21 08:57:48 +00:00
grant
fa6a9ffd92 add hack for missing socklen_t typedef handling. fixes build on
Darwin.
2004-12-18 23:54:58 +00:00
ben
3b7b23410c As it was, libtool failed to link to libgcrypt on NetBSD 1.6.x because
buildlink did not bring in PTH.  For example, this made opencdk fail to
build.  Fix this by adding mk/pthread.buildlink3.mk to
security/gcrypt/buildlink3.mk
2004-11-14 15:38:42 +00:00
gavan
3eabc09b66 Fix for compiling on Solaris SPARC with gcc.
If __sparcv8 is defined, use the SPARC v8 version of udiv_qrnnd.  Without
this change, udiv_qrnnd will not be defined using the SPARC v8 udiv
instruction, and the default SPARC v7 case of defining it to be the native
__gmpn_udiv_qrnnd will be used, but this does not exist on SPARC v8, so
at link time, the user will get an error about _gmpn_udiv_qrnnd being
undefined.  gcc defines __sparcv8.

From PR pkg/26815.
2004-10-25 13:03:53 +00:00
shannonjr
4015fdc44e Re: pkg/27317 The header gcrypt.h references struct timeval without
including sys/time.h. Added the patch summitted with PR that adds
an include for sys/time.h. Bumped PKGREVISION.
2004-10-23 08:57:33 +00:00
minskim
112b811bd0 This package never uses the gettext library directly. The dependency
on gettext-lib should be taken care of by libgpg-error.
2004-10-19 17:43:23 +00:00
ben
23de6ec40d Add dependency on gettext-lib to provide libintl for platforms that do
not have it built in.  May address PR#27292.
2004-10-19 03:24:38 +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
jmmv
fcc4f184f1 When exec'ing child processes (netstat and vmstat), make sure the standard
file descriptors (0, 1, 2) are open.  This avoids multiple warnings issued
under NetBSD about running set[ug]id programs with those descriptors closed.

Fixes PR pkg/26079; although it talks about gaim, the problem is here, in
libgcrypt.  Bump PKGREVISION to 1.
2004-07-02 13:14:27 +00:00
adam
59fee122d5 buildlink3 now requires libgcrypt 1.2.0 or higher 2004-05-26 07:44:58 +00:00
tron
f869e3de69 Remove me as maintainer of this package. 2004-05-26 05:42:28 +00:00
snj
784ea8c189 Fix MASTER_SITES. From Robert Elz in PR pkg/25681. 2004-05-23 04:07:41 +00:00
adam
5fcb1873eb Changes 1.2.0
* First stable release.

Changes 1.1.94
 * The support for multi-threaded users goes into its third
   incarnation.  We removed compile time support for thread libraries.
   To support the thread library of your choice, you have to set up
   callback handlers at initialization time.  New data structures, a
   new control command, and default initializers are provided for this
   purpose.

 * Interface changes relative to the 1.1.93 release:
libgcrypt-config --thread       OBSOLETE
libgcrypt-pth.la                REMOVED
libgcrypt-pthread.la            REMOVED
GCRYCTL_SET_THREAD_CBS          NEW
struct gcrypt_thread_cbs        NEW
enum gcry_thread_option         NEW
GCRY_THREAD_OPTION_PTH_IMPL     NEW
GCRY_THREAD_OPTION_PTHREAD_IMPL NEW

Changes 1.1.93
 * The automatic thread library detection has finally been removed.
   From now on, only linking explicitely to libgcrypt, libgcrypt-pth
   or libgcrypt-pthread is supported.
2004-05-22 10:07:48 +00:00
wiz
92112d0f64 Disable the pth-test, since it doesn't work correctly (bl3 problem?)
on systems still needing pth.
2004-04-29 15:03:47 +00:00
jlam
758f793d65 Nuke the special libtool handling since the version of libgcrypt in
pkgsrc does the right thing with assembler source files.
2004-03-29 07:42:16 +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
fe66015eda Regen. Noted by jmmv@. 2004-02-25 21:53:17 +00:00
minskim
a734b80220 Not used any more. 2004-02-25 19:05:09 +00:00
minskim
62b096c9c5 Bump BUILDLINK_DEPENDS due to library major bump. 2004-02-25 18:10:49 +00:00
minskim
51c6cdfa83 Update libgcrypt to 1.1.92.
Changes since 1.1.90:
  - Included a limited implementation of RFC2268.
  - Changed API of the gcry_ac_ functions.
  - Code cleanups and minor bug fixes.
  - Interface changes:
	GCRY_CIPHER_RFC2268_40          NEW.
	gcry_ac_data_set                CHANGED: New argument FLAGS.
	gcry_ac_data_get_name           CHANGED: New argument FLAGS.
	gcry_ac_data_get_index          CHANGED: New argument FLAGS.
	cry_ac_key_pair_generate        CHANGED: New and reordered arguments.
	gcry_ac_key_test                CHANGED: New argument HANDLE.
	gcry_ac_key_get_nbits           CHANGED: New argument HANDLE.
	gcry_ac_key_get_grip            CHANGED: New argument HANDLE.
	gcry_ac_data_search             REMOVED.
	gcry_ac_data_add                REMOVED.
	GCRY_AC_DATA_FLAG_NO_BLINDING   REMOVED.
	GCRY_AC_FLAG_NO_BLINDING        NEW: Replaces above.
2004-02-25 15:51:51 +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
38afafca59 bl3ify and remove libiconv and gettext-lib buildlink files. This package
really only needs gettext-lib through libgpg-error, and doesn't need
libiconv at all unless it uses the pkgsrc gettext-lib.  The gettext-lib
buildlink3.mk file combined with the buildlink3 framework is considerably
better at detecting this than the buildlink2.mk, which broke in a lot of
instances.
2004-02-10 00:13:24 +00:00
grant
c3c063f95d this needs libintl, so explicitly include gettext-lib/buildlink2.mk. 2004-02-05 00:09:51 +00:00
xtraeme
ab17fd92e1 This needs libiconv's buildlink, reported by David Griffith PR pkg/23811.
Bump PKGREVISION.
2003-12-21 09:57:14 +00:00
xtraeme
ae8947f74c Oops, this patch still is needed. 2003-12-06 00:29:26 +00:00
xtraeme
a44d93e6d7 Updated to 1.1.90, provided by Min Sik Kim PR pkg/23322.
Changes:

 * The use of the GCRY_WEAK_RANDOM level is now deprecated in favor of
   the new gcry_create_nonce function.
 * gcry_sexp_build now supports a "%b" format to include a memory buffer.
 * Minor configuration fixes.
 * Interface changes relative to the 1.1.44 release:
 * Bug fixes and more code cleanups.
 * Enhanced the prime API.
 * Support for the Serpent cipher algorithm.

And more...
2003-12-06 00:26:59 +00:00
hubertf
979d04736e Fix "libgcrypt-config --libs" to add -Wl,-R. Bump to 1.1.12nb1. 2003-11-02 19:57:51 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
b9422ada12 Convert to USE_NEW_TEXINFO.
Fix PLIST for missing info files.
2003-08-05 10:14:22 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
salo
4197dd0335 Updated to version 1.1.12.
Based on a patch sent by Juan RP via PR pkg/21559.

Changes:

- DESCR has 80 columns
- style nits

1.1.12:
=======
- gcry_pk_sign, gcry_pk_verify and gcry_pk_encrypt can now handle an optional
  pkcs1 flags parameter in the S-expression.  A similar flag may be passed to
  gcry_pk_decrypt but it is only syntactically implemented.
- New convenience macro gcry_md_get_asnoid.
- There is now some real stuff in the manual.
2003-05-13 03:07:10 +00:00
dmcmahill
d0d199d53c do not disable asm on alpha. fixes recently noted compile problems 2003-02-08 23:01:02 +00:00
tron
76bb1cfd97 Set "USE_LIBTOOL" even if we use the bundled "libtool" so that
buildlink2 will do the right thing.
2003-02-02 22:00:24 +00:00
tron
f28db5fa67 Import new "libgcrypt" package: GNU's cryptographic library
This fixes PR pkg/19732 by Juan RP.
2003-02-02 17:27:47 +00:00