Date: Wed, 18 Oct 2000 10:39:11 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22075: New port: cksfv Message-ID: <E13lokh-000ENO-00@fling.sanbi.ac.za>
next in thread | raw e-mail | index | archive | help
>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 <johann@egenetics.com> 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 <bsd.port.mk> 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 <bc@fodder.org> XWWW: http://www.fodder.org/cksfv/ X X-- Johann Visagie <johann@egenetics.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13lokh-000ENO-00>