summaryrefslogtreecommitdiff
path: root/packages/ssmtp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ssmtp')
-rw-r--r--packages/ssmtp/ssmtp-2.61/configure.patch32
-rw-r--r--packages/ssmtp/ssmtp-2.61/dont-strip.patch14
-rw-r--r--packages/ssmtp/ssmtp-2.61/ldflags.patch24
-rw-r--r--packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch13
-rw-r--r--packages/ssmtp/ssmtp-2.61/ssmtp.conf13
-rw-r--r--packages/ssmtp/ssmtp_2.61.bb39
6 files changed, 0 insertions, 135 deletions
diff --git a/packages/ssmtp/ssmtp-2.61/configure.patch b/packages/ssmtp/ssmtp-2.61/configure.patch
deleted file mode 100644
index 2feaa8a80c..0000000000
--- a/packages/ssmtp/ssmtp-2.61/configure.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- ssmtp-2.60/./configure.in~configure
-+++ ssmtp-2.60/./configure.in
-@@ -1,5 +1,6 @@
- dnl Process this file with autoconf to produce a configure script.
--AC_INIT(ssmtp.c)
-+AC_INIT
-+AC_CONFIG_SRCDIR([ssmtp.c])
-
- dnl Checks for programs.
- AC_PROG_INSTALL
-@@ -13,8 +14,7 @@
-
-
- AC_CACHE_CHECK([for obsolete openlog],ssmtp_cv_obsolete_openlog,
-- [ AC_TRY_COMPILE([#include <syslog.h> ] , [ openlog("xx",1); ] ,
-- ssmtp_cv_obsolete_openlog=yes, ssmtp_cv_obsolete_openlog=no)]
-+ [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <syslog.h> ]], [[ openlog("xx",1); ]])],[ssmtp_cv_obsolete_openlog=yes],[ssmtp_cv_obsolete_openlog=no])]
- )
-
-
-@@ -70,4 +70,5 @@
- fi
- enableval=""
-
--AC_OUTPUT(Makefile)
-+AC_CONFIG_FILES([Makefile])
-+AC_OUTPUT
diff --git a/packages/ssmtp/ssmtp-2.61/dont-strip.patch b/packages/ssmtp/ssmtp-2.61/dont-strip.patch
deleted file mode 100644
index 5071633ad8..0000000000
--- a/packages/ssmtp/ssmtp-2.61/dont-strip.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-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/ldflags.patch b/packages/ssmtp/ssmtp-2.61/ldflags.patch
deleted file mode 100644
index 0cbda2c85d..0000000000
--- a/packages/ssmtp/ssmtp-2.61/ldflags.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- ssmtp-2.60/Makefile.in~ldflags
-+++ ssmtp-2.60/Makefile.in
-@@ -36,6 +36,7 @@
-
-
- CFLAGS=-Wall @DEFS@ $(EXTRADEFS) @CFLAGS@
-+LDFLAGS=@LDFLAGS@
-
- .PHONY: all
- all: ssmtp
-@@ -78,7 +79,7 @@
-
- # Binaries:
- ssmtp: $(OBJS)
-- $(CC) -o ssmtp $(OBJS) @LIBS@
-+ $(CC) -o ssmtp $(OBJS) $(LDFLAGS) @LIBS@
-
- .PHONY: clean
- clean:
diff --git a/packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch b/packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch
deleted file mode 100644
index 8f2cf84df4..0000000000
--- a/packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: ssmtp-2.61/configure.in
-===================================================================
---- ssmtp-2.61.orig/configure.in 2005-03-31 18:53:48.046049000 +1000
-+++ ssmtp-2.61/configure.in 2005-03-31 19:10:49.919318000 +1000
-@@ -52,7 +52,7 @@
- [ --enable-ssl support for secure connection to mail server])
- if test x$enableval = xyes ; then
- AC_DEFINE(HAVE_SSL)
-- LIBS="$LIBS -lssl"
-+ LIBS="$LIBS -lssl -lcrypto"
- fi
- enableval=""
-
diff --git a/packages/ssmtp/ssmtp-2.61/ssmtp.conf b/packages/ssmtp/ssmtp-2.61/ssmtp.conf
deleted file mode 100644
index 201292f8b9..0000000000
--- a/packages/ssmtp/ssmtp-2.61/ssmtp.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
-#
-# The person who gets all mail for userids < 1000
-root=postmaster
-# The place where the mail goes. The actual machine name is required
-# no MX records are consulted. Commonly mailhosts are named mail.domain.com
-# The example will fit if you are in domain.com and you mailhub is so named.
-mailhub=mail
-# Where will the mail seem to come from?
-#rewriteDomain=localhost.localdomain
-# The full hostname
-hostname=localhost.localdomain
diff --git a/packages/ssmtp/ssmtp_2.61.bb b/packages/ssmtp/ssmtp_2.61.bb
deleted file mode 100644
index c8461ab29c..0000000000
--- a/packages/ssmtp/ssmtp_2.61.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-SECTION = "console/network"
-DEPENDS = "openssl"
-DESCRIPTION = "Extremely simple MTA to get mail off the system to a mail hub."
-LICENSE = "GPL"
-PR = "r6"
-
-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}-${PV}"
-
-inherit autotools
-
-CONFFILES_${PN} = "${sysconfdir}/ssmtp/ssmtp.conf ${sysconfdir}/ssmtp/revaliases"
-EXTRA_OECONF = "--enable-ssl"
-INHIBIT_AUTO_STAGE = "1"
-
-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 ${WORKDIR}/ssmtp.conf ${D}${sysconfdir}/ssmtp/ssmtp.conf
-}
-
-pkg_postinst () {
- update-alternatives --install ${sbindir}/sendmail sendmail ${bindir}/ssmtp 30
-}
-
-pkg_postrm () {
- update-alternatives --remove ${sbindir}/sendmail sendmail
-}