From 65d912247daae4898a11a2ea4df1c33f5e92e346 Mon Sep 17 00:00:00 2001 From: trevor Date: Wed, 4 Oct 2000 04:52:56 +0000 Subject: Add mail/xc-mail, an RFC 2015-aware e-mail client. Add x11-toolkits/xclasses, required by XCmail. PR: 21665, 21666 Approved by: will --- mail/Makefile | 1 + mail/xc-mail/Makefile | 31 +++++++++++++ mail/xc-mail/distinfo | 1 + mail/xc-mail/files/patch-aa | 11 +++++ mail/xc-mail/files/patch-ab | 12 +++++ mail/xc-mail/files/patch-ac | 12 +++++ mail/xc-mail/files/patch-ad | 11 +++++ mail/xc-mail/files/patch-ae | 21 +++++++++ mail/xc-mail/pkg-comment | 1 + mail/xc-mail/pkg-descr | 12 +++++ mail/xc-mail/pkg-plist | 18 ++++++++ x11-toolkits/Makefile | 1 + x11-toolkits/xclasses/Makefile | 31 +++++++++++++ x11-toolkits/xclasses/distinfo | 1 + x11-toolkits/xclasses/files/patch-aa | 20 +++++++++ x11-toolkits/xclasses/files/patch-ab | 11 +++++ x11-toolkits/xclasses/files/patch-ac | 53 ++++++++++++++++++++++ x11-toolkits/xclasses/pkg-comment | 1 + x11-toolkits/xclasses/pkg-descr | 14 ++++++ x11-toolkits/xclasses/pkg-plist | 86 ++++++++++++++++++++++++++++++++++++ 20 files changed, 349 insertions(+) create mode 100644 mail/xc-mail/Makefile create mode 100644 mail/xc-mail/distinfo create mode 100644 mail/xc-mail/files/patch-aa create mode 100644 mail/xc-mail/files/patch-ab create mode 100644 mail/xc-mail/files/patch-ac create mode 100644 mail/xc-mail/files/patch-ad create mode 100644 mail/xc-mail/files/patch-ae create mode 100644 mail/xc-mail/pkg-comment create mode 100644 mail/xc-mail/pkg-descr create mode 100644 mail/xc-mail/pkg-plist create mode 100644 x11-toolkits/xclasses/Makefile create mode 100644 x11-toolkits/xclasses/distinfo create mode 100644 x11-toolkits/xclasses/files/patch-aa create mode 100644 x11-toolkits/xclasses/files/patch-ab create mode 100644 x11-toolkits/xclasses/files/patch-ac create mode 100644 x11-toolkits/xclasses/pkg-comment create mode 100644 x11-toolkits/xclasses/pkg-descr create mode 100644 x11-toolkits/xclasses/pkg-plist diff --git a/mail/Makefile b/mail/Makefile index 7439147..5e45cd6 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -139,6 +139,7 @@ SUBDIR += wmmail SUBDIR += wmpop3 SUBDIR += xbuffy + SUBDIR += xc-mail SUBDIR += xfaces SUBDIR += xfmail SUBDIR += xlbiff diff --git a/mail/xc-mail/Makefile b/mail/xc-mail/Makefile new file mode 100644 index 0000000..f7b53b1 --- /dev/null +++ b/mail/xc-mail/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xc-mail +# Date created: 2000-10-01 +# Whom: Trevor Johnson +# +# $FreeBSD$ +# + +PORTNAME= xc-mail +PORTVERSION= 20001001 # from CVS +CATEGORIES= mail +MASTER_SITES= http://people.freebsd.org/~trevor/ + +MAINTAINER= trevor@FreeBSD.org + +LIB_DEPENDS= Xclasses.1:${PORTSDIR}/x11-toolkits/xclasses + +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_X_PREFIX= yes + +CONFIGURE_ARGS= \ + --includedir=${X11BASE}/include/ \ + --libdir=${X11BASE}/lib/ \ + --x-includes=${X11BASE}/include/ \ + --x-libraries=${X11BASE}/lib/ + +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LDFLAGS="-L${X11BASE}/lib" \ + LIBS="-L${X11BASE}/lib" + +.include diff --git a/mail/xc-mail/distinfo b/mail/xc-mail/distinfo new file mode 100644 index 0000000..8786a3d --- /dev/null +++ b/mail/xc-mail/distinfo @@ -0,0 +1 @@ +MD5 (xc-mail-20001001.tar.gz) = e004f7af1667aeb005a79ccaed1f0b3e diff --git a/mail/xc-mail/files/patch-aa b/mail/xc-mail/files/patch-aa new file mode 100644 index 0000000..5eee1f9 --- /dev/null +++ b/mail/xc-mail/files/patch-aa @@ -0,0 +1,11 @@ +--- plugins/linkshared.in.orig Tue Sep 15 16:18:07 1998 ++++ plugins/linkshared.in Sun Oct 1 05:02:54 2000 +@@ -26,7 +26,7 @@ + + case @host@ in + +- *-linux-*|*-irix6*|*-freebsd3*|*solaris2*) ++ *-linux-*|*-irix6*|*-freebsd3*|*-freebsd4*|*-freebsd5*|*solaris2*) + echo @CXX@ -o $dest -shared -Wl,-soname,"$dest" $* + @CXX@ -o $dest -shared -Wl,-soname,"$dest" $* || die + ;; diff --git a/mail/xc-mail/files/patch-ab b/mail/xc-mail/files/patch-ab new file mode 100644 index 0000000..ea43351 --- /dev/null +++ b/mail/xc-mail/files/patch-ab @@ -0,0 +1,12 @@ +--- src/mail_class.cxx.orig Mon Jun 5 12:11:04 2000 ++++ src/mail_class.cxx Sun Oct 1 05:07:19 2000 +@@ -12,8 +12,8 @@ + #include + #include + #include +-#include + #include ++#include + #include + #include + #include diff --git a/mail/xc-mail/files/patch-ac b/mail/xc-mail/files/patch-ac new file mode 100644 index 0000000..b2aa48d --- /dev/null +++ b/mail/xc-mail/files/patch-ac @@ -0,0 +1,12 @@ +--- src/npop3get.cxx.orig Fri Jun 23 10:42:27 2000 ++++ src/npop3get.cxx Sun Oct 1 05:08:18 2000 +@@ -12,8 +12,8 @@ + #include + #include + #include +-#include + #include ++#include + #include + #include + #include diff --git a/mail/xc-mail/files/patch-ad b/mail/xc-mail/files/patch-ad new file mode 100644 index 0000000..e770067 --- /dev/null +++ b/mail/xc-mail/files/patch-ad @@ -0,0 +1,11 @@ +--- src/sendmail.cxx.orig Sat Sep 9 14:45:54 2000 ++++ src/sendmail.cxx Mon Oct 2 00:07:59 2000 +@@ -101,7 +101,7 @@ + ::send(sockfd,b,len,0); + // alarm(0); + } +- fcntl(sockfd,F_SETFL,O_SYNC); ++ fcntl(sockfd,F_SETFL,O_FSYNC); + return r; + } + int sendmail::RCPT(void) diff --git a/mail/xc-mail/files/patch-ae b/mail/xc-mail/files/patch-ae new file mode 100644 index 0000000..f6c5efb --- /dev/null +++ b/mail/xc-mail/files/patch-ae @@ -0,0 +1,21 @@ +This patch is from the XCmail FAQ. + +--- src/reader.cxx.orig Sat Jun 10 22:44:38 2000 ++++ src/reader.cxx Mon Oct 2 00:15:12 2000 +@@ -2041,16 +2041,6 @@ + { + mn.Recreate(); + } +- else +- { +- static message msg; +- msg.Add(mn,new msgget_int(&mn, +- (int (callable::*)(void))&menu::Selection), +- NULL,NULL,NULL); +- msg.Add(status,NULL,NULL,new msgset_int(&status, +- (void (callable::*)(int))&bannertext::MenuHelpText), +- NULL); +- } + + if (spooled>0) + mn.UnlockItem(5,2); diff --git a/mail/xc-mail/pkg-comment b/mail/xc-mail/pkg-comment new file mode 100644 index 0000000..82ad520 --- /dev/null +++ b/mail/xc-mail/pkg-comment @@ -0,0 +1 @@ +Mail client for X which supports POP and PGP diff --git a/mail/xc-mail/pkg-descr b/mail/xc-mail/pkg-descr new file mode 100644 index 0000000..e4d33ee --- /dev/null +++ b/mail/xc-mail/pkg-descr @@ -0,0 +1,12 @@ +XCmail is a MIME- and POP3-capable e-mail client for X11. It has +plugins to display various kinds of MIME attachments. There is an +address book. XCmail can work with a local mailbox--or several--and +POP3. With POP3, it can use the UIDL function and cache the UIDL +history so mail which is left on the POP server but deleted on the +client is only downloaded once. XCmail has RFC 2015-compliant +support for encrypted mail in multipart MIME format. + +WWW: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/ + +Trevor Johnson +trevor@freebsd.org diff --git a/mail/xc-mail/pkg-plist b/mail/xc-mail/pkg-plist new file mode 100644 index 0000000..9add1ae --- /dev/null +++ b/mail/xc-mail/pkg-plist @@ -0,0 +1,18 @@ +XCmail/converters/elm2xcmail +XCmail/converters/ns2xcmail +XCmail/plugins/babelfish_pl.o +XCmail/plugins/binhex_encoding_pl.o +XCmail/plugins/check_new_release_pl.o +XCmail/plugins/dictionary_pl.o +XCmail/plugins/js_code_pl.o +XCmail/plugins/mhstyle_pl.o +XCmail/plugins/rot13_encoding_pl.o +XCmail/plugins/search_pl.o +XCmail/plugins/simple_filter_pl.o +XCmail/plugins/spam_bouncer_pl.o +XCmail/plugins/test_pl.o +XCmail/plugins/trashmgr_pl.o +bin/xc-mail +@dirrm XCmail/plugins +@dirrm XCmail/converters +@dirrm XCmail diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index b698b5c..f263aeb 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -83,6 +83,7 @@ SUBDIR += vdkbuilder SUBDIR += wxgtk SUBDIR += xbae + SUBDIR += xclasses SUBDIR += xenophilia SUBDIR += xforms SUBDIR += xg diff --git a/x11-toolkits/xclasses/Makefile b/x11-toolkits/xclasses/Makefile new file mode 100644 index 0000000..61d9c6e --- /dev/null +++ b/x11-toolkits/xclasses/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: xclasses +# Date created: 2000-10-01 +# Whom: Trevor Johnson +# +# $FreeBSD$ +# + +PORTNAME= xclasses +PORTVERSION= 1.1.0 +CATEGORIES= x11-toolkits +MASTER_SITES= http://fsai.fh-trier.de/~schmitzj/Xclasses/arc/ +DISTNAME= Xclasses-public-${PORTVERSION}.src + +MAINTAINER= trevor@FreeBSD.org + +USE_X_PREFIX= yes +PLIST_SUB= VERSION="${PORTVERSION}" +WRKSRC= ${WRKDIR}/xclasses + +post-patch: + @${PERL} -pi -e "s=X11BASE=${X11BASE}=g" ${WRKSRC}/build \ + ${WRKSRC}/System/ARules.FreeBSD + +do-build: + @cd ${WRKSRC} && ${SH} build all + +do-install: + @cd ${WRKSRC} && ${SH} build install + @${INSTALL_SCRIPT} ${WRKSRC}/setenvxc ${PREFIX}/bin + +.include diff --git a/x11-toolkits/xclasses/distinfo b/x11-toolkits/xclasses/distinfo new file mode 100644 index 0000000..f9c7415 --- /dev/null +++ b/x11-toolkits/xclasses/distinfo @@ -0,0 +1 @@ +MD5 (Xclasses-public-1.1.0.src.tar.gz) = 8e40da5f84c724f668f672be8570fefb diff --git a/x11-toolkits/xclasses/files/patch-aa b/x11-toolkits/xclasses/files/patch-aa new file mode 100644 index 0000000..6ef990b --- /dev/null +++ b/x11-toolkits/xclasses/files/patch-aa @@ -0,0 +1,20 @@ +--- System/ARules.FreeBSD.orig Thu Sep 10 19:12:51 1998 ++++ System/ARules.FreeBSD Sun Oct 1 02:15:35 2000 +@@ -34,7 +34,7 @@ + CPU=$(CPU$(CPUm)) + + ## additional include paths +-INCLUDES=-I$(TOPDIR)/include -I/usr/openwin/include -I/usr/local/include -I$(INCLUDESDIR) ++INCLUDES=-I$(TOPDIR)/include -I/usr/openwin/include -IX11BASE/include -I$(INCLUDESDIR) + + ## Flags for compiler AND linker + BOTH= +@@ -48,7 +48,7 @@ + CC_OPTIONS=$(CPU) $(WARNS) $(INCLUDES) $(DEFINES) + + ## linker flags +-LD_OPTIONS=-L/usr/X11/lib -L/usr/lib -L$(LIBSDIR) ++LD_OPTIONS=-LX11BASE/lib -L/usr/lib -L$(LIBSDIR) + + ## linker libraries + SHLIBS=-lX11 -lm diff --git a/x11-toolkits/xclasses/files/patch-ab b/x11-toolkits/xclasses/files/patch-ab new file mode 100644 index 0000000..23b5d61 --- /dev/null +++ b/x11-toolkits/xclasses/files/patch-ab @@ -0,0 +1,11 @@ +--- code/code.rule.orig Thu Jul 16 19:29:27 1998 ++++ code/code.rule Sun Oct 1 02:46:19 2000 +@@ -13,7 +13,7 @@ + + compile: .depend $(ALL) + @rm -f ../$(DIRNAME).arc +- @(for N in $(ALL); do echo >>../$(DIRNAME).arc "$(DIRNAME)/`basename $$N .o`.lo"; done) ++ @(for N in $(ALL); do echo >>../$(DIRNAME).arc "$(DIRNAME)/`basename $$N .o`.o"; done) + + install: + $(MAKE) -C ../ install diff --git a/x11-toolkits/xclasses/files/patch-ac b/x11-toolkits/xclasses/files/patch-ac new file mode 100644 index 0000000..0858a3b --- /dev/null +++ b/x11-toolkits/xclasses/files/patch-ac @@ -0,0 +1,53 @@ +--- build.orig Thu Jun 8 00:13:13 2000 ++++ build Sun Oct 1 03:15:10 2000 +@@ -57,29 +57,25 @@ + rm -f Rules + rm -f Rules.make + +- INCLUDESDIR=${XCLASSESINCLUDE:-"/usr/local/include"} +- LIBSDIR=${XCLASSESLIB:-"/usr/local/lib"} +- CONFIGSDIR=${XCLASSESCONFIG:-"/usr/lib/X11/Xclasses"} ++ INCLUDESDIR=X11BASE/include/ ++ LIBSDIR=X11BASE/lib/ ++ CONFIGSDIR=X11BASE/share/Xclasses/ + ROOTID=0 + + if [ "$2" != "quit" ]; then + echo -n "includes dir [$INCLUDESDIR] :" +- read R + if [ -n "$R" ]; then + INCLUDESDIR="$R" + fi + echo -n "libs dir [$LIBSDIR] :" +- read R + if [ -n "$R" ]; then + LIBSDIR="$R" + fi + echo -n "configs dir [$CONFIGSDIR] :" +- read R + if [ -n "$R" ]; then + CONFIGSDIR="$R" + fi + echo -n "root id (Xclasses owner) [$ROOTID] :" +- read R + if [ -n "$R" ]; then + ROOTID="$R" + fi +@@ -100,7 +96,7 @@ + + # look for installed XPM lib + MAKEXPM="y" +- for N in /usr/include/X11 /usr/local/include/X11 ++ for N in X11BASE/include/X11/ + do + if [ -f "$N/xpm.h" ]; then + MAKEXPM="n" +@@ -112,7 +108,7 @@ + fi + + # look for shapes +- if [ -f "/usr/include/X11/extensions/shape.h" ]; then ++ if [ -f "X11BASE/include/X11/extensions/shape.h" ]; then + USESHAPE="y" + else + USESHAPE="n" diff --git a/x11-toolkits/xclasses/pkg-comment b/x11-toolkits/xclasses/pkg-comment new file mode 100644 index 0000000..521fcd6 --- /dev/null +++ b/x11-toolkits/xclasses/pkg-comment @@ -0,0 +1 @@ +C++ layout library for X diff --git a/x11-toolkits/xclasses/pkg-descr b/x11-toolkits/xclasses/pkg-descr new file mode 100644 index 0000000..b7c7e6f --- /dev/null +++ b/x11-toolkits/xclasses/pkg-descr @@ -0,0 +1,14 @@ +from the README: + +Xclasses is a C++ layout library for the X Window System. The +sizes of all objects (gadgets) change with the size of the font +and the size of the window. + +All gadgets have the same base class (class gadget) so they are +all used the same way. Gadgets are put together in groups which +manage the sizes of the gadgets (or groups) inside. + +WWW: http://www.fsai.fh-trier.de/~schmitzj/Xclasses/ + +Trevor Johnson +trevor@freebsd.org diff --git a/x11-toolkits/xclasses/pkg-plist b/x11-toolkits/xclasses/pkg-plist new file mode 100644 index 0000000..dcd89d7 --- /dev/null +++ b/x11-toolkits/xclasses/pkg-plist @@ -0,0 +1,86 @@ +bin/setenvxc +include/Xclasses/Ddraw.h +include/Xclasses/XCprogram.h +include/Xclasses/Xclasses.h +include/Xclasses/Xclasses_class.h +include/Xclasses/Xcolors.h +include/Xclasses/Xdisplay.h +include/Xclasses/Xshadow.h +include/Xclasses/Xwindows.h +include/Xclasses/anim.h +include/Xclasses/appwindow.h +include/Xclasses/autotextbox.h +include/Xclasses/bordergroup.h +include/Xclasses/button.h +include/Xclasses/callable.h +include/Xclasses/card.h +include/Xclasses/checkbox.h +include/Xclasses/choice.h +include/Xclasses/colornamegroup.h +include/Xclasses/config.h +include/Xclasses/creater.h +include/Xclasses/dirview.h +include/Xclasses/dlist.h +include/Xclasses/easy_dialog.h +include/Xclasses/fbutton.h +include/Xclasses/file_dialog.h +include/Xclasses/fileinput.h +include/Xclasses/fontgroup.h +include/Xclasses/gadget.h +include/Xclasses/gfx_arrow.h +include/Xclasses/gfx_autotext.h +include/Xclasses/gfx_checkbox.h +include/Xclasses/gfx_command.h +include/Xclasses/gfx_dir.h +include/Xclasses/gfx_file.h +include/Xclasses/gfx_knob.h +include/Xclasses/gfx_locked.h +include/Xclasses/gfx_object.h +include/Xclasses/gfx_text.h +include/Xclasses/gfx_xpm.h +include/Xclasses/go_button.h +include/Xclasses/go_selbutton.h +include/Xclasses/gpopup.h +include/Xclasses/graphic.h +include/Xclasses/group.h +include/Xclasses/html_gadget.h +include/Xclasses/htmltextbox.h +include/Xclasses/image.h +include/Xclasses/indicator.h +include/Xclasses/input.h +include/Xclasses/keyclass.h +include/Xclasses/lefttext.h +include/Xclasses/listgroup.h +include/Xclasses/listview.h +include/Xclasses/menu.h +include/Xclasses/message.h +include/Xclasses/message_tools.h +include/Xclasses/multilistview.h +include/Xclasses/mxbutton.h +include/Xclasses/mxgadget.h +include/Xclasses/mxknob.h +include/Xclasses/output.h +include/Xclasses/popbutton.h +include/Xclasses/popup.h +include/Xclasses/rubbergroup.h +include/Xclasses/ruler.h +include/Xclasses/scroller.h +include/Xclasses/selbutton.h +include/Xclasses/selgadget.h +include/Xclasses/selknob.h +include/Xclasses/slider.h +include/Xclasses/spacegroup.h +include/Xclasses/text.h +include/Xclasses/textbox.h +include/Xclasses/tools.h +include/Xclasses/treeview.h +include/Xclasses/types.h +include/Xclasses/visible.h +include/Xclasses/xclock.h +lib/libXclasses.a +lib/libXclasses.so +lib/libXclasses.so.1 +lib/libXclasses.so.%%VERSION%% +share/Xclasses/Xclasses +@dirrm share/Xclasses +@dirrm include/Xclasses -- cgit v1.1