pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/synce-libsynce Initial import of synce-libsynce-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b73ca1720a2
branches: trunk
changeset: 500846:5b73ca1720a2
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Oct 13 15:00:13 2005 +0000
description:
Initial import of synce-libsynce-0.9.1:
Libsynce is part of the SynCE project.
The SynCE library is required to compile (at least) the following
parts of the SynCE project:
o librapi2
o dccmd
diffstat:
comms/synce-libsynce/DESCR | 7 ++++++
comms/synce-libsynce/Makefile | 16 ++++++++++++++
comms/synce-libsynce/PLIST | 11 +++++++++
comms/synce-libsynce/buildlink3.mk | 20 +++++++++++++++++
comms/synce-libsynce/distinfo | 7 ++++++
comms/synce-libsynce/patches/patch-aa | 39 +++++++++++++++++++++++++++++++++++
comms/synce-libsynce/patches/patch-ab | 13 +++++++++++
7 files changed, 113 insertions(+), 0 deletions(-)
diffs (141 lines):
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/DESCR Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,7 @@
+Libsynce is part of the SynCE project.
+
+The SynCE library is required to compile (at least) the following
+parts of the SynCE project:
+
+ o librapi2
+ o dccmd
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/Makefile Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+#
+
+DISTNAME= synce-libsynce-0.9.1
+CATEGORIES= comms
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=synce/}
+
+MAINTAINER= tech-pkg%NetBSD.org@localhost
+HOMEPAGE= http://synce.sourceforge.net/
+COMMENT= SynCE Library
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/PLIST Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+include/synce.h
+include/synce_hash.h
+include/synce_ini.h
+include/synce_log.h
+include/synce_socket.h
+include/synce_types.h
+include/synce_vector_template.h
+lib/libsynce.la
+man/man1/synce.1
+share/aclocal/libsynce.m4
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/buildlink3.mk Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SYNCE_LIBSYNCE_BUILDLINK3_MK:= ${SYNCE_LIBSYNCE_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= synce-libsynce
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsynce-libsynce}
+BUILDLINK_PACKAGES+= synce-libsynce
+
+.if !empty(SYNCE_LIBSYNCE_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.synce-libsynce+= synce-libsynce>=0.9.1
+BUILDLINK_PKGSRCDIR.synce-libsynce?= ../../comms/synce-libsynce
+.endif # SYNCE_LIBSYNCE_BUILDLINK3_MK
+
+.include "../../converters/libiconv/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/distinfo Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+
+SHA1 (synce-libsynce-0.9.1.tar.gz) = 603930b41fa987fa7e5e709a40360a616eac231c
+RMD160 (synce-libsynce-0.9.1.tar.gz) = a8c9d68196dec1b7555f56e8aab622a2817e1cf3
+Size (synce-libsynce-0.9.1.tar.gz) = 356343 bytes
+SHA1 (patch-aa) = bec59abf5b271c4f9a92af85a7cd3e3c19833d61
+SHA1 (patch-ab) = 0f36a9f97706e26ae49569dda0d21a42cfdb63ec
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/patches/patch-aa Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+
+--- lib/wstr.c.orig 2004-01-12 10:33:34.000000000 +0100
++++ lib/wstr.c
+@@ -5,6 +5,7 @@
+ #include "synce_config.h"
+ #include <stdlib.h>
+ #include <string.h>
++#include <errno.h>
+
+ #if HAVE_LOCALE_H
+ #include <locale.h>
+@@ -35,7 +36,7 @@
+ #endif
+
+
+-#define wstr_WIDE "UNICODELITTLE"
++#define wstr_WIDE "ucs-2le"
+ #define wstr_ASCII "ISO_8859-1"
+ #define wstr_UTF8 "UTF-8"
+
+@@ -79,7 +80,7 @@ static char* wstr_to_x(LPCWSTR inbuf, co
+ cd = iconv_open(code, wstr_WIDE);
+ if (INVALID_ICONV_HANDLE == cd)
+ {
+- wstr_error("iconv_open failed");
++ wstr_error("iconv_open(%s, %s) failed: %s", code, wstr_WIDE, strerror(errno));
+ return NULL;
+ }
+
+@@ -147,7 +148,7 @@ static LPWSTR wstr_from_x(const char* in
+ cd = iconv_open(wstr_WIDE, code);
+ if (INVALID_ICONV_HANDLE == cd)
+ {
+- wstr_error("iconv_open failed");
++ wstr_error("iconv_open(%s, %s) failed: %s", code, wstr_WIDE, strerror(errno));
+ return NULL;
+ }
+
diff -r 356a15e4ac41 -r 5b73ca1720a2 comms/synce-libsynce/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/synce-libsynce/patches/patch-ab Thu Oct 13 15:00:13 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/10/13 15:00:13 wiz Exp $
+
+--- lib/synce_hash.c.orig 2003-11-04 11:21:20.000000000 +0100
++++ lib/synce_hash.c
+@@ -59,7 +59,7 @@ unsigned s_str_hash(const void* key)
+ {
+ unsigned ret_val = 0;
+ int i;
+- const char *string = (const char*)key;
++ const unsigned char *string = (const unsigned char*)key;
+
+ while (*string)
+ {
Home |
Main Index |
Thread Index |
Old Index