Commit graph

111 commits

Author SHA1 Message Date
wiz
cda18437be Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles. 2014-10-09 14:05:50 +00:00
obache
34637a70ac Just define PKGNAME and use it. 2014-03-03 03:30:52 +00:00
wiz
b6d125ee08 Use Mt for email addresses. 2013-07-20 21:50:52 +00:00
dholland
e23c5d67c4 Regen. 2013-01-03 10:21:21 +00:00
dholland
32fca5cf08 Remove configure test for vprintf, which wasn't even being used, and
configure tests for memset/memcpy, which are standard and haven't
needed checking in a long time. This makes the configure script
tolerate injection of -Werror.

Fix signed/unsigned mismatches in the sha2 and whirlpool code. This
package now passes -Wall with gcc45.

Bump the package version to 20121220, which is when I made these
changes.
2013-01-03 10:20:31 +00:00
asau
5c2dd9e784 "user-destdir" is default these days 2012-09-11 23:19:33 +00:00
cheusov
75f5cc8ca9 Fix segmentation fault of digest(1) on Linux when directory
is passed as an argument or when read error occurs.
Update version to 20111104.
2011-11-04 23:58:14 +00:00
obache
4d9c18416f Exactly include unistd.h for size_t (at least, need for Haiku). 2010-01-23 13:25:12 +00:00
wiz
60f460ab01 Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
2009-05-19 08:59:00 +00:00
joerg
d0c565a211 Define int64_t if missing. Should fix PR 41396. 2009-05-09 01:45:10 +00:00
joerg
368d71b62e Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions. 2009-04-09 00:48:06 +00:00
joerg
99269d29a5 Regen with autoconf 2.63. The endian macro issues on Mac OS X have been
addressed according to PR 38625.
2009-02-09 19:18:42 +00:00
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