Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2003 17:23:08 +0300
From:      "Denis N. Peplin" <info@volginfo.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47904: [PATCH] drweb - cron example don't work
Message-ID:  <200302041723.08757.info@volginfo.ru>

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

>Number:         47904
>Category:       ports
>Synopsis:       drweb - cron example don't work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 04 06:20:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Denis N.Peplin <den@volginfo.ru>
>Release:        FreeBSD 4.7-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD img.local 4.7-RELEASE-p1 FreeBSD 4.7-RELEASE-p1 #0: Wed Nov 6 16:45:51 MSK 2002 sg@img.local:/usr/obj/usr/src/sys/nKERN2 i386

>Description:

wrong example of crontab entry:
0 12 * * * root /usr/local/drweb/update/update.pl /usr/local/drweb
can be changed to
0 12 * * * root /usr/local/drweb/update/update.pl

>How-To-Repeat:
# /usr/local/drweb/update/update.pl /usr/local/drweb
Engine is not defined! at /usr/local/drweb/update/update.pl line 51.

>Fix:
	
Index: pkg-install
===================================================================
RCS file: /home/ncvs/ports/security/drweb/pkg-install,v
retrieving revision 1.4
diff -u -r1.4 pkg-install
--- pkg-install	17 May 2002 09:14:17 -0000	1.4
+++ pkg-install	4 Feb 2003 14:06:54 -0000
@@ -42,7 +42,7 @@
 if ! grep -q ${USER} /etc/crontab; then
   if ! crontab -l -u ${BINOWN} | grep -q ${USER}; then
       echo "You may also add this crontab entry to /etc/crontab"
-      echo "0 12 * * * ${BINOWN} ${PKG_PREFIX}/drweb/update/update.pl ${PKG_PREFIX}/drweb"
+      echo "0 12 * * * ${BINOWN} ${PKG_PREFIX}/drweb/update/update.pl"
       echo ""
   fi
 fi

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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