Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 12:51:26 -0400
From:      Jerry A! <jerry@thehutt.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/39954: update to lang/expect port
Message-ID:  <E17Nyxy-000F4K-00@nomad.thehutt.org>

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

>Number:         39954
>Category:       ports
>Synopsis:       update to lang/expect port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 28 10:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jerry A!
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
Broken Toys Unlimited
>Environment:
System: FreeBSD nomad.thehutt.org 4.6-STABLE FreeBSD 4.6-STABLE #1: Fri Jun 28 02:33:22 EDT 2002 root@nomad.thehutt.org:/obj/usr/src/sys/NOMAD i386


>Description:
        lang/expect is horribly out of date

        I've attempted to contact the currently listed maintainer,
        however his mail address is no longer valid.  If someone else
        knows how to contact him, please refer him to this PR.  If not,
        could one of the committers examine and commit these changes?

>How-To-Repeat:
        
>Fix:
        Here's a diff to bring the update the port.

diff -urN lang/expect/Makefile local/expect/Makefile
--- lang/expect/Makefile	Sat Nov 24 15:04:18 2001
+++ local/expect/Makefile	Fri Jun 28 12:35:51 2002
@@ -5,10 +5,13 @@
 # $FreeBSD: ports/lang/expect/Makefile,v 1.55 2001/11/24 20:04:18 dwcjr Exp $
 
 PORTNAME=	expect
-PORTVERSION=	5.32.1
+PORTVERSION=	5.37.2
 CATEGORIES=	lang tcl83 tk83
 MASTER_SITES=	http://expect.nist.gov/src/
 
+EXPECT_VER=	5.37
+LIBEXPECT_VER=	537
+
 MAINTAINER=	john@coastalgeology.org
 
 .if !defined(WITHOUT_X11)
@@ -17,12 +20,15 @@
 LIB_DEPENDS?=	tcl83.1:${PORTSDIR}/lang/tcl83
 .endif
 
-WRKSRC=		${WRKDIR}/expect-5.32
-INSTALLS_SHLIB=	yes
+WRKSRC=		${WRKDIR}/expect-${EXPECT_VER}
+INSTALLS_SHLIB= yes
 GNU_CONFIGURE=	yes
 
+PLIST_SUB+=	EXPECT_VER="${EXPECT_VER}"
+PLIST_SUB+=	LIBEXPECT_VER="${LIBEXPECT_VER}"
+
 .if defined(WITHOUT_X11)
-TK_CONFIG_ARGS = 
+TK_CONFIG_ARGS =
 PLIST_SUB += XFILES="@comment "
 .else
 TK_CONFIG_ARGS = --with-tkconfig=${PREFIX}/lib/tk8.3 \
@@ -34,17 +40,19 @@
 		--with-tclconfig=${PREFIX}/lib/tcl8.3 \
 		--with-tclinclude=${PREFIX}/include/tcl8.3 \
 		${TK_CONFIG_ARGS}
+
 .if !defined(NO_MAN_INSTALL)
 MAN1=		autoexpect.1 cryptdir.1 decryptdir.1 dislocate.1 \
-		expect.1 kibitz.1 mkpasswd.1 passmass.1 \
+		expect.1 kibitz.1 mkpasswd.1 multixterm.1 passmass.1 \
 		tknewsbiff.1 unbuffer.1 xkibitz.1
 .if !defined(WITHOUT_X11)
-MAN1 += expectk.1 
+MAN1 += expectk.1
 .endif
 MAN3=		libexpect.3
 .endif
 
 post-install:
-	${LN} -sf libexpect532.so.1 ${PREFIX}/lib/libexpect532.so
+	${LN} -sf libexpect${LIBEXPECT_VER}.so.1 \
+		${PREFIX}/lib/libexpect${LIBEXPECT_VER}.so
 
 .include <bsd.port.mk>
diff -urN lang/expect/distinfo local/expect/distinfo
--- lang/expect/distinfo	Sun Oct  7 13:16:46 2001
+++ local/expect/distinfo	Fri May 31 12:26:26 2002
@@ -1 +1 @@
-MD5 (expect-5.32.1.tar.gz) = af232cc2f8537565efa31e2f7ef7cde5
+MD5 (expect-5.37.2.tar.gz) = 70202a9f02e73e0e72332ba46f14c46a
diff -urN lang/expect/pkg-plist local/expect/pkg-plist
--- lang/expect/pkg-plist	Sat Nov 24 15:04:18 2001
+++ local/expect/pkg-plist	Fri Jun 28 12:02:34 2002
@@ -9,6 +9,7 @@
 bin/kibitz
 bin/lpunlock
 bin/mkpasswd
+bin/multixterm
 bin/passmass
 bin/rftp
 bin/rlogin-cwd
@@ -24,9 +25,9 @@
 include/expect_comm.h
 include/expect_tcl.h
 include/tcldbg.h
-lib/expect5.32/pkgIndex.tcl
-lib/expect5.32/libexpect532.a
-lib/libexpect532.a
-lib/libexpect532.so
-lib/libexpect532.so.1
-@dirrm lib/expect5.32
+lib/expect%%EXPECT_VER%%/pkgIndex.tcl
+lib/expect%%EXPECT_VER%%/libexpect%%LIBEXPECT_VER%%.a
+lib/libexpect%%LIBEXPECT_VER%%.a
+lib/libexpect%%LIBEXPECT_VER%%.so
+lib/libexpect%%LIBEXPECT_VER%%.so.1
+@dirrm lib/expect%%EXPECT_VER%%



>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?E17Nyxy-000F4K-00>