1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add mail/xc-mail, an RFC 2015-aware e-mail client.

Add x11-toolkits/xclasses, required by XCmail.

PR:	21665, 21666
Approved by:	will
This commit is contained in:
Trevor Johnson 2000-10-04 04:52:56 +00:00
parent 1452e5f02e
commit 34b7bd26df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33398
20 changed files with 349 additions and 0 deletions

View File

@ -139,6 +139,7 @@
SUBDIR += wmmail
SUBDIR += wmpop3
SUBDIR += xbuffy
SUBDIR += xc-mail
SUBDIR += xfaces
SUBDIR += xfmail
SUBDIR += xlbiff

31
mail/xc-mail/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: xc-mail
# Date created: 2000-10-01
# Whom: Trevor Johnson <trevor@freebsd.org>
#
# $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 <bsd.port.mk>

1
mail/xc-mail/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xc-mail-20001001.tar.gz) = e004f7af1667aeb005a79ccaed1f0b3e

View File

@ -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
;;

View File

@ -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 <string.h>
#include <stdlib.h>
#include <errno.h>
-#include <utime.h>
#include <sys/types.h>
+#include <utime.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>

View File

@ -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 <string.h>
#include <stdlib.h>
#include <errno.h>
-#include <utime.h>
#include <sys/types.h>
+#include <utime.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>

View File

@ -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)

View File

@ -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);

1
mail/xc-mail/pkg-comment Normal file
View File

@ -0,0 +1 @@
Mail client for X which supports POP and PGP

12
mail/xc-mail/pkg-descr Normal file
View File

@ -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

18
mail/xc-mail/pkg-plist Normal file
View File

@ -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

View File

@ -83,6 +83,7 @@
SUBDIR += vdkbuilder
SUBDIR += wxgtk
SUBDIR += xbae
SUBDIR += xclasses
SUBDIR += xenophilia
SUBDIR += xforms
SUBDIR += xg

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: xclasses
# Date created: 2000-10-01
# Whom: Trevor Johnson <trevor@freebsd.org>
#
# $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 <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Xclasses-public-1.1.0.src.tar.gz) = 8e40da5f84c724f668f672be8570fefb

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -0,0 +1 @@
C++ layout library for X

View File

@ -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

View File

@ -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