Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 1997 13:01:03 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4612: Update port: converters/mimepp
Message-ID:  <199709230901.NAA08466@icc.surw.chel.su>
Resent-Message-ID: <199709230930.CAA01448@hub.freebsd.org>

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

>Number:         4612
>Category:       ports
>Synopsis:       Update port: converters/mimepp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 02:30:01 PDT 1997
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

  This is a patch to update converters/mimepp port.

diff -ruN mimepp/Makefile mimepp-1.0/Makefile
--- mimepp/Makefile	Mon Jul 21 22:22:44 1997
+++ mimepp-1.0/Makefile	Tue Sep 23 09:48:06 1997
@@ -1,34 +1,36 @@
 # New ports collection makefile for:	mimepp
-# Version required:			0.8.0
+# Version required:			1.0
 # Date created:				3 July 1997
 # Whom:					Andrey Zakhvatov
 #
-# $Id: Makefile,v 1.3 1997/07/21 19:28:41 max Exp $
+#
 #
 
-DISTNAME=		mimepp-0.8.0
+DISTNAME=		mimepp-1.0
 CATEGORIES=		converters
 MASTER_SITES=		${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	devel/lang/c++
 
 MAINTAINER=		andy@icc.surw.chel.su
 
-WRKSRC=			${WRKDIR}/mimepp-970213
+MAKEFILE=		makefile.unx
 ALL_TARGET=		lib
 
 do-install:
-	@ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib/libmimepp.a
+	@ ${INSTALL_DATA} ${WRKSRC}/libmimepp.a ${PREFIX}/lib
 	@ ${MKDIR} ${PREFIX}/include/mimepp
-	@ ${INSTALL_DATA} ${WRKSRC}/mimepp/* ${PREFIX}/include/mimepp
+.for file in address.h addrlist.h binhex.h body.h bodypart.h boyermor.h config.h datetime.h debug.h disptype.h entity.h enum.h field.h fieldbdy.h group.h headers.h mailbox.h mboxlist.h mechansm.h mediatyp.h message.h mimepp.h msgcmp.h msgid.h nntp.h param.h pop.h protocol.h smtp.h string.h text.h token.h utility.h uuencode.h
+	@ ${INSTALL_DATA} ${WRKSRC}/mimepp/${file} ${PREFIX}/include/mimepp
+.endfor
 	@ ${MKDIR} ${PREFIX}/share/doc/mimepp
-.for file in CPYRIGHT README Tutorial
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp/${file}
+.for file in CPYRIGHT LICENSE README Tutorial
+	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/mimepp
 .endfor
 	@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/mimepp
 	@ ${MKDIR} ${PREFIX}/share/examples/mimepp
-.for file in exampl01.cc exampl02.cc exampl03.cc exampl04.cc exampl05.cc attach.cc basicmsg.cc multipar.cc attach.h basicmsg.h multipar.h test01.txt test02.txt test03.txt test04.txt test05.txt
-	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp/${file}
-.endfor
 	@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/mimepp
+.for file in attach.cpp attach.h basicmsg.cpp basicmsg.h exampl01.cpp exampl01.txt exampl02.cpp exampl02.txt exampl03.cpp exampl03.txt exampl04.cpp exampl04.txt exampl05.cpp exampl05.txt multipar.cpp multipar.h
+	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/examples/mimepp
+.endfor
 
 .include <bsd.port.mk>
diff -ruN mimepp/files/Makefile mimepp-1.0/files/Makefile
--- mimepp/files/Makefile	Tue Jul  8 10:08:50 1997
+++ mimepp-1.0/files/Makefile	Tue Sep 23 09:51:51 1997
@@ -1,11 +1,16 @@
-# makefile for MIME++ example programs
+# UNIX makefile for MIME++ example programs
+
+# $Revision: 3.0 $
+# $Date: 1997-07-28 06:59:15-05 $
 
 # C++ compiler driver
+# CXX = CC
 CXX = g++
 
 # C++ compiler flags (except -c, -I, -L, -l)
+#
 # Add -g here if you want debugger symbols included
-CXXFLAGS = -DDW_EOL_LF
+CXXFLAGS = -O
 
 # The search path for include files. Change only if necessary.
 INC_PATH = -I/usr/local/include
@@ -23,29 +28,27 @@
 # The include files will actually be copied to $(INC_DIR)/mimepp/.
 INC_DIR = /usr/local/include
 
-LIB_OBJ = $(LIB_CC:.cc=.o)
-
 all: exampl01 exampl02 exampl03 exampl04 exampl05
 
-exampl01 : exampl01.o basicmsg.o libmimepp.a
-	$(CXX) -o exampl01 exampl01.o basicmsg.o $(LIB_PATH) -lmimepp
+exampl01 : libmimepp.a exampl01.o basicmsg.o
+	$(CXX) -o exampl01 exampl01.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
 
-exampl02 : exampl02.o basicmsg.o libmimepp.a
-	$(CXX) -o exampl02 exampl02.o basicmsg.o $(LIB_PATH) -lmimepp
+exampl02 : libmimepp.a exampl02.o basicmsg.o
+	$(CXX) -o exampl02 exampl02.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
 
-exampl03 : exampl03.o multipar.o basicmsg.o libmimepp.a
-	$(CXX) -o exampl03 exampl03.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp
+exampl03 : libmimepp.a exampl03.o multipar.o basicmsg.o
+	$(CXX) -o exampl03 exampl03.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
 
-exampl04 : exampl04.o multipar.o basicmsg.o libmimepp.a
-	$(CXX) -o exampl04 exampl04.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp
+exampl04 : libmimepp.a exampl04.o multipar.o basicmsg.o
+	$(CXX) -o exampl04 exampl04.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
 
-exampl05 : exampl05.o attach.o multipar.o basicmsg.o libmimepp.a
-	$(CXX) -o exampl05 exampl05.o attach.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp
+exampl05 : libmimepp.a exampl05.o attach.o multipar.o basicmsg.o
+	$(CXX) -o exampl05 exampl05.o attach.o multipar.o basicmsg.o $(LIB_PATH) -lmimepp $(LIBS)
 
 clean:
 	-rm *.o exampl0? *.out
 
-.SUFFIXES: .cc
+.SUFFIXES: .cpp
 
-.cc.o:
+.cpp.o:
 	$(CXX) -c $(CXXFLAGS) $< $(INC_PATH)
diff -ruN mimepp/files/md5 mimepp-1.0/files/md5
--- mimepp/files/md5	Tue Jul  8 10:08:49 1997
+++ mimepp-1.0/files/md5	Tue Sep 23 07:34:42 1997
@@ -1 +1 @@
-MD5 (mimepp-0.8.0.tar.gz) = 2268f857f9f27d31e466986d9ab1fba4
+MD5 (mimepp-1.0.tar.gz) = c028be12cd77339e3277c30bef58fb4a
diff -ruN mimepp/patches/patch-aa mimepp-1.0/patches/patch-aa
--- mimepp/patches/patch-aa	Wed Jul  9 11:39:36 1997
+++ mimepp-1.0/patches/patch-aa	Tue Sep 23 07:50:50 1997
@@ -1,11 +1,19 @@
---- Makefile.orig	Fri Feb 14 05:10:37 1997
-+++ Makefile	Wed Jul  9 13:33:09 1997
-@@ -21,7 +21,7 @@
- 
- # C++ compiler flags (except -c, -I, -L, -l)
- # Add -g here if you want debugger symbols included
--CXXFLAGS = -DDW_EOL_LF
-+CXXFLAGS = -DDW_EOL_LF ${CFLAGS}
- 
- # The search path for include files. Change only if necessary.
- INC_PATH = -I.
+*** makefile.unx	Tue Sep  2 19:28:33 1997
+--- /home/andy/tmp/wrk/makefile.unx	Tue Sep 23 07:48:55 1997
+***************
+*** 26,32 ****
+  # C++ compiler flags (except -c, -I, -L, -l)
+  #
+  # Add -g here if you want debugger symbols included
+! CXXFLAGS =
+  
+  # The search path for include files. Change only if necessary.
+  INC_PATH = -I.
+--- 26,32 ----
+  # C++ compiler flags (except -c, -I, -L, -l)
+  #
+  # Add -g here if you want debugger symbols included
+! CXXFLAGS = ${CFLAGS}
+  
+  # The search path for include files. Change only if necessary.
+  INC_PATH = -I.
diff -ruN mimepp/pkg/DESCR mimepp-1.0/pkg/DESCR
--- mimepp/pkg/DESCR	Tue Jul  8 10:08:50 1997
+++ mimepp-1.0/pkg/DESCR	Tue Sep 23 09:50:45 1997
@@ -1,8 +1,8 @@
 MIME++ is a C++ class library for creating, parsing, and
 editing messages in MIME format.  The class structure in
 MIME++ closely follows the BNF grammar specified in RFC-822
-and RFC-1521, making the library intuitive for developers
+and RFC-2045, making the library intuitive for developers
 who are familiar with the MIME standard.  MIME++ supports
 quoted-printable and base64 encoding/decoding, and all
-header fields specified in RFC-822, RFC-1036, and RFC-1521.
+header fields specified in RFC-822, RFC-1036, and RFC-2045.
 MIME++ is extensible through inheritance and polymorphism.
diff -ruN mimepp/pkg/PLIST mimepp-1.0/pkg/PLIST
--- mimepp/pkg/PLIST	Tue Jul  8 10:08:50 1997
+++ mimepp-1.0/pkg/PLIST	Tue Sep 23 09:40:17 1997
@@ -1,17 +1,19 @@
 include/mimepp/address.h
 include/mimepp/addrlist.h
+include/mimepp/binhex.h
 include/mimepp/body.h
 include/mimepp/bodypart.h
+include/mimepp/boyermor.h
+include/mimepp/config.h
 include/mimepp/datetime.h
+include/mimepp/debug.h
 include/mimepp/disptype.h
-include/mimepp/dw_debug.h
-include/mimepp/dw_mime.h
-include/mimepp/dwstring.h
 include/mimepp/entity.h
+include/mimepp/enum.h
 include/mimepp/field.h
 include/mimepp/fieldbdy.h
 include/mimepp/group.h
-include/mimepp/header.h
+include/mimepp/headers.h
 include/mimepp/mailbox.h
 include/mimepp/mboxlist.h
 include/mimepp/mechansm.h
@@ -20,24 +22,34 @@
 include/mimepp/mimepp.h
 include/mimepp/msgcmp.h
 include/mimepp/msgid.h
+include/mimepp/nntp.h
 include/mimepp/param.h
+include/mimepp/pop.h
+include/mimepp/protocol.h
+include/mimepp/smtp.h
+include/mimepp/string.h
 include/mimepp/text.h
 include/mimepp/token.h
+include/mimepp/utility.h
+include/mimepp/uuencode.h
 lib/libmimepp.a
 share/doc/mimepp/CPYRIGHT
+share/doc/mimepp/LICENSE
 share/doc/mimepp/README
 share/doc/mimepp/Tutorial
 share/doc/mimepp/address.html
 share/doc/mimepp/addrlist.html
+share/doc/mimepp/binhex.html
 share/doc/mimepp/body.html
 share/doc/mimepp/bodypart.html
+share/doc/mimepp/boyermor.html
 share/doc/mimepp/datetime.html
-share/doc/mimepp/dwstring.html
+share/doc/mimepp/disptype.html
 share/doc/mimepp/entity.html
 share/doc/mimepp/field.html
 share/doc/mimepp/fieldbdy.html
 share/doc/mimepp/group.html
-share/doc/mimepp/header.html
+share/doc/mimepp/headers.html
 share/doc/mimepp/mailbox.html
 share/doc/mimepp/mboxlist.html
 share/doc/mimepp/mechansm.html
@@ -46,25 +58,32 @@
 share/doc/mimepp/mimepp.html
 share/doc/mimepp/msgcmp.html
 share/doc/mimepp/msgid.html
+share/doc/mimepp/nntp.html
 share/doc/mimepp/param.html
+share/doc/mimepp/pop.html
+share/doc/mimepp/protocol.html
+share/doc/mimepp/smtp.html
+share/doc/mimepp/string.html
 share/doc/mimepp/text.html
+share/doc/mimepp/util.html
+share/doc/mimepp/uuencode.html
 share/examples/mimepp/Makefile
-share/examples/mimepp/attach.cc
-share/examples/mimepp/basicmsg.cc
-share/examples/mimepp/exampl01.cc
-share/examples/mimepp/exampl02.cc
-share/examples/mimepp/exampl03.cc
-share/examples/mimepp/exampl04.cc
-share/examples/mimepp/exampl05.cc
-share/examples/mimepp/multipar.cc
+share/examples/mimepp/attach.cpp
 share/examples/mimepp/attach.h
+share/examples/mimepp/basicmsg.cpp
 share/examples/mimepp/basicmsg.h
+share/examples/mimepp/exampl01.cpp
+share/examples/mimepp/exampl01.txt
+share/examples/mimepp/exampl02.cpp
+share/examples/mimepp/exampl02.txt
+share/examples/mimepp/exampl03.cpp
+share/examples/mimepp/exampl03.txt
+share/examples/mimepp/exampl04.cpp
+share/examples/mimepp/exampl04.txt
+share/examples/mimepp/exampl05.cpp
+share/examples/mimepp/exampl05.txt
+share/examples/mimepp/multipar.cpp
 share/examples/mimepp/multipar.h
-share/examples/mimepp/test01.txt
-share/examples/mimepp/test02.txt
-share/examples/mimepp/test03.txt
-share/examples/mimepp/test04.txt
-share/examples/mimepp/test05.txt
 @dirrm include/mimepp
 @dirrm share/doc/mimepp
 @dirrm share/examples/mimepp

>How-To-Repeat:

>Fix:
	
  Please, apply this patch to update port.

>Audit-Trail:
>Unformatted:



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