Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2005 02:00:14 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/81960: Update port: net/tn5250 to 0.17.3
Message-ID:  <20050607020014.19c57ff1.tkato432@yahoo.com>
Resent-Message-ID: <200506061710.j56HA2a3020299@freefall.freebsd.org>

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

>Number:         81960
>Category:       ports
>Synopsis:       Update port: net/tn5250 to 0.17.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 06 17:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update to version 0.17.3

Remove file:
files/patch-src::tn5250.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/tn5250/Makefile net/tn5250/Makefile
--- /usr/ports/net/tn5250/Makefile	Fri Jun  3 12:48:46 2005
+++ net/tn5250/Makefile	Sun Jun  5 22:51:15 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	tn5250
-PORTVERSION=	0.16.5
+PORTVERSION=	0.17.3
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,21 +14,26 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	5250 Telnet protocol and Terminal
 
-USE_REINPLACE=	yes
-USE_LIBTOOL_VER=15
+USE_GNOME=	gnomehack gnometarget pkgconfig
+USE_OPENSSL=	yes
+USE_GETOPT_LONG=	yes
+USE_LIBTOOL_VER=	15
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=	--enable-os-dir=no
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS=	--enable-os-dir=no --with-ssl=${OPENSSLBASE}
 INSTALLS_SHLIB=	yes
 
 MAN1=		lp5250d.1 scs2ascii.1 scs2pdf.1 scs2ps.1 tn5250.1
 MAN5=		tn5250rc.5
 
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
 .if defined(WITH_SLANG)
 LIB_DEPENDS=	slang.1:${PORTSDIR}/devel/libslang
 PKGNAMESUFFIX=	-slang
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -DUSE_CURSES" \
-		LDFLAGS="-L${LOCALBASE}/lib -lcurses"
 CONFIGURE_ARGS+=	--with-slang=yes
+LDFLAGS+=	-lcurses
 .else
 CONFIGURE_ARGS+=	--with-slang=no
 .endif
@@ -40,10 +45,6 @@
 	@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_SLANG=yes\""
 	@${ECHO_MSG}
 .endif
-
-post-patch:
-	@${FIND} ${WRKSRC}/src -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
-		's|<malloc.h>|<stdlib.h>|g'
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/freebsd/5250keys ${PREFIX}/bin
diff -urN /usr/ports/net/tn5250/distinfo net/tn5250/distinfo
--- /usr/ports/net/tn5250/distinfo	Thu Mar 18 13:55:54 2004
+++ net/tn5250/distinfo	Sun Jun  5 21:47:46 2005
@@ -1,2 +1,2 @@
-MD5 (tn5250-0.16.5.tar.gz) = 2f9ef4509198e96bb184577fdddfce6d
-SIZE (tn5250-0.16.5.tar.gz) = 455546
+MD5 (tn5250-0.17.3.tar.gz) = f8c454334c63ed7b100e0b12160d93ea
+SIZE (tn5250-0.17.3.tar.gz) = 999938
diff -urN /usr/ports/net/tn5250/files/patch-configure net/tn5250/files/patch-configure
--- /usr/ports/net/tn5250/files/patch-configure	Tue Jun 11 09:29:47 2002
+++ net/tn5250/files/patch-configure	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- configure.orig	Tue May  7 12:35:51 2002
-+++ configure	Fri May 17 20:23:42 2002
-@@ -6193,6 +6193,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/net/tn5250/files/patch-src::tn5250.c net/tn5250/files/patch-src::tn5250.c
--- /usr/ports/net/tn5250/files/patch-src::tn5250.c	Wed Jul 30 03:42:41 2003
+++ net/tn5250/files/patch-src::tn5250.c	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- src/tn5250.c.orig	Tue Jul 22 18:25:06 2003
-+++ src/tn5250.c	Tue Jul 22 18:25:31 2003
-@@ -179,7 +179,7 @@
-   tn5250 [options] HOST[:PORT]\n");
- #ifdef HAVE_LIBSSL
-    printf("\
--   To connect using ssl prefix HOST with 'ssl:'.  Example:
-+   To connect using ssl prefix HOST with 'ssl:'.  Example:\n\
-       tn5250 +ssl_verify_server ssl:as400.example.com\n");
- #endif
-    printf ("\n\
diff -urN /usr/ports/net/tn5250/pkg-plist net/tn5250/pkg-plist
--- /usr/ports/net/tn5250/pkg-plist	Tue Sep 10 20:23:46 2002
+++ net/tn5250/pkg-plist	Sun Jun  5 22:45:15 2005
@@ -3,13 +3,10 @@
 bin/scs2ascii
 bin/scs2pdf
 bin/scs2ps
-bin/tn3270d
 bin/tn5250
 bin/tn5250-config
-bin/tn5250d
 bin/xt5250
 include/tn5250/buffer.h
-include/tn5250/codes3270.h
 include/tn5250/codes5250.h
 include/tn5250/conf.h
 include/tn5250/config.h
@@ -18,28 +15,29 @@
 include/tn5250/debug.h
 include/tn5250/display.h
 include/tn5250/field.h
-include/tn5250/host3270.h
-include/tn5250/host5250.h
+include/tn5250/macro.h
+include/tn5250/menu.h
 include/tn5250/printsession.h
 include/tn5250/record.h
+include/tn5250/scrollbar.h
 include/tn5250/scs.h
 include/tn5250/session.h
 include/tn5250/slangterm.h
 include/tn5250/stream.h
 include/tn5250/terminal.h
-include/tn5250/tn3270d.h
-include/tn5250/tn5250d.h
 include/tn5250/utility.h
+include/tn5250/window.h
 include/tn5250/wtd.h
 include/tn5250.h
 lib/lib5250.a
 lib/lib5250.so
 lib/lib5250.so.0
+libdata/pkgconfig/tn5250.pc
 share/aclocal/tn5250.m4
-share/tn5250/README
-share/tn5250/XTerm
-share/tn5250/dialogrc
-share/tn5250/sample.termcap
-share/tn5250/us.5250.kbd
-@dirrm share/tn5250
+%%DATADIR%%/README
+%%DATADIR%%/XTerm
+%%DATADIR%%/dialogrc
+%%DATADIR%%/sample.termcap
+%%DATADIR%%/us.5250.kbd
+@dirrm %%DATADIR%%
 @dirrm include/tn5250
>Release-Note:
>Audit-Trail:
>Unformatted:



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