Re: cygwin enhancements

From: Robert Collins <robert.collins@dont-contact.us>
Date: Sat, 28 Apr 2001 09:56:23 +1000

If you check them into cygwin, I'll prepare them and test them against
head. Just let me know when the code is committed.

Rob

----- Original Message -----
From: "Guido Serassio" <serassio@libero.it>
To: <squid-dev@squid-cache.org>
Sent: Saturday, April 28, 2001 9:06 AM
Subject: Re: cygwin enhancements

> Hi,
>
> Il 00.46 28/04/2001 Robert Collins ha scritto:
> >Guido,
> > I'd like to generate a couple of patches for HEAD from some of
the
> >code you've put together - specificaly the dns code looks basically
> >ready to me. Any objection?
> >
> >This will prevent us from ending up with a huge patch set that needs
> >careful examination...
> >
> >Rob
>
> No, but I have made some changes on dns code, re-enabling resolv.conf
> and splitting the code in a idnsParseWIN32Registry function.
> So the code is still working, but you need too the actual win32.c plus
some
> include files. If you want, tomorrow morning i can prepare the files
for you.
>
> Guido
>
> >----- Original Message -----
> >From: "Guido Serassio" <serassio@libero.it>
> >To: <squid-dev@squid-cache.org>
> >Sent: Saturday, April 28, 2001 4:01 AM
> >Subject: CygWin Windows Service support released
> >
> >
> > > Hi,
> > >
> > > Today I committed the new source supporting Windows NT services to
the
> > > CygWin branch.
> > >
> > > The core code is derived from the 2.3 Stable 4 native NT port, and
> >seem to
> > > be very stable.
> > >
> > > To enable the service mode, use the --enable-win32-service
configure
> >option
> > >
> > > After compiling, make install as usual, but before run it, you
must
> >make
> > > the following steps:
> > >
> > > 1) Run a "squid -i" command.
> > >
> > > 2) Change the squid.conf files to reflect physical Windows paths
> >instead
> > > CygWin logical paths because the service runs as System Account
and
> >not in
> > > a full CygWin environment, for the same reason, the cygwin1.dll
file
> >must
> > > be in your SYSTEM path.
> > > For example:
> > >
> > > cache_access_log /usr/local/squid/logs/access.log
> > >
> > > if your CygWin root is d:\cygwin, must be changed to
> > >
> > > cache_access_log d:/cygwin/usr/local/squid/logs/access.log
> > >
> > > 3) Run a "squid -f config-file" command to set in Windows Registry
the
> > > location of config-file
> > > For example:
> > >
> > > squid -f d:/cygwin/usr/local/squid/etc/squid.conf
> > >
> > > 4) Run a "squid -z" command as usual if you need to create the
cache
> > > directories.
> > >
> > > 5) Start the SquidNT Services from Services Control Panel Applet.
> > >
> > > Note:
> > >
> > > Is possibile to compile Squid with --prefix=PREFIX and
> > > --exec-prefix=EPREFIX configure options pointing to Windows
physical
> >paths,
> > > so you don't need step 2 & 3, but in this manner you need to
install
> >Squid
> > > manually.
> > >
> > > A last comment on Squid command line switches:
> > >
> > > I added two new Squid command line option:
> > >
> > > -i : Install the SquidNT Service with automatic startup
> > > -r: Remove the SquidNT Service
> > >
> > > Working switches at the moment:
> > >
> > > All -k family, -f (but sets config-files in Windows
> >Registry), -z, -v, -h
> > >
> > > -N is removed, because non-sense
> > >
> > > The remaining command line switches at the moment don't work.
> > >
> > > Guido
> > >
> > >
> > >
> > > -
> > > =======================================================
> > > Serassio Guido
> > > Via Albenga, 11/4 10134 -
> >Torino - ITALY
> > > Tel. : +39.011.610749
> > > E-mail: serassio@interfree.it
> > > serassio@libero.it
> > > WWW: http://serassio.interfree.it
> > >
> > >
>
>
> -
> =======================================================
> Serassio Guido
> Via Albenga, 11/4 10134 -
Torino - ITALY
> Tel. : +39.011.610749
> E-mail: serassio@interfree.it
> serassio@libero.it
> WWW: http://serassio.interfree.it
>
>
Received on Fri Apr 27 2001 - 17:55:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:50 MST