Date: Sat, 20 Jan 2018 19:38:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225344] fetch(1) awaits EOF (or ftp credentials) even when they are provided in env vars Message-ID: <bug-225344-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225344 Bug ID: 225344 Summary: fetch(1) awaits EOF (or ftp credentials) even when they are provided in env vars Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: guru@unixarea.de fetch(1) hangs (for example on ports 'make install') awaiting the input of = ftp credentials via STDIN: The man page of fetch(3), i.e. the used library for this, explains the usage of some env vars: FTP_LOGIN=3Danonymous export FTP_LOGIN FTP_PASSWORD=3Dguru@sisis.de export FTP_PASSWORD and if you set this and run: $ fetch ftp://ftp.muc.de you will see, that the values of the env vars are used, but only *after* reading and getting EOF on stdin, i.e. if you run: $ fetch ftp://ftp.muc.de < /dev/null it works right away. How this is supposed to work in automated scripts, like 'make install'? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225344-8>