[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fix watch file for sourceforge software



Oops, that's not the problem; that's just how it looks by default from
dh_make.

Actually, it appears to be a problem with sourceforge (maybe)?  See
below.

pryzbyj@andromeda:/tmp/and/and-1.0.7$ uscan 
and: Newer version (1.2.0) available on remote site
  (local version is 1.0.7)
uscan warning: In directory ., downloading
    ftp://ftp.sf.net/pub/sourceforge/a/an/and/and-1.2.0.tar.gz failed:
404 Can't chdir to pub

And:
pryzbyj@andromeda:/tmp/and/and-1.0.7$ uscan 
uscan warning: In watchfile ./debian/watch, reading FTP directory
  ftp://ftp.sf.net/pub/sourceforge/a/an/and/ failed: 500 LWP::Protocol::MyFTP: connect: Connection refused

pryzbyj@andromeda:/tmp/and/and-1.0.7$ host ftp.sf.net
ftp.sf.net is an alias for dl.sourceforge.net.
dl.sourceforge.net has address 195.141.101.221
dl.sourceforge.net has address 193.1.219.87
dl.sourceforge.net has address 193.190.198.97
...

pryzbyj@andromeda:/tmp/and/and-1.0.7$ telnet 198.142.1.17 21
Trying 198.142.1.17...
telnet: Unable to connect to remote host: Connection refused

In strace uscan, I see:

connect(4, {sa_family=AF_INET, sin_port=htons(21),
sin_addr=inet_addr("198.142.1.17")}, 16) = -1 EINPROGRESS (Operation now
in progress)

But sometimes (when it works, and I get cannot chdir to /pub/):

	connect(4, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("193.1.219.87")}, 16) = 0

In fact, 193.1.219.87 is in ireland, they request that USA hosts
disconnect, and they do not have a /pub/.

Check this out:

pryzbyj@andromeda:~$ ftp ftp.sf.net
ftp: connect to address 204.157.3.229: Connection refused
Trying 69.9.164.2...
ftp: connect to address 69.9.164.2: Connection refused
Trying 128.101.80.130...
Connected to dl.sourceforge.net.
220 ProFTPD Server (umn.dl.sourceforge.net)
Name (ftp.sf.net:pryzbyj): 

Maybe sf.net is rejecting people by IP (europe only mirrors?)

Maybe uscan should act like ftp:
foreach (gethostbyname)
	{attempt_to_connect}
?

Sorry for my initial misdiagnosis,
Justin

On Wed, Aug 04, 2004 at 05:14:33PM -0400, Justin Pryzby wrote:
> Watchfile has the host separated from the directory:
> 
> version=2
> ftp://ftp.sf.net /pub/sourceforge/a/an/and/ and-(.*)\.tar\.gz	debian	uupdate
> 
> Cheers,
> -- 
> Justin
> aptitude install iraf saods9 eclipse xpa sextractor x11iraf wcstools pyraf
> http://www.justinpryzby.com/debian/
> 
> On Wed, Aug 04, 2004 at 11:06:02PM +0200, J?r?me Warnier wrote:
> > Le mer 28/07/2004 ? 15:31, Bluefuture a ?crit :
> > > Hi,
> > > if you want to fill a watch file or u want to fix your Dehs status[1]
> > > please, for upstream software on sf.net doesn't use
> > > http://prdownloads.sourceforge.net/.
> > > 
> > > For example egroupware:
> > > 
> > > version=2
> > > http://prdownloads.sourceforge.net/egroupware/eGroupWare-(.*).tar.gz
> > > 
> > > But it is better (so it can really download package and also extract upstream changelog):
> > > 
> > > version=2
> > > ftp://ftp.sf.net/pub/sourceforge/e/eg/egroupware/eGroupWare-(.*).tar.gz
> > 
> > I'm sorry to have to tell you that, but that method really doesn't work.
> > I constantly get error messages like the following:
> > jwarnier@glouglou:~/debian/and-1.2.0$ uscan --verbose
> > -- Scanning for watchfiles in .
> > -- Found watchfile in ./debian
> > -- In ./debian/watch, processing watchfile line:
> >    ftp://ftp.sf.net/pub/sourceforge/a/an/and/and-(.*)\.tar\.gz  debian 
> > uupdate
> > uscan warning: In watchfile ./debian/watch, reading FTP directory
> >   ftp://ftp.sf.net/pub/sourceforge/a/an/and/ failed: 500
> > LWP::Protocol::MyFTP: connect: Connection refused
> > -- Scan finished

Attachment: signature.asc
Description: Digital signature


Reply to: