Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Jun 2004 21:27:30 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67686: [PATCH] mail/cone: update to 0.60
Message-ID:  <20040607192730.756895C33@sigma.emma.line.org>
Resent-Message-ID: <200406071950.i57JoQ1U098952@freefall.freebsd.org>

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

>Number:         67686
>Category:       ports
>Synopsis:       [PATCH] mail/cone: update to 0.60
>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:   Mon Jun 07 19:50:25 GMT 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: Mon Jun  7 14:00:03 CEST
>Description:
- Update to 0.60
- re-sort pkg-plist alphabetically, for the share/ stuff
- drop ncurses requirement, bump instead the minimum FreeBSD version to
  5.2.1-RELEASE, older ones aren't supported by the security-officer anyways
  and FreeBSD 4 doesn't provide the necessary i18n functions for cone
- drop one patch that got merged or otherwise fixed
- add a patch to make the code compile on GCC 3.4 just in case.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- cone-0.60.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/cone/Makefile /root/ports/mail/cone/Makefile
--- /usr/ports/mail/cone/Makefile	Tue May 18 13:20:31 2004
+++ /root/ports/mail/cone/Makefile	Mon Jun  7 21:10:27 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cone
-PORTVERSION=	0.58
+PORTVERSION=	0.60
 CATEGORIES=	mail
 # This is for beta versions, leave it in please:
 #MASTER_SITES=	http://www.courier-mta.org/beta/${PORTNAME}/
@@ -19,7 +19,6 @@
 
 LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
 		aspell.15:${PORTSDIR}/textproc/aspell \
-		ncurses.5:${PORTSDIR}/devel/ncurses \
 		fam.0:${PORTSDIR}/devel/fam
 BUILD_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
 RUN_DEPENDS=	${BUILD_DEPENDS}
@@ -50,8 +49,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} < 500000
-IGNORE=		"does not build on FreeBSD versions before FreeBSD 5"
+.if ${OSVERSION} < 502010
+IGNORE=		"port not supported on FreeBSD versions before 5.2.1-RELEASE"
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/mail/cone/distinfo /root/ports/mail/cone/distinfo
--- /usr/ports/mail/cone/distinfo	Tue May 18 13:20:31 2004
+++ /root/ports/mail/cone/distinfo	Mon Jun  7 13:28:17 2004
@@ -1,2 +1,2 @@
-MD5 (cone-0.58.tar.bz2) = de586b61c484178859a382429f92df7d
-SIZE (cone-0.58.tar.bz2) = 2086903
+MD5 (cone-0.60.tar.bz2) = b2ae0cb3808e5485d566474c8bf251f9
+SIZE (cone-0.60.tar.bz2) = 2096318
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	Sun Apr 18 18:55:34 2004
+++ /root/ports/mail/cone/files/patch-fileno-casts	Thu Jan  1 01:00:00 1970
@@ -1,49 +0,0 @@
---- 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-gcc34 /root/ports/mail/cone/files/patch-gcc34
--- /usr/ports/mail/cone/files/patch-gcc34	Thu Jan  1 01:00:00 1970
+++ /root/ports/mail/cone/files/patch-gcc34	Mon Jun  7 20:47:24 2004
@@ -0,0 +1,10 @@
+--- libmail/addressbookget.C~	Mon Jun  7 20:46:57 2004
++++ libmail/addressbookget.C	Mon Jun  7 20:45:14 2004
+@@ -260,5 +260,5 @@
+ 	addressBookLineMap.insert(make_pair(hdr, text));
+ }
+ 
+-template mail::addressbook::GetAddressList<mail::address>;
+-template mail::addressbook::GetAddressList<mail::emailAddress>;
++template class mail::addressbook::GetAddressList<mail::address>;
++template class mail::addressbook::GetAddressList<mail::emailAddress>;
diff -ruN --exclude=CVS /usr/ports/mail/cone/pkg-plist /root/ports/mail/cone/pkg-plist
--- /usr/ports/mail/cone/pkg-plist	Tue May 18 13:20:31 2004
+++ /root/ports/mail/cone/pkg-plist	Mon Jun  7 13:48:30 2004
@@ -4,6 +4,136 @@
 sbin/cone-sysconftool
 etc/cone.dist
 libexec/cone
+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-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/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/add.html
+share/cone/address.html
+share/cone/attributes.html
+share/cone/book.html
+share/cone/c2570.html
+share/cone/c2608.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/emailaddress.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-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/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/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-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/r11013.html
+share/cone/r8527.html
+share/cone/r8784.html
+share/cone/readme.html
 share/cone/rootcerts/052e396b.0
 share/cone/rootcerts/0bb21872.0
 share/cone/rootcerts/0c364b2d.0
@@ -105,9 +235,9 @@
 share/cone/rootcerts/ddc328ff.0
 share/cone/rootcerts/deutsche-telekom-root-ca.pem
 share/cone/rootcerts/dfd0b044.0
-share/cone/rootcerts/dst-rootca-x1.pem
 share/cone/rootcerts/digital-signature-trust-co-dstca-00.pem
 share/cone/rootcerts/digital-signature-trust-co-dstca-01.pem
+share/cone/rootcerts/dst-rootca-x1.pem
 share/cone/rootcerts/dst-rootca-x2.pem
 share/cone/rootcerts/e-certify-ca.pem
 share/cone/rootcerts/e-certify-ra.pem
@@ -121,9 +251,9 @@
 share/cone/rootcerts/entrust-net-certification-authority.pem
 share/cone/rootcerts/entrust-net-client-certification-00.pem
 share/cone/rootcerts/entrust-net-client-certification-01.pem
-share/cone/rootcerts/equifax-equifax-premium-certificate.pem
 share/cone/rootcerts/entrust-net-secure-server-certification-00.pem
 share/cone/rootcerts/entrust-net-secure-server-certification-01.pem
+share/cone/rootcerts/equifax-equifax-premium-certificate.pem
 share/cone/rootcerts/equifax-equifax-secure-certificate.pem
 share/cone/rootcerts/equifax-secure-ebusiness-ca-1.pem
 share/cone/rootcerts/equifax-secure-equifax-secure-ebusiness.pem
@@ -184,148 +314,19 @@
 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/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
+share/cone/x11499.html
+share/cone/x11705.html
+share/cone/x12041.html
+share/cone/x12312.html
+share/cone/x12555.html
+share/cone/x12659.html
+share/cone/x12901.html
+share/cone/x13258.html
+share/cone/x13269.html
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm share/cone/rootcerts
--- cone-0.60.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?20040607192730.756895C33>