public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [RFU] lftp 3.4.7-1
@ 2006-05-25 18:17 Schulman.Andrew
  2006-05-25 19:14 ` Igor Peshansky
  0 siblings, 1 reply; 4+ messages in thread
From: Schulman.Andrew @ 2006-05-25 18:17 UTC (permalink / raw)
  To: cygwin-apps

I'd like to take over maintainership of the lftp package.  It's
currently unmaintained.  I've packaged version 3.4.7, the latest
release; URLs are below.  Since this isn't a new package for Cygwin I
don't think an ITP is needed, but please review the package files.  If
they're found to be suitable, please upload them.

The package layout is about the same as in the old version; there are
some new files, but no new directories.  I've kept the postinstall
script from the old version.  That script is fancier than just plain old

[ -f /etc/lftp.conf ] || cp /etc/defaults/etc/lftp.conf /etc

but that's what it in fact does in an automated installation (e.g.
setup.exe).  In an interactive installation, it will prompt the user to
decide whether to replace an existing config file.  Maybe not too
useful, but no harm done either.

Thanks,
Andrew.

http://home.comcast.net/~andrex/cygwin/lftp/setup.hint
http://home.comcast.net/~andrex/cygwin/lftp/lftp-3.4.7-1.tar.bz2
http://home.comcast.net/~andrex/cygwin/lftp/lftp-3.4.7-1-src.tar.bz2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFU] lftp 3.4.7-1
  2006-05-25 18:17 [RFU] lftp 3.4.7-1 Schulman.Andrew
@ 2006-05-25 19:14 ` Igor Peshansky
  2006-05-25 19:30   ` Schulman.Andrew
  0 siblings, 1 reply; 4+ messages in thread
From: Igor Peshansky @ 2006-05-25 19:14 UTC (permalink / raw)
  To: Schulman.Andrew; +Cc: cygwin-apps

On Thu, 25 May 2006, Schulman.Andrew wrote:

> I've kept the postinstall script from the old version.  That script is
> fancier than just plain old
>
> [ -f /etc/lftp.conf ] || cp /etc/defaults/etc/lftp.conf /etc
>
> but that's what it in fact does in an automated installation (e.g.
> setup.exe).  In an interactive installation, it will prompt the user to
> decide whether to replace an existing config file.  Maybe not too
> useful, but no harm done either.

Just to make sure, does it actually read its input from stdin?  If so,
it's not going to work in older versions of setup (before it started
redirecting postinstall script input from /dev/null).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFU] lftp 3.4.7-1
  2006-05-25 19:14 ` Igor Peshansky
@ 2006-05-25 19:30   ` Schulman.Andrew
  2006-05-25 20:00     ` Igor Peshansky
  0 siblings, 1 reply; 4+ messages in thread
From: Schulman.Andrew @ 2006-05-25 19:30 UTC (permalink / raw)
  To: cygwin-apps

> > I've kept the postinstall script from the old version.  That script
is
> > fancier than just plain old
> >
> > [ -f /etc/lftp.conf ] || cp /etc/defaults/etc/lftp.conf /etc
> >
> > but that's what it in fact does in an automated installation (e.g.
> > setup.exe).  In an interactive installation, it will prompt the user
to
> > decide whether to replace an existing config file.  Maybe not too
> > useful, but no harm done either.
>
> Just to make sure, does it actually read its input from stdin?  If so,
> it's not going to work in older versions of setup (before it started
> redirecting postinstall script input from /dev/null).

No.  It looks to see if it was invoked as /etc/postinstall/lftp.sh, and
if so assumes a "no" answer to the "Overwrite existing /etc/lftp.conf?"
question.  It does print some installation chatter to stdout, but I
believe that's okay.

I have no particular attachment to this script.  I'd be just as happy
with the simple version I mentioned above, but decided to leave it since
it was already there.

A.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RFU] lftp 3.4.7-1
  2006-05-25 19:30   ` Schulman.Andrew
@ 2006-05-25 20:00     ` Igor Peshansky
  0 siblings, 0 replies; 4+ messages in thread
From: Igor Peshansky @ 2006-05-25 20:00 UTC (permalink / raw)
  To: Schulman.Andrew; +Cc: cygwin-apps

On Thu, 25 May 2006, Schulman.Andrew wrote:

> > > I've kept the postinstall script from the old version.  That script
> > > is fancier than just plain old
> > >
> > > [ -f /etc/lftp.conf ] || cp /etc/defaults/etc/lftp.conf /etc
> > >
> > > but that's what it in fact does in an automated installation (e.g.
> > > setup.exe).  In an interactive installation, it will prompt the user
> > > to decide whether to replace an existing config file.  Maybe not too
> > > useful, but no harm done either.
> >
> > Just to make sure, does it actually read its input from stdin?  If so,
> > it's not going to work in older versions of setup (before it started
> > redirecting postinstall script input from /dev/null).
>
> No.  It looks to see if it was invoked as /etc/postinstall/lftp.sh, and
> if so assumes a "no" answer to the "Overwrite existing /etc/lftp.conf?"
> question.  It does print some installation chatter to stdout, but I
> believe that's okay.

Ah, yes, that is certainly ok.  As long as it doesn't try to read stdin as
a postinstall script, you're fine.

> I have no particular attachment to this script.  I'd be just as happy
> with the simple version I mentioned above, but decided to leave it since
> it was already there.

Up to you as the maintainer.  Besides, since you're keeping the old
postinstall script intact, and we didn't hear any complaints about lftp
installation, my comment was probably too paranoid.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-25 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-25 18:17 [RFU] lftp 3.4.7-1 Schulman.Andrew
2006-05-25 19:14 ` Igor Peshansky
2006-05-25 19:30   ` Schulman.Andrew
2006-05-25 20:00     ` Igor Peshansky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).