+++ /dev/null
-
-#
-# 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)
-
+++ /dev/null
-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 \
- file://configure.patch;patch=1"
-LICENSE = "LGPL GPL"
-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}
-}
-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"
+preconfigured Mail Transport Agent (MTA) such as Exim or PostFix."
+LICENSE = "GPL"
+SECTION = "libs/network"
+DEPENDS = "openssl"
SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2"
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}
+do_stage() {
+ autotools_stage_all
}
+
+FILES_libesmtp_append = " ${libdir}/esmtp-plugins"