ssmtp 2.61: Dont use -s to install so it doesn't attemp to use the host
authorJamie Lenehan <lenehan@twibble.org>
Thu, 6 Jul 2006 14:55:19 +0000 (14:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 6 Jul 2006 14:55:19 +0000 (14:55 +0000)
strip during do_install. OE will take care of running the target strip
during packaging.

packages/ssmtp/ssmtp-2.61/dont-strip.patch [new file with mode: 0644]
packages/ssmtp/ssmtp_2.61.bb

diff --git a/packages/ssmtp/ssmtp-2.61/dont-strip.patch b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
new file mode 100644 (file)
index 0000000..5071633
--- /dev/null
@@ -0,0 +1,14 @@
+Don't try and strip ssmtp during install as this tries to run the native
+strip rather than strip for the target platform.
+
+--- ssmtp-2.61/Makefile.in     2006/07/04 04:43:06     1.1
++++ ssmtp-2.61/Makefile.in     2006/07/04 04:43:17
+@@ -48,7 +48,7 @@
+ .PHONY: install
+ install: ssmtp $(GEN_CONFIG)
+       $(INSTALL) -d -m 755 $(bindir)
+-      $(INSTALL) -s -m 755 ssmtp $(bindir)/ssmtp
++      $(INSTALL) -m 755 ssmtp $(bindir)/ssmtp
+       $(INSTALL) -d -m 755 $(mandir)
+       $(INSTALL) -m 644 $(srcdir)/ssmtp.8 $(mandir)/ssmtp.8
+       $(INSTALL) -d -m 755 $(SSMTPCONFDIR)
index 0f208da..6a4a94a 100644 (file)
@@ -9,6 +9,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_${PV}.orig.tar.gz \
            file://ldflags.patch;patch=1 \
            file://configure.patch;patch=1 \
            file://libs-lcrypto.patch;patch=1 \
+           file://dont-strip.patch;patch=1 \
            file://ssmtp.conf"
 S = "${WORKDIR}/${PN}-2.61"
 LICENSE = "GPL"