summaryrefslogtreecommitdiff
path: root/packages/libesmtp
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/libesmtp
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/libesmtp')
-rw-r--r--packages/libesmtp/.mtn2git_empty0
-rw-r--r--packages/libesmtp/libesmtp-1.0.1/.mtn2git_empty0
-rw-r--r--packages/libesmtp/libesmtp-1.0.1/configure.patch45
-rw-r--r--packages/libesmtp/libesmtp_1.0.3r1.bb22
4 files changed, 67 insertions, 0 deletions
diff --git a/packages/libesmtp/.mtn2git_empty b/packages/libesmtp/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libesmtp/.mtn2git_empty
diff --git a/packages/libesmtp/libesmtp-1.0.1/.mtn2git_empty b/packages/libesmtp/libesmtp-1.0.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/libesmtp/libesmtp-1.0.1/.mtn2git_empty
diff --git a/packages/libesmtp/libesmtp-1.0.1/configure.patch b/packages/libesmtp/libesmtp-1.0.1/configure.patch
index e69de29bb2..5058db4b99 100644
--- a/packages/libesmtp/libesmtp-1.0.1/configure.patch
+++ b/packages/libesmtp/libesmtp-1.0.1/configure.patch
@@ -0,0 +1,45 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- libesmtp-1.0.1/configure.in~configure 2003-09-11 17:23:26.000000000 -0400
++++ libesmtp-1.0.1/configure.in 2004-01-20 11:59:35.000000000 -0500
+@@ -231,7 +231,7 @@
+ if test x$enable_emulate_getaddrinfo != xyes ; then
+ AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
+ fi
+- LIBOBJS="$LIBOBJS getaddrinfo.o"
++ AC_LIBOBJ([getaddrinfo])
+ fi
+
+ if test x"$enable_emulate_getaddrinfo" != xno ; then
+@@ -259,7 +259,7 @@
+ AC_SEARCH_LIBS(gethostbyname, resolv bind nsl, ,
+ [AC_MSG_ERROR([cannot find gethostbyname])])
+ fi
+- LIBOBJS="$LIBOBJS gethostbyname.o"
++ AC_LIBOBJ([gethostbyname])
+
+ AC_CACHE_CHECK([for IPv6 support], acx_cv_sys_use_ipv6, [
+ AC_TRY_COMPILE([
+@@ -572,7 +572,7 @@
+ dnl #########################################################################
+ dnl Check that snprintf works correctly.
+ dnl #########################################################################
+-ACX_SNPRINTF(,[LIBOBJS="$LIBOBJS snprintf.o"])
++ACX_SNPRINTF(,[AC_LIBOBJ([snprintf])])
+
+ dnl #########################################################################
+ dnl Make substitutions
+@@ -588,8 +588,8 @@
+ AC_SUBST(RANLIB)
+ AC_SUBST(subdirs)
+
+-LTLIBOBJS=`echo "$LIBOBJS" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
+-AC_SUBST(LTLIBOBJS)
++#LTLIBOBJS=`echo "$LIBOBJS" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
++#AC_SUBST(LTLIBOBJS)
+ LTALLOCA=`echo "$ALLOCA" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
+ AC_SUBST(LTALLOCA)
+
diff --git a/packages/libesmtp/libesmtp_1.0.3r1.bb b/packages/libesmtp/libesmtp_1.0.3r1.bb
index e69de29bb2..abd76e1561 100644
--- a/packages/libesmtp/libesmtp_1.0.3r1.bb
+++ b/packages/libesmtp/libesmtp_1.0.3r1.bb
@@ -0,0 +1,22 @@
+LICENSE = GPL
+SECTION = "libs"
+DEPENDS = "openssl"
+DESCRIPTION = "LibESMTP is a library to manage posting \
+(or submission of) electronic mail using SMTP to a \
+preconfigured Mail Transport Agent (MTA) such as Exim."
+FILES_libesmtp_append = " ${libdir}/esmtp-plugins"
+
+SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-isoc --with-openssl=${STAGING_LIBDIR}/.."
+
+do_stage () {
+ oe_libinstall -a -so libesmtp ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}
+ install -m 644 auth-client.h ${STAGING_INCDIR}
+ install -m 644 auth-plugin.h ${STAGING_INCDIR}
+ install -m 644 libesmtp.h ${STAGING_INCDIR}
+}