From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 17 22:20:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3512016A40A for ; Mon, 17 Apr 2006 22:20:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8ED543D58 for ; Mon, 17 Apr 2006 22:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3HMKEAa086321 for ; Mon, 17 Apr 2006 22:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3HMKEmY086320; Mon, 17 Apr 2006 22:20:14 GMT (envelope-from gnats) Resent-Date: Mon, 17 Apr 2006 22:20:14 GMT Resent-Message-Id: <200604172220.k3HMKEmY086320@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, dominik karczmarski Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9CE716A40F for ; Mon, 17 Apr 2006 22:15:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 849AB43D49 for ; Mon, 17 Apr 2006 22:15:48 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k3HMFmKv002554 for ; Mon, 17 Apr 2006 22:15:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k3HMFmPU002552; Mon, 17 Apr 2006 22:15:48 GMT (envelope-from nobody) Message-Id: <200604172215.k3HMFmPU002552@www.freebsd.org> Date: Mon, 17 Apr 2006 22:15:48 GMT From: dominik karczmarski To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/95973: New port: security/fswatch file system checksum checker X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2006 22:20:16 -0000 >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 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 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: