From patchwork Mon Aug 1 15:11:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jon X-Patchwork-Id: 5798 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4LxM6W6F6dz3x7M for ; Mon, 1 Aug 2022 15:12:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4LxM6V2g1yz148; Mon, 1 Aug 2022 15:12:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4LxM6V17vJz2yXv; Mon, 1 Aug 2022 15:12:02 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4LxM6T2kD6z2xR7 for ; Mon, 1 Aug 2022 15:12:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4LxM6S3BmDzxQ; Mon, 1 Aug 2022 15:12:00 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1659366720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6rmP60l+BV4V3QXn1aacDouCbWWNtxwPDGiQhRZJyPA=; b=KHiJWh6/0NOv4RVrzOxLne/a2ZldA+HpySGbwnz6fDDjVSi12ouUbI/4/8YeEA3X3KW0n7 0hQyB5l00TiEU+BA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1659366720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6rmP60l+BV4V3QXn1aacDouCbWWNtxwPDGiQhRZJyPA=; b=fkByNMgFDejZF7cULM2qSzibSzKdKR+WjyJN0lTuBSntM7fz4EkhOxqKTfKwRqZCf4Ivk4 vPkM933lWXJEdb09XOtnw76nNlQU6GRyGLULZbTo72QVmgptY6DuNk9wVEXpwA7D2tjKce qYVU17zsRsrSi5K3MWvc2Q9TnPSP7kLH3XYQUlU2udW4bFwBZ5jnBFzI8O7L/+zTuClUHN oTIvE9Z51dM0Pdw5duJvflVWKBacml8ad7hPcrYKvTF7wv+VBlvhJoGTriPsloly0saibK nxfD9n0mcgxmJStmrXiXMKE5Rn4iHGryfTsj/OhtzjnAWNKIOmSsYEQGzIIs+w== From: Jon Murphy To: development@lists.ipfire.org Subject: [PATCH v2] tftpd: add missing directory Date: Mon, 1 Aug 2022 10:11:22 -0500 Message-Id: <20220801151122.854266-1-jon.murphy@ipfire.org> In-Reply-To: <20220723161408.3370724-1-jon.murphy@ipfire.org> References: <20220723161408.3370724-1-jon.murphy@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - starting tftpd currently throws "missing directory" error - this change corrects the issue Signed-off-by: Jon Murphy Acked-by: Stefan Schantl Tested-by: Jon Murphy > --- config/rootfiles/packages/tftpd | 1 + lfs/tftpd | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/rootfiles/packages/tftpd b/config/rootfiles/packages/tftpd index 377f8a21e..da19f46a0 100644 --- a/config/rootfiles/packages/tftpd +++ b/config/rootfiles/packages/tftpd @@ -4,3 +4,4 @@ usr/sbin/tftpd #usr/share/man/man1/tftp.1 #usr/share/man/man8/in.tftpd.8 #usr/share/man/man8/tftpd.8 +var/tftpboot diff --git a/lfs/tftpd b/lfs/tftpd index cb3d03415..f441c499c 100644 --- a/lfs/tftpd +++ b/lfs/tftpd @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2021 IPFire Team # +# Copyright (C) 2007-2022 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = tftpd -PAK_VER = 2 +PAK_VER = 3 DEPS = @@ -87,6 +87,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd + mkdir -pv /var/tftpboot #install initscripts $(call INSTALL_INITSCRIPTS,$(SERVICES)) @rm -rf $(DIR_APP)