diff options
-rw-r--r-- | meta-networking/recipes-support/libesmtp/libesmtp/include-topdir.patch | 48 | ||||
-rw-r--r-- | meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb | 36 |
2 files changed, 84 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/libesmtp/libesmtp/include-topdir.patch b/meta-networking/recipes-support/libesmtp/libesmtp/include-topdir.patch new file mode 100644 index 0000000000..90c4ce75e1 --- /dev/null +++ b/meta-networking/recipes-support/libesmtp/libesmtp/include-topdir.patch | |||
@@ -0,0 +1,48 @@ | |||
1 | diff -Nurp libesmtp-1.0.6.org/crammd5/Makefile.am libesmtp-1.0.6/crammd5/Makefile.am | ||
2 | --- libesmtp-1.0.6.org/crammd5/Makefile.am 2010-08-08 23:45:57.000000000 +0800 | ||
3 | +++ libesmtp-1.0.6/crammd5/Makefile.am 2014-11-17 11:17:21.663624295 +0800 | ||
4 | @@ -2,7 +2,7 @@ | ||
5 | |||
6 | libdir = @plugindir@ | ||
7 | |||
8 | -INCLUDES = -I@srcdir@ | ||
9 | +INCLUDES = -I@srcdir@ -I@srcdir@/../ | ||
10 | AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ | ||
11 | |||
12 | lib_LTLIBRARIES = sasl-cram-md5.la | ||
13 | diff -Nurp libesmtp-1.0.6.org/login/Makefile.am libesmtp-1.0.6/login/Makefile.am | ||
14 | --- libesmtp-1.0.6.org/login/Makefile.am 2010-08-08 23:45:56.000000000 +0800 | ||
15 | +++ libesmtp-1.0.6/login/Makefile.am 2014-11-17 11:17:54.339623018 +0800 | ||
16 | @@ -2,7 +2,7 @@ | ||
17 | |||
18 | libdir = @plugindir@ | ||
19 | |||
20 | -INCLUDES = -I@srcdir@ | ||
21 | +INCLUDES = -I@srcdir@ -I@srcdir@/../ | ||
22 | |||
23 | lib_LTLIBRARIES = sasl-login.la | ||
24 | AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ | ||
25 | diff -Nurp libesmtp-1.0.6.org/ntlm/Makefile.am libesmtp-1.0.6/ntlm/Makefile.am | ||
26 | --- libesmtp-1.0.6.org/ntlm/Makefile.am 2010-08-08 23:45:56.000000000 +0800 | ||
27 | +++ libesmtp-1.0.6/ntlm/Makefile.am 2014-11-17 11:18:10.551622385 +0800 | ||
28 | @@ -2,7 +2,7 @@ | ||
29 | |||
30 | libdir = @plugindir@ | ||
31 | |||
32 | -INCLUDES = -I@srcdir@ | ||
33 | +INCLUDES = -I@srcdir@ -I@srcdir@/../ | ||
34 | AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ | ||
35 | |||
36 | lib_LTLIBRARIES = sasl-ntlm.la | ||
37 | diff -Nurp libesmtp-1.0.6.org/plain/Makefile.am libesmtp-1.0.6/plain/Makefile.am | ||
38 | --- libesmtp-1.0.6.org/plain/Makefile.am 2010-08-08 23:45:54.000000000 +0800 | ||
39 | +++ libesmtp-1.0.6/plain/Makefile.am 2014-11-17 11:18:33.355621494 +0800 | ||
40 | @@ -2,7 +2,7 @@ | ||
41 | |||
42 | libdir = @plugindir@ | ||
43 | |||
44 | -INCLUDES = -I@srcdir@ | ||
45 | +INCLUDES = -I@srcdir@ -I@srcdir@/../ | ||
46 | AM_CFLAGS = @CFLAGS@ @EXTRA_CFLAGS@ | ||
47 | |||
48 | lib_LTLIBRARIES = sasl-plain.la | ||
diff --git a/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb b/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb new file mode 100644 index 0000000000..8b2b99f1fc --- /dev/null +++ b/meta-networking/recipes-support/libesmtp/libesmtp_1.0.6.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "SMTP client library" | ||
2 | DESCRIPTION = "LibESMTP is a library to manage posting \ | ||
3 | (or submission of) electronic mail using SMTP to a \ | ||
4 | preconfigured Mail Transport Agent (MTA) such as Exim or PostFix." | ||
5 | HOMEPAGE = "http://www.stafford.uklinux.net/libesmtp/" | ||
6 | LICENSE = "LGPLv2+" | ||
7 | SECTION = "libs/network" | ||
8 | |||
9 | DEPENDS = "openssl" | ||
10 | |||
11 | SRC_URI = "http://www.stafford.uklinux.net/libesmtp/libesmtp-${PV}.tar.bz2 \ | ||
12 | file://include-topdir.patch" | ||
13 | SRC_URI[md5sum] = "bf3915e627fd8f35524a8fdfeed979c8" | ||
14 | SRC_URI[sha256sum] = "d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b" | ||
15 | |||
16 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
17 | file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" | ||
18 | |||
19 | inherit autotools binconfig | ||
20 | |||
21 | EXTRA_OECONF = " \ | ||
22 | --with-auth-plugin-dir=${libdir}/esmtp-plugins \ | ||
23 | --enable-pthreads \ | ||
24 | --enable-debug \ | ||
25 | --enable-etrn \ | ||
26 | --disable-isoc \ | ||
27 | --disable-more-warnings \ | ||
28 | --disable-static \ | ||
29 | " | ||
30 | |||
31 | FILES_${PN} = "${libdir}/lib*${SOLIBS} \ | ||
32 | ${libdir}/esmtp-plugins/*${SOLIBSDEV}" | ||
33 | |||
34 | FILES_${PN}-dev += "${libdir}/esmtp-plugins/*.la" | ||
35 | FILES_${PN}-static += "${libdir}/esmtp-plugins/*.a" | ||
36 | FILES_${PN}-dbg += "${libdir}/esmtp-plugins/.debug/" | ||