Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 10:12:24 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        Julian Mayer <julianmayer@mac.com>
Cc:        knu@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: FreeBSD Port: portupgrade-20021216
Message-ID:  <20030123081224.GA471@straylight.oblivion.bg>
In-Reply-To: <F123A396-2E66-11D7-9D30-00039303B9CC@mac.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Thu, Jan 23, 2003 at 01:09:29AM +0100, Julian Mayer wrote:
> hello
> there is a bug in portupgrade-20021216: when you change the FTP port in 
> /etc/services to run the FTP demon on another port, portupgrade is 
> unable to download ports/packages via ftp
> is there a workaround?

Errr.. this is not a bug in portupgrade, but the way most (all?) FTP
clients work.  If you change the port for the 'ftp' service, *any*
program that asks about the 'ftp' service will use the new port,
including all FTP clients that try to make outgoing connections.

The appropriate way to "fix" that problem is to NOT change the port for
the 'ftp' service, but merely specify a different port on which to run
the FTP server.  Which FTP server are you using?  How do you run it -
from inetd (you can specify a numeric port in inetd.conf), from
tcpserver or another inetd replacement (you can specify a numeric port
there, too), or in some kind of a standalone mode (you should be able to
specify a port number in the config file then)?

G'luck,
Peter

-- 
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If wishes were fishes, the antecedent of this conditional would be true.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+L6Pn7Ri2jRYZRVMRAggoAKDCiEZ+/6K8oIDJyz6XEKUanvPdSQCgnnV0
nvIyoK49/+AzRmp7wUg6FfE=
=ZfiB
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030123081224.GA471>