Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 04:16:09 +1100 (EST)
From:      Andrew <andrew@ugh.net.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34414: New port: misc/wait_on - provided kqueue facilities to scripts
Message-ID:  <20020129171609.0FB8EA842@starbug.ugh.net.au>

next in thread | raw e-mail | index | archive | help

>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 <andrew@ugh.net.au>
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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020129171609.0FB8EA842>