[freetds] freetds now in Livna (i.e. Fedora Core Extras)

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Fri Sep 8 05:38:25 EDT 2006


> 
> Forwarded to list....
> 
> Dmitry Butskoy wrote:
> > I'm glad to inform you that now freetds is included into Livna
> > repository!
> > 
> > Livna is a "shadow" repository of additional packages for 
> Fedora Core
> > distribution (formerly known as RedHat Linux). Normally 
> such packages go
> > to official "Fedora Extras" repository, but all the stuff 
> with any legal
> > issues (patents etc.) should go to a separate place, which Livna is
> > intended to be. See http://rpm.livna.org for more info.
> > 
> > I will maintain this package in Livna.
> > 
> > You can already download it at 
> http://rpm.livna.org/fedora/5 (for the
> > current, Fedora Core 5, distribution).
> > 
> > Regards,
> > Dmitry Butskoy
> > 

Wonderful !!

I downloaded srpms and checked if they made some changes that we could
incorporate.
1. they convert doc/tds_ssl.html to unix format. I converted too and
committed into CVS (0.64 and HEAD)
2. they replace perl interpreter. Perhaps a shell bang like "#!/bin/env
perl" would suffice ?
3. they remove some execute permissions from source. I opened a request
at sourceforge to remove some execute permissions from CVS (like
COPYING.LIB and many C sources), request has been accepted and closed
properly (cvs up is not sufficient but a new checkout or a chmod will
work).
4. they patch doc/Makefile.am (and also doc/Makefile.am) cause sed
syntax is not accepted by sed the patch is

diff -Nrbu freetds-0.64/doc/Makefile.am freetds-0.64-OK/doc/Makefile.am
--- freetds-0.64/doc/Makefile.am        2006-02-25 00:14:19.000000000
+0300
+++ freetds-0.64-OK/doc/Makefile.am     2006-08-01 16:31:51.000000000
+0400
@@ -193,10 +193,10 @@
                </row></thead> \
                <tbody>' \
                        >> .dblib.api
-       grep '^dblib' $(srcdir)/api_status.txt | sed -e' s!^dblib[
]!<row><entry>!; \
-               s![     ][      ]*!</> <entry>!g; \
-               s!$$!</></row>!; \
-             ' >> .dblib.api
+       grep '^dblib' $(srcdir)/api_status.txt | \
+               sed -e 's!^dblib[       ]!<row><entry>!' \
+                   -e 's![     ][      ]*!</> <entry>!g' \
+                   -e 's!$$!</></row>!' >> .dblib.api
        echo '</tbody></tgroup></table>' >> .dblib.api
        mv .dblib.api $@

@@ -212,10 +212,11 @@
                </row></thead> \
                <tbody>' \
                        >> .ctlib.api
-       grep '^ctlib' $(srcdir)/api_status.txt | sed -e' s!^ctlib[
]!<row><entry>!; \
-               s![     ]!</> <entry>!g; \
-               s!$$!</></row>!; \
-             ' >> .ctlib.api
+       grep '^ctlib' $(srcdir)/api_status.txt | \
+               sed -e 's!^ctlib[       ]!<row><entry>!' \
+                   -e 's![     ]!</> <entry>!g' \
+                   -e 's!$$!</></row>!' \
+                       >> .ctlib.api
        echo '</tbody></tgroup></table>' \
                        >> .ctlib.api
        mv .ctlib.api $@
@@ -236,11 +237,12 @@
 # The mean RE below (with "ulink" in it) forms a URL to Microsoft's
reference page
 # for the function.  It assumes a word starting with "SQL" is an ODBC
function.
 # Let's hope they don't change their site too often.
-       grep '^odbc' $(srcdir)/api_status.txt | sed -e' s!^odbc[
]!<row><entry>!; \
-               s![     ][      ]*!</> <entry>!g; \
-               s!\(SQL[[:alpha:]]*\)!<ulink
url="$(MSDN_ODBC)\1.asp">\1</ulink>!g; \
-               s!$$!</></row>!; \
-             ' >> .odbc.api
+       grep '^odbc' $(srcdir)/api_status.txt | \
+               sed -e 's!^odbc[        ]!<row><entry>!' \
+                   -e 's![     ][      ]*!</> <entry>!g' \
+                   -e 's!\(SQL[[:alpha:]]*\)!<ulink
url="$(MSDN_ODBC)\1.asp">\1</ulink>!g' \
+                   -e 's!$$!</></row>!' \
+                       >> .odbc.api
        echo '</tbody></tgroup></table>' \
                        >> .odbc.api
        mv .odbc.api $@

I got some problems even with Ubuntu and I updated HEAD some time ago.
My patch use another way, I don't know which is better... you can see my
patch at
http://freetds.cvs.sourceforge.net/freetds/freetds/doc/Makefile.am?r1=1.
55&r2=1.56

freddy77




More information about the FreeTDS mailing list