delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/10/20/12:04:06

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Sat, 20 Oct 2001 12:04:12 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: rsync README and <http://rsync.samba.org/rsync/nt.html>
Message-ID: <20011020120412.D5833@redhat.com>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <6568-Tue09Oct2001120802+0100-starksb AT ebi DOT ac DOT uk> <3BD14B05 DOT AC7AAE9C AT lapo DOT it>
Mime-Version: 1.0
In-Reply-To: <3BD14B05.AC7AAE9C@lapo.it>
User-Agent: Mutt/1.3.21i

On Sat, Oct 20, 2001 at 11:59:33AM +0200, Lapo Luchini wrote:
>> Would you consider expanding your README file to provide this
>> information?  Then we could tell the rsync maintainers to get rid of
>> that web page altogether.  (Or better, replace it with a pointer to
>> Cygwin.)  I don't like to put information like this in the FAQ.
>
>Of course.
>I just wrote a small HOWTO for a friend that's not too capable with unix
>& cygwin and I can extend it and update the readme.
>
>> Thanks again for maintaining rsync.  I use it myself.  (Though not in
>> daemon mode, otherwise I would volunteer to write those instructions
>> myself.)
>
>Well I've not had the time to study it thoroughly to solve the one
>problem I'm aware of (rsync:// daemon mode in cygwin), but version 2.4.7
>is so close that maybe a patch isn't worth the work.
>
>Instruction proposal:
>
>Using CygWin official distro you can easily have an rsync daemon under
>Win2k.
>You need the packages "rsync" (rsync itself) and "cygrunsrv" (replaces
>srvany.exe to install and manage Windows services).
>
>1. use http://cygwin.com/setup.exe to install (at least) the following
>packages (take care that the default is "install everything"): cygwin,
>rsync, cygrunsrv, bash [also bash could be useful for point 1, but what
>other packages are NEEDED?]

Could you create a setup.hint file with this information in it?  If you
look at the current setup.ini, you'll see the short description for rsync.
If you could just create a setup.ini with an updated 'requires' line
then I'll install it.  It should probably look something like:

requires cygrunsrv bash zlib

(I don't know what it actually requires but hopefully you get the idea)

cgf
>2. create your /etc/rsyncd.conf text file similiar to this one ("man
>rsyncd.conf" for more info, be careful that the proposed setup exposes
>ALL the file system to the anonymous user)
>
>use chroot = false
>strict modes = false
>hosts allow = *
>
>[backup]
>path = /usr/pub/rsync/
>read only = yes
>list = yes
>
>3. create the service writing the following in your bash: cygrunsrv -I
>"RSYNC Daemon" -p /usr/bin/rsync -a '--config=/etc/rsyncd.conf --daemon'
>
>4. you should now be able to start/stop the service either using the
>control panel, microsoft's "net" command or cygwin's "cygrunsrv" command
>
>someone has something to add?
>Suggestions?
>
>--
>Lapo 'Raist' Luchini
>lapo AT lapo DOT it (PGP & X.509 keys available)
>http://www.lapo.it (ICQ UIN: 529796)

-- 
cgf AT cygnus DOT com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019