Hi - Here is an update to entr(1). Changes include:
- No longer use pthreads. - Support interactive applications by opening a TTY - Stat files that dissapear before running a command - Always exit after failing to reopen a file under watch E. Radman Index: entr/Makefile =================================================================== RCS file: /cvs/ports/sysutils/entr/Makefile,v retrieving revision 1.2 diff -u -p -d -u entr/Makefile --- entr/Makefile 25 May 2012 12:46:40 -0000 1.2 +++ entr/Makefile 11 Jan 2013 16:37:34 -0000 @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2012/05/25 12:46:40 jasper Exp $ +# $OpenBSD: $ COMMENT = run arbitrary commands when files change -DISTNAME = entr-1.4 -REV = b90825a157a4 +DISTNAME = entr-1.8 +REV = f508b5eb0260 CATEGORIES = sysutils @@ -17,12 +17,12 @@ PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB += c pthread +WANTLIB += c -MASTER_SITES = http://static.eradman.com/code/ \ +MASTER_SITES = http://entrproject.org/code/ \ https://bitbucket.org/eradman/entr/get/ -MAKE_FLAGS = CC="${CC}" LDFLAGS="${LDFLAGS} -pthread" +MAKE_FLAGS = CC="${CC}" LDFLAGS="${LDFLAGS}" WRKDIST = ${WRKDIR}/eradman-entr-${REV} REGRESS_TARGET = test Index: entr/distinfo =================================================================== RCS file: /cvs/ports/sysutils/entr/distinfo,v retrieving revision 1.2 diff -u -p -d -u entr/distinfo --- entr/distinfo 25 May 2012 12:46:40 -0000 1.2 +++ entr/distinfo 11 Jan 2013 16:37:34 -0000 @@ -1,5 +1,2 @@ -MD5 (entr-1.4.tar.gz) = gDUdLW+XuWS6EkIScz3nnQ== -RMD160 (entr-1.4.tar.gz) = Ky5g5HeoMa714W/Pg7AUFIdP9Rk= -SHA1 (entr-1.4.tar.gz) = KBZODf88PIZ/XjC0rQ3oOd+Mjkc= -SHA256 (entr-1.4.tar.gz) = /ARp/wYGI026FGg9YKoWM/xgz/p8nQQU/ALdmjv+SoE= -SIZE (entr-1.4.tar.gz) = 7240 +SHA256 (entr-1.8.tar.gz) = COdYzAVlbhQuvN5cK0nhAgX9Fuy6zuQgvGkr1DGm+Hw= +SIZE (entr-1.8.tar.gz) = 7936 Index: entr/pkg/DESCR =================================================================== RCS file: /cvs/ports/sysutils/entr/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -d -u entr/pkg/DESCR --- entr/pkg/DESCR 12 Apr 2012 14:55:47 -0000 1.1.1.1 +++ entr/pkg/DESCR 11 Jan 2013 16:37:34 -0000 @@ -1,3 +1,3 @@ entr - a utility for running arbitrary commands when files change. -Uses kqueue(2) to avoid polling. Reads a list of files provided on -STDIN and runs the supplied command if any of them are modified. +Uses kqueue(2) to avoid polling. entr responds to file system events +by executing command line arguments or by writing to a FIFO.
