Date: Sat, 17 Apr 2004 22:55:24 +0200 (CEST) From: Matthias Andree <matthias.andree@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65684: [PATCH] mail/cone: update to 0.58 Message-ID: <20040417205524.D81F75C62@sigma.emma.line.org> Resent-Message-ID: <200404172100.i3HL0ODZ021042@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65684 >Category: ports >Synopsis: [PATCH] mail/cone: update to 0.58 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 17 14:00:24 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD sigma.emma.line.org 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Thu Apr 15 23:54:21 CEST 2004 >Description: - Update to 0.58 - use INSTALL_TARGET rather than do-install - add three dependencies (fam, gettext, iconv) Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- cone-0.58.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/cone/Makefile /root/ports/mail/cone/Makefile --- /usr/ports/mail/cone/Makefile Wed Mar 10 22:12:37 2004 +++ /root/ports/mail/cone/Makefile Sat Apr 17 22:52:54 2004 @@ -6,8 +6,8 @@ # PORTNAME= cone -PORTVERSION= 0.56 -PORTREVISION= 1 +PORTVERSION= 0.58 +PORTREVISION= 0 CATEGORIES= mail # This is for beta versions, leave it in please: #MASTER_SITES= http://www.courier-mta.org/beta/${PORTNAME}/ @@ -20,10 +20,14 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ aspell.15:${PORTSDIR}/textproc/aspell \ - ncurses.5:${PORTSDIR}/devel/ncurses + ncurses.5:${PORTSDIR}/devel/ncurses \ + fam.0:${PORTSDIR}/devel/fam BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg RUN_DEPENDS= ${BUILD_DEPENDS} +USE_GETTEXT= yes +USE_ICONV= yes + USE_BZIP2= yes USE_PERL5= yes USE_GMAKE= yes @@ -34,18 +38,16 @@ CPPFLAGS=-I${LOCALBASE}/include CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} MAN1= cone.1 leaf.1 mailtool.1 - -do-install: - cd ${WRKSRC} && make install-strip -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR} -.endif +INSTALL_TARGET= install-strip post-install: ${INSTALL_SCRIPT} ${WRKSRC}/sysconftool ${PREFIX}/sbin/cone-sysconftool PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PORTNAME} POST-INSTALL ${RM} -f ${PREFIX}/share/cone/rootcerts/.0 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR} +.endif .include <bsd.port.pre.mk> diff -ruN --exclude=CVS /usr/ports/mail/cone/distinfo /root/ports/mail/cone/distinfo --- /usr/ports/mail/cone/distinfo Thu Apr 1 21:31:55 2004 +++ /root/ports/mail/cone/distinfo Fri Apr 16 16:54:23 2004 @@ -1,2 +1,2 @@ -MD5 (cone-0.56.tar.bz2) = 6edd669b5c83eba3a1c3aedf25e4b395 -SIZE (cone-0.56.tar.bz2) = 1836189 +MD5 (cone-0.58.tar.bz2) = de586b61c484178859a382429f92df7d +SIZE (cone-0.58.tar.bz2) = 2086903 diff -ruN --exclude=CVS /usr/ports/mail/cone/files/patch-fileno-casts /root/ports/mail/cone/files/patch-fileno-casts --- /usr/ports/mail/cone/files/patch-fileno-casts Thu Jan 1 01:00:00 1970 +++ /root/ports/mail/cone/files/patch-fileno-casts Sat Apr 17 22:25:32 2004 @@ -0,0 +1,49 @@ +--- libmail/mbox.C~ Tue Apr 6 04:06:36 2004 ++++ libmail/mbox.C Sat Apr 17 22:05:27 2004 +@@ -1243,7 +1243,7 @@ + // Remember how big the saveFile was, + // originally. + +- if (fstat(fileno(*saveFile), &stat_buf) < 0) ++ if (fstat(fileno(static_cast<FILE *>(*saveFile)), &stat_buf) < 0) + { + return false; + } +@@ -1280,7 +1280,7 @@ + { + // Potential short cut. + +- if (fstat(fileno(scanFile), &stat_buf) < 0) ++ if (fstat(fileno(static_cast<FILE *>(scanFile)), &stat_buf) < 0) + { + return false; + } +--- libmail/mboxadd.C~ Wed Aug 27 04:37:22 2003 ++++ libmail/mboxadd.C Sat Apr 17 22:06:10 2004 +@@ -99,13 +99,13 @@ + { + struct stat st; + +- mail::mbox::sighandler updating(fileno(file)); ++ mail::mbox::sighandler updating(fileno(static_cast<FILE *>(file))); + + try { + + // Make sure the mboxAccount file ends with a trailing newline + +- if (fstat(fileno(file), &st) < 0) ++ if (fstat(fileno(static_cast<FILE *>(file)), &st) < 0) + { + fail(strerror(errno)); + return; +--- libmail/mboxgetmessage.C~ Wed Aug 27 04:37:22 2003 ++++ libmail/mboxgetmessage.C Sat Apr 17 22:06:42 2004 +@@ -81,7 +81,7 @@ + { + struct stat stat_buf; + +- if (fstat(fileno(file), &stat_buf) < 0) ++ if (fstat(fileno(static_cast<FILE *>(file)), &stat_buf) < 0) + endingPos=stat_buf.st_size; + } + else diff -ruN --exclude=CVS /usr/ports/mail/cone/files/patch-libmail::pop3maildrop.C /root/ports/mail/cone/files/patch-libmail::pop3maildrop.C --- /usr/ports/mail/cone/files/patch-libmail::pop3maildrop.C Thu Dec 4 13:03:10 2003 +++ /root/ports/mail/cone/files/patch-libmail::pop3maildrop.C Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- libmail/pop3maildrop.C.orig Sun Nov 16 03:43:14 2003 -+++ libmail/pop3maildrop.C Sat Nov 29 04:29:03 2003 -@@ -13,6 +13,8 @@ - #include <errno.h> - #include <string.h> - #include <stdlib.h> -+#include <sys/types.h> -+#include <sys/stat.h> - - using namespace std; - diff -ruN --exclude=CVS /usr/ports/mail/cone/pkg-plist /root/ports/mail/cone/pkg-plist --- /usr/ports/mail/cone/pkg-plist Mon Dec 22 23:26:58 2003 +++ /root/ports/mail/cone/pkg-plist Sat Apr 17 22:21:18 2004 @@ -4,126 +4,6 @@ sbin/cone-sysconftool etc/cone.dist libexec/cone -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -share/cone/APPLICATION.PDF.filter -share/cone/IMAGE.GIF.filter -share/cone/IMAGE.JPEG.filter -share/cone/IMAGE.PNG.filter -share/cone/account-checknewmail.html -share/cone/account-copymessagesto.html -share/cone/account-createfolder.html -share/cone/account-deletefolder.html -share/cone/account-getfolderfrompath.html -share/cone/account-getfolderfromstring.html -share/cone/account-getfolderindexinfo.html -share/cone/account-getfolderindexsize.html -share/cone/account-getfolderkeywordinfo.html -share/cone/account-getmessagecontent.html -share/cone/account-getmessagecontentdecoded.html -share/cone/account-getmessageenvelope.html -share/cone/account-getmessagestructure.html -share/cone/account-getparentfolder.html -share/cone/account-getsubfolders.html -share/cone/account-gettoplevelfolders.html -share/cone/account-libmail-addmessage.html -share/cone/account-login.html -share/cone/account-logout.html -share/cone/account-movemessagesto.html -share/cone/account-movemessagesto.sgml -share/cone/account-openfolder.html -share/cone/account-readfolderinfo.html -share/cone/account-removemessages.html -share/cone/account-renamefolder.html -share/cone/account-savefolderindexinfo.html -share/cone/account-searchmessages.html -share/cone/account-send.html -share/cone/account-translatepath.html -share/cone/account-updatefolderindexflags.html -share/cone/account-updatefolderindexinfo.html -share/cone/account-updatekeywords.html -share/cone/add.html -share/cone/address.html -share/cone/attributes.html -share/cone/book.html -share/cone/cone.hlp -share/cone/cone.html -share/cone/cone00index.html -share/cone/cone01folderlist.html -share/cone/cone02folderindex.html -share/cone/cone03messageview.html -share/cone/cone04writemessage.html -share/cone/cone05setup.html -share/cone/cone06newaccount.html -share/cone/cone07remoteconfig.html -share/cone/cone08gpg.html -share/cone/cone09masterpassword.html -share/cone/cone10encryption.html -share/cone/cone11filters.html -share/cone/conn.html -share/cone/envelope.html -share/cone/faq.html -share/cone/folder-addmessage.html -share/cone/folder-clone.html -share/cone/folder-create.html -share/cone/folder-createsubfolder.html -share/cone/folder-destroy.html -share/cone/folder-getname.html -share/cone/folder-getparentfolder.html -share/cone/folder-getpath.html -share/cone/folder-hasmessages.html -share/cone/folder-hassubfolders.html -share/cone/folder-isparentof.html -share/cone/folder-open.html -share/cone/folder-readfolderinfo.html -share/cone/folder-readsubfolders.html -share/cone/folder-renamefolder.html -share/cone/folder-tostring.html -share/cone/index.html -share/cone/install.html -share/cone/leaf.html -share/cone/libmail.html -share/cone/mail-checknewmail.html -share/cone/mail-copymessagesto.html -share/cone/mail-findfolder.html -share/cone/mail-folderfromstring.html -share/cone/mail-getfolderindexinfo.html -share/cone/mail-getfolderindexsize.html -share/cone/mail-getfolderkeywordinfo.html -share/cone/mail-getsendfolder.html -share/cone/mail-hascapability.html -share/cone/mail-homedir.html -share/cone/mail-hostname.html -share/cone/mail-isremoteurl.html -share/cone/mail-loginurldecode.html -share/cone/mail-loginurlencode.html -share/cone/mail-logout.html -share/cone/mail-movemessagesto.html -share/cone/mail-open.html -share/cone/mail-process.html -share/cone/mail-readmsgattr.html -share/cone/mail-readmsgcontent.html -share/cone/mail-readmsgcontentdecoded.html -share/cone/mail-readtoplevel.html -share/cone/mail-removemessages.html -share/cone/mail-resume.html -share/cone/mail-savefolderindexinfo.html -share/cone/mail-searchmessages.html -share/cone/mail-setappcharset.html -share/cone/mail-translatepath.html -share/cone/mail-updatefolderindexflags.html -share/cone/mail-updatefolderindexinfo.html -share/cone/mail-updatekeywords.html -share/cone/mail-updatenotify.html -share/cone/mail-upper.html -share/cone/mailtool.html -share/cone/manpage.css -share/cone/mimestruct.html -share/cone/native.html -share/cone/readme.html -share/cone/search.html -share/cone/smap1.html -share/cone/store.html -share/cone/synchronous.html share/cone/rootcerts/052e396b.0 share/cone/rootcerts/0bb21872.0 share/cone/rootcerts/0c364b2d.0 @@ -304,20 +184,149 @@ share/cone/rootcerts/xcert-international-inc-xcert-root-01.pem share/cone/rootcerts/xcert-international-inc-xcert-root-02.pem share/cone/rootcerts/xcert-international-inc-xcert-root-03.pem -share/cone/c2428.html -share/cone/c2466.html -share/cone/r7571.html -share/cone/r7791.html -share/cone/r9197.html -share/cone/x10211.html -share/cone/x10454.html -share/cone/x10558.html -share/cone/x10800.html -share/cone/x11135.html -share/cone/x11146.html -share/cone/x9598.html -share/cone/x9804.html -share/cone/x9940.html +share/cone/IMAGE.GIF.filter +share/cone/IMAGE.JPEG.filter +share/cone/IMAGE.PNG.filter +share/cone/account-checknewmail.html +share/cone/account-copymessagesto.html +share/cone/account-createfolder.html +share/cone/account-deletefolder.html +share/cone/account-delrights.html +share/cone/account-getfolderfrompath.html +share/cone/account-getfolderfromstring.html +share/cone/account-getfolderindexinfo.html +share/cone/account-getfolderindexsize.html +share/cone/account-getfolderkeywordinfo.html +share/cone/account-getmessagecontent.html +share/cone/account-getmessagecontentdecoded.html +share/cone/account-getmessageenvelope.html +share/cone/account-getmessagestructure.html +share/cone/account-getmyrights.html +share/cone/account-getparentfolder.html +share/cone/account-getrights.html +share/cone/account-getsubfolders.html +share/cone/account-gettoplevelfolders.html +share/cone/account-libmail-addmessage.html +share/cone/account-login.html +share/cone/account-logout.html +share/cone/account-movemessagesto.html +share/cone/add.html +share/cone/account-movemessagesto.sgml +share/cone/account-openfolder.html +share/cone/account-readfolderinfo.html +share/cone/account-removemessages.html +share/cone/account-renamefolder.html +share/cone/account-savefolderindexinfo.html +share/cone/account-searchmessages.html +share/cone/account-send.html +share/cone/account-setrights.html +share/cone/account-translatepath.html +share/cone/account-updatefolderindexflags.html +share/cone/account-updatefolderindexinfo.html +share/cone/account-updatekeywords.html +share/cone/address.html +share/cone/attributes.html +share/cone/book.html +share/cone/c2534.html +share/cone/c2572.html +share/cone/cone.html +share/cone/cone00index.html +share/cone/cone01folderlist.html +share/cone/cone02folderindex.html +share/cone/cone03messageview.html +share/cone/cone04writemessage.html +share/cone/cone05setup.html +share/cone/cone06newaccount.html +share/cone/cone07remoteconfig.html +share/cone/cone08gpg.html +share/cone/cone09masterpassword.html +share/cone/cone10encryption.html +share/cone/cone11filters.html +share/cone/conn.html +share/cone/faq.html +share/cone/envelope.html +share/cone/folder-addmessage.html +share/cone/folder-clone.html +share/cone/folder-create.html +share/cone/folder-createsubfolder.html +share/cone/folder-delrights.html +share/cone/folder-destroy.html +share/cone/folder-getmyrights.html +share/cone/folder-getname.html +share/cone/folder-getparentfolder.html +share/cone/folder-getpath.html +share/cone/folder-getrights.html +share/cone/folder-hasmessages.html +share/cone/folder-hassubfolders.html +share/cone/folder-isparentof.html +share/cone/folder-open.html +share/cone/index.html +share/cone/folder-readfolderinfo.html +share/cone/folder-readsubfolders.html +share/cone/folder-renamefolder.html +share/cone/folder-setrights.html +share/cone/folder-tostring.html +share/cone/install.html +share/cone/leaf.html +share/cone/libmail.html +share/cone/mail-checknewmail.html +share/cone/mail-copymessagesto.html +share/cone/mail-findfolder.html +share/cone/mail-folderfromstring.html +share/cone/mail-getfolderindexinfo.html +share/cone/mail-getfolderindexsize.html +share/cone/mail-getfolderkeywordinfo.html +share/cone/mail-getsendfolder.html +share/cone/mail-hascapability.html +share/cone/mail-homedir.html +share/cone/mail-hostname.html +share/cone/mail-isremoteurl.html +share/cone/mail-loginurldecode.html +share/cone/mail-loginurlencode.html +share/cone/mail-logout.html +share/cone/mail-movemessagesto.html +share/cone/mail-open.html +share/cone/mail-poll.html +share/cone/mail-process.html +share/cone/mail-readmsgattr.html +share/cone/mail-readmsgcontent.html +share/cone/mail-readmsgcontentdecoded.html +share/cone/mail-readtoplevel.html +share/cone/mail-removemessages.html +share/cone/mail-resume.html +share/cone/mail-savefolderindexinfo.html +share/cone/mail-searchmessages.html +share/cone/mail-setappcharset.html +share/cone/mail-translatepath.html +share/cone/mail-updatefolderindexflags.html +share/cone/mail-updatefolderindexinfo.html +share/cone/mail-updatekeywords.html +share/cone/mail-updatenotify.html +share/cone/mail-upper.html +share/cone/mailtool.html +share/cone/manpage.css +share/cone/mimestruct.html +share/cone/native.html +share/cone/r10978.html +share/cone/r8529.html +share/cone/r8749.html +share/cone/readme.html +share/cone/search.html +share/cone/smap1.html +share/cone/store.html +share/cone/synchronous.html +share/cone/x11379.html +share/cone/x11585.html +share/cone/x11921.html +share/cone/x12192.html +share/cone/x12435.html +share/cone/x12539.html +share/cone/x12781.html +share/cone/x13128.html +share/cone/x13139.html +share/cone/APPLICATION.PDF.filter +share/cone/cone.hlp +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm share/cone/rootcerts @dirrm share/cone --- cone-0.58.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040417205524.D81F75C62>