summaryrefslogtreecommitdiff
authoralwin <alwin>2004-10-24 01:00:34 (UTC)
committer alwin <alwin>2004-10-24 01:00:34 (UTC)
commited6b09bab91bf21d33ebef1ea49fdb049e10453b (patch) (unidiff)
tree9d8477a646fe57cfccb06919de7d535a84b6e86b
parent9755bc969d17fc683791abc5c6fbd50fa3112486 (diff)
downloadopie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.zip
opie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.tar.gz
opie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.tar.bz2
removed obsolet stuff
changed build description for libetpan
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,29 +1,41 @@
1For GCC 3 based system you should OpenEmbedded for building
2
3
4For gcc 2.95 cross compiler:
1Steps for building libetpan for arm-zaurus environment: 5Steps for building libetpan for arm-zaurus environment:
21. export PATH=$PATH:/usr/local/arm/2.95.3/bin 6
32. cd into the libetpan sourcedir 71. Get the sources from etpan-cvs with command
43. run 8
9cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co libetpan
10
11when try to get the 0.33b release
12cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co -r rel-0-33-b libetpan
13
142. export PATH=$PATH:/usr/local/arm/2.95.3/bin
153. cd into the libetpan sourcedir
164. run
5./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug 17./configure --host=arm-linux --prefix=/usr/local/arm/2.95.3/arm-linux --disable-db --disable-debug
6 18
7the disable-db is required!!!! 19the disable-db is required!!!!
84. check the output of configure, you MUST find a line 205. check the output of configure, you MUST find a line
9 "checking for openssl/ssl.h... yes" and 21 "checking for openssl/ssl.h... yes" and
10 "checking for SSL_library_init in -lssl... yes" 22 "checking for SSL_library_init in -lssl... yes"
11 23
12If not, you don't have SSL installed into your crosscompiling chain. Thats bad. 24If not, you don't have SSL installed into your crosscompiling chain. Thats bad.
13SSL is strongly needed! 25SSL is strongly needed!
14 26
155. Check the file Rules in top-srcdir. There is a line 276. Check the file Rules in top-srcdir. There is a line
16 "CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H" 28 "CFLAGS = -O2 -W -Wall -g -DDEBUG -DHAVE_CONFIG_H"
17 29
18 remove the -g option 30 remove the -g option
19 31
20For remote debugging this is not required, but the local copy must contain debug 32For remote debugging this is not required, but the local copy must contain debug
21code for that. 33code for that.
22 34
236. make, make install 357. make, make install
24 Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib 36 Now you should find libetpan in /usr/local/arm/2.95.3/arm-linux/lib
25 37
26If you're using other pathes then you should give that of course instead of 2.95.3. 38If you're using other pathes then you should give that of course instead of 2.95.3.
27 39
28Alwin 40Alwin
29 41
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 @@
1Index: tools/mailstream_socket.c
2===================================================================
3RCS file: /cvsroot/libetpan/libetpan/tools/mailstream_socket.c,v
4retrieving revision 1.13
5diff -u -d -r1.13 mailstream_socket.c
6 --- tools/mailstream_socket.c 2 Mar 2004 23:54:17 -00001.13
7 +++ tools/mailstream_socket.c11 Mar 2004 12:30:02 -0000
8@@ -44,6 +44,7 @@
9 */
10 #include <sys/time.h>
11 #include <sys/types.h>
12+#include <sys/socket.h>
13 #include <unistd.h>
14 #include <sys/select.h>
15
16@@ -176,8 +177,8 @@
17 if (!FD_ISSET(socket_data->fd, &fds_read))
18 return 0;
19 }
20-
21- return read(socket_data->fd, buf, count);
22+
23+ return recv(socket_data->fd,buf,count,MSG_NOSIGNAL);
24 }
25
26 static ssize_t mailstream_low_socket_write(mailstream_low * s,
27@@ -207,8 +208,7 @@
28 if (!FD_ISSET(socket_data->fd, &fds_write))
29 return 0;
30 }
31-
32- return write(socket_data->fd, buf, count);
33+ return send(socket_data->fd,buf,count,MSG_NOSIGNAL);
34 }
35
36
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 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6 --- smtp/mailsmtp_helper.c~smtptls2004-03-11 14:29:59.000000000 +0100
7 +++ smtp/mailsmtp_helper.c2004-02-12 22:07:24.000000000 +0100
8@@ -42,19 +42,14 @@
9 {
10 int r;
11
12+ session->esmtp = 0;
13 r = mailesmtp_ehlo(session);
14
15 if (r == MAILSMTP_NO_ERROR) {
16- session->esmtp = TRUE;
17 return MAILSMTP_NO_ERROR;
18 }
19
20 r = mailsmtp_helo(session);
21- if (r == MAILSMTP_NO_ERROR) {
22- session->esmtp = FALSE;
23- return MAILSMTP_NO_ERROR;
24- }
25-
26 return r;
27 }
28