Commit graph

56 commits

Author SHA1 Message Date
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
abs
4f310d37d9 Capitalise first letter of COMMENT 2001-05-17 14:35:50 +00:00
agc
f1c1334eb9 Revert previous change - the man pages get added to the generated PLIST
by the pre-install target, depending upon the setting of MANINSTALL.
2001-05-09 07:28:10 +00:00
hubertf
48f1d936fd add manpages 2001-05-09 02:45:03 +00:00
agc
9245ae2221 Include the rmd160 sources unconditionally, in reponse to a number of
reports which state that, although /usr/include/rmd160.h exists, the
corresponding rmd160*() routines are not available in libc.

Bump version number to 20010320
2001-03-29 08:42:14 +00:00
fredb
ec58eab759 Withdraw that last change. "bsd.man.mk" compresses man pages whenever
"MANZ" is set, regardless of it's value. The change only seemed to work
because of the turds left over from the last failed install.
2001-03-26 16:48:25 +00:00
fredb
3fadab48fb Make ${MANZ} really work even if protected by ".ifdef BSD_PKG_MK" in
/etc/mk.conf. Otherwise, in the case where ${MANZ_COMPRESSED_IF_MANZ}
and ${MANZ} are both protected by ".ifdef BSD_PKG_MK", the former fixes
the PLIST inappropriately.
2001-03-26 16:34:00 +00:00
agc
c5809a44ab + Use libc mods to force aligned access.
+ Always use the included sha1 source, since libc's may cause
unaligned access.
+ Don't allow weak aliases in included sha1 code.
+ Bump package version number
2001-03-26 12:57:32 +00:00
agc
d33b36cd21 Align correctly on LP64 platforms - from Andrew Brown and Simon Burge.
Bump version string accordingly
2001-03-22 09:51:47 +00:00
tron
1896f797fa No manual pages under Solaris until "nroff" has been integrated into
"zoularis".
2001-03-16 22:20:59 +00:00
agc
30b3ee084a No functional changes.
Add a very small regression test script.
Add a "test" target to the package Makefile.
Suggested by Dan McMahill.
2001-03-14 17:27:05 +00:00
dmcmahill
096a883221 bump version to go with last change 2001-03-13 15:14:30 +00:00
dmcmahill
aa50384881 add missing header file. makes this build on alpha with -Werror. 2001-03-13 15:09:55 +00:00
agc
6fed36d326 Add sha256, sha384 and sha512 digest algorithms, with BSD-licenced
code from Aaron Gifford.

Bump version number to 20010307

Simplify the manual page installation:

+ remove the :D.gz modifier from the manual page installation commands.
It's not necessary, as bsd.pkg.mk works out whether the manual page
is gzipped or not

+ just use the make(1) :M modifier to work out
whether catinstall and maninstall are set in ${MANINSTALL}
2001-03-12 09:08:40 +00:00
fredb
80d72de5ae Make "MANZ" do the right thing on pre-1.5 NetBSD (no ':D' modifier). 2001-03-12 06:21:58 +00:00
tron
49942d77b2 Make this build with the latest "zoularis" again. 2001-03-11 22:29:16 +00:00
tron
02b9a46f56 Remove unnecessary bootstrap kludge to make patches work for this package.
Because the source are included we can simply update them.
2001-03-10 15:55:14 +00:00
tron
9990264d87 Solve chicken and egg problem by using a bootstrap digest shell script
used to verify the patch checksums of this package.
2001-03-10 15:26:15 +00:00
tron
5be1fa6c13 To make bootstrap of this package work again we need MD5 checksums. 2001-03-10 15:23:55 +00:00
wiz
5400d3e577 regen (pkglint!) 2001-03-10 13:59:05 +00:00