summaryrefslogtreecommitdiff
path: root/ssmtp
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
committerChris Larson <clarson@kergoth.com>2003-10-17 00:04:36 +0000
commit88ca5e7b8d117bdceef3516d15a5e5b0b4b75eaf (patch)
tree9e685fd22294440eb759c1e734c682a1ab8225ac /ssmtp
parent89f514b9d243fe551466eae22a72e482a2c99541 (diff)
First pass at patches to update various packages to recent autotools (first pass is 'autoupdate' only).
BKrev: 3f8f3214lGQ4WxIZ_n6VvkJ1pfUjcQ
Diffstat (limited to 'ssmtp')
-rw-r--r--ssmtp/ssmtp-2.60.4/configure.patch0
-rw-r--r--ssmtp/ssmtp_2.60.4.oe22
2 files changed, 22 insertions, 0 deletions
diff --git a/ssmtp/ssmtp-2.60.4/configure.patch b/ssmtp/ssmtp-2.60.4/configure.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ssmtp/ssmtp-2.60.4/configure.patch
diff --git a/ssmtp/ssmtp_2.60.4.oe b/ssmtp/ssmtp_2.60.4.oe
index e69de29bb2..c173629dff 100644
--- a/ssmtp/ssmtp_2.60.4.oe
+++ b/ssmtp/ssmtp_2.60.4.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc openssl
+RDEPENDS = libc6 libssl
+
+SRC_URI := ${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_2.60.4.tar.gz \
+ file://${FILESDIR}/ldflags.patch;patch=1 \
+ file://${FILESDIR}/configure.patch;patch=1
+S := ${WORKDIR}/${PN}-2.60
+
+inherit autotools
+
+EXTRA_OECONF = --enable-ssl
+do_compile () {
+ oe_runmake 'LDFLAGS=${LDFLAGS}'
+}
+
+do_install () {
+ oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \
+ 'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}' \
+ 'etcdir=${D}/${sysconfdir}' GEN_CONFIG="`which echo`" install
+ install -d ${D}/${sysconfdir}/ssmtp
+ install -m 0644 ${FILESDIR}/ssmtp.conf ${D}/${sysconfdir}/ssmtp/ssmtp.conf
+}