ports/70808: Update port: x11/x3270 to version 3.3.2p1

Eric P. Scott eps+psub0408 at ana.com
Sun Aug 22 00:30:20 UTC 2004


>Number:         70808
>Category:       ports
>Synopsis:       Update port: x11/x3270 to version 3.3.2p1
>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:   Sun Aug 22 00:30:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Eric P. Scott
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
ana-systems, Inc.
>Environment:
System: FreeBSD tools 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
	This port has been stuck on an ancient, non-SSL-capable version for seveal years.  Please consider updating to a more recent upstream source.
	The attached files are offered as a starting point; some "adjustment" is probably needed.  Note that what's below completely replaces the previous port; all previous patches are no longer valid.  Also, I've added "net" to the CATEGORIES, along with a link to the official web page in the package description.
	The compilation produces one "warning: assignment from incompatible pointer type"; this deserves further investigation (particularly for 64-bit builds).
	Since I do not have access to the requisite legacy systems, I am unable to properly test this software (particularly the SSL aspects).
>How-To-Repeat:
>Fix:
# 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:
#
#	x11
#	x11/x3270
#	x11/x3270/Makefile
#	x11/x3270/distinfo
#	x11/x3270/pkg-descr
#	x11/x3270/pkg-plist
#
echo c - x11
mkdir -p x11 > /dev/null 2>&1
echo c - x11/x3270
mkdir -p x11/x3270 > /dev/null 2>&1
echo x - x11/x3270/Makefile
sed 's/^X//' >x11/x3270/Makefile << 'END-of-x11/x3270/Makefile'
X# New ports collection makefile for:	x3270
X# Date created:		31 January 1995
X# Whom:			janek
X#
X# $FreeBSD$
X#
X
XPORTNAME=	x3270
XPORTVERSION=	3.3.2p1
XCATEGORIES=	x11 net
XMASTER_SITES=	http://x3270.bgp.nu/download/
XEXTRACT_SUFX=	.tgz
XDISTFILES=	${PORTNAME}-332p1${EXTRACT_SUFX}
X
XMAINTAINER=	Yonatan at xpert.com
XCOMMENT=	3270 Terminal emulator
X
XBUILD_DEPENDS=	bdftopcf:${X_CLIENTS_PORT}
XRUN_DEPENDS=	mkfontdir:${X_CLIENTS_PORT}
X
XUSE_IMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--without-pr3287 --with-fontdir=local --disable-dbcs
X.if defined(WITHOUT_OPENSSL)
XCONFIGURE_ARGS+=	--disable-ssl
X.else
XUSE_OPENSSL=	yes
X.endif
X
XWRKSRC=		${WRKDIR}/x3270-3.3
XMAN1=		x3270.1
XMANCOMPRESSED=	yes
X
Xpre-install:
X.if !exists(${X11BASE}/lib/X11/fonts/local)
X	@${ECHO} "*********************************************************"
X	@${ECHO} "Please update your XFree86 to version 3.3.3 or later"
X	@${ECHO} "or add ${X11BASE}/lib/X11/fonts/local to your font path"
X	@${ECHO} "in /etc/XF86Config."
X	@${ECHO} "*********************************************************"
X.endif
X
X.include <bsd.port.mk>
END-of-x11/x3270/Makefile
echo x - x11/x3270/distinfo
sed 's/^X//' >x11/x3270/distinfo << 'END-of-x11/x3270/distinfo'
XMD5 (x3270-332p1.tgz) = af53fc2eedad95248b19692771817d59
XSIZE (x3270-332p1.tgz) = 909703
END-of-x11/x3270/distinfo
echo x - x11/x3270/pkg-descr
sed 's/^X//' >x11/x3270/pkg-descr << 'END-of-x11/x3270/pkg-descr'
X3270 terminal emulator under X. (version 3.3.2p1)
X
XWWW: http://www.geocities.com/SiliconValley/Peaks/7814/
END-of-x11/x3270/pkg-descr
echo x - x11/x3270/pkg-plist
sed 's/^X//' >x11/x3270/pkg-plist << 'END-of-x11/x3270/pkg-plist'
Xbin/x3270
Xbin/x3270if
Xetc/x3270/ibm_hosts
Xlib/X11/fonts/local/3270-12.pcf.gz
Xlib/X11/fonts/local/3270-12b.pcf.gz
Xlib/X11/fonts/local/3270-20.pcf.gz
Xlib/X11/fonts/local/3270-20b.pcf.gz
Xlib/X11/fonts/local/3270.pcf.gz
Xlib/X11/fonts/local/3270b.pcf.gz
Xlib/X11/fonts/local/3270e-12.pcf.gz
Xlib/X11/fonts/local/3270e-12b.pcf.gz
Xlib/X11/fonts/local/3270e-20.pcf.gz
Xlib/X11/fonts/local/3270e-20b.pcf.gz
Xlib/X11/fonts/local/3270e.pcf.gz
Xlib/X11/fonts/local/3270eb.pcf.gz
Xlib/X11/fonts/local/3270egt12.pcf.gz
Xlib/X11/fonts/local/3270egt12b.pcf.gz
Xlib/X11/fonts/local/3270egt16.pcf.gz
Xlib/X11/fonts/local/3270egt16b.pcf.gz
Xlib/X11/fonts/local/3270egt24.pcf.gz
Xlib/X11/fonts/local/3270egt24b.pcf.gz
Xlib/X11/fonts/local/3270egt32.pcf.gz
Xlib/X11/fonts/local/3270egt32b.pcf.gz
Xlib/X11/fonts/local/3270egt8.pcf.gz
Xlib/X11/fonts/local/3270gr.pcf.gz
Xlib/X11/fonts/local/3270gt12.pcf.gz
Xlib/X11/fonts/local/3270gt12b.pcf.gz
Xlib/X11/fonts/local/3270gt16.pcf.gz
Xlib/X11/fonts/local/3270gt16b.pcf.gz
Xlib/X11/fonts/local/3270gt24.pcf.gz
Xlib/X11/fonts/local/3270gt24b.pcf.gz
Xlib/X11/fonts/local/3270gt32.pcf.gz
Xlib/X11/fonts/local/3270gt32b.pcf.gz
Xlib/X11/fonts/local/3270gt8.pcf.gz
Xlib/X11/fonts/local/3270h.pcf.gz
Xman/man1/x3270if.1
Xman/man1/x3270-script.1
Xman/man5/ibm_hosts.5
X at exec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir
X at exec %D/bin/mkfontdir %D/lib/X11/fonts/local
X at exec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local
X at exec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir
X at unexec %D/bin/mkfontdir %D/lib/X11/fonts/local
X at unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
X at dirrm etc/x3270
END-of-x11/x3270/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list