Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2005 01:00:20 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/79975: Update port: mail/isync to 1.0.1
Message-ID:  <20050416010020.41ee9b68.tkato432@yahoo.com>
Resent-Message-ID: <200504151610.j3FGARU8011400@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         79975
>Category:       ports
>Synopsis:       Update port: mail/isync to 1.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 15 16:10:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.1

New file:
files/patch-src-drv_imap.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/mail/isync/Makefile mail/isync/Makefile
--- /usr/ports/mail/isync/Makefile	Tue Apr 12 14:07:54 2005
+++ mail/isync/Makefile	Fri Apr 15 21:35:00 2005
@@ -5,26 +5,39 @@
 # $FreeBSD: ports/mail/isync/Makefile,v 1.12 2005/04/12 03:25:58 obrien Exp $
 
 PORTNAME=	isync
-PORTVERSION=	0.9.1
+PORTVERSION=	1.0.1
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
 
-LIB_DEPENDS=	db3.3:${PORTSDIR}/databases/db3
-
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Maintain local copies of remote IMAP folders w/synchronized flags
 
+LIB_DEPENDS=	db-4.2.2:${PORTSDIR}/databases/db42
+
 USE_GETOPT_LONG=	yes
 USE_OPENSSL=	yes
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 
-MAN1=		isync.1
-PLIST_FILES=	bin/isync
+MAN1=		isync.1 mbsync.1 mdconvert.1
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
+PLIST_FILES=	bin/get-cert bin/isync bin/mbsync bin/mdconvert
+
+CPPFLAGS=	-I${LOCALBASE}/include/db42 -I${OPENSSLINC}
+LDFLAGS=	-L${LOCALBASE}/lib/db42 -L${OPENSSLLIB} -lssl -lcrypto
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
 
-CPPFLAGS=	-I${LOCALBASE}/include/db3 -I${OPENSSLINC}
-LDFLAGS=	-L${LOCALBASE}/lib -ldb3 -L${OPENSSLLIB} -lssl -lcrypto
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
diff -urN /usr/ports/mail/isync/distinfo mail/isync/distinfo
--- /usr/ports/mail/isync/distinfo	Thu Jan 29 20:29:19 2004
+++ mail/isync/distinfo	Sun Apr 10 10:46:40 2005
@@ -1,2 +1,2 @@
-MD5 (isync-0.9.1.tar.gz) = d3e0dc500c9d20cea3fd1245451e14fd
-SIZE (isync-0.9.1.tar.gz) = 106953
+MD5 (isync-1.0.1.tar.gz) = 3e238b87e4f39173121d60873f9d2b05
+SIZE (isync-1.0.1.tar.gz) = 165617
diff -urN /usr/ports/mail/isync/files/patch-src-drv_imap.c mail/isync/files/patch-src-drv_imap.c
--- /usr/ports/mail/isync/files/patch-src-drv_imap.c	Thu Jan  1 09:00:00 1970
+++ mail/isync/files/patch-src-drv_imap.c	Sun Apr 10 13:01:05 2005
@@ -0,0 +1,10 @@
+--- src/drv_imap.c.orig	Mon Mar 28 19:41:04 2005
++++ src/drv_imap.c	Sun Apr 10 13:00:50 2005
+@@ -26,6 +26,7 @@
+ 
+ #include <assert.h>
+ #include <unistd.h>
++#include <limits.h>
+ #include <sys/mman.h>
+ #include <sys/time.h>
+ #include <stdlib.h>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050416010020.41ee9b68.tkato432>