Commit graph

99 commits

Author SHA1 Message Date
joerg
ce6709837a Bump version to 20080510. 2008-05-11 18:39:20 +00:00
joerg
3a1ba09130 As workaround for PR 38625, rebuild with autoconf 2.61. 2008-05-11 18:38:15 +00:00
joerg
9502292e69 Fix a bug in the SHA512 implementation that would be triggered if the
last block has exactly the length of a short fragment. This happened
incidently with two files in the NetBSD 4.0 release.
2008-05-09 16:19:57 +00:00
joerg
647e9d137e digest-20080509:
The tiger hash needs to run at least once through the update function,
even for empty input. The fix is different from the patch in PR 36565.
2008-05-09 15:00:32 +00:00
joerg
4c9687e516 NO_MTREE is the default nowawadays.
Do not force use of a native compiler, we don't build digest during
bootstrap any longer.
Do not skip the pkgtools version check for the same reason. When
building this package using DESTDIR, it might actually need the newer
tools.
2008-02-26 13:32:00 +00:00
martti
9afb20a137 Added commented-out LICENSE=something. 2007-11-11 11:35:48 +00:00
kano
abdb54b351 fix obsolete URLs for www.NetBSD.org
close PR pkg/37071
reviewd by xtraeme@
2007-10-07 12:59:11 +00:00
joerg
f60512c785 Fully ANSIfy and use size_t and uint32_t in places where u_int was used
before. This fixes the build on QNX, where u_int is not exposed by the
current set of headers. Make the prototypes of the crypto functions
consistent.
2007-09-21 18:44:36 +00:00
joerg
66a0cbeee0 Don't use u_char when uint8_t are meant. Don't mess with __attribute__,
conditionally use it in the only place it is used. This should fix
problems on QNX reported by Sean Boudreau.
2007-09-14 08:12:29 +00:00
tnn
5b5761f0b7 Bump version to 20070803 after fixing a crash when generating Tiger hashes 2007-08-03 21:42:04 +00:00
tnn
155170f318 Allocate enough storage space to hold a tiger hash. Corrects a
segfault caused by writing past the end of the buffer.
XXX how do I bump the version of this package?
2007-08-03 17:10:07 +00:00
joerg
5122a367fd Include inttypes.h if it exists. Fixes issues on OSF/1 as reported
by tnn@.
2007-08-02 13:54:34 +00:00
joerg
315daaa372 As reported by tnn@, the old approach to find the byte order
doesn't work on HP-UX/Itanium. Use the standard approach using
AC_C_BIGENDIAN. Tested by myself on i386, he@ on SPARC and tnn@ on
HP-UX.
2007-07-27 17:08:27 +00:00
minskim
30720001b0 Include stdint.h to use integer types such as uint32_t. 2007-07-08 05:09:09 +00:00
joerg
b1a42ef8c2 Make pkgtools/digest cross-compilation ready and actually improve
portability somewhat:
- consistently use POSIX uint{8,16,32,64}_t throughout the code.
- asssume for now that the compiler supports ULL as suffix
- use AC_TYPE_UINT{8,16,32,64}_T instead of bits.c to compute
  possible replacement types.

Bump to 20070703. Tested by Thorsten Glaser on Interix and tnn@ on
Solaris.
2007-07-03 18:54:02 +00:00
joerg
10e3eaa283 Override CHECK_PERMS for checkperms and its dependency digest.
This allows making it a real dependency for bulk builds.
2007-07-03 14:04:17 +00:00
joerg
1b6ca55b58 Sync config.{guess,sub} with mk/gnu-configure. 2007-03-12 00:48:28 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
joerg
49de1e68ab Revert libncompat usage and kill the use of snprintf in whirlpool and
tiger instead. Also kill bogus NULL pointer handling in both algorithms:
passing null pointers as buffers (when len != 0) or context is a serious
programming error and should result in a segfault. Bump version to
20060826. OK agc@
2006-08-29 13:43:11 +00:00
schwarz
79d60be97e include libnbcompat on IRIX 5 in order to provide snprintf() 2006-08-26 15:39:07 +00:00
jlam
808fe7ac5f USE_DIGEST is no more. 2006-07-18 23:06:41 +00:00
jlam
85b5cf2e67 Set NO_MTREE since this package will be used during bootstrap and we
don't need to generate the whole directory hierarchy for it.
2006-07-14 16:33:05 +00:00
agc
493baa8da5 Update the digest package to 20060302.
Apply Tyler Retzlaff's patches from PR 32323 to make this compile with gcc4.
2006-03-02 20:34:17 +00:00
joerg
9534013f8c Update AC_C___ATTRIBUTE__ macro with newer version on Heimdal,
the old one is just bogus and depends on GCC extensions. Unbreaks
GCC 4 build.
2006-03-01 16:44:28 +00:00
rillig
76d2a550ec Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 21:55:32 +00:00
grant
ecf46f2b5a include digest-types.h so the various {u,}intNN_t types are defined.
fixes build on BSD/OS.

from T. M. Pederson in PR pkg/31024.
2005-08-21 05:26:33 +00:00
agc
f889f01b22 Update digest to version 20050731:
Pull in a patch from Vsevolod Stakhov via FreeBSD:

	Because that the 55-bytes input-message becomes just 64 bytes
	block after `the message terminator code(0x80)' and
	`size-field(8-bytes field)' are added.  Perhaps, I think the
	block of a lot of one be made at this time.

Fixes PR 30857
2005-07-31 22:45:24 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
minskim
6c25e87617 Include stdint.h because uint32_t is used. Makes the package build on
Linux again.
2005-03-24 15:37:40 +00:00
yamt
d64f41391e fix a memory leak. 2005-03-23 21:40:35 +00:00
agc
185921b533 Update digest to version 20050323. The whirlpool digest algorithm was
added in this version, taken from the reference code from the NESSIE
project. Passes regression test suite on NetBSD/{i386,sparc64} and
also on SunOS 5.9 sparc (thanks, Jonathan).
2005-03-23 14:32:19 +00:00
wiz
7db5367d53 Bump date for tiger. > -> \*[Gt] 2005-03-22 12:42:02 +00:00
agc
0efe6ebb73 Add support for the tiger algorithm to digest.
Bump version to 20050310.

The cabal known as the cryptographers might like to have a look at the
first two results in test 6 of the regression tests.
2005-03-22 10:16:15 +00:00
tv
049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.

(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-06 05:32:29 +00:00
grant
272275bcea update config.{sub,guess} to fix build on newer platforms such as
DragonFly. part of PR pkg/28579 from Todd Willey. thanks!
2004-12-15 02:37:59 +00:00
atatat
bcdd07a3ea Make MAINTAINER, HOMEPAGE, and COMMENT use ?= instead of = so that the
rdigest package works.  I have no idea why I never committed this
before.
2004-10-14 03:13:00 +00:00
grant
f2d85b7aed add missing DESCR to DISTFILES. 2004-03-28 02:43:21 +00:00
grant
35c826f6a5 sync with ../DESCR 2004-03-28 02:42:51 +00:00
jlam
b8d88da4d9 USE_BUILDLINK3 must be "yes" or "no", not just defined/undefined. 2004-03-22 06:07:46 +00:00
jlam
fa037f0f75 Set USE_DIGEST=no to avoid checking and building a new digest package.
XXX This line should be removed once pkgsrc/bootstrap is up and running.
2004-03-13 21:00:19 +00:00
jlam
e949ebddbd Set USE_NATIVE_GCC in digest to avoid chicken-and-egg problem with
possibly depending on gcc.

XXX This should be removed after digest-handling has been changed to be
XXX done by BUILD_DEPENDS.
2004-03-13 19:38:26 +00:00
agc
157def92c1 Conditionally set DISTNAME, since this Makefile is included by the
pkgsrc/pkgtools/rdigest Makefile, which will end up with a PKGNAME of
digest-...  otherwise.  Noticed on bulk build output.
2004-01-26 21:26:53 +00:00
jlam
22645a942c bl3ify 2004-01-05 11:28:07 +00:00
atatat
677c3a74db Fix the usage line. Addresses PR pkg/22207. 2003-07-24 00:27:09 +00:00
seb
e59a7f655d Remove AC_FUNC_MALLOC: there is no need to check for a compatible GNU malloc
as there is no call to malloc(0) in this code.
As a side effect, need to explicitly add a check for <stdlib.h>.
2003-07-20 19:55:01 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
dillo
2816ab4961 don't define test target directly, use do-test instead 2003-07-12 13:23:43 +00:00
grant
3c1af0cf0b remove (now) inaccurate comment, as digest isn't statically linked.
also mention it does sha256, sha384 and sha512, too.
2003-07-06 19:08:00 +00:00
atatat
0d6688542d Only need to #include <digest-types.h> once. Discovered during sync
with bootstrap-pkgsrc/digest.
2003-06-23 13:12:53 +00:00
seb
4f5d385691 Redde Caesari quae sunt Caesaris... 2003-06-16 16:11:35 +00:00