From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TCBpE-0002AY-9n for ptxdist@pengutronix.de; Thu, 13 Sep 2012 17:59:32 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TCBpE-0000ii-9h for ptxdist@pengutronix.de; Thu, 13 Sep 2012 17:59:32 +0200 Date: Thu, 13 Sep 2012 17:59:32 +0200 From: Michael Olbrich Message-ID: <20120913155932.GC2365@pengutronix.de> References: <1343663693-12819-1-git-send-email-post@lespocky.de> <1343663693-12819-2-git-send-email-post@lespocky.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1343663693-12819-2-git-send-email-post@lespocky.de> Subject: Re: [ptxdist] [PATCH 1/2] ssmtp: install optional symlinks from sendmail to ssmtp Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Mon, Jul 30, 2012 at 05:54:52PM +0200, Alexander Dahl wrote: > > Signed-off-by: Alexander Dahl > --- > rules/ssmtp.in | 6 ++++++ > rules/ssmtp.make | 5 +++++ > 2 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/rules/ssmtp.in b/rules/ssmtp.in > index 302dccc..5813eed 100644 > --- a/rules/ssmtp.in > +++ b/rules/ssmtp.in > @@ -35,4 +35,10 @@ config SSMTP_MD5AUTH > help > Support for MD5 authentication. > > +config SSMTP_SENDMAIL > + bool > + prompt "sendmail link" > + help > + Install 'sendmail' as a symlink to ssmtp. This needs the usual check for BUSYBOX_SENDMAIL Take a look at rules/coreutils.in if you don't know how to do this. Michael > + > endif > diff --git a/rules/ssmtp.make b/rules/ssmtp.make > index 36368b2..50753d0 100644 > --- a/rules/ssmtp.make > +++ b/rules/ssmtp.make > @@ -73,6 +73,11 @@ $(STATEDIR)/ssmtp.targetinstall: > > @$(call install_copy, ssmtp, 0, 0, 0755, -, /sbin/ssmtp) > > +ifdef PTXCONF_SSMTP_SENDMAIL > + @$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) > + @$(call install_link, ssmtp, /usr/sbin/sendmail, /usr/lib/sendmail) > +endif > + > @$(call install_finish, ssmtp) > > @$(call touch) > -- > 1.7.2.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de