Ravenports generated: 25 Sep 2017 08:23
[ravenports.git] / bucket_93 / freetds
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               freetds
4 VERSION=                1.00.63
5 KEYWORDS=               databases
6 VARIANTS=               standard
7 SDESC[standard]=        Sybase/Microsoft TDS protocol library
8 HOMEPAGE=               http://www.freetds.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            ftp://ftp.freetds.org/pub/freetds/stable/
13 DISTFILE[1]=            freetds-1.00.63.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         docs
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BROKEN_SSL=             openssl-devel
23
24 BUILDRUN_DEPENDS=       libgcrypt:single:standard
25                         unixODBC:primary:standard
26
27 USES=                   autoreconf gettext-tools gmake iconv libtool:keepla
28                         pkgconfig readline ssl
29
30 FPC_EQUIVALENT=         databases/freetds
31
32 MUST_CONFIGURE=         gnu
33 CONFIGURE_ARGS=         --with-tdsver=7.4
34                         --sysconfdir={{PREFIX}}/etc/freetds
35                         --enable-sybase-compat
36                         --enable-msdblib
37                         --with-openssl={{OPENSSLBASE}}
38                         --with-unixodbc={{LOCALBASE}}
39
40 INSTALL_TARGET=         install-strip
41
42 LDFLAGS=                -lgcrypt
43                         -lpthread
44
45 post-patch:
46         @${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
47                 's|<malloc.h>|<stdlib.h>| ; \
48                  s|/freetds.conf|/freetds.conf.sample|g ; \
49                  s|/locales.conf|/locales.conf.sample|g ; \
50                  s|/pool.conf|/pool.conf.sample|g ; \
51                  s| common.h||g'
52         @${REINPLACE_CMD} -e 's|\(\$with_iodbc/include\)|\1/libiodbc|g' \
53                 ${WRKSRC}/configure.ac
54
55 post-install:
56         ${INSTALL_DATA} ${WRKSRC}/interfaces \
57                 ${STAGEDIR}${PREFIX}/etc/freetds/interfaces.sample
58
59 post-extract:
60         @cd ${WRKSRC} && ${LN} -s freetds.conf freetds.conf.sample
61         @cd ${WRKSRC} && ${LN} -s locales.conf locales.conf.sample
62         @cd ${WRKSRC}/src/pool && ${LN} -s pool.conf pool.conf.sample
63
64 [FILE:487:descriptions/desc.primary]
65 FreeTDS is a set of libraries for Unix and Linux that allows your
66 programs to natively talk to Microsoft SQL Server and Sybase databases.
67
68 Technically speaking, FreeTDS is an open source implementation of the
69 TDS (Tabular Data Stream) protocol used by these databases for their
70 own clients. It supports many different flavors of the protocol and
71 three APIs to access it. Additionally FreeTDS works with other software
72 such as Perl and PHP, providing access from those languages as well.
73
74
75 [FILE:102:distinfo]
76 04ab0e60d4d0a602f1ca0cbeb0070421a60d1651f44e6a967cd349985f826ad5      2149996 freetds-1.00.63.tar.bz2
77
78
79 [FILE:757:manifests/plist.primary]
80 bin/
81  bsqldb
82  datacopy
83  defncopy
84  freebcp
85  fisql
86  osql
87  tdspool
88  tsql
89 @sample etc/freetds/freetds.conf.sample
90 @sample etc/freetds/interfaces.sample
91 @sample etc/freetds/locales.conf.sample
92 @sample etc/freetds/pool.conf.sample
93 include/
94  bkpublic.h
95  cspublic.h
96  cstypes.h
97  ctpublic.h
98  odbcss.h
99  sqldb.h
100  sqlfront.h
101  sybdb.h
102  syberror.h
103  sybfront.h
104  tds_sysdep_public.h
105 lib/
106  libct.a
107  libct.la
108  libct.so
109  libct.so.4
110  libct.so.4.0.0
111  libsybdb.a
112  libsybdb.la
113  libsybdb.so
114  libsybdb.so.5
115  libsybdb.so.5.1.0
116 share/man/man1/
117  bsqldb.1.gz
118  bsqlodbc.1.gz
119  datacopy.1.gz
120  defncopy.1.gz
121  fisql.1.gz
122  freebcp.1.gz
123  osql.1.gz
124  tsql.1.gz
125 share/man/man5/freetds.conf.5.gz
126 bin/
127  bsqlodbc
128 lib/
129  libtdsodbc.so
130  libtdsodbc.so.0
131  libtdsodbc.so.0.0.0
132  libtdsodbc.la
133  libtdsodbc.a
134
135
136 [FILE:373:patches/patch-src_tds_sec_negotiate_openssl.h]
137 --- src/tds/sec_negotiate_openssl.h.orig        2017-02-15 09:00:01 UTC
138 +++ src/tds/sec_negotiate_openssl.h
139 @@ -37,6 +37,11 @@
140  #error HAVE_OPENSSL not defines, this file should not be included
141  #endif
142  
143 +#ifdef LIBRESSL_VERSION_NUMBER
144 +#undef OPENSSL_VERSION_NUMBER
145 +#define OPENSSL_VERSION_NUMBER 0x1000107fL
146 +#endif
147 +
148  static inline const BIGNUM*
149  rsa_get_n(const RSA *rsa)
150  {
151
152
153 [FILE:586:patches/patch-src_tds_tls.c]
154 --- src/tds/tls.c.orig  2017-02-15 09:00:01 UTC
155 +++ src/tds/tls.c
156 @@ -50,6 +50,10 @@
157  #include <sys/socket.h>
158  #endif
159  
160 +#if defined(__FreeBSD__) || defined(__DragonFly__)
161 +#include <sys/socket.h>
162 +#endif
163 +
164  #include <freetds/tds.h>
165  #include <freetds/string.h>
166  #include <freetds/tls.h>
167 @@ -72,6 +76,12 @@
168  #define SSL_PTR ptr
169  #else
170  
171 +#ifdef LIBRESSL_VERSION_NUMBER
172 +static pthread_mutex_t *openssllocks;
173 +#undef OPENSSL_VERSION_NUMBER
174 +#define OPENSSL_VERSION_NUMBER 0x1000107fL
175 +#endif
176 +
177  /* some compatibility layer */
178  #if OPENSSL_VERSION_NUMBER < 0x1010000FL
179  static inline void
180