mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms
Date: Mon, 30 Jul 2012 17:54:53 +0200	[thread overview]
Message-ID: <1343663693-12819-3-git-send-email-post@lespocky.de> (raw)
In-Reply-To: <1343663693-12819-1-git-send-email-post@lespocky.de>


Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 rules/ssmtp.make |   27 ++++++++-------------------
 1 files changed, 8 insertions(+), 19 deletions(-)

diff --git a/rules/ssmtp.make b/rules/ssmtp.make
index 50753d0..80c6bb8 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_USR) \
+    --$(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,10 +60,10 @@ $(STATEDIR)/ssmtp.targetinstall:
 	@$(call install_fixup, ssmtp,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
 	@$(call install_fixup, ssmtp,DESCRIPTION,missing)
 
-	@$(call install_copy, ssmtp, 0, 0, 0755, -, /sbin/ssmtp)
+	@$(call install_copy, ssmtp, 0, 0, 0755, -, /usr/sbin/ssmtp)
 
 ifdef PTXCONF_SSMTP_SENDMAIL
-	@$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail)
+	@$(call install_link, ssmtp, /usr/sbin/ssmtp, /usr/sbin/sendmail)
 	@$(call install_link, ssmtp, /usr/sbin/sendmail, /usr/lib/sendmail)
 endif
 
-- 
1.7.2.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2012-07-30 15:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30 15:54 [ptxdist] ssmtp: two new patches Alexander Dahl
2012-07-30 15:54 ` [ptxdist] [PATCH 1/2] ssmtp: install optional symlinks from sendmail to ssmtp Alexander Dahl
2012-09-13 15:59   ` Michael Olbrich
2012-09-24 13:21     ` [ptxdist] [PATCH] " Alexander Dahl
2012-07-30 15:54 ` Alexander Dahl [this message]
2012-09-13 16:00   ` [ptxdist] [PATCH 2/2] ssmtp: update setting build options to current ptxdist mechanisms Michael Olbrich
2012-09-24 13:17     ` Alexander Dahl
2012-09-30 13:01       ` Michael Olbrich
2012-09-30 13:56         ` Alexander Dahl
2012-09-30 15:36           ` Michael Olbrich
2012-10-01  9:03             ` [ptxdist] [PATCH] " Alexander Dahl
2012-10-12  9:58               ` Michael Olbrich
2012-08-27 16:21 ` [ptxdist] ssmtp: two new patches Alexander Dahl
2012-09-12  9:07   ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1343663693-12819-3-git-send-email-post@lespocky.de \
    --to=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox