From owner-freebsd-questions@freebsd.org Thu Apr 8 05:52:27 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 47B6E5D0366 for ; Thu, 8 Apr 2021 05:52:27 +0000 (UTC) (envelope-from greylina@menusis.com) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FG9QL3hT6z3vLV for ; Thu, 8 Apr 2021 05:52:26 +0000 (UTC) (envelope-from greylina@menusis.com) Received: by mail-ej1-x62e.google.com with SMTP id e14so916003ejz.11 for ; Wed, 07 Apr 2021 22:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=menusis.com; s=google-menusis; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=G833KC5rukwDtVoUaWIM24f9jMcoJQJ9uHUt7za+Og0=; b=Asprfx6CYYMg+NoYudXG9vo9d6lfERIZA3YQGWgtCwtGKuu4gkfJtTlGO5rKnkyL1X iJUn0TtjxsIt70XbMub4xNuBOUcT8JE9m4j3FPUZ0Ib8rNE+J3NPkejSO33eaxSjFJEy FkhUS3y2tuZ4fuEP+xHostBLgG1b6aYLdewNlionCHW9TY2J/LMOSMZTeOUJY//WtDRO 7pT7WD/7q05HY84hMS6bKEQZZGoWv5NyaFlttZNm+bjMchq89KMnJ2471SIK4pTf4MwB d+E4elpHNr6esgZFOxtpImN/x9vToL71evy1X3lO4hUF1Jo+n3x0TR+r9/aLlKkEQtio tY/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=G833KC5rukwDtVoUaWIM24f9jMcoJQJ9uHUt7za+Og0=; b=XHCF1kAqC8DMNLioTa4VDZaYAxrdzx2HJkiOCqUG/ue6OCStIBiBqSVrSAE2WP+5+x q+nYmSrPeA8OctxNjRRiXG9peK8yDb0sKCHe2e97rZU1xyFy4lSO8ctUL4WnOV3ZTroN Vh7zq6QSvn3rpZWZhxoJy2Dd1OU9LxlTD20RWxPPyYJDWu8Fs7iRU0exw5TmGJg23Bc8 3QTpV1FZM+zV23q/7c6nTOOsoH+UJWmSKExALm7qWfR2s7jriPgNhI0eBaLAHrKifjqf G74r+HCsFu2mOa+YpdEmfVfSiMqImHXedEUKur2afXry1ULnlYL9Y5Gz8kNydY8273L2 pPCg== X-Gm-Message-State: AOAM530QSwRCW2i81iLuV2e42ezt/l4EnXcp2HDygLNnXkQST2fYdydM vlz/3pIqzQzRW8hNmK6CeAQEJJNKdgiy121kjio= X-Google-Smtp-Source: ABdhPJxpIOBuGCnopn5++81qydhq7/2YtbrvxTAZfJsuvmM6gnkWmAW/2F+7syuFguo26C0mUZYhJA== X-Received: by 2002:a17:906:71c4:: with SMTP id i4mr8185740ejk.134.1617861144689; Wed, 07 Apr 2021 22:52:24 -0700 (PDT) Received: from hasie.menusis.com (8ta-151-3-72.telkomadsl.co.za. [41.151.3.72]) by smtp.gmail.com with ESMTPSA id s20sm16938891edu.93.2021.04.07.22.52.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Apr 2021 22:52:24 -0700 (PDT) Received: from hasie.menusis.com (hasie.menusis.com [127.0.0.1]) by hasie.menusis.com (Postfix) with SMTP id 7C622274458 for ; Thu, 8 Apr 2021 07:52:16 +0200 (SAST) Date: Thu, 8 Apr 2021 07:52:16 +0200 From: Arnold Greyling To: freebsd-questions@freebsd.org Subject: Re: Defining and option in a port Message-ID: <20210408055216.fomgo2v63nmyc3nc@hasie.menusis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4FG9QL3hT6z3vLV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=menusis.com header.s=google-menusis header.b=Asprfx6C; dmarc=none; spf=pass (mx1.freebsd.org: domain of greylina@menusis.com designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=greylina@menusis.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[menusis.com:s=google-menusis]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62e:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62e:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[menusis.com]; DKIM_TRACE(0.00)[menusis.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62e:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[41.151.3.72:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 05:52:27 -0000 On Thu, Apr 08, 2021 at 11:53:26AM +0700, Olivier wrote: > Hi, > > I need to build a port (amanda-client) with an option that is not > available in make config and is not provided as a default variable to > pass to make all. > > How can I do that? > > More precicely, in Amanda, ./configure --help list the option > --with-security-file, how can I define that whn building the port? > > While I can probably interrupt the building process after make > configure, execute a ./configure by hand and then resume the making, > I am looking for a cleaner way to do it. > You can edit the Makefile but then you have to remember to do it every time there is an Update to the port In Amanda's case --with-security-file is already in the CONFIGURE_ARGS i.e CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ --without-amlibexecdir \ --with-amandahosts --with-fqdn \ --with-dump-honor-nodump \ --prefix=${PREFIX} \ --disable-glibtest \ --with-user=${USERS} --with-group=${AMANDA_GROUP} \ --with-bsdtcp-security --with-bsdudp-security \ --with-ssh-security \ --disable-installperms --with-security-file=${ETCDIR}/amanda-security.conf I don't know Amanda but I suppose you can change the security file location in a config file later on. Regards Arnold -- Arnold Greyling https://arnoldgreyling.solutions