Date: 11 Apr 2003 09:49:53 -0000 From: Alex Kiesel <kiesel@schlund.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50812: Update freetds to 0.61 Message-ID: <20030411094953.95156.qmail@alex.i.schlund.de> Resent-Message-ID: <200304110950.h3B9oDFT015171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <midom@dammit.lt> +# +# $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|<malloc.h>|<stdlib.h>| ; \ + 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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030411094953.95156.qmail>