summaryrefslogtreecommitdiff
path: root/packages/ssmtp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ssmtp')
-rw-r--r--packages/ssmtp/.mtn2git_empty0
-rw-r--r--packages/ssmtp/ssmtp-2.60.9/.mtn2git_empty0
-rw-r--r--packages/ssmtp/ssmtp-2.60.9/configure.patch32
-rw-r--r--packages/ssmtp/ssmtp-2.60.9/ldflags.patch24
-rw-r--r--packages/ssmtp/ssmtp-2.60.9/ssmtp.conf13
-rw-r--r--packages/ssmtp/ssmtp-2.61/.mtn2git_empty0
-rw-r--r--packages/ssmtp/ssmtp-2.61/configure.patch32
-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
10 files changed, 151 insertions, 0 deletions
diff --git a/packages/ssmtp/.mtn2git_empty b/packages/ssmtp/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ssmtp/.mtn2git_empty
diff --git a/packages/ssmtp/ssmtp-2.60.9/.mtn2git_empty b/packages/ssmtp/ssmtp-2.60.9/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ssmtp/ssmtp-2.60.9/.mtn2git_empty
diff --git a/packages/ssmtp/ssmtp-2.60.9/configure.patch b/packages/ssmtp/ssmtp-2.60.9/configure.patch
index e69de29bb2..2feaa8a80c 100644
--- a/packages/ssmtp/ssmtp-2.60.9/configure.patch
+++ b/packages/ssmtp/ssmtp-2.60.9/configure.patch
@@ -0,0 +1,32 @@
+
+#
+# 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.60.9/ldflags.patch b/packages/ssmtp/ssmtp-2.60.9/ldflags.patch
index e69de29bb2..0cbda2c85d 100644
--- a/packages/ssmtp/ssmtp-2.60.9/ldflags.patch
+++ b/packages/ssmtp/ssmtp-2.60.9/ldflags.patch
@@ -0,0 +1,24 @@
+
+#
+# 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.60.9/ssmtp.conf b/packages/ssmtp/ssmtp-2.60.9/ssmtp.conf
index e69de29bb2..201292f8b9 100644
--- a/packages/ssmtp/ssmtp-2.60.9/ssmtp.conf
+++ b/packages/ssmtp/ssmtp-2.60.9/ssmtp.conf
@@ -0,0 +1,13 @@
+#
+# /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/.mtn2git_empty b/packages/ssmtp/ssmtp-2.61/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ssmtp/ssmtp-2.61/.mtn2git_empty
diff --git a/packages/ssmtp/ssmtp-2.61/configure.patch b/packages/ssmtp/ssmtp-2.61/configure.patch
index e69de29bb2..2feaa8a80c 100644
--- a/packages/ssmtp/ssmtp-2.61/configure.patch
+++ b/packages/ssmtp/ssmtp-2.61/configure.patch
@@ -0,0 +1,32 @@
+
+#
+# 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/ldflags.patch b/packages/ssmtp/ssmtp-2.61/ldflags.patch
index e69de29bb2..0cbda2c85d 100644
--- a/packages/ssmtp/ssmtp-2.61/ldflags.patch
+++ b/packages/ssmtp/ssmtp-2.61/ldflags.patch
@@ -0,0 +1,24 @@
+
+#
+# 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
index e69de29bb2..8f2cf84df4 100644
--- a/packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch
+++ b/packages/ssmtp/ssmtp-2.61/libs-lcrypto.patch
@@ -0,0 +1,13 @@
+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
index e69de29bb2..201292f8b9 100644
--- a/packages/ssmtp/ssmtp-2.61/ssmtp.conf
+++ b/packages/ssmtp/ssmtp-2.61/ssmtp.conf
@@ -0,0 +1,13 @@
+#
+# /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