ports/172463: [patch update] databases/freetds-devel to OPTIONSng and fix download link

Kurt Jaeger fbsd-ports at opsec.eu
Sun Oct 7 19:50:15 UTC 2012


>Number:         172463
>Category:       ports
>Synopsis:       [patch update] databases/freetds-devel to OPTIONSng and fix download link
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 07 19:50:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
-
>Environment:
System: FreeBSD zfs.opsec.eu 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


>Description:
	convert databases/freetds-devel to OPTIONSng and fix download link
>How-To-Repeat:
	-
>Fix:

diff -u databases/freetds-devel/Makefile /usr/home/pi/myp/databases/freetds-devel/Makefile
--- databases/freetds-devel/Makefile	2012-04-15 23:31:00.858262503 +0200
+++ /usr/home/pi/myp/databases/freetds-devel/Makefile	2012-10-07 21:44:31.624586732 +0200
@@ -1,7 +1,3 @@
-# New ports collection makefile for:   freetds-devel
-# Date created:		02 Nov 1999
-# Whom:			Domas Mituzas <midom at dammit.lt>
-#
 # $FreeBSD: ports/databases/freetds-devel/Makefile,v 1.72 2012/04/15 11:58:27 scheidell Exp $
 
 PORTNAME=	freetds
@@ -9,8 +5,9 @@
 PORTREVISION=	2
 PORTEPOCH=	1
 CATEGORIES=	databases
-MASTER_SITES=	${MASTER_SITE_SUNSITE}
-MASTER_SITE_SUBDIR=	ALPHA/${PORTNAME}/stable
+MASTER_SITES=	ftp://ftp.freetds.org/pub/freetds/stable/
+DISTNAME=	freetds-stable
+EXTRACT_SUFX=	.tgz
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	fbsd-ports at opsec.eu
@@ -33,41 +30,48 @@
 		defncopy.1 fisql.1 osql.1
 MAN5=		freetds.conf.5
 
-OPTIONS=	OPENSSL "Use openssl" off       \
-		GNUTLS "Use GNUTLS" off \
-		IODBC   "Use iodbc (Mutually Exclusive)" off    \
-		UNIXODBC "Use unixodbc (Mutually Exclusive)" off        \
-		MSDBLIB "MS SQL Server support (breaks databases/sybtcl)" off
+.include <bsd.port.options.mk>
+
+# OPTIONS_DEFINE=	OPENSSL GNUTLS IODBC UNIXODBC MSDBLIB
+OPTIONS_DEFINE=	MSDBLIB
+
+OPTIONS_SINGLE=	ODBC SSL
+OPTIONS_SINGLE_ODBC=	IODBC UNIXODBC
+OPTIONS_SINGLE_SSL=	OPENSSL GNUTLS
+
+OPTIONS_DEFAULT=	OPENSSL IODBC
+
+OPENSSL_DESC=	Use OpenSSL
+GNUTLS_DESC=	Use GnuTLS
+IODBC_DESC=	Depend on iodbc
+UNIXODBC_DESC=	Depend on unixodbc
+MSDBLIB_DESC=	MS SQL Server compatibility (breaks databases/sybtcl)
 
 CONFLICTS=	freetds-0.64.[0-9]
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_OPENSSL)
+.if ${PORT_OPTIONS:MOPENSSL}
 USE_OPENSSL=	yes
 CONFIGURE_ARGS+=--with-openssl=${OPENSSLBASE}
 .endif
 
-.if defined(WITH_GNUTLS)
+.if ${PORT_OPTIONS:MGNUTLS}
 LIB_DEPENDS+=	gnutls:${PORTSDIR}/security/gnutls
 CONFIGURE_ARGS+=	--with-gnutls
 .endif
 
-.if defined(WITH_IODBC)
+.if ${PORT_OPTIONS:MIODBC}
 LIB_DEPENDS+=	iodbc:${PORTSDIR}/databases/libiodbc
 CONFIGURE_ARGS+=	--with-iodbc=${LOCALBASE}
 .endif
 
-.if defined(WITH_UNIXODBC)
+.if ${PORT_OPTIONS:MUNIXODBC}
 LIB_DEPENDS+=	odbc:${PORTSDIR}/databases/unixODBC
 CONFIGURE_ARGS+=	--with-unixodbc=${LOCALBASE}
 .endif
 
-.if defined(WITH_IODBC) && defined(WITH_UNIXODBC)
-IGNORE=	selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
-.endif
-
-.if defined(WITH_IODBC) || defined(WITH_UNIXODBC)
+.if ${PORT_OPTIONS:MIODBC} || ${PORT_OPTIONS:MUNIXODBC}
 PLIST_SUB+=	ODBC=""
 .else
 PLIST_SUB+=	ODBC="@comment "
@@ -75,7 +79,7 @@
 
 # We cannot use msdblib-style by default, because port databases/sybtcl
 # relies on sybase-style dblib
-.if defined(WITH_MSDBLIB)
+.if ${PORT_OPTIONS:MMSDBLIB}
 CONFIGURE_ARGS+=	--enable-msdblib
 TDS_VER=	7.2
 .endif
diff -u databases/freetds-devel/distinfo /usr/home/pi/myp/databases/freetds-devel/distinfo
--- databases/freetds-devel/distinfo	2011-09-09 08:50:26.000000000 +0200
+++ /usr/home/pi/myp/databases/freetds-devel/distinfo	2012-10-07 21:44:19.978581164 +0200
@@ -1,2 +1,2 @@
-SHA256 (freetds-0.91.tar.gz) = 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465
-SIZE (freetds-0.91.tar.gz) = 2136329
+SHA256 (freetds-stable.tgz) = 6a8148bd803aebceac6862b0dead1c5d9659f7e1038993abfe0ce8febb322465
+SIZE (freetds-stable.tgz) = 2136329

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



More information about the freebsd-ports-bugs mailing list