Commit graph

75 commits

Author SHA1 Message Date
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
atatat
49758757d0 A function that is declared to return an int *really ought to do do*.
I expect that since all possible code paths through this function did,
as their last step, an assignment of what was to be the return value,
that the registers somehow ended up nicely arranged after we fell out
of the bottom of the function.

But it's still better just to return a value.
2003-06-16 13:35:22 +00:00
atatat
99b76b3894 Reword the guts of digest so that the entry points into the various
hashes (fooInit(), fooUpdate(), fooFinal(), and fooFile()) are in the
array of structs that list the digests we support.

This makes the code somewhat simpler, easier to patch, and makes it
much easier to add new algorithms.

Note that since this *only* changes the inner workings of the digest
program, we don't need to touch the version number.

Approved (finally) by agc.  :)
2003-06-15 00:42:29 +00:00
wiz
28a4483bc7 NO_PATCH is deprecated, says pkglint. Remove it. 2003-03-28 21:14:10 +00:00
agc
6971ca3b19 Make sure PKG_DBDIR exists before installation, "just in case". 2003-01-22 07:35:40 +00:00
schmonz
85caee66fe Define NO_PKGTOOLS_REQD_CHECK, which will mean something in a moment. 2003-01-09 13:11:10 +00:00
schmonz
4ccf97627b USE_BUILDLINK2 after all. It works, so why not? 2002-12-24 07:55:15 +00:00
schmonz
3b05b1365a These packages no longer use BSD-style .mk files, so MANCOMPRESSED_IF_MANZ
and MANINSTALL aren't needed.
2002-12-21 05:05:28 +00:00
schmonz
9ded3433a9 "Import" autoconf'd digest source from othersrc/bootstrap-pkgsrc/digest
into ${FILESDIR}. (Using autoconf greatly simplifies maintenance
of this package across multiple platforms.) Copy the sources into
${WRKSRC} during "do-extract". We automagically determine VERSION
by inspecting ${FILESDIR}/configure.

USE_BUILDLINK2=no because this is a pkgsrc bootstrap tool.
2002-12-21 04:06:10 +00:00
cjep
dd2d72e624 Tweaks for OpenBSD (cf. recent bootstrap-pkgsrc commit) 2002-11-17 09:37:21 +00:00
tron
34f34cdbce Revert last change after buildlink2 problem was fixed by Johnny C. Lam. 2002-09-04 12:53:02 +00:00
tron
904880edeb Enabling buildlink2 for this package isn't necessary and breaks
bootstrapping on Solaris.
2002-09-02 08:01:19 +00:00
jlam
b96524abd4 Merge pkgsrc/pkgtools from the buildlink2 branch back to the main trunk. 2002-08-23 05:22:54 +00:00
wiz
8ed9b88dbd Tabify, and apply patch from pkg/17331 by Julio Merino, adding
NO_PATCH and NO_CONFIGURE.
2002-07-29 11:25:37 +00:00
abs
515e56567b Make this work under Linux, and fix manpage install on SunOS 2002-06-21 15:26:07 +00:00
seb
442ccd73e8 Use PLIST filtering based on MANINSTALL's content: pre-install is not
needed anymore, manpage related entries added to PLIST.
2002-03-04 11:57:10 +00:00
wiz
b4f0a668fa Miscellaneous man page fixes. 2001-12-03 19:03:19 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
agc
7dad1fb4e4 Don't build digest statically on Darwin. 2001-10-30 14:07:33 +00:00
wiz
5fda8f604d Add some `\n' in error messages, per pkg/13650 by Stoned Elipot.
Bump to 20010807.
2001-08-07 22:14:52 +00:00
hubertf
c4b3694b31 Bump version to 20010709 2001-07-09 21:44:58 +00:00
hubertf
a5fad2cd26 Pull in consistent set of headers (<sys/cdefs.h> - BSD-specific too,
but at least it's consistent :)
2001-07-09 21:43:20 +00:00
hubertf
59758216a2 Get rid of BSD err() and warn() functions - for great just^Wportability! 2001-07-09 21:42:30 +00:00
hubertf
9fbec0016f Always use this pkg's md5 routines. The Solaris ones e.g. aren't
compatible, and not everyone uses a full BSD environment on !BSD.
2001-07-09 21:42:03 +00:00
tron
5e56dbb4d7 Fix problem under Solaris caused by latest changes to "bsd.prefs.mk"
and "bsd.pkg.mk". Problem noted by Stoned Elipot in private e-mail.
2001-06-14 20:39:32 +00:00