From patchwork Sat Jul 23 16:14:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jon X-Patchwork-Id: 5759 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 4Lqrwg0X6tz3wvM for ; Sat, 23 Jul 2022 16:14:27 +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 4Lqrwc4VD8zhH; Sat, 23 Jul 2022 16:14:24 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Lqrwc2BJgz2xQn; Sat, 23 Jul 2022 16:14:24 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4LqrwZ5rk7z2xK6 for ; Sat, 23 Jul 2022 16:14:22 +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 4LqrwY21dYzhH; Sat, 23 Jul 2022 16:14:21 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1658592861; 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; bh=/vaG8hU95fdv0QQ2xhiSyrfnX+z4MNzHRITDHFgrNVQ=; b=zuIDZB9PCGkT7t7Ht1r8jbDDrNVqBjdmNWjDxDl6sDl36FvqLDct4o2zmDyBeNhF4p6Vrc 6FOEjp7NSHCxQjCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1658592861; 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; bh=/vaG8hU95fdv0QQ2xhiSyrfnX+z4MNzHRITDHFgrNVQ=; b=FLa6WPm822iBqV1UNnpBJqpUlrsT33vgBCHOPTztAclaYnx8NPQdFKxRJE3cHMaezIVT8m OQeOJ9MVDutLpU7UEbruEpCyx/fKdDH03EWQPdL8Z7TlD0+liEiIg4X6uGS6V6Y1LozWoJ +PeDelKpPx3J4u9kD0iqFBAdpabMfJFmHGzf5tC6Q9g4G+SO73dlSvI0ZjfF9b6puCxyKU 50be8NqzczcpLtg1wwZBq+nxkLZrfl2m2si07UZPDY0zbzC87vU1lqAYGtIGimL91TWAPh QWggdHpiS1ykZmUVIFp3oI+kIjEiTo8pWu8WQbgdzOCM7JGX6x3gxAs9L9870w== From: Jon Murphy To: development@lists.ipfire.org Subject: [PATCH] tftpd: add missing directory Date: Sat, 23 Jul 2022 11:14:08 -0500 Message-Id: <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 --- lfs/tftpd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)