summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt24
-rw-r--r--noncore/net/mail/libetpanstuff/libetpan-0.33pre2.tar.bz2bin501481 -> 0 bytes
-rw-r--r--noncore/net/mail/libetpanstuff/libetpan-0.33pre3.tar.bz2bin452316 -> 0 bytes
-rw-r--r--noncore/net/mail/libetpanstuff/mailstream_socket.patch36
-rw-r--r--noncore/net/mail/libetpanstuff/smtptls.patch28
5 files changed, 18 insertions, 70 deletions
diff --git a/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt
index 9b84b6d..7e359dd 100644
--- a/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt
+++ b/noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt
@@ -1,18 +1,30 @@
+For GCC 3 based system you should OpenEmbedded for building
+
+
+For gcc 2.95 cross compiler:
Steps for building libetpan for arm-zaurus environment:
-1. export PATH=$PATH:/usr/local/arm/2.95.3/bin
-2. cd into the libetpan sourcedir
-3. run
+
+1. Get the sources from etpan-cvs with command
+
+cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co libetpan
+
+when try to get the 0.33b release
+cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co -r rel-0-33-b libetpan
+
+2. export PATH=$PATH:/usr/local/arm/2.95.3/bin
+3. cd into the libetpan sourcedir
+4. run
./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug
the disable-db is required!!!!
-4. check the output of configure, you MUST find a line
+5. check the output of configure, you MUST find a line
"checking for openssl/ssl.h... yes" and
"checking for SSL_library_init in -lssl... yes"
If not, you don't have SSL installed into your crosscompiling chain. Thats bad.
SSL is strongly needed!
-5. Check the file Rules in top-srcdir. There is a line
+6. Check the file Rules in top-srcdir. There is a line
"CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H"
remove the -g option
@@ -20,7 +32,7 @@ SSL is strongly needed!
For remote debugging this is not required, but the local copy must contain debug
code for that.
-6. make, make install
+7. make, make install
Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib
If you're using other pathes then you should give that of course instead of 2.95.3.
diff --git a/noncore/net/mail/libetpanstuff/libetpan-0.33pre2.tar.bz2 b/noncore/net/mail/libetpanstuff/libetpan-0.33pre2.tar.bz2
deleted file mode 100644
index 77ecc2c..0000000
--- a/noncore/net/mail/libetpanstuff/libetpan-0.33pre2.tar.bz2
+++ b/dev/null
Binary files differ
diff --git a/noncore/net/mail/libetpanstuff/libetpan-0.33pre3.tar.bz2 b/noncore/net/mail/libetpanstuff/libetpan-0.33pre3.tar.bz2
deleted file mode 100644
index f51f573..0000000
--- a/noncore/net/mail/libetpanstuff/libetpan-0.33pre3.tar.bz2
+++ b/dev/null
Binary files differ
diff --git a/noncore/net/mail/libetpanstuff/mailstream_socket.patch b/noncore/net/mail/libetpanstuff/mailstream_socket.patch
deleted file mode 100644
index 10c8fa3..0000000
--- a/noncore/net/mail/libetpanstuff/mailstream_socket.patch
+++ b/dev/null
@@ -1,36 +0,0 @@
-Index: tools/mailstream_socket.c
-===================================================================
-RCS file: /cvsroot/libetpan/libetpan/tools/mailstream_socket.c,v
-retrieving revision 1.13
-diff -u -d -r1.13 mailstream_socket.c
---- tools/mailstream_socket.c 2 Mar 2004 23:54:17 -0000 1.13
-+++ tools/mailstream_socket.c 11 Mar 2004 12:30:02 -0000
-@@ -44,6 +44,7 @@
- */
- #include <sys/time.h>
- #include <sys/types.h>
-+#include <sys/socket.h>
- #include <unistd.h>
- #include <sys/select.h>
-
-@@ -176,8 +177,8 @@
- if (!FD_ISSET(socket_data->fd, &fds_read))
- return 0;
- }
--
-- return read(socket_data->fd, buf, count);
-+
-+ return recv(socket_data->fd,buf,count,MSG_NOSIGNAL);
- }
-
- static ssize_t mailstream_low_socket_write(mailstream_low * s,
-@@ -207,8 +208,7 @@
- if (!FD_ISSET(socket_data->fd, &fds_write))
- return 0;
- }
--
-- return write(socket_data->fd, buf, count);
-+ return send(socket_data->fd,buf,count,MSG_NOSIGNAL);
- }
-
-
diff --git a/noncore/net/mail/libetpanstuff/smtptls.patch b/noncore/net/mail/libetpanstuff/smtptls.patch
deleted file mode 100644
index c317c02..0000000
--- a/noncore/net/mail/libetpanstuff/smtptls.patch
+++ b/dev/null
@@ -1,28 +0,0 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- smtp/mailsmtp_helper.c~smtptls 2004-03-11 14:29:59.000000000 +0100
-+++ smtp/mailsmtp_helper.c 2004-02-12 22:07:24.000000000 +0100
-@@ -42,19 +42,14 @@
- {
- int r;
-
-+ session->esmtp = 0;
- r = mailesmtp_ehlo(session);
-
- if (r == MAILSMTP_NO_ERROR) {
-- session->esmtp = TRUE;
- return MAILSMTP_NO_ERROR;
- }
-
- r = mailsmtp_helo(session);
-- if (r == MAILSMTP_NO_ERROR) {
-- session->esmtp = FALSE;
-- return MAILSMTP_NO_ERROR;
-- }
--
- return r;
- }
-