mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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
This commit is contained in:
parent
6a827f967d
commit
bf7a3f4e5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177679
@ -80,6 +80,7 @@
|
||||
SUBDIR += cfvers
|
||||
SUBDIR += checkservice
|
||||
SUBDIR += chgrep
|
||||
SUBDIR += ck4up
|
||||
SUBDIR += clean
|
||||
SUBDIR += clockspeed
|
||||
SUBDIR += clockspeed-conf
|
||||
|
35
sysutils/ck4up/Makefile
Normal file
35
sysutils/ck4up/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# Ports collection makefile for: ck4up
|
||||
# Date created: November 19, 2006
|
||||
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ck4up
|
||||
PORTVERSION= 0.2.3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://jue.li/crux/ck4up/
|
||||
|
||||
MAINTAINER= miwi@FreeBSD.org
|
||||
COMMENT= Checks http and ftp sites for updates
|
||||
|
||||
RUN_DEPENDS= ${RUBY_ARCHLIBDIR}/gdbm.so:${PORTSDIR}/databases/ruby-gdbm
|
||||
|
||||
NO_BUILD= yes
|
||||
USE_RUBY= yes
|
||||
|
||||
MAN1= ck4up.1
|
||||
|
||||
PLIST_DIRS= %%EXAMPLESDIR%%
|
||||
PLIST_FILES= bin/ck4up %%EXAMPLESDIR%%/ck4up.conf
|
||||
|
||||
post-patch:
|
||||
${RUBY} -i -pe 'gsub /%%PREFIX%%/, "${PREFIX}"' ${WRKSRC}/*
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/ck4up.conf ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/ck4up/distinfo
Normal file
3
sysutils/ck4up/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ck4up-0.2.3.tar.gz) = ebed48400ec6498d1b4cc86a919f7250
|
||||
SHA256 (ck4up-0.2.3.tar.gz) = d953011663e02af129a8de8a4371d4d9523cc1a58600ad804a611167431eec2e
|
||||
SIZE (ck4up-0.2.3.tar.gz) = 6383
|
23
sysutils/ck4up/files/patch-Makefile
Normal file
23
sysutils/ck4up/files/patch-Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
--- Makefile.orig Mon Nov 20 19:12:16 2006
|
||||
+++ Makefile Mon Nov 20 19:12:51 2006
|
||||
@@ -1,15 +1,14 @@
|
||||
-# $Id: Makefile 70 2003-10-20 19:54:10Z juergen $
|
||||
|
||||
-PREFIX=/usr
|
||||
-BINDIR=$(PREFIX)/bin
|
||||
-MANDIR=$(PREFIX)/man/man1
|
||||
+
|
||||
+BINDIR=%%PREFIX%%/bin
|
||||
+MANDIR=%%PREFIX%%/man/man1
|
||||
|
||||
DESTDIR=
|
||||
|
||||
all : install
|
||||
|
||||
install:
|
||||
- install -D -m 755 ck4up.rb $(DESTDIR)$(BINDIR)/ck4up
|
||||
- install -D -m 644 ck4up.1 $(DESTDIR)$(MANDIR)/ck4up.1
|
||||
+ install -m 755 ck4up.rb $(DESTDIR)$(BINDIR)/ck4up
|
||||
+ install -m 644 ck4up.1 $(DESTDIR)$(MANDIR)/ck4up.1
|
||||
|
||||
# End of file
|
8
sysutils/ck4up/files/patch-ck4up.rb
Normal file
8
sysutils/ck4up/files/patch-ck4up.rb
Normal file
@ -0,0 +1,8 @@
|
||||
--- ck4up.rb.orig Sun Nov 19 21:39:42 2006
|
||||
+++ ck4up.rb Sun Nov 19 21:40:03 2006
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /usr/bin/ruby
|
||||
+#! %%PREFIX%%/bin/ruby
|
||||
#
|
||||
# ck4up
|
||||
#
|
11
sysutils/ck4up/files/patch-ck4up.sh
Normal file
11
sysutils/ck4up/files/patch-ck4up.sh
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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`
|
||||
|
6
sysutils/ck4up/pkg-descr
Normal file
6
sysutils/ck4up/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
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/
|
Loading…
Reference in New Issue
Block a user