summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/ssmtp/ssmtp-2.61/dont-strip.patch14
-rw-r--r--packages/ssmtp/ssmtp_2.61.bb1
2 files changed, 15 insertions, 0 deletions
diff --git a/packages/ssmtp/ssmtp-2.61/dont-strip.patch b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
new file mode 100644
index 0000000000..5071633ad8
--- /dev/null
+++ b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
@@ -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)
diff --git a/packages/ssmtp/ssmtp_2.61.bb b/packages/ssmtp/ssmtp_2.61.bb
index 0f208da2df..6a4a94a0e3 100644
--- a/packages/ssmtp/ssmtp_2.61.bb
+++ b/packages/ssmtp/ssmtp_2.61.bb
@@ -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"