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