1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Add synce-rra, a project for connecting to devices running Windows CE or Pocket PC.

RRA implements the Remote Replication Agent Connection protocol for
synchronising objects between a Windows CE device and other computer.

PR:		ports/64135
Submitted by:	Sam Lawrance <boris@brooknet.com.au>
This commit is contained in:
Pav Lucistnik 2004-03-13 21:44:14 +00:00
parent cf1d119513
commit 4bce300b24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103904
13 changed files with 161 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += synce-gnomevfs
SUBDIR += synce-librapi2
SUBDIR += synce-libsynce
SUBDIR += synce-rra
SUBDIR += synce-serial
SUBDIR += synce-trayicon
SUBDIR += syncmal

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: synce-rra
# Date created: March 2004
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
PORTNAME= synce-rra
PORTVERSION= 0.8.9
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce
PATCH_SITES= http://sam.stral.net/freebsd/
PATCHFILES= librra-synce-kde-0.7-freebsd.diff
MAINTAINER= boris@brooknet.com.au
COMMENT= Remote Replication Agent Connection protocol library
LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
rapi.2:${PORTSDIR}/palm/synce-librapi2
BUILD_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
RUN_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
MAN1= synce-matchmaker.1
USE_ICONV= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
${WRKSRC}/lib/generator.h ${WRKSRC}/lib/recurrence_internal.h \
${WRKSRC}/lib/rrac.h
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (synce-rra-0.8.9.tar.gz) = f7ff0ee6478e8a7dc424731ccee94313
SIZE (synce-rra-0.8.9.tar.gz) = 246733
MD5 (librra-synce-kde-0.7-freebsd.diff) = f3fc24bd674b348ad939baecd9ec5559
SIZE (librra-synce-kde-0.7-freebsd.diff) = 4181

View File

@ -0,0 +1,11 @@
--- src/rra-decode.c.orig Thu Mar 11 22:13:04 2004
+++ src/rra-decode.c Thu Mar 11 22:13:26 2004
@@ -218,7 +218,7 @@
time_t unix_time = filetime_to_unix_time(&propvals[i].val.filetime);
char* time_str = ctime(&unix_time);
time_str[strlen(time_str)-1] = '\0'; /* remove trailing newline */
- printf("%s (%lu)", time_str, unix_time);
+ printf("%s (%lu)", time_str, (long unsigned)unix_time);
db_dump(&propvals[i].val.filetime, sizeof(FILETIME));
}
break;

View File

@ -0,0 +1,8 @@
--- src/rra-timezone.c.orig Thu Mar 11 22:26:25 2004
+++ src/rra-timezone.c Thu Mar 11 22:26:39 2004
@@ -1,5 +1,4 @@
/* $Id: rra-timezone.c,v 1.6 2003/12/08 09:44:02 twogood Exp $ */
-#define _POSIX_C_SOURCE 2 /* for getopt */
#define _BSD_SOURCE
#include "../lib/timezone.h"
#include "../lib/generator.h"

View File

@ -0,0 +1,5 @@
SynCE is a project for connecting to devices running Windows CE or Pocket PC.
RRA implements the Remote Replication Agent Connection protocol for
synchronising objects between a Windows CE device and other computer.
WWW: http://synce.sourceforge.net/

View File

@ -0,0 +1,14 @@
bin/synce-matchmaker
include/rra/appointment.h
include/rra/contact.h
include/rra/matchmaker.h
include/rra/syncmgr.h
include/rra/task.h
include/rra/timezone.h
include/rra/uint32vector.h
lib/librra.a
lib/librra.la
lib/librra.so
lib/librra.so.0
share/aclocal/rra.m4
@dirrm include/rra

38
palm/synce-rra/Makefile Normal file
View File

@ -0,0 +1,38 @@
# New ports collection makefile for: synce-rra
# Date created: March 2004
# Whom: Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
PORTNAME= synce-rra
PORTVERSION= 0.8.9
CATEGORIES= palm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= synce
PATCH_SITES= http://sam.stral.net/freebsd/
PATCHFILES= librra-synce-kde-0.7-freebsd.diff
MAINTAINER= boris@brooknet.com.au
COMMENT= Remote Replication Agent Connection protocol library
LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
rapi.2:${PORTSDIR}/palm/synce-librapi2
BUILD_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
RUN_DEPENDS= ${LOCALBASE}/lib/libmimedir.a:${PORTSDIR}/devel/libmimedir
MAN1= synce-matchmaker.1
USE_ICONV= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libsynce=${LOCALBASE}
INSTALLS_SHLIB= yes
post-patch:
@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|' \
${WRKSRC}/lib/generator.h ${WRKSRC}/lib/recurrence_internal.h \
${WRKSRC}/lib/rrac.h
.include <bsd.port.mk>

4
palm/synce-rra/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (synce-rra-0.8.9.tar.gz) = f7ff0ee6478e8a7dc424731ccee94313
SIZE (synce-rra-0.8.9.tar.gz) = 246733
MD5 (librra-synce-kde-0.7-freebsd.diff) = f3fc24bd674b348ad939baecd9ec5559
SIZE (librra-synce-kde-0.7-freebsd.diff) = 4181

View File

@ -0,0 +1,11 @@
--- src/rra-decode.c.orig Thu Mar 11 22:13:04 2004
+++ src/rra-decode.c Thu Mar 11 22:13:26 2004
@@ -218,7 +218,7 @@
time_t unix_time = filetime_to_unix_time(&propvals[i].val.filetime);
char* time_str = ctime(&unix_time);
time_str[strlen(time_str)-1] = '\0'; /* remove trailing newline */
- printf("%s (%lu)", time_str, unix_time);
+ printf("%s (%lu)", time_str, (long unsigned)unix_time);
db_dump(&propvals[i].val.filetime, sizeof(FILETIME));
}
break;

View File

@ -0,0 +1,8 @@
--- src/rra-timezone.c.orig Thu Mar 11 22:26:25 2004
+++ src/rra-timezone.c Thu Mar 11 22:26:39 2004
@@ -1,5 +1,4 @@
/* $Id: rra-timezone.c,v 1.6 2003/12/08 09:44:02 twogood Exp $ */
-#define _POSIX_C_SOURCE 2 /* for getopt */
#define _BSD_SOURCE
#include "../lib/timezone.h"
#include "../lib/generator.h"

5
palm/synce-rra/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
SynCE is a project for connecting to devices running Windows CE or Pocket PC.
RRA implements the Remote Replication Agent Connection protocol for
synchronising objects between a Windows CE device and other computer.
WWW: http://synce.sourceforge.net/

14
palm/synce-rra/pkg-plist Normal file
View File

@ -0,0 +1,14 @@
bin/synce-matchmaker
include/rra/appointment.h
include/rra/contact.h
include/rra/matchmaker.h
include/rra/syncmgr.h
include/rra/task.h
include/rra/timezone.h
include/rra/uint32vector.h
lib/librra.a
lib/librra.la
lib/librra.so
lib/librra.so.0
share/aclocal/rra.m4
@dirrm include/rra