freebsd-ports/sysutils/ck4up/files/patch-ck4up.sh
Martin Wilke bf7a3f4e5e ck4up is a small command-line utility, written in ruby. ck4up scans through a
configuration file, fetches the listed URLs from the web, computes the md5sum
of the page, and compares the value with the ones stored in a gdbm database.
If both differ, a message will be written to the standard output.

WWW: http://jue.li/crux/ck4up/

Sponsord by: My 1000er! *g
2006-11-20 19:05:47 +00:00

11 lines
343 B
Bash

--- ck4up.sh.orig Sun Nov 19 21:39:51 2006
+++ ck4up.sh Sun Nov 19 21:40:12 2006
@@ -5,7 +5,7 @@
#
# Jürgen Daubert <juergen.daubert@t-online.de>
-PROG='/usr/bin/ck4up'
+PROG='%%PREFIX%%/bin/ck4up'
DIFF=`$PROG $@ | awk '{if ($3 ~ /diff:/) {print $4} else {print $0 > "/dev/stderr"}}'`
TEST_MOZ=`ps ax | grep -v grep | grep -c firefox`