From owner-freebsd-ports Wed Oct 18 1:40: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9F36437B4E5 for ; Wed, 18 Oct 2000 01:40:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA13320; Wed, 18 Oct 2000 01:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id 62BD237B4C5 for ; Wed, 18 Oct 2000 01:39:22 -0700 (PDT) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 13lokh-000ENO-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Oct 2000 10:39:11 +0200 Message-Id: Date: Wed, 18 Oct 2000 10:39:11 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22075: New port: cksfv Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22075 >Category: ports >Synopsis: New port: cksfv >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 18 01:40:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Johann Visagie >Release: FreeBSD 3.5-STABLE i386 >Organization: Electric Genetics >Environment: >Description: - The Simple File Verification (SFV) system - popular with the Windows shareware/freeware crowd - consists of CRC-32 checksums contained in special .sfv files. This is somewhat analogous to the way FreeBSD FTP mirrors use CHECKSUM.MD5 files, or FreeBSD ports use "distinfo" files. - cksfv is a very simple program which allows one to create .sfv files, or to check files against an existing .sfv checksum file. - I tentatively placed this port in the "security" category since that is where the Perl5 interface to MD5 resides. Maybe another category such as "misc" would be more apt? >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cksfv # cksfv/Makefile # cksfv/files # cksfv/files/patch-src-Makefile # cksfv/distinfo # cksfv/pkg-comment # cksfv/pkg-plist # cksfv/pkg-descr # echo c - cksfv mkdir -p cksfv > /dev/null 2>&1 echo x - cksfv/Makefile sed 's/^X//' >cksfv/Makefile << 'END-of-cksfv/Makefile' X# New ports collection makefile for: cksfv X# Date created: 18 October 2000 X# Whom: Johann Visagie X# X# $FreeBSD$ X# X XPORTNAME= cksfv XPORTVERSION= 1.1 XCATEGORIES= security XMASTER_SITES= http://www.fodder.org/cksfv/ X XMAINTAINER= johann@egenetics.com X XBUILD_WRKSRC= ${WRKSRC}/src XINSTALL_WRKSRC= ${BUILD_WRKSRC} XUSE_GMAKE= yes XALL_TARGET= cksfv X Xpost-install: X.if !defined(NOPORTDOCS) X @ ${MKDIR} ${PREFIX}/share/doc/cksfv X @ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/cksfv X.endif X X.include END-of-cksfv/Makefile echo c - cksfv/files mkdir -p cksfv/files > /dev/null 2>&1 echo x - cksfv/files/patch-src-Makefile sed 's/^X//' >cksfv/files/patch-src-Makefile << 'END-of-cksfv/files/patch-src-Makefile' X--- src/Makefile.orig Mon May 22 23:57:05 2000 X+++ src/Makefile Wed Oct 18 10:14:25 2000 X@@ -17,14 +17,15 @@ X # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. X X PROG= cksfv X+CC?= gcc X CFLAGS+= -Wall -Werror -O2 X SRCS= cksfv.c print.c crc32.c readsfv.c newsfv.c X X cksfv: $(SRCS) X- gcc $(CFLAGS) -o $(PROG) $(SRCS) X+ $(CC) $(CFLAGS) -o $(PROG) $(SRCS) X X install: cksfv X- cp $(PROG) /usr/local/bin X+ $(BSD_INSTALL_PROGRAM) $(PROG) $(PREFIX)/bin X X clean: X rm -f *.o *~ *.core $(PROG) END-of-cksfv/files/patch-src-Makefile echo x - cksfv/distinfo sed 's/^X//' >cksfv/distinfo << 'END-of-cksfv/distinfo' XMD5 (cksfv-1.1.tar.gz) = e32e3fc05b99ce8ff06af57df3f16952 END-of-cksfv/distinfo echo x - cksfv/pkg-comment sed 's/^X//' >cksfv/pkg-comment << 'END-of-cksfv/pkg-comment' XCreate or manipulate Simple File Verification (SFV) checksum files END-of-cksfv/pkg-comment echo x - cksfv/pkg-plist sed 's/^X//' >cksfv/pkg-plist << 'END-of-cksfv/pkg-plist' Xbin/cksfv Xshare/doc/cksfv/README X@dirrm share/doc/cksfv END-of-cksfv/pkg-plist echo x - cksfv/pkg-descr sed 's/^X//' >cksfv/pkg-descr << 'END-of-cksfv/pkg-descr' XThe Simple File Verification (SFV) system is a file integrity verification Xsystem which is popular on some platforms. A software package may be Xaccompanied by an SFV file (usually with extension .sfv) which contains XCRC-32 checksums for all the files that comprise the package. X Xcksfv (Check SFV) can both create simple file verification (SFV) files, and Xtest file integrity against existing SFV files. X XLicence: GPL XAuthor: Bryan Call XWWW: http://www.fodder.org/cksfv/ X X-- Johann Visagie END-of-cksfv/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message