Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2013 00:19:51 +0100
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        apache@FreeBSD.org
Cc:        "Mikhail T." <mi+thun@aldan.algebra.com>
Subject:   Re: Fixes for apr-util's FreeTDS driver
Message-ID:  <50E4C097.7040007@FreeBSD.org>
In-Reply-To: <50E4B0D4.9090802@FreeBSD.org>
References:  <50E4A29D.4020204@aldan.algebra.com> <50E4B0D4.9090802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 02.01.2013 17:12, Olli Hauer wrote:
>> Hi Mikhail,
>>
>> patch applies clean on our current devel/apr1 port (apr-util-1.4.1).
>> http://people.freebsd.org/~ohauer/diffs/patch-apr-util-1.4.1__dbd__apr_dbd_freetds.c
>>
>> Maybe the patch finds more notice upstream if shaped against the current apr-util-1.5.1?
>> Do you have also a patch for apr-util-1.5.1 available?
> I'm pretty sure, it will apply just as well against 1.5 -- the driver has not 
> changed in years. As currently shipped it is badly broken because the dbd/driver 
> API changed (years ago!) and the FreeTDS-driver only got updated to allow it to 
> /compile/ (but not /work/).

You are right (just done a quick diff)


> 
> The drag is in that very few people use Sybase with Apache -- the products are 
> from two different worlds, so to speak... My client happens to (still) use 
> Vignette for their web-publishing (and Vignette uses Sybase as its own backend), 
> so that's why they were interested -- but it is a rare case...

Back in 2002/3 I was happy to shutdown a product which used Sybase
(application crashed, connection not closed clean so lic. for next client not freed up ...)

Maybe the user who send in the apr_pcalloc diff is also interested and can confirm your patch
> http://mail-archives.apache.org/mod_mbox/apr-dev/201207.mbox/%3C4994179EC7ED6843AAB0A30A1639E7F81DB5260901@DGEX2V.dg.deltagroup.com%3E



>> I hope the FreeBSD ports infrastructure is full back in near time so an expr-run with
>> the current apr-util can be done.
> This would be new functionality so I doubt, an expr-run is warranted...
>> Which FreeTDS port should be used as dependency ?

I was thinking about apr-util-1.5.x, was not related to your patch more about the time frame for a commit.

>> $> grep -i ^freetds /usr/ports/INDEX-8 | cut -d\| -f -
>> freetds-0.64_8,1|/usr/ports/databases/freetds
>> freetds-devel-0.91_3,1|/usr/ports/databases/freetds-devel
>> freetds-msdblib-0.64_8,1|/usr/ports/databases/freetds-msdblib

> I think, it should LIB_DEPEND on sybdb with the databases/freetds used by 
> default. If the system already has -lsybdb installed by any other port, then it 
> can use that.

Ok, will do some test builds at the weekend on 8.3/9.1 (amd64).

--
Regards,
olli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E4C097.7040007>