diff -ruN FreeTDS-orig/Portfile FreeTDS/Portfile
old
|
new
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | name freetds |
5 | | version 0.61 |
| 5 | version 0.63 |
6 | 6 | categories databases |
7 | 7 | platforms darwin |
8 | 8 | maintainers jkh@opendarwin.org |
9 | 9 | description A set of libraries for Unix and Linux that allows your programs to natively talk to Microsoft SQL Server and Sybase databases |
10 | 10 | long_description FreeTDS is an open source implementation of the TDS (Tabular DataStream) protocol used by these databases for their own clients. It supports many different flavors of the protocol and supports several APIs to access it. Additionally FreeTDS works with other software such as Perl and PHP, providing access from those languages as well. There is also a native (type 4) JDBC driver available for platform-independent Java clients (including Java Server Pages applications), with support for most of the JDBC 1 API and portions of the JDBC 2 API. |
11 | 11 | |
12 | | extract.suffix .tgz |
| 12 | #extract.suffix .tar.gz |
13 | 13 | homepage http://www.freetds.org/ |
14 | | master_sites opendarwin |
15 | | checksums md5 95e91d26ddfdeed255771f3fa2c28129 |
| 14 | master_sites ftp://ftp.ibiblio.org/pub/Linux/ALPHA/${name}/stable/ opendarwin |
| 15 | checksums md5 a0a5038cfb708180308b381f848baf75 |
16 | 16 | depends_lib lib:libiconv.2:libiconv |
17 | | worksrcdir freetds-0.61.2 |
| 17 | worksrcdir freetds-0.63 |
18 | 18 | |
19 | | # The following only applies to Panther builds. |
20 | 19 | platform darwin 7 { |
21 | | patchfiles patch-src-Makefile.in patch-src-tds-Makefile.in \ |
22 | | patch-src-server-Makefile.in patch-src-ctlib-Makefile.in \ |
23 | | patch-src-odbc-Makefile.in patch-src-dblib-Makefile.in |
| 20 | patchfiles patch-src-tds-Makefile.in patch-src-server-Makefile.in \ |
| 21 | patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \ |
| 22 | patch-src-dblib-Makefile.in |
24 | 23 | |
25 | 24 | pre-build { |
26 | 25 | system "cp /usr/bin/glibtool ${worksrcpath}/libtool" |
27 | 26 | } |
28 | 27 | } |
| 28 | |
| 29 | platform darwin 8 { |
| 30 | patchfiles patch-src-tds-Makefile.in patch-src-server-Makefile.in \ |
| 31 | patch-src-ctlib-Makefile.in patch-src-odbc-Makefile.in \ |
| 32 | patch-src-dblib-Makefile.in |
| 33 | } |
diff -ruN FreeTDS-orig/files/CVS/Entries FreeTDS/files/CVS/Entries
old
|
new
|
|
1 | | /patch-src-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
2 | 1 | /patch-src-ctlib-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
3 | 2 | /patch-src-dblib-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
4 | 3 | /patch-src-odbc-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
5 | 4 | /patch-src-server-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
6 | 5 | /patch-src-tds-Makefile.in/1.1/Sat Dec 20 22:23:23 2003// |
| 6 | /patch-src-Makefile.in/1.1/Sun May 29 22:29:00 2005// |
7 | 7 | D |
diff -ruN FreeTDS-orig/files/patch-src-ctlib-Makefile.in FreeTDS/files/patch-src-ctlib-Makefile.in
old
|
new
|
|
1 | | --- src/ctlib/Makefile.in.orig Sat Dec 20 14:09:20 2003 |
2 | | +++ src/ctlib/Makefile.in Sat Dec 20 14:09:35 2003 |
3 | | @@ -142,7 +142,7 @@ |
4 | | lib_LTLIBRARIES = libct.la |
5 | | libct_la_SOURCES = ct.c cs.c blk.c ctutil.c |
6 | | libct_la_LDFLAGS = -version-info 1:0:0 |
7 | | -libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
8 | | +libct_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) |
| 1 | --- src/ctlib/Makefile.in.orig 2005-05-26 09:26:47.000000000 -0700 |
| 2 | +++ src/ctlib/Makefile.in 2005-05-26 09:28:03.000000000 -0700 |
| 3 | @@ -179,7 +179,7 @@ |
| 4 | # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77 |
| 5 | libct_la_LDFLAGS = -version-info 3:0:0 -export-symbols-regex '^(cs_|ct_|blk_).*' $(FREETDS_SYMBOLIC) |
| 6 | |
| 7 | -libct_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 8 | +libct_la_LIBADD = $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
9 | 9 | |
10 | 10 | INCLUDES = -I$(top_srcdir)/include |
11 | 11 | subdir = src/ctlib |
12 | | @@ -151,8 +151,7 @@ |
| 12 | @@ -188,8 +188,7 @@ |
13 | 13 | CONFIG_CLEAN_FILES = |
14 | 14 | LTLIBRARIES = $(lib_LTLIBRARIES) |
15 | 15 | |
diff -ruN FreeTDS-orig/files/patch-src-dblib-Makefile.in FreeTDS/files/patch-src-dblib-Makefile.in
old
|
new
|
|
1 | | --- src/dblib/Makefile.in.orig Sat Dec 20 14:14:22 2003 |
2 | | +++ src/dblib/Makefile.in Sat Dec 20 14:14:35 2003 |
3 | | @@ -144,7 +144,7 @@ |
4 | | EXTRA_DIST = dbopen.c |
| 1 | --- src/dblib/Makefile.in.orig 2005-05-26 09:30:01.000000000 -0700 |
| 2 | +++ src/dblib/Makefile.in 2005-05-26 09:30:50.000000000 -0700 |
| 3 | @@ -179,7 +179,7 @@ |
5 | 4 | libsybdb_la_SOURCES = dblib.c dbutil.c rpc.c bcp.c xact.c $(DBOPEN) |
6 | | libsybdb_la_LDFLAGS = -version-info 3:0:0 |
7 | | -libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
8 | | +libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) |
| 5 | # version bumped for 0.63, I hope we'll bump it less in the future -- freddy77 |
| 6 | libsybdb_la_LDFLAGS = -version-info 5:0:0 -export-symbols-regex '^(db|bcp_|tdsdump_open|tdsdbopen|.*_xact|close_commit|open_commit|.?asprintf).*' $(FREETDS_SYMBOLIC) |
| 7 | -libsybdb_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 8 | +libsybdb_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
9 | 9 | |
10 | 10 | INCLUDES = -I$(top_srcdir)/include |
11 | 11 | subdir = src/dblib |
12 | | @@ -153,8 +153,7 @@ |
| 12 | @@ -188,8 +188,7 @@ |
13 | 13 | CONFIG_CLEAN_FILES = |
14 | 14 | LTLIBRARIES = $(lib_LTLIBRARIES) |
15 | 15 | |
diff -ruN FreeTDS-orig/files/patch-src-odbc-Makefile.in FreeTDS/files/patch-src-odbc-Makefile.in
old
|
new
|
|
1 | | --- src/odbc/Makefile.in.orig Sat Dec 20 14:10:18 2003 |
2 | | +++ src/odbc/Makefile.in Sat Dec 20 14:11:11 2003 |
3 | | @@ -147,8 +147,8 @@ |
4 | | sql2tds.c sql2tds.h error.c |
| 1 | --- src/odbc/Makefile.in.orig 2005-05-26 09:31:48.000000000 -0700 |
| 2 | +++ src/odbc/Makefile.in 2005-05-26 09:33:04.000000000 -0700 |
| 3 | @@ -181,7 +181,7 @@ |
| 4 | sql2tds.c sql2tds.h error.c \ |
| 5 | odbc_checks.c odbc_checks.h |
5 | 6 | |
6 | | EXTRA_DIST = tables.sql |
7 | | -@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
8 | | -@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
9 | | +@UNIXODBC_TRUE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la -lodbcinst $(NETWORK_LIBS) $(LIBICONV) |
10 | | +@UNIXODBC_FALSE@libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) |
11 | | INCLUDES = -I$(top_srcdir)/include -I$(ODBC_INC) |
12 | | subdir = src/odbc |
13 | | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
14 | | @@ -158,9 +158,9 @@ |
| 7 | -libtdsodbc_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 8 | +libtdsodbc_la_LIBADD = ../tds/libtds_objects.la $(ODBCINSTLIB) $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 9 | INCLUDES = -I$(top_srcdir)/include $(ODBC_INC) |
| 10 | # -module is needed by Darwin (Mac OS X) |
| 11 | libtdsodbc_la_LDFLAGS = -export-symbols-regex '^(SQL|ODBCINST).*' $(FREETDS_SYMBOLIC) -module |
| 12 | @@ -191,8 +191,7 @@ |
| 13 | CONFIG_CLEAN_FILES = |
| 14 | LTLIBRARIES = $(lib_LTLIBRARIES) |
15 | 15 | |
16 | | libtdsodbc_la_LDFLAGS = |
17 | | @UNIXODBC_TRUE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \ |
18 | | -@UNIXODBC_TRUE@ ../replacements/libreplacements.la |
19 | | +@UNIXODBC_TRUE@ |
20 | | @UNIXODBC_FALSE@libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \ |
21 | | -@UNIXODBC_FALSE@ ../replacements/libreplacements.la |
22 | | +@UNIXODBC_FALSE@ |
| 16 | -libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la \ |
| 17 | - ../replacements/libreplacements.la |
| 18 | +libtdsodbc_la_DEPENDENCIES = ../tds/libtds_objects.la |
23 | 19 | am_libtdsodbc_la_OBJECTS = odbc.lo connectparams.lo convert_tds2sql.lo \ |
24 | | convert_sql2string.lo prepare_query.lo odbc_util.lo native.lo \ |
25 | | sql2tds.lo error.lo |
| 20 | descriptor.lo prepare_query.lo odbc_util.lo native.lo \ |
| 21 | sql2tds.lo error.lo odbc_checks.lo |
diff -ruN FreeTDS-orig/files/patch-src-server-Makefile.in FreeTDS/files/patch-src-server-Makefile.in
old
|
new
|
|
1 | | --- src/server/Makefile.in.orig Sat Dec 20 14:00:04 2003 |
2 | | +++ src/server/Makefile.in Sat Dec 20 14:00:40 2003 |
3 | | @@ -140,7 +140,7 @@ |
4 | | lib_LTLIBRARIES = libtdssrv.la |
| 1 | --- src/server/Makefile.in.orig 2005-05-26 09:34:44.000000000 -0700 |
| 2 | +++ src/server/Makefile.in 2005-05-26 09:35:07.000000000 -0700 |
| 3 | @@ -175,7 +175,7 @@ |
5 | 4 | libtdssrv_la_SOURCES = query.c server.c login.c |
6 | | libtdssrv_la_LDFLAGS = -version-info 1:0:0 |
7 | | -libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
8 | | +libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) |
| 5 | # bump server version whenever bumping libtds version |
| 6 | libtdssrv_la_LDFLAGS = -version-info 2:0:0 |
| 7 | -libtdssrv_la_LIBADD = ../tds/libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 8 | +libtdssrv_la_LIBADD = ../tds/libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
9 | 9 | INCLUDES = -I$(top_srcdir)/include |
10 | | EXTRA_DIST = unittest.c |
11 | | subdir = src/server |
12 | | @@ -149,8 +149,7 @@ |
| 10 | noinst_PROGRAMS = tdssrv |
| 11 | tdssrv_LDADD = libtdssrv.la $(NETWORK_LIBS) |
| 12 | @@ -186,8 +186,7 @@ |
13 | 13 | CONFIG_CLEAN_FILES = |
14 | 14 | LTLIBRARIES = $(lib_LTLIBRARIES) |
15 | 15 | |
… |
… |
|
18 | 18 | +libtdssrv_la_DEPENDENCIES = ../tds/libtds_objects.la |
19 | 19 | am_libtdssrv_la_OBJECTS = query.lo server.lo login.lo |
20 | 20 | libtdssrv_la_OBJECTS = $(am_libtdssrv_la_OBJECTS) |
21 | | |
| 21 | noinst_PROGRAMS = tdssrv$(EXEEXT) |
diff -ruN FreeTDS-orig/files/patch-src-tds-Makefile.in FreeTDS/files/patch-src-tds-Makefile.in
old
|
new
|
|
1 | | --- src/tds/Makefile.in.orig Sat Dec 20 13:51:29 2003 |
2 | | +++ src/tds/Makefile.in Sat Dec 20 13:51:39 2003 |
3 | | @@ -152,7 +152,7 @@ |
4 | | lib_LTLIBRARIES = libtds.la |
5 | | libtds_la_SOURCES = |
6 | | libtds_la_LDFLAGS = -version-info 2:0:0 |
7 | | -libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) ../replacements/libreplacements.la |
8 | | +libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) |
9 | | noinst_HEADERS = tds_willconvert.h |
10 | | subdir = src/tds |
11 | | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
12 | | @@ -160,8 +160,7 @@ |
| 1 | --- src/tds/Makefile.in.orig 2005-05-26 09:35:53.000000000 -0700 |
| 2 | +++ src/tds/Makefile.in 2005-05-26 09:36:21.000000000 -0700 |
| 3 | @@ -189,7 +189,7 @@ |
| 4 | # Release 0.63 is version 4, cf. ML 30 Nov 2004 11:08:28 -0600 |
| 5 | libtds_la_LDFLAGS = -version-info 4:0:0 -export-symbols-regex '^(tds_|tdsdump_|tds5_|tds7_).*' |
| 6 | # bump server version whenever bumping libtds version |
| 7 | -libtds_la_LIBADD = libtds_objects.la ../replacements/libreplacements.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 8 | +libtds_la_LIBADD = libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC) |
| 9 | noinst_HEADERS = tds_willconvert.h character_sets.h \ |
| 10 | alternative_character_sets.h sybase_character_sets.h \ |
| 11 | encodings.h |
| 12 | @@ -200,8 +200,7 @@ |
13 | 13 | CONFIG_CLEAN_FILES = |
14 | 14 | LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) |
15 | 15 | |