Date: Mon, 17 Apr 2006 22:15:48 GMT From: dominik karczmarski <dominik@karczmarski.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/95973: New port: security/fswatch file system checksum checker Message-ID: <200604172215.k3HMFmPU002552@www.freebsd.org> Resent-Message-ID: <200604172220.k3HMKEmY086320@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95973 >Category: ports >Synopsis: New port: security/fswatch file system checksum checker >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 17 22:20:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: dominik karczmarski >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: FreeBSD freebsd1.unix.hr.loc 5.4-RELEASE FreeBSD 5.4-RELEASE #5: Wed Feb 8 15:9:59 UTC 2006 root@freebsd1.unix.hr.loc:/usr/src/sys/i386/compile/SERVER0 i386 >Description: fswatch is a utility to guard changes in a file system. fswatch is composed of three simple programs: fswbuild, fswcmp, fswshow. fswbuild builds file system information database. fswcmp compairs two database files and returns what changes a in file system have been introduced. fswshow shows contents of database file. a file information database is platform independend. fswatch can collect the following information about files (and directories): inode, links, uid, gid, mode, size, flags, ctime, checksum (sha1) ; and can show which files were added, deleted or changed. fswatch is one of many similar utilities. the main difference is the configuration. you can define different settings for every directory in a directory tree. >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: # # fswatch/ # fswatch/Makefile # fswatch/pkg-plist # fswatch/pkg-message # fswatch/pkg-descr # fswatch/distinfo # echo c - fswatch/ mkdir -p fswatch/ > /dev/null 2>&1 echo x - fswatch/Makefile sed 's/^X//' >fswatch/Makefile << 'END-of-fswatch/Makefile' X# New ports collection makefile for: fswatch X# Date created: 18 April 2006 X# Whom: dominik karczmarski <dominik@karczmarski.com> X# X# $FreeBSD$ X# X XPORTNAME= fswatch XPORTVERSION= 0.02.b5 XCATEGORIES= security sysutils XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= fswatch XDISTNAME= ${PORTNAME}-${PORTVERSION:C/.b/beta/} X XMAINTAINER= dominik@karczmarski.com XCOMMENT= File system checksum checker X XHAS_CONFIGURE= yes X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b/beta/}/ X XCONFIGURE_ARGS+= --prefix=${PREFIX} X XCONFIGURE_ARGS+= --enable-regex \ X --enable-stflags X XMAN1= fswbuild.1 fswcmp.1 fswshow.1 fswconf.1 XMAN5= fswatch.conf.5 XMAN7= fswatch.7 X Xpost-install: X @if [ ! -f ${PREFIX}/etc/fswatch.conf ]; then \ X ${CP} -p ${PREFIX}/etc/fswatch.conf.sample \ X ${PREFIX}/etc/fswatch.conf ; \ X fi X @${CAT} pkg-message X X.include <bsd.port.mk> END-of-fswatch/Makefile echo x - fswatch/pkg-plist sed 's/^X//' >fswatch/pkg-plist << 'END-of-fswatch/pkg-plist' Xbin/fswbuild Xbin/fswcmp Xbin/fswshow Xbin/fswconf X@unexec if cmp -s %D/etc/fswatch.conf.sample %D/etc/fswatch.conf; then rm -f %D/etc/fswatch.conf; fi Xetc/fswatch.conf.sample X@exec if [ ! -f %D/etc/fswatch.conf ] ; then cp -p %D/%F %B/fswatch.conf; fi END-of-fswatch/pkg-plist echo x - fswatch/pkg-message sed 's/^X//' >fswatch/pkg-message << 'END-of-fswatch/pkg-message' X----------------------------------------------------------------- Xthank you for choosing fswatch. if you have any questions you can Xsimply email me or post message to forum at project home page. X Xdefault fswatch.conf checks directories: X /etc /bin /sbin /lib /libexec /usr/bin /usr/sbin /usr/lib X /usr/libexec /usr/libdata /usr/local/etc /usr/local/bin X /usr/local/sbin /usr/local/lib /usr/local/libexec X /usr/local/libdata X Xsee fswatch(7) . X----------------------------------------------------------------- END-of-fswatch/pkg-message echo x - fswatch/pkg-descr sed 's/^X//' >fswatch/pkg-descr << 'END-of-fswatch/pkg-descr' Xfswatch: X- is a utility to guard changes in a file system. X X- is composed of three simple programs: fswbuild, fswcmp, fswshow. fswbuild X builds a file system information database. fswcmp compairs two database files X and returns what changes a in file system have been introduced. fswshow shows X contents of database file. a file information database is platform X independend. X X- can collect the following information about files (and directories): inode, X links, uid, gid, mode, size, flags, ctime, checksum (sha1) ; and can show X which files were added, deleted or changed. X X- is one of many similar utilities. the main difference is the configuration. X you can define different settings for every directory in a directory tree. X moreover, it is very small and fast. X XWWW: http://fswatch.sourceforge.net X X- dominik karczmarski X dominik@karczmarski.com END-of-fswatch/pkg-descr echo x - fswatch/distinfo sed 's/^X//' >fswatch/distinfo << 'END-of-fswatch/distinfo' XMD5 (fswatch-0.02beta5.tar.gz) = 3fa8208acaadf344a9be379a20638114 XSIZE (fswatch-0.02beta5.tar.gz) = 102934 END-of-fswatch/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604172215.k3HMFmPU002552>