Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2002 14:29:09 -0800 (PST)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/36025: Update port: misc/display to 1.2
Message-ID:  <200203172229.g2HMT9360791@freefall.freebsd.org>

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

>Number:         36025
>Category:       ports
>Synopsis:       Update port: misc/display to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 17 14:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.2

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/misc/display/Makefile misc/display/Makefile
--- /usr/ports/misc/display/Makefile	Tue Aug 21 23:53:00 2001
+++ misc/display/Makefile	Fri Mar  8 01:11:00 2002
@@ -5,21 +5,20 @@
 # $FreeBSD: ports/misc/display/Makefile,v 1.11 2001/08/21 14:53:00 roam Exp $
 #
 
-PORTNAME=		display
-PORTVERSION=		1.1
-PORTREVISION=		1
-CATEGORIES=		misc
-MASTER_SITES=		http://www.ipsmart.com/src/
-EXTRACT_SUFX=		.tgz
+PORTNAME=	display
+PORTVERSION=	1.2
+CATEGORIES=	misc
+MASTER_SITES=	http://www.ipsmart.com/src/
+EXTRACT_SUFX=	.tgz
 
-MAINTAINER=		ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 
-GNU_CONFIGURE=		yes
+GNU_CONFIGURE=	yes
 
-MAN1=			display.1
+MAN1=		display.1
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
-	@${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
+	${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
+	${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
 
 .include <bsd.port.mk>
diff -urN /usr/ports/misc/display/distinfo misc/display/distinfo
--- /usr/ports/misc/display/distinfo	Sat Nov 27 02:43:14 1999
+++ misc/display/distinfo	Fri Mar  8 01:11:16 2002
@@ -1 +1 @@
-MD5 (display-1.1.tgz) = c73adec7c00fdbe2ab1484d1429b4408
+MD5 (display-1.2.tgz) = f39d53828bb1c8d9cd6ab419a197e899
diff -urN /usr/ports/misc/display/files/patch-aa misc/display/files/patch-aa
--- /usr/ports/misc/display/files/patch-aa	Tue Aug 21 23:53:00 2001
+++ misc/display/files/patch-aa	Fri Mar  8 01:16:04 2002
@@ -1,22 +1,23 @@
---- display.c.orig	Tue Nov 16 12:34:12 1999
-+++ display.c	Tue Nov 16 12:36:36 1999
-@@ -8,7 +8,7 @@
- #include <curses.h>
+--- display.c.orig	Mon Mar 26 10:03:42 2001
++++ display.c	Fri Mar  8 01:15:54 2002
+@@ -12,6 +12,7 @@
  #include <signal.h>
  #include <ctype.h>
--
+ #include <time.h>
 +#include <stdio.h>
  
  #define		DEFAULT_DELAY	5
- 
-@@ -16,15 +16,13 @@
+ #define         DISPLAY_VERSION "1.2"
+@@ -19,6 +20,8 @@
  static	char	*Command;
  static	int	Delay;
  
 +static void die(), display(), parse_args(), usage();
++
+ char lt[128];
+ int ntimes;
  
- main(argc, argv)
- int	argc;
+@@ -27,9 +30,6 @@
  char	*argv[];
  {
    int i, c;
@@ -24,14 +25,14 @@
 -    die(),
 -    display();
    
-   parse_args(argc, argv);
-   
-@@ -68,7 +66,7 @@
+   for(i = 0; i < 128; i++)
+     {
+@@ -90,7 +90,7 @@
  
- static void display()
+ void display()
  {
 -	FILE	*fp, *popen();
 +	FILE	*fp;
  	char	ch;
- 
- 	if (!(fp = popen(Command, "r"))) {
+ 	char    *dt;
+ 	time_t  tnow;
diff -urN /usr/ports/misc/display/files/patch-ab misc/display/files/patch-ab
--- /usr/ports/misc/display/files/patch-ab	Fri Jan 21 18:01:10 2000
+++ misc/display/files/patch-ab	Fri Mar  8 01:17:30 2002
@@ -1,5 +1,5 @@
---- Makefile.in.orig	Fri Nov 12 11:46:27 1999
-+++ Makefile.in	Fri Jan 21 00:59:30 2000
+--- Makefile.in.orig	Tue Nov 28 13:17:40 2000
++++ Makefile.in	Fri Mar  8 01:17:24 2002
 @@ -2,10 +2,13 @@
  # vix 15dec86 [stolen from 'which']
  
@@ -7,7 +7,7 @@
 -CFLAGS		=	-O
 -DEST_DIR	=	/usr/local/bin
 -CURSES_LIBS	=	-lcurses -ltermcap
--MAN_DIR		=	/usr/man/man1
+-MAN_DIR		=	/usr/local/man/man1
 +prefix		=	@prefix@
 +exec_prefix	=	@exec_prefix@
 +CFLAGS		=	@CFLAGS@

>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?200203172229.g2HMT9360791>