From owner-freebsd-ports Tue Jan 29 9:20:36 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0899937B41C for ; Tue, 29 Jan 2002 09:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0THK1k24023; Tue, 29 Jan 2002 09:20:01 -0800 (PST) (envelope-from gnats) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id F374A37B404 for ; Tue, 29 Jan 2002 09:16:10 -0800 (PST) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 0FB8EA842; Wed, 30 Jan 2002 04:16:09 +1100 (EST) Message-Id: <20020129171609.0FB8EA842@starbug.ugh.net.au> Date: Wed, 30 Jan 2002 04:16:09 +1100 (EST) From: Andrew Reply-To: Andrew To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34414: New port: misc/wait_on - provided kqueue facilities to scripts Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 34414 >Category: ports >Synopsis: New port: misc/wait_on - provided kqueue facilities to scripts >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: Tue Jan 29 09:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.4-STABLE i386 >Organization: UgH! >Environment: System: FreeBSD starbug.ugh.net.au 4.4-STABLE FreeBSD 4.4-STABLE #3: Sun Oct 7 21:30:09 EST 2001 andrew@starbug.ugh.net.au:/usr/obj/usr/src/sys/STARBUG i386 >Description: A program to provide access to some kqueue facilities to shell scripts. Allows shell scripts to wait for files to appear in a directory without polling. >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: # # wait_on # wait_on/pkg-plist # wait_on/pkg-descr # wait_on/pkg-comment # wait_on/distinfo # wait_on/Makefile # echo c - wait_on mkdir -p wait_on > /dev/null 2>&1 echo x - wait_on/pkg-plist sed 's/^X//' >wait_on/pkg-plist << 'END-of-wait_on/pkg-plist' Xbin/wait_on END-of-wait_on/pkg-plist echo x - wait_on/pkg-descr sed 's/^X//' >wait_on/pkg-descr << 'END-of-wait_on/pkg-descr' XThe wait_on command allows shell scripts to access the facilities provided by Xkqueue(3). This allows scripts to detect files being added to directories, data Xappended to files and many other things - all without polling. X XAndrew Stevenson Xandrew@ugh.net.au END-of-wait_on/pkg-descr echo x - wait_on/pkg-comment sed 's/^X//' >wait_on/pkg-comment << 'END-of-wait_on/pkg-comment' XEnable shell scripts to monitor directories for new files END-of-wait_on/pkg-comment echo x - wait_on/distinfo sed 's/^X//' >wait_on/distinfo << 'END-of-wait_on/distinfo' XMD5 (wait_on-1.0.tar.gz) = 5cfb10e02ca7665c75d378bbe3218ff6 END-of-wait_on/distinfo echo x - wait_on/Makefile sed 's/^X//' >wait_on/Makefile << 'END-of-wait_on/Makefile' X# New ports collection makefile for: wait_on X# Date created: 29 Jan 2002 X# Whom: Andrew Stevenson X# X# $FreeBSD$ X# X XPORTNAME= wait_on XPORTVERSION= 1.0 XCATEGORIES= misc XMASTER_SITES= ftp://ftp.ugh.net.au/pub/unix/wait_on/ \ X ftp://ftp.megamirror.com/pub/ugh/unix/wait_on/ \ X http://ftp.megamirror.com/pub/ugh/unix/wait_on/ X XMAINTAINER= andrew@ugh.net.au X XWRKSRC= ${WRKDIR}/wait_on X XMAN1= wait_on.1 XMANCOMPRESSED= maybe X X.include END-of-wait_on/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message