head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.44 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.42 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.40 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.38 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.36 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.34 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.32 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.30 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.28 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.26 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.24 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.22 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.20 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.18 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.16 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.4 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2005.02.05.00.45.49; author wiz; state dead; branches; next 1.1; 1.1 date 2004.07.16.23.40.54; author xtraeme; state Exp; branches; next ; desc @@ 1.2 log @Update to 1.3.3: 2005-03-04 Heikki Orsila * version 1.3.3 - lots of changes. see previous changelog entries. 2005-03-04 Heikki Orsila - configure script now ignore unknown arguments (but gives a warning) - configure allows setting mandir and compiler. Examples: --mandir=/usr/man --compiler=/opt/experimental/gcc-4/bin/gcc - fixed wording in man file (Thomas Klausner) - -b option: print only basenames of the given files when creating an sfv. 2005-03-03 Heikki Orsila - fixed O_LARGEFILE for macosx - Thomas Klausner submitted partial sfv checking patch by Dieter Baron. Now cksfv -f foo.sfv [FILE1 FILE2 ...] checks only given FILES. - Thomas Klausner submitted patch by Tobias Nygren to avoid calculating CRC twice per file (read once, compute twice). 2005-02-03 Heikki Orsila * version 1.3.2 - solaris printf workaround. use %lu tu print filesizes. works best on 64-bit architectures (with compilers assuming sizeof(long) == sizeof(size_t)). GNU/Linux support %zu which is the appropriate modifier for this case, but can't have it everywhere. - doesn't print directory infos into catalogues when creating sfvs - see other modifications since 1.3.1 (many of them) 2005-01-26 Heikki Orsila - fixed output (displayed only 32-bit file sizes, and months wrong) OLD: ; 100663296 14:54.37 2005-00-25 zeros NEW: ; 4395630592 14:54.37 2005-01-25 zeros - lots of code cleanups - solaris fixes 2005-01-25 Heikki Orsila * no new version - Added and edited man page from Debian distribution - Fixed Makefile issues for -jx - Added a simple configure script for more consistent compilation - Removed b0rken rpm creation from Makefile - Removed spam messages (when creating and verifying checksums) - Added test cases (make tests) - added fake and lousy stdint.h generation (OS that don't have it should be upgraded) 2005-01-24 Heikki Orsila * no new version - I decided to start maintaining the program since Bryan Call is unreachable. 2004-05-25 Heikki Orsila * version 1.3.1 - Fixed 64-bit issues. Went into Gentoo portage. @ text @$NetBSD: patch-ag,v 1.1 2004/07/16 23:40:54 xtraeme Exp $ --- src/crc32.c.orig 2001-07-06 08:33:08.000000000 +0200 +++ src/crc32.c @@@@ -95,17 +95,16 @@@@ int crc32(register int fd, unsigned long { char buf[BUFFERSIZE], *p; int len = 0, nr; - unsigned long crc = ~0, crc32_total = ~0; + unsigned long crc = 0xffffffff; while ((nr = read(fd, buf, sizeof(buf))) > 0) for (len += nr, p = buf; nr--; ++p) { crc = (crc >> 8) ^ crctable[(crc ^ *p) & 0xff]; - crc32_total = (crc >> 8) ^ crctable[(crc32_total ^ *p) & 0xff]; } if (nr < 0) return 1; *main_len = len; - *main_val = ~crc; + *main_val = (~crc)&0xffffffff; return 0; } @ 1.1 log @Apply patch from PR pkg/26330 by Tobias Nygren to make this work on Alpha. @ text @d1 1 a1 1 $NetBSD$ @