Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jul 1999 06:58:30 +0200
From:      Gianmarco Giovannelli <gmarco@giovannelli.it>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tom@onegeek.org
Subject:   ports/12491: Update port: misc/delay
Message-ID:  <4.1.19990703065248.017a8d30@194.184.65.4>

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

>Number:         12491
>Category:       ports
>Synopsis:       Update port: misc/delay
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul  2 22:00:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gianmarco Giovannelli
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
< Private >
>Environment:

FreeBSD 4.0-CURRENT i386

>Description:

Delay is a program that counts down the number of seconds specified 
on its command line.
In this way, it's sort of like the standard sleep(1) command, except 
for the fact that it provides feedback of the time remaining.
With version 1.2 you can also 'delay' until a given time specification.
Version 1.3 adds the possibility to launch a command at the 
end of the delay time.

Here some usage example:

delay 1d 2:03:04.5
delay 1d 2h 3m 4.5s
delay 93785.5
delay until 4 pm -- cdplay
delay until noon tomorrow
delay until midnight 13 september 2000
delay until now + 5 minutes
delay 15s -- top

It allows for short, long, and customized messages for the display of 
the time remaining. 


>How-To-Repeat:

>Fix:

# diff from 1.2a in the ports tree #########

diff -ruN delay.orig/Makefile delay/Makefile
--- delay.orig/Makefile	Fri Mar  5 18:07:28 1999
+++ delay/Makefile	Sat Jul  3 06:44:44 1999
@@ -1,12 +1,12 @@
 # New ports collection makefile for:   misc/delay
-# Version required:    delay-1.2a
+# Version required:    delay-1.3
 # Date created:        03 Mar 1999
 # Whom:                gmarco@scotty.masternet.it
 #
 # $Id: Makefile,v 1.1.1.1 1999/03/05 17:07:28 nectar Exp $
 #
 
-DISTNAME=  delay-1.2a
+DISTNAME=  delay-1.3
 CATEGORIES=    misc
 MASTER_SITES=  http://onegeek.org/~tom/software/delay/dl/
 
diff -ruN delay.orig/files/md5 delay/files/md5
--- delay.orig/files/md5	Fri Mar  5 18:07:28 1999
+++ delay/files/md5	Fri Jul  2 23:58:04 1999
@@ -1 +1 @@
-MD5 (delay-1.2a.tar.gz) = 77295ee1b23910d6fbf0f549713bc51b
+MD5 (delay-1.3.tar.gz) = 401962a1e76e4fc4672c687e71a6e0fa
diff -ruN delay.orig/pkg/DESCR delay/pkg/DESCR
--- delay.orig/pkg/DESCR	Fri Mar  5 18:07:28 1999
+++ delay/pkg/DESCR	Sat Jul  3 06:41:03 1999
@@ -2,23 +2,26 @@
 on its command line.
 In this way, it's sort of like the standard sleep(1) command, except 
 for the fact that it provides feedback of the time remaining.
-
 With version 1.2 you can also 'delay' until a given time specification.
+Version 1.3 adds the possibility to launch a command at the 
+end of the delay time.
+
 Here some usage example:
 
 delay 1d 2:03:04.5
 delay 1d 2h 3m 4.5s
 delay 93785.5
-delay until 4 pm
+delay until 4 pm -- cdplay
 delay until noon tomorrow
 delay until midnight 13 september 2000
 delay until now + 5 minutes
+delay 15s -- top
 
 It allows for short, long, and customized messages for the display of 
 the time remaining. 
 
 - author: Tom Rothamel <tom@onegeek.org>
-- distfile: delay-1.2.tar.gz (63 kb)
+- distfile: delay-1.3.tar.gz (66 kb)
 - example of output : delay -v until 4 pm tomorrow
 		      Time Remaining: 1 days, 07:51:39.
 - ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)


# The new port (v1.3) in shar format ###############

# 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:
#
#	delay
#	delay/files
#	delay/files/md5
#	delay/pkg
#	delay/pkg/COMMENT
#	delay/pkg/DESCR
#	delay/pkg/PLIST
#	delay/Makefile
#
echo c - delay
mkdir -p delay > /dev/null 2>&1
echo c - delay/files
mkdir -p delay/files > /dev/null 2>&1
echo x - delay/files/md5
sed 's/^X//' >delay/files/md5 << 'END-of-delay/files/md5'
XMD5 (delay-1.3.tar.gz) = 401962a1e76e4fc4672c687e71a6e0fa
END-of-delay/files/md5
echo c - delay/pkg
mkdir -p delay/pkg > /dev/null 2>&1
echo x - delay/pkg/COMMENT
sed 's/^X//' >delay/pkg/COMMENT << 'END-of-delay/pkg/COMMENT'
XA delay program with feedback to the user
END-of-delay/pkg/COMMENT
echo x - delay/pkg/DESCR
sed 's/^X//' >delay/pkg/DESCR << 'END-of-delay/pkg/DESCR'
XDelay is a program that counts down the number of seconds specified 
Xon its command line.
XIn this way, it's sort of like the standard sleep(1) command, except 
Xfor the fact that it provides feedback of the time remaining.
XWith version 1.2 you can also 'delay' until a given time specification.
XVersion 1.3 adds the possibility to launch a command at the 
Xend of the delay time.
X
XHere some usage example:
X
Xdelay 1d 2:03:04.5
Xdelay 1d 2h 3m 4.5s
Xdelay 93785.5
Xdelay until 4 pm -- cdplay
Xdelay until noon tomorrow
Xdelay until midnight 13 september 2000
Xdelay until now + 5 minutes
Xdelay 15s -- top
X
XIt allows for short, long, and customized messages for the display of 
Xthe time remaining. 
X
X- author: Tom Rothamel <tom@onegeek.org>
X- distfile: delay-1.3.tar.gz (66 kb)
X- example of output : delay -v until 4 pm tomorrow
X		      Time Remaining: 1 days, 07:51:39.
X- ported to FreeBSD by Gianmarco (gmarco@giovannelli.it)
END-of-delay/pkg/DESCR
echo x - delay/pkg/PLIST
sed 's/^X//' >delay/pkg/PLIST << 'END-of-delay/pkg/PLIST'
Xbin/delay
END-of-delay/pkg/PLIST
echo x - delay/Makefile
sed 's/^X//' >delay/Makefile << 'END-of-delay/Makefile'
X# New ports collection makefile for:   misc/delay
X# Version required:    delay-1.3
X# Date created:        03 Mar 1999
X# Whom:                gmarco@scotty.masternet.it
X#
X# $Id: Makefile,v 1.1.1.1 1999/03/05 17:07:28 nectar Exp $
X#
X
XDISTNAME=  delay-1.3
XCATEGORIES=    misc
XMASTER_SITES=  http://onegeek.org/~tom/software/delay/dl/
X
XMAINTAINER=    freebsd@scotty.masternet.it
X
XHAS_CONFIGURE=      yes
X
XMAN1=	delay.1
X
Xdo-install:
X
X	${INSTALL_PROGRAM} ${WRKSRC}/delay ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/delay.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-delay/Makefile
exit



Best Regards,
Gianmarco Giovannelli ,  "Unix expert since yesterday"
http://www.giovannelli.it/~gmarco  
http://www2.masternet.it 




>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?4.1.19990703065248.017a8d30>