From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2340 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: inetutils issues Date: Sun, 25 Nov 2012 21:54:48 -0500 Message-ID: <20121126025448.GG20323@brightrain.aerifal.cx> References: <20121125224622.2bc569e7@rafaela> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1353898499 7801 80.91.229.3 (26 Nov 2012 02:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 02:54:59 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2341-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 26 03:55:12 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Tcoql-0006DP-7m for gllmg-musl@plane.gmane.org; Mon, 26 Nov 2012 03:55:11 +0100 Original-Received: (qmail 17418 invoked by uid 550); 26 Nov 2012 02:55:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17410 invoked from network); 26 Nov 2012 02:54:59 -0000 Content-Disposition: inline In-Reply-To: <20121125224622.2bc569e7@rafaela> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2340 Archived-At: On Sun, Nov 25, 2012 at 10:46:22PM -0300, Matias A. Fonzo wrote: > Hi there, > > GNU inetutils (the replacement of the BSD net-utils) needs two > missing legacy headers in order to have the following commands working: > tftp, ftp, and probably others. > > arpa/tftp.h > arpa/ftp.h I don't have any fundamental objection to adding these. > Also the compilation fails with the file "utmp_login.c", who is trying > to look for some aliases on include/utmp.h - more specifically, these > aliases present on the include/utmp.h from Glibc, says: > > /* Compatibility names for the strings of the canonical file names. */ > #define UTMP_FILE _PATH_UTMP > #define UTMP_FILENAME _PATH_UTMP > #define WTMP_FILE _PATH_WTMP > #define WTMP_FILENAME _PATH_WTMP > > I've added the lines in the utmp.h provided by Musl just after the line > 39, and the compilation has been passed. I want to know if this is > correct and if this can be solved in the upstream side. Yes and no. The idea of omitting it is to signal to applications that utmp and wtmp are not used/supported, but I doubt any apps pay attention to this, so it might be better to just define the macros to point to standard or dummy pathnames.... Anyone else have input on this? Rich