From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.187]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TIbun-0000Hr-Nc for ptxdist@pengutronix.de; Mon, 01 Oct 2012 11:03:50 +0200 From: Alexander Dahl Date: Mon, 1 Oct 2012 11:03:13 +0200 Message-Id: <1349082193-6366-1-git-send-email-post@lespocky.de> In-Reply-To: <20120930153620.GD19651@pengutronix.de> References: <20120930153620.GD19651@pengutronix.de> Subject: [ptxdist] [PATCH] ssmtp: update setting build options to current ptxdist mechanisms Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Alexander Dahl --- rules/ssmtp.make | 25 +++++++------------------ 1 files changed, 7 insertions(+), 18 deletions(-) diff --git a/rules/ssmtp.make b/rules/ssmtp.make index 50753d0..f78ed0e 100644 --- a/rules/ssmtp.make +++ b/rules/ssmtp.make @@ -37,23 +37,12 @@ SSMTP_CONF_ENV := $(CROSS_ENV) # # autoconf # -SSMTP_AUTOCONF := $(CROSS_AUTOCONF_ROOT) - -ifndef PTXCONF_SSMTP_REWRITE_DOMAIN -SSMTP_AUTOCONF += --disable-rewrite-domain -endif - -ifdef PTXCONF_SSMTP_SSL -SSMTP_AUTOCONF += --enable-ssl -endif - -ifdef PTXCONF_SSMTP_INET6 -SSMTP_AUTOCONF += --enable-inet6 -endif - -ifdef PTXCONF_SSMTP_MD5AUTH -SSMTP_AUTOCONF += --enable-md5auth -endif +SSMTP_CONF_TOOL := autoconf +SSMTP_CONF_OPT := $(CROSS_AUTOCONF_ROOT) \ + --$(call ptx/endis, PTXCONF_SSMTP_REWRITE_DOMAIN)-rewrite-domain \ + --$(call ptx/endis, PTXCONF_SSMTP_SSL)-ssl \ + --$(call ptx/endis, PTXCONF_SSMTP_INET6)-inet6 \ + --$(call ptx/endis, PTXCONF_SSMTP_MD5AUTH)-md5auth SSMTP_MAKE_ENV := $(CROSS_ENV) SSMTP_MAKE_PAR := NO @@ -71,7 +60,7 @@ $(STATEDIR)/ssmtp.targetinstall: @$(call install_fixup, ssmtp,AUTHOR,"Robert Schwebel ") @$(call install_fixup, ssmtp,DESCRIPTION,missing) - @$(call install_copy, ssmtp, 0, 0, 0755, -, /sbin/ssmtp) + @$(call install_copy, ssmtp, root, root, 0755, -, /sbin/ssmtp) ifdef PTXCONF_SSMTP_SENDMAIL @$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) -- 1.7.2.5 -- ptxdist mailing list ptxdist@pengutronix.de