diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-09-18 17:11:15 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-09-18 17:11:15 +0000 |
commit | 4ca59f01cc243fcaaeb6604f7e2377254a5b0010 (patch) | |
tree | d921b8c6a653507f185d19ff6a65da1fbe72d339 /app-pda | |
parent | Version bumped, bug #182339. (diff) | |
download | historical-4ca59f01cc243fcaaeb6604f7e2377254a5b0010.tar.gz historical-4ca59f01cc243fcaaeb6604f7e2377254a5b0010.tar.bz2 historical-4ca59f01cc243fcaaeb6604f7e2377254a5b0010.zip |
Initial ebuild based upon bug 86017. Thanks to Serhij S. Stasyuk.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/jpilot-Mail/ChangeLog | 10 | ||||
-rw-r--r-- | app-pda/jpilot-Mail/Manifest | 30 | ||||
-rw-r--r-- | app-pda/jpilot-Mail/files/digest-jpilot-Mail-0.1.7 | 3 | ||||
-rw-r--r-- | app-pda/jpilot-Mail/files/jpilot-Mail-0.1.7.patch | 172 | ||||
-rw-r--r-- | app-pda/jpilot-Mail/jpilot-Mail-0.1.7.ebuild | 34 | ||||
-rw-r--r-- | app-pda/jpilot-Mail/metadata.xml | 5 |
6 files changed, 254 insertions, 0 deletions
diff --git a/app-pda/jpilot-Mail/ChangeLog b/app-pda/jpilot-Mail/ChangeLog new file mode 100644 index 000000000000..fb01be868a70 --- /dev/null +++ b/app-pda/jpilot-Mail/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-pda/jpilot-Mail +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/jpilot-Mail/ChangeLog,v 1.1 2007/09/18 17:11:15 philantrop Exp $ + +*jpilot-Mail-0.1.7 (18 Sep 2007) + + 18 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org> + +files/jpilot-Mail-0.1.7.patch, +metadata.xml, +jpilot-Mail-0.1.7.ebuild: + Initial ebuild based upon bug 86017. Thanks to Serhij S. Stasyuk. + diff --git a/app-pda/jpilot-Mail/Manifest b/app-pda/jpilot-Mail/Manifest new file mode 100644 index 000000000000..c2d43922152a --- /dev/null +++ b/app-pda/jpilot-Mail/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX jpilot-Mail-0.1.7.patch 5399 RMD160 30145afa7e0a0e6f5204d24b050c0e58ed34c8ee SHA1 b5b4ce21e003ab79be75563f5bb88af70297a619 SHA256 2c3e37f10589db3f04fefa2b82cdb4b7f695d6a6770d141b35c913f1a39890f7 +MD5 4f22f45aa5a37ab8fc516e4c0c987051 files/jpilot-Mail-0.1.7.patch 5399 +RMD160 30145afa7e0a0e6f5204d24b050c0e58ed34c8ee files/jpilot-Mail-0.1.7.patch 5399 +SHA256 2c3e37f10589db3f04fefa2b82cdb4b7f695d6a6770d141b35c913f1a39890f7 files/jpilot-Mail-0.1.7.patch 5399 +DIST jpilot-Mail-0.1.7.tar.gz 481041 RMD160 95390bbcd73658561f1a91e83cd65f641e654424 SHA1 46a4e2e05e78c7212be5f2e49cf247d7375c4734 SHA256 99169a74564053ef6c62da1738951570fcb3fcc044276f7040d334f553966bbe +EBUILD jpilot-Mail-0.1.7.ebuild 914 RMD160 0c1805a534b7e8d00c5aca8c39b56acc1467c2d7 SHA1 09a412f4fccb88f6224efa9520dc1647def0d24f SHA256 e11a31bdd7a3ae9b76b829f2e6dd241eeca68c0eb0e8f87e7880bb3f10dc27c2 +MD5 055cc84c7f6b67e162b36402374b8459 jpilot-Mail-0.1.7.ebuild 914 +RMD160 0c1805a534b7e8d00c5aca8c39b56acc1467c2d7 jpilot-Mail-0.1.7.ebuild 914 +SHA256 e11a31bdd7a3ae9b76b829f2e6dd241eeca68c0eb0e8f87e7880bb3f10dc27c2 jpilot-Mail-0.1.7.ebuild 914 +MISC ChangeLog 449 RMD160 f29c9ffd209a69eeb7082063336c5827518e4224 SHA1 6bca964db11bded7ec36b2d78f855cb590a5f314 SHA256 e6f217cd693e4c0fba8cbf712961cd47d6e8e6e8149ec291cf81d4512cb2d71c +MD5 4e4f5c2d1793fb312683e2d13d8545ad ChangeLog 449 +RMD160 f29c9ffd209a69eeb7082063336c5827518e4224 ChangeLog 449 +SHA256 e6f217cd693e4c0fba8cbf712961cd47d6e8e6e8149ec291cf81d4512cb2d71c ChangeLog 449 +MISC metadata.xml 156 RMD160 6a6d0f6bfe83e3a54c2d72444564ed6ab19857fe SHA1 5b9cb277159d763c133920e483df8d3d587cf7e2 SHA256 7f72b73f6e0d6e26603d85e52cca524711faddf6b516640104c3b82aab4754fb +MD5 075fea99b82d61028585dc3e42f00466 metadata.xml 156 +RMD160 6a6d0f6bfe83e3a54c2d72444564ed6ab19857fe metadata.xml 156 +SHA256 7f72b73f6e0d6e26603d85e52cca524711faddf6b516640104c3b82aab4754fb metadata.xml 156 +MD5 c0a95e3f271d153f204e6bafec64d59a files/digest-jpilot-Mail-0.1.7 253 +RMD160 de0271122e4f69727f5425c06fa8ea7b392083a6 files/digest-jpilot-Mail-0.1.7 253 +SHA256 5309e1e4dc14e64241f30cedbf03af24bd0b52b0ede8344edd94b9cc2987001f files/digest-jpilot-Mail-0.1.7 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFG8Aa+CkvF58q80IkRAoElAJ43GiqtP+B8E77g+t5saTWwNQcnhwCfX62J +DTww8vIqTd1PRE3XepOjmTw= +=VFVX +-----END PGP SIGNATURE----- diff --git a/app-pda/jpilot-Mail/files/digest-jpilot-Mail-0.1.7 b/app-pda/jpilot-Mail/files/digest-jpilot-Mail-0.1.7 new file mode 100644 index 000000000000..7ddf0fa56183 --- /dev/null +++ b/app-pda/jpilot-Mail/files/digest-jpilot-Mail-0.1.7 @@ -0,0 +1,3 @@ +MD5 d90034d444948ff8653d04cc8b4ba79f jpilot-Mail-0.1.7.tar.gz 481041 +RMD160 95390bbcd73658561f1a91e83cd65f641e654424 jpilot-Mail-0.1.7.tar.gz 481041 +SHA256 99169a74564053ef6c62da1738951570fcb3fcc044276f7040d334f553966bbe jpilot-Mail-0.1.7.tar.gz 481041 diff --git a/app-pda/jpilot-Mail/files/jpilot-Mail-0.1.7.patch b/app-pda/jpilot-Mail/files/jpilot-Mail-0.1.7.patch new file mode 100644 index 000000000000..829c455a6bf5 --- /dev/null +++ b/app-pda/jpilot-Mail/files/jpilot-Mail-0.1.7.patch @@ -0,0 +1,172 @@ +diff -Nru jpilot-Mail-0.1.7.orig/src/connect.c jpilot-Mail-0.1.7/src/connect.c +--- jpilot-Mail-0.1.7.orig/src/connect.c 2003-01-11 17:52:28.000000000 +0200 ++++ jpilot-Mail-0.1.7/src/connect.c 2007-01-02 11:43:09.000000000 +0200 +@@ -24,7 +24,7 @@ + if(inet_aton(ip, &ia)){ + mxip_addr mxip; + +- mxip.name = g_strdup(ip); ++ mxip.name = (guchar*)g_strdup(ip); + mxip.pref = 0; + mxip.ip = (guint32) *(guint32 *)(&ia); + list = g_list_append(list, g_memdup(&mxip, sizeof(mxip))); +diff -Nru jpilot-Mail-0.1.7.orig/src/lookup.c jpilot-Mail-0.1.7/src/lookup.c +--- jpilot-Mail-0.1.7.orig/src/lookup.c 2002-06-27 21:36:26.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/lookup.c 2007-01-02 11:43:48.000000000 +0200 +@@ -325,7 +325,7 @@ + mxip_addr mxip; + mxip.ip = *(guint32 *)(haddr); + mxip.pref = 0; +- mxip.name = g_strdup(hent->h_name); ++ mxip.name = (guchar*)g_strdup(hent->h_name); + list = g_list_append(list, g_memdup(&mxip, sizeof(mxip))); + } + } +diff -Nru jpilot-Mail-0.1.7.orig/src/mail.c jpilot-Mail-0.1.7/src/mail.c +--- jpilot-Mail-0.1.7.orig/src/mail.c 2004-07-18 21:06:42.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/mail.c 2007-01-02 12:15:30.000000000 +0200 +@@ -56,7 +56,7 @@ + static int show_category = 0; + static int glob_row_selected; + +-static struct MyMail *glob_mymail_list = NULL; ++struct MyMail *glob_mymail_list = NULL; + + struct Preferences prefs; + struct MailSyncPref mailSyncPref; +@@ -75,6 +75,8 @@ + *minor_version = 99; + } + ++void multibyte_safe_strncpy(char *dst, char *src, size_t len); ++ + static void free_mymail_list(struct MyMail **ppM) + { + struct MyMail *pM, *next_pM; +@@ -195,7 +197,7 @@ + if (fptr) + { + gchar *line = NULL; +- gint line_size = 0; ++ size_t line_size = 0; + + while (!feof(fptr)) + { +@@ -1001,7 +1003,7 @@ + + if (size > 0) + { +- char *buf = g_malloc(size); ++ unsigned char *buf = g_malloc(size); + + if (buf) + { +@@ -1030,7 +1032,7 @@ + if (size > 0) + { + buf_rec br; +- char *buf = g_malloc(size); ++ unsigned char *buf = g_malloc(size); + + if (buf) + { +@@ -1212,7 +1214,7 @@ + + temp_str = malloc((len = strlen(mai.category.name[i])*2+1)); + multibyte_safe_strncpy(temp_str, mai.category.name[i], len); +- jp_charset_p2j(temp_str, len); ++ jp_charset_p2j((unsigned char *)temp_str, len); + categories[i] = temp_str; + } + categories[i] = NULL; +diff -Nru jpilot-Mail-0.1.7.orig/src/mail_get.c jpilot-Mail-0.1.7/src/mail_get.c +--- jpilot-Mail-0.1.7.orig/src/mail_get.c 2004-07-18 20:31:28.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/mail_get.c 2007-01-02 12:16:29.000000000 +0200 +@@ -68,7 +68,7 @@ + { + GList *id_list = NULL; + gchar *line = NULL; +- gint line_size = 0; ++ size_t line_size = 0; + + while (!feof(fptr)) + { +@@ -179,7 +179,7 @@ + { + FILE *in; + char *line = NULL; +- gint line_size = 0; ++ size_t line_size = 0; + GList *id_list = read_msgids(); + + // conf.debug_level = 5; +diff -Nru jpilot-Mail-0.1.7.orig/src/mail_send.c jpilot-Mail-0.1.7/src/mail_send.c +--- jpilot-Mail-0.1.7.orig/src/mail_send.c 2004-04-29 20:27:48.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/mail_send.c 2007-01-02 12:16:58.000000000 +0200 +@@ -233,7 +233,7 @@ + + if (pMail->mail.body != NULL) + { +- guchar *p = pMail->mail.body; ++ gchar *p = pMail->mail.body; + + while (*p) + { +diff -Nru jpilot-Mail-0.1.7.orig/src/mbox.c jpilot-Mail-0.1.7/src/mbox.c +--- jpilot-Mail-0.1.7.orig/src/mbox.c 2004-04-17 19:24:15.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/mbox.c 2007-01-02 11:49:55.000000000 +0200 +@@ -25,7 +25,8 @@ + gboolean mbox_read(message * msg, FILE * in, gchar ** from_line, int max_size) + { + gchar *line = NULL; +- gint line_size = 0, line_cnt = 0; ++// gint line_size = 0, line_cnt = 0; ++ size_t line_size = 0; + gint data_size = 0; + gboolean in_headers = TRUE; + int l_no = 1; +@@ -91,7 +92,7 @@ + msg->data_list = g_list_append(msg->data_list, g_strdup(line)); + data_size += strlen(line); + } +- line_cnt++; ++// line_cnt++; + } + } + +diff -Nru jpilot-Mail-0.1.7.orig/src/smtp_out.c jpilot-Mail-0.1.7/src/smtp_out.c +--- jpilot-Mail-0.1.7.orig/src/smtp_out.c 2003-01-11 17:52:28.000000000 +0200 ++++ jpilot-Mail-0.1.7/src/smtp_out.c 2007-01-02 12:11:27.000000000 +0200 +@@ -66,7 +66,7 @@ + gchar *set_heloname(smtp_base *psb, gchar *default_name, gboolean do_correct) + { + struct sockaddr_in sname; +- int len = sizeof(struct sockaddr_in); ++ socklen_t len = sizeof(struct sockaddr_in); + struct hostent *host_entry; + + if(do_correct){ +@@ -479,11 +479,11 @@ + if((addr = connect_resolvelist(&sock, host, port, resolve_list))){ + /* create structure to hold status data: */ + psb = create_smtpbase(sock); +- psb->remote_host = addr->name; ++ psb->remote_host = (gchar*)addr->name; + + DEBUG(5){ + struct sockaddr_in name; +- int len = sizeof(struct sockaddr); ++ socklen_t len = sizeof(struct sockaddr); + getsockname(sock, (struct sockaddr *)(&name), &len); + debugf("socket: name.sin_addr = %s\n", inet_ntoa(name.sin_addr)); + } +diff -Nru jpilot-Mail-0.1.7.orig/src/utils.h jpilot-Mail-0.1.7/src/utils.h +--- jpilot-Mail-0.1.7.orig/src/utils.h 2002-06-27 21:36:26.000000000 +0300 ++++ jpilot-Mail-0.1.7/src/utils.h 2007-01-02 11:28:45.000000000 +0200 +@@ -21,4 +21,6 @@ + + int get_home_file_name(char *file, char *full_name, int max_size); + ++extern void multibyte_safe_strncpy(char *dst, char *src, size_t len); ++ + #endif diff --git a/app-pda/jpilot-Mail/jpilot-Mail-0.1.7.ebuild b/app-pda/jpilot-Mail/jpilot-Mail-0.1.7.ebuild new file mode 100644 index 000000000000..3347d16da79f --- /dev/null +++ b/app-pda/jpilot-Mail/jpilot-Mail-0.1.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/jpilot-Mail/jpilot-Mail-0.1.7.ebuild,v 1.1 2007/09/18 17:11:15 philantrop Exp $ + +inherit eutils multilib + +DESCRIPTION="jpilot-Mail is a jpilot plugin to deliver mail from the pilot and upload mail to it." +SRC_URI="http://ludovic.rousseau.free.fr/softwares/jpilot-Mail/${P}.tar.gz" +HOMEPAGE="http://ludovic.rousseau.free.fr/softwares/jpilot-Mail/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=x11-libs/gtk+-2 + >=app-pda/jpilot-0.99.7-r1" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}.patch" +} + +src_compile() { + econf --enable-gtk2 || die "configure failed" + emake -j1 || die "make failed" +} + +src_install() { + make install DESTDIR="${D}" \ + libdir=/usr/$(get_libdir)/jpilot/plugins \ + || die "install failed" +} diff --git a/app-pda/jpilot-Mail/metadata.xml b/app-pda/jpilot-Mail/metadata.xml new file mode 100644 index 000000000000..228404d3a4b2 --- /dev/null +++ b/app-pda/jpilot-Mail/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>pda</herd> +</pkgmetadata> |