author | alwin <alwin> | 2004-10-24 01:00:34 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-10-24 01:00:34 (UTC) |
commit | ed6b09bab91bf21d33ebef1ea49fdb049e10453b (patch) (unidiff) | |
tree | 9d8477a646fe57cfccb06919de7d535a84b6e86b | |
parent | 9755bc969d17fc683791abc5c6fbd50fa3112486 (diff) | |
download | opie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.zip opie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.tar.gz opie-ed6b09bab91bf21d33ebef1ea49fdb049e10453b.tar.bz2 |
removed obsolet stuff
changed build description for libetpan
-rw-r--r-- | noncore/net/mail/libetpanstuff/Build-libetpan-cross.txt | 24 | ||||
-rw-r--r-- | noncore/net/mail/libetpanstuff/libetpan-0.33pre2.tar.bz2 | bin | 501481 -> 0 bytes | |||
-rw-r--r-- | noncore/net/mail/libetpanstuff/libetpan-0.33pre3.tar.bz2 | bin | 452316 -> 0 bytes | |||
-rw-r--r-- | noncore/net/mail/libetpanstuff/mailstream_socket.patch | 36 | ||||
-rw-r--r-- | noncore/net/mail/libetpanstuff/smtptls.patch | 28 |
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 @@ | |||
1 | For GCC 3 based system you should OpenEmbedded for building | ||
2 | |||
3 | |||
4 | For gcc 2.95 cross compiler: | ||
1 | Steps for building libetpan for arm-zaurus environment: | 5 | Steps for building libetpan for arm-zaurus environment: |
2 | 1. export PATH=$PATH:/usr/local/arm/2.95.3/bin | 6 | |
3 | 2. cd into the libetpan sourcedir | 7 | 1. Get the sources from etpan-cvs with command |
4 | 3. run | 8 | |
9 | cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co libetpan | ||
10 | |||
11 | when try to get the 0.33b release | ||
12 | cvs -d :pserver:anonymous@cvs.libetpan.sourceforge.net:/cvsroot/libetpan co -r rel-0-33-b libetpan | ||
13 | |||
14 | 2. export PATH=$PATH:/usr/local/arm/2.95.3/bin | ||
15 | 3. cd into the libetpan sourcedir | ||
16 | 4. 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 | ||
7 | the disable-db is required!!!! | 19 | the disable-db is required!!!! |
8 | 4. check the output of configure, you MUST find a line | 20 | 5. 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 | ||
12 | If not, you don't have SSL installed into your crosscompiling chain. Thats bad. | 24 | If not, you don't have SSL installed into your crosscompiling chain. Thats bad. |
13 | SSL is strongly needed! | 25 | SSL is strongly needed! |
14 | 26 | ||
15 | 5. Check the file Rules in top-srcdir. There is a line | 27 | 6. 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 | ||
20 | For remote debugging this is not required, but the local copy must contain debug | 32 | For remote debugging this is not required, but the local copy must contain debug |
21 | code for that. | 33 | code for that. |
22 | 34 | ||
23 | 6. make, make install | 35 | 7. 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 | ||
26 | If you're using other pathes then you should give that of course instead of 2.95.3. | 38 | If you're using other pathes then you should give that of course instead of 2.95.3. |
27 | 39 | ||
28 | Alwin | 40 | Alwin |
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 @@ | |||
1 | Index: tools/mailstream_socket.c | ||
2 | =================================================================== | ||
3 | RCS file: /cvsroot/libetpan/libetpan/tools/mailstream_socket.c,v | ||
4 | retrieving revision 1.13 | ||
5 | diff -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 | |||