From owner-freebsd-questions Thu May 24 23: 1:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from homer.futureuse.net (CPE-61-9-171-103.vic.bigpond.net.au [61.9.171.103]) by hub.freebsd.org (Postfix) with SMTP id EEC5C37B422 for ; Thu, 24 May 2001 23:01:55 -0700 (PDT) (envelope-from fbsdlist@futureuse.net) Received: (qmail 51012 invoked by uid 65534); 10 May 2001 06:04:54 -0000 Received: from 165.228.130.11 (proxying for 10.140.148.30,203.11.225.12) (SquirrelMail authenticated user fbsdlist) by www.futureuse.net with HTTP; Thu, 10 May 2001 16:04:54 +1000 (EST) Message-ID: <53525.165.228.130.11.989474694.squirrel@www.futureuse.net> Date: Thu, 10 May 2001 16:04:54 +1000 (EST) Subject: Re: How to recompile just tftpd? From: "Aaron Hill" To: wash@wananchi.com In-Reply-To: <20010525083407.E97581@everest.wananchi.com> References: <20010525083407.E97581@everest.wananchi.com> Cc: freebsd-questions@freebsd.org X-Mailer: SquirrelMail (version 1.0.5) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Have you ever built your systems from the sources? Yes, many times. I haven't done too many recompilations of seperate pieces of FreeBSD sources though - like just the tftp daemon. > By default, there is a tftpd in FreeBSD. All I did the other day was to > enable it in 3 steps: Yes, that is the tftpd I'm referring to. > The only thing you have to note is that for you to upload a file to the > tftpd server, the filename MUST first exist! If you wanna load a file > named wash.test, then cd /usr/tftp && touch wash.test && chown > nobody:nogroup wash.test. The reason of my original email is because I've changed the source of tftpd to break that "file must exist first" rule. It's a bit hard (and inconvienient) to make the file from a Cisco router before uploading it. Our tftp server is in a relatively trusted environment and I'm sure this won't cause us any problems. > Hope that helps. Not directly but I appreciate your response anyway. BTW - After a bit more experimenting I couldn't figure out why the make process was generating the error but it seems it's irrelevant anyway. Doing a make then make install does make and install the updated tfpd even though some errors are generated. Thanks Aaron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message