Skip to Content.
Sympa Menu

freetds - RE: [freetds] using default port 4000

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] using default port 4000
  • Date: 21 Feb 2003 08:14:22 +0100

Il ven, 2003-02-21 alle 00:25, Lowden, James K ha scritto:
> > -----Original Message-----
> > From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
> > Sent: February 19, 2003 5:24 AM
> > To: 'FreeTDS Development Group'
> > Subject: RE: [freetds] using default port 4000
> >
> > I used also version from date (like 20030219), but has some
> > drawback (you
> > have to rerun autogen to create another distro).
>
> Maybe not, maybe m4 cleverness will save us. Does this work for you:
>
> Index: configure.in
> ===================================================================
> RCS file: /cvsroot/freetds/freetds/configure.in,v
> retrieving revision 1.85
> diff -u -u -r1.85 configure.in
> --- configure.in 20 Feb 2003 02:46:10 -0000 1.85
> +++ configure.in 20 Feb 2003 23:21:09 -0000
> @@ -12,7 +12,8 @@
> dnl ------------------------------------------------------------
> AC_INIT(src/dblib/dblib.c)
> AC_PREREQ(2.53)
> -AM_INIT_AUTOMAKE(freetds, 0.61)
> +define(TDSDATE, esyscmd(echo -n esyscmd(date +"%Y%m%d")))
> +AM_INIT_AUTOMAKE(freetds, 0.62.dev.TDSDATE)
> AM_CONFIG_HEADER(include/config.h)
> AC_PREFIX_DEFAULT(/usr/local)
>
> I'm using the m4 builtin "esyscmd" to get the date in YYYYMMDD format, and
> "echo -n" to trim the newline. My configure output:
>
> $ grep 0.62 configure
> VERSION=0.62.dev.20030220
>
> You like?
>

Same results with

AM_INIT_AUTOMAKE(freetds, 0.62.dev.`date +%Y%m%d`)

However next day you have to rerun autogen to rebuild configure with
current date.
Using recent tools (needed!) dependency are generated, so to generate
snapshot (or rpm) you can use a script like

touch configure.in
make dist

Yes, this solution sound good to me.

rpm -Fvh freetds-0.62.dev.20030221-1.i386.rpm !!!

I saw you have resolved problem with web access... what about two
snapshot (current development branch and current stable branch) ?

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page