From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 02:50:15 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2179F37B401 for ; Fri, 11 Apr 2003 02:50:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22B6643FB1 for ; Fri, 11 Apr 2003 02:50:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3B9oDUp015172 for ; Fri, 11 Apr 2003 02:50:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3B9oDFT015171; Fri, 11 Apr 2003 02:50:13 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 02:50:13 -0700 (PDT) Resent-Message-Id: <200304110950.h3B9oDFT015171@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Kiesel Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4129C37B401 for ; Fri, 11 Apr 2003 02:49:55 -0700 (PDT) Received: from mxintern.kundenserver.de (mxintern.kundenserver.de [212.227.126.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 777A743F93 for ; Fri, 11 Apr 2003 02:49:54 -0700 (PDT) (envelope-from kiesel@schlund.de) Received: from [172.17.29.6] (helo=alex.i.schlund.de) by mxintern.kundenserver.de with smtp (Exim 3.35 #1) id 193vAP-0002NQ-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 11 Apr 2003 11:49:53 +0200 Received: (qmail 95157 invoked by uid 519); 11 Apr 2003 09:49:53 -0000 Message-Id: <20030411094953.95156.qmail@alex.i.schlund.de> Date: 11 Apr 2003 09:49:53 -0000 From: Alex Kiesel To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50812: Update freetds to 0.61 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alex Kiesel List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 09:50:15 -0000 >Number: 50812 >Category: ports >Synopsis: Update freetds to 0.61 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 02:50:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Alex Kiesel >Release: FreeBSD 4.7-RELEASE-p3 i386 >Organization: >Environment: System: FreeBSD alex.i.schlund.de 4.7-RELEASE-p3 FreeBSD 4.7-RELEASE-p3 #0: Fri Jan 31 18:06:42 CET 2003 root@alex.i.schlund.de:/usr/obj/usr/src/sys/FREEBSD011101 i386 >Description: This patch updates FreeTDS from version 0.60 to version 0.61. There have been a couple of bugfixes, see the README that comes with the sources. Since this port is maintained by ports@, I would like to volunteer to take over maintainership if it is wished. (Maintainership-Update is not included in this patch). >How-To-Repeat: Apply the attached patch. >Fix: --- freetds-0.61.diff begins here --- diff -urN freetds.old/Makefile freetds/Makefile --- freetds.old/Makefile Thu Feb 20 18:00:13 2003 +++ freetds/Makefile Fri Apr 11 11:04:33 2003 @@ -5,11 +5,10 @@ # $FreeBSD: ports/databases/freetds/Makefile,v 1.27 2003/02/20 17:00:13 knu Exp $ PORTNAME= freetds -PORTVERSION= 0.60 -PORTREVISION= 1 +PORTVERSION= 0.61 CATEGORIES= databases MASTER_SITES= ${MASTER_SITE_SUNSITE} -MASTER_SITE_SUBDIR= ALPHA/freetds +MASTER_SITE_SUBDIR= ALPHA/freetds/stable EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org diff -urN freetds.old/Makefile.orig freetds/Makefile.orig --- freetds.old/Makefile.orig Thu Jan 1 01:00:00 1970 +++ freetds/Makefile.orig Fri Feb 21 19:30:21 2003 @@ -0,0 +1,62 @@ +# New ports collection makefile for: freetds +# Date created: 02 Nov 1999 +# Whom: Domas Mituzas +# +# $FreeBSD: ports/databases/freetds/Makefile,v 1.27 2003/02/20 17:00:13 knu Exp $ + +PORTNAME= freetds +PORTVERSION= 0.60 +PORTREVISION= 1 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= ALPHA/freetds +EXTRACT_SUFX= .tgz + +MAINTAINER= ports@FreeBSD.org +COMMENT= Sybase/Microsoft TDS protocol library + +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv + +USE_REINPLACE= yes +USE_GMAKE= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-tdsver=4.2 +INSTALLS_SHLIB= yes + +MAN1= freebcp.1 tsql.1 + +.if defined(WITH_IODBC) +LIB_DEPENDS+= iodbc:${PORTSDIR}/databases/libiodbc +CONFIGURE_ARGS+= --with-iodbc=${LOCALBASE} +.endif + +.if defined(WITH_UNIXODBC) +LIB_DEPENDS+= odbc:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+= --with-unixodbc=${LOCALBASE} +.endif + +.if defined(WITH_IODBC) || defined(WITH_UNIXODBC) +PLIST_SUB+= ODBC="" +.else +PLIST_SUB+= ODBC="@comment " +.endif + +post-extract: + @cd ${WRKSRC} && ${LN} -s freetds.conf freetds.conf.dist + +post-patch: + @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ + 's||| ; \ + s|/freetds.conf|/freetds.conf.dist|g ; \ + s| common.h||g' + +post-install: +.if !exists(${PREFIX}/etc/freetds.conf) + @${CP} ${PREFIX}/etc/freetds.conf.dist ${PREFIX}/etc/freetds.conf +.endif + @${MKDIR} ${PREFIX}/etc/freetds + ${INSTALL_DATA} ${WRKSRC}/interfaces ${PREFIX}/etc/freetds + +.include diff -urN freetds.old/distinfo freetds/distinfo --- freetds.old/distinfo Thu Sep 19 22:33:32 2002 +++ freetds/distinfo Fri Apr 11 11:04:47 2003 @@ -1 +1 @@ -MD5 (freetds-0.60.tgz) = bf719c9e1a5f8cd080dec6f9664e7f44 +MD5 (freetds-0.61.tgz) = 15cc9829beb534606deb3020b3118eb9 diff -urN freetds.old/distinfo.orig freetds/distinfo.orig --- freetds.old/distinfo.orig Thu Jan 1 01:00:00 1970 +++ freetds/distinfo.orig Thu Sep 19 22:33:32 2002 @@ -0,0 +1 @@ +MD5 (freetds-0.60.tgz) = bf719c9e1a5f8cd080dec6f9664e7f44 diff -urN freetds.old/pkg-plist freetds/pkg-plist --- freetds.old/pkg-plist Thu Sep 19 22:33:32 2002 +++ freetds/pkg-plist Fri Apr 11 11:37:50 2003 @@ -1,41 +1,40 @@ bin/freebcp +bin/tdspool bin/tsql @unexec if cmp -s %D/etc/freetds.conf.dist %D/etc/freetds.conf; then rm -f %D/etc/freetds.conf; fi etc/freetds.conf.dist -@exec if [ ! -f %D/etc/freetds.conf ]; then cp %D/etc/%f %D/etc/freetds.conf; fi -etc/locales.conf etc/freetds/interfaces +etc/locales.conf +etc/pool.conf include/bkpublic.h include/cspublic.h include/cstypes.h include/ctlib.h include/ctpublic.h include/dblib.h -include/freebcp.h include/sqldb.h include/sqlfront.h include/sybdb.h include/syberror.h include/sybfront.h include/tds.h -include/tds_configs.h +include/tds_sysdep_public.h include/tdsconvert.h -include/tdsodbc.h -include/tdsutil.h +include/tdssrv.h include/tdsver.h lib/libct.a lib/libct.so -lib/libct.so.0 +lib/libct.so.1 lib/libsybdb.a lib/libsybdb.so -lib/libsybdb.so.1 +lib/libsybdb.so.3 lib/libtds.a lib/libtds.so -lib/libtds.so.0 +lib/libtds.so.2 %%ODBC%%lib/libtdsodbc.a %%ODBC%%lib/libtdsodbc.so %%ODBC%%lib/libtdsodbc.so.0 lib/libtdssrv.a lib/libtdssrv.so -lib/libtdssrv.so.0 +lib/libtdssrv.so.1 @dirrm etc/freetds --- freetds-0.61.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: