Re: PostgreSQL windows native port available

From: "Robert Collins" <robert(dot)collins(at)itdomain(dot)com(dot)au>
To: <jm(dot)poure(at)freesurf(dot)fr>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>, <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQL windows native port available
Date: 2002-05-10 10:50:10
Message-ID: FC169E059D1A0442A04C40F86D9BA7600C6034@itdomain003.itdomain.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm(dot)poure(at)freesurf(dot)fr]
> Sent: Friday, May 10, 2002 8:29 PM

> Robert Collins wrote me to explain quite a few tricks about
> Cygwin setup.exe
> installer:
>
> 1) Latest CVS Cygwin setup.exe supports scripting. I don't
> know in what extent
> installation features are mapped. At least, this means we
> should try the
> latest CVS version.

Actually, the last 3-4 versions have all supported scripting and dependencies. There's currently a nasty parser overflow because the setup.ini got too big, but I've just fixed this and am committing a CVS fix asap. Certainly I encourage experimentation and am happy to discuss what can be done. The official setup.exe mailing list is cygwin-apps(at)cygwin(dot)com(dot) Currently there are ~4-5 folk actively contributing setup.exe code, so things that take someones interest happen fairly quickly.

> 2) setup.exe is not needed if you know WHICH packages are
> required (with no
> relation to scripting). You simply need to provide path and
> everything in a
> proper setup.ini file. Et voilà.

The KDE on cygwin group use this approach (they distribute binaries via a setup.ini site, but don't distribute setup.exe at all). You simply add a user URL to setup.exe when you run it, and it picks up your package, merges it into the list, and will install any needed packages from any other site as listed by your 'requires:' statement.

> 3) setup.exe supports post-installation scripts. This may
> allow us to make a
> minimal PostgreSQL install of Template1, enable a TCP/IP
> socket, etc...
> inside a Cygwin package (example : run a bash script or
> connect locally using
> SSH to su under postgres user). Otherwize, we could do it
> manually using an
> installer script.

Yes. Also setup supports pre-removal scripts, to allow tidying things up.

Cheers,
Rob

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2002-05-10 10:50:25 Re: PostgreSQL windows native port available
Previous Message Jean-Michel POURE 2002-05-10 10:28:41 Re: PostgreSQL windows native port available