Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 12:17:50 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/16283: Update port: sysutils/rtty
Message-ID:  <20000121201750.968B314D3C@hub.freebsd.org>

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

>Number:         16283
>Category:       ports
>Synopsis:       Update port: sysutils/rtty
>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:   Fri Jan 21 12:20:05 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        3.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CC/CFLAGS/PREFIX properly
- Strip binary file
- Fix pkg/PLIST

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/sysutils/rtty/Makefile sysutils/rtty/Makefile
--- /usr/ports/sysutils/rtty/Makefile	Tue Aug 31 19:17:59 1999
+++ sysutils/rtty/Makefile	Fri Jan 21 12:00:00 2000
@@ -1,17 +1,17 @@
-# New ports collection makefile for:    rtty
-# Version required:     3.2
-# Date created:         24 Aug 1996
-# Whom:                 jkh
+# New ports collection makefile for:	rtty
+# Version required:	3.2
+# Date created:		24 Aug 1996
+# Whom:			jkh
 #
 # Author:		Paul Vixie / Internet Software Consortium
 #
 # $FreeBSD: ports/sysutils/rtty/Makefile,v 1.4 1999/08/31 02:00:02 peter Exp $
 #
 
-DISTNAME=       rtty-3.2
+DISTNAME=	rtty-3.2
 CATEGORIES=	sysutils
-MASTER_SITES=   ftp://ftp.vix.com/pub/vixie/
+MASTER_SITES=	ftp://ftp.vix.com/pub/vixie/
 
-NO_WRKSUBDIR=   yes     
+NO_WRKSUBDIR=	yes     
 
 .include <bsd.port.mk>
diff -urN /usr/ports/sysutils/rtty/patches/patch-aa sysutils/rtty/patches/patch-aa
--- /usr/ports/sysutils/rtty/patches/patch-aa	Sun Aug 25 03:46:55 1996
+++ sysutils/rtty/patches/patch-aa	Fri Jan 21 12:00:00 2000
@@ -1,13 +1,39 @@
---- Makefile.orig	Fri Aug 23 16:46:42 1996
-+++ Makefile	Sat Aug 24 02:14:12 1996
+--- Makefile.orig	Sat Aug 24 08:46:42 1996
++++ Makefile	Fri Jan 21 23:09:45 2000
+@@ -19,12 +19,12 @@
+ 
+ VPATH = ../src
+ 
+-DESTROOT =
+-DESTPATH = $(DESTROOT)/usr/local/rtty
++DESTROOT = ${PREFIX}
++DESTPATH = $(DESTROOT)/rtty
+ DESTBIN = $(DESTPATH)/bin
+ 
+-CC = cc
+-CDEBUG = -O -g
++CC ?= cc
++#CDEBUG = -O -g
+ #
+ # use -U to undefine, -D to define
+ #	DEBUG		include code to help debug this software
 @@ -38,8 +38,8 @@
  CDEFS = -DDEBUG -UWANT_TCPIP -UNEED_BITYPES_H -UNEED_STRDUP -UNEED_INET_ATON \
  	-UNO_SOCKADDR_LEN -UNO_HSTRERROR
  #
 -CFLAGS = $(CDEBUG) $(CDEFS) -I/usr/local/include
 -LIBS = 
-+CFLAGS = $(CDEBUG) $(CDEFS)
++CFLAGS += $(CDEBUG) $(CDEFS)
 +LIBS = -lcrypt
  #(if WANT_TCPIP defined and this isn't in your libc)
  # -lresolv
  #(if the resolver needs it, which BIND>=4.9's will on BSD>=4.4 systems)
+@@ -63,7 +63,7 @@
+ 		test -d $(DESTPATH)/$$x || mkdir $(DESTPATH)/$$x; \
+ 	done
+ 	set -x; for x in $(BINARY); do \
+-		install -c -m 111 $$x $(DESTBIN)/$$x; \
++		install -c -s -m 111 $$x $(DESTBIN)/$$x; \
+ 	done
+ 	set -x; for x in $(SCRIPT); do \
+ 		install -c -m 555 $$x $(DESTBIN)/$$x; \
diff -urN /usr/ports/sysutils/rtty/pkg/PLIST sysutils/rtty/pkg/PLIST
--- /usr/ports/sysutils/rtty/pkg/PLIST	Wed Oct 21 19:20:59 1998
+++ sysutils/rtty/pkg/PLIST	Fri Jan 21 12:00:00 2000
@@ -1,15 +1,20 @@
-rtty/bin/ttysrv
-rtty/bin/rtty
-rtty/bin/locbrok
 rtty/bin/Startup
+rtty/bin/agelog
+rtty/bin/agelogs
 rtty/bin/console
+rtty/bin/locbrok
+rtty/bin/rtty
 rtty/bin/startsrv
-rtty/bin/agelogs
-rtty/bin/agelog
+rtty/bin/ttysrv
+@exec mkdir -p %D/rtty/dev
+@exec mkdir -p %D/rtty/log
+@exec mkdir -p %D/rtty/opt
+@exec mkdir -p %D/rtty/pid
+@exec mkdir -p %D/rtty/sock
+@unexec rmdir %D/rtty/sock 2>/dev/null || true
+@unexec rmdir %D/rtty/pid 2>/dev/null || true
+@unexec rmdir %D/rtty/opt 2>/dev/null || true
+@unexec rmdir %D/rtty/log 2>/dev/null || true
+@unexec rmdir %D/rtty/dev 2>/dev/null || true
 @dirrm rtty/bin
-@dirrm rtty/dev
-@dirrm rtty/log
-@dirrm rtty/opt
-@dirrm rtty/pid
-@dirrm rtty/sock
 @dirrm rtty


>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?20000121201750.968B314D3C>