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

Mailutils is a swiss army knife of electronic mail handling.

It offers a rich set of utilities and daemons for processing
e-mail.

All Mailutils programs are able to operate on mailboxes of
any existing format, ranging from standard UNIX maildrops,
through maildir and up to remote mailboxes, which are
transparently accessed using IMAP4, POP3 and SMTP.

WWW: http://mailutils.org/

PR:		ports/158703
Submitted by:	Attila Nagy <bra@fsn.hu>
This commit is contained in:
Sahil Tandon 2012-02-12 18:45:26 +00:00
parent 2035762605
commit e5f0a68b3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291069
5 changed files with 444 additions and 0 deletions

View File

@ -253,6 +253,7 @@
SUBDIR += mailscanner
SUBDIR += mailsync
SUBDIR += mailtray
SUBDIR += mailutils
SUBDIR += mailx
SUBDIR += mairix
SUBDIR += majordomo

108
mail/mailutils/Makefile Normal file
View File

@ -0,0 +1,108 @@
# New ports collection makefile for: mailutils
# Date created: 2011-07-05
# Whom: Attila Nagy <bra@fsn.hu>
#
# $FreeBSD$
#
PORTNAME= mailutils
PORTVERSION= 2.2
CATEGORIES= mail
MASTER_SITES= GNU
MAINTAINER= bra@fsn.hu
COMMENT= Mailutils offers utilities and daemons for processing e-mail
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS+=--disable-build-comsat
LDFLAGS= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
INFO= ${PORTNAME}
MAN1= imap4d.1 mail.1 pop3d.1 popauth.1
OPTIONS= GDBM "Use GNU DBM" Off \
BDB "Use Berkeley DB" Off \
TOKYOCABINET "Use Tokyo Cabinet" Off \
GNUTLS "Enable GNUTLS support" Off \
MYSQL "Enable MySQL support" Off \
PGSQL "Enable Postgres support" Off \
LDAP "Enable LDAP support" Off \
PYTHON "Enable Python support" Off
.include <bsd.port.options.mk>
.if defined(WITH_GDBM)
CONFIGURE_ARGS+= --with-gdbm
LIB_DEPENDS+= gdbm.3:${PORTSDIR}/databases/gdbm
.else
CONFIGURE_ARGS+= --without-gdbm
.endif
.if defined(WITH_BDB)
USE_BDB= yes
CONFIGURE_ARGS+= --with-berkeley-db
.else
CONFIGURE_ARGS+= --without-berkeley-db
.endif
.if defined(WITH_TOKYOCABINET)
CONFIGURE_ARGS+= --with-tokyocabinet
LIB_DEPENDS+= tokyocabinet.9:${PORTSDIR}/databases/tokyocabinet
PLIST_SUB+= TOKYOCABINET=""
.else
CONFIGURE_ARGS+= --without-tokyocabinet
PLIST_SUB+= TOKYOCABINET="@comment "
.endif
.if defined(WITH_GNUTLS)
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+= --with-gnutls
.else
CONFIGURE_ARGS+= --without-gnutls
.endif
.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgres
.else
CONFIGURE_ARGS+= --without-postgres
.endif
.if defined(WITH_LDAP)
USE_OPENLDAP= yes
CONFIGURE_ARGS+= --with-ldap
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.if defined(WITH_PYTHON)
CONFIGURE_ARGS+= --with-python --with-pythondir=${PYTHON_SITELIBDIR}
USE_PYTHON= 2.5+
PLIST_SUB+= PYTHON=""
.else
CONFIGURE_ARGS+= --without-python
PLIST_SUB+= PYTHON="@comment "
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
.include <bsd.port.mk>

2
mail/mailutils/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mailutils-2.2.tar.gz) = 97591debcd32ac1f4c4d16eaa8f21690d9dfefcb79e29bd293871d57c4a5e05d
SIZE (mailutils-2.2.tar.gz) = 4497847

10
mail/mailutils/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Mailutils is a swiss army knife of electronic mail handling.
It offers a rich set of utilities and daemons for processing
the e-mail.
All Mailutils programs are able to operate on mailboxes of
any existing format, ranging from standard UNIX maildrops,
through maildir and up to remote mailboxes, which are
transparently accessed using IMAP4, POP3 and SMTP.
WWW: http://mailutils.org/

323
mail/mailutils/pkg-plist Normal file
View File

@ -0,0 +1,323 @@
bin/dotlock
bin/frm
bin/from
bin/mail
bin/mailutils-config
bin/messages
bin/mimeview
bin/movemail
bin/mu-mh/ali
bin/mu-mh/anno
bin/mu-mh/burst
bin/mu-mh/comp
bin/mu-mh/fmtcheck
bin/mu-mh/folder
bin/mu-mh/folders
bin/mu-mh/forw
bin/mu-mh/inc
bin/mu-mh/install-mh
bin/mu-mh/mark
bin/mu-mh/mhl
bin/mu-mh/mhn
bin/mu-mh/mhparam
bin/mu-mh/mhpath
bin/mu-mh/pick
bin/mu-mh/refile
bin/mu-mh/repl
bin/mu-mh/rmf
bin/mu-mh/rmm
bin/mu-mh/scan
bin/mu-mh/send
bin/mu-mh/sortm
bin/mu-mh/whatnow
bin/mu-mh/whom
%%TOKYOCABINET%%bin/popauth
bin/readmsg
bin/sieve
include/mailutils/acl.h
include/mailutils/address.h
include/mailutils/alloc.h
include/mailutils/argcv.h
include/mailutils/assoc.h
include/mailutils/attribute.h
include/mailutils/auth.h
include/mailutils/body.h
include/mailutils/cctype.h
include/mailutils/cfg.h
include/mailutils/cpp/address.h
include/mailutils/cpp/attribute.h
include/mailutils/cpp/body.h
include/mailutils/cpp/debug.h
include/mailutils/cpp/envelope.h
include/mailutils/cpp/error.h
include/mailutils/cpp/filter.h
include/mailutils/cpp/folder.h
include/mailutils/cpp/header.h
include/mailutils/cpp/iterator.h
include/mailutils/cpp/list.h
include/mailutils/cpp/mailbox.h
include/mailutils/cpp/mailcap.h
include/mailutils/cpp/mailer.h
include/mailutils/cpp/mailutils.h
include/mailutils/cpp/message.h
include/mailutils/cpp/mime.h
include/mailutils/cpp/mutil.h
include/mailutils/cpp/pop3.h
include/mailutils/cpp/registrar.h
include/mailutils/cpp/secret.h
include/mailutils/cpp/sieve.h
include/mailutils/cpp/stream.h
include/mailutils/cpp/url.h
include/mailutils/cstr.h
include/mailutils/daemon.h
include/mailutils/debug.h
include/mailutils/diag.h
include/mailutils/envelope.h
include/mailutils/errno.h
include/mailutils/error.h
include/mailutils/filter.h
include/mailutils/folder.h
include/mailutils/gocs.h
include/mailutils/gsasl.h
include/mailutils/guile.h
include/mailutils/header.h
include/mailutils/io.h
include/mailutils/iterator.h
include/mailutils/kwd.h
include/mailutils/ldap.h
include/mailutils/libargp.h
include/mailutils/libcfg.h
include/mailutils/list.h
include/mailutils/locker.h
include/mailutils/mailbox.h
include/mailutils/mailcap.h
include/mailutils/mailer.h
include/mailutils/mailutils.h
include/mailutils/md5.h
include/mailutils/message.h
include/mailutils/mime.h
include/mailutils/monitor.h
include/mailutils/mu_auth.h
include/mailutils/mutil.h
include/mailutils/nls.h
include/mailutils/nntp.h
include/mailutils/observer.h
include/mailutils/opool.h
include/mailutils/pam.h
include/mailutils/parse822.h
include/mailutils/pop3.h
include/mailutils/progmailer.h
include/mailutils/property.h
include/mailutils/python.h
include/mailutils/radius.h
include/mailutils/refcount.h
include/mailutils/registrar.h
include/mailutils/secret.h
include/mailutils/server.h
include/mailutils/sha1.h
include/mailutils/sieve.h
include/mailutils/sql.h
include/mailutils/stream.h
include/mailutils/sys/nntp.h
include/mailutils/sys/pop3.h
include/mailutils/syslog.h
include/mailutils/tls.h
include/mailutils/types.h
include/mailutils/url.h
include/mailutils/vartab.h
include/mailutils/version.h
lib/libmailutils.a
lib/libmailutils.la
lib/libmailutils.so
lib/libmailutils.so.3
lib/libmu_argp.a
lib/libmu_auth.a
lib/libmu_auth.la
lib/libmu_auth.so
lib/libmu_auth.so.3
lib/libmu_cfg.a
lib/libmu_cfg.la
lib/libmu_cfg.so
lib/libmu_cfg.so.0
lib/libmu_cpp.a
lib/libmu_cpp.la
lib/libmu_cpp.so
lib/libmu_cpp.so.3
lib/libmu_imap.a
lib/libmu_imap.la
lib/libmu_imap.so
lib/libmu_imap.so.3
lib/libmu_maildir.a
lib/libmu_maildir.la
lib/libmu_maildir.so
lib/libmu_maildir.so.3
lib/libmu_mailer.a
lib/libmu_mailer.la
lib/libmu_mailer.so
lib/libmu_mailer.so.3
lib/libmu_mbox.a
lib/libmu_mbox.la
lib/libmu_mbox.so
lib/libmu_mbox.so.3
lib/libmu_mh.a
lib/libmu_mh.la
lib/libmu_mh.so
lib/libmu_mh.so.3
lib/libmu_nntp.a
lib/libmu_nntp.la
lib/libmu_nntp.so
lib/libmu_nntp.so.3
lib/libmu_pop.a
lib/libmu_pop.la
lib/libmu_pop.so
lib/libmu_pop.so.3
%%PYTHON%%lib/libmu_py.a
%%PYTHON%%lib/libmu_py.la
%%PYTHON%%lib/libmu_py.so
%%PYTHON%%lib/libmu_py.so.3
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/__init__.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/__init__.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/__init__.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/address.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/address.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/address.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/attribute.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/attribute.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/attribute.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/auth.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/auth.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/auth.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/body.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/body.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/body.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/c_api.a
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/c_api.la
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/c_api.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/debug.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/debug.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/debug.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/envelope.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/envelope.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/envelope.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/error.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/error.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/error.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/filter.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/filter.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/filter.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/folder.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/folder.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/folder.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/header.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/header.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/header.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailbox.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailbox.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailbox.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailcap.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailcap.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailcap.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailer.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailer.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mailer.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/message.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/message.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/message.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mime.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mime.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/mime.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/nls.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/nls.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/nls.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/registrar.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/registrar.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/registrar.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/secret.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/secret.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/secret.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/sieve.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/sieve.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/sieve.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/stream.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/stream.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/stream.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/url.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/url.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/url.pyo
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/util.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/util.pyc
%%PYTHON%%%%PYTHON_SITELIBDIR%%/mailutils/util.pyo
lib/libmu_sieve.a
lib/libmu_sieve.la
lib/libmu_sieve.so
lib/libmu_sieve.so.3
lib/mailutils/list.a
lib/mailutils/list.la
lib/mailutils/list.so
lib/mailutils/moderator.a
lib/mailutils/moderator.la
lib/mailutils/moderator.so
lib/mailutils/numaddr.a
lib/mailutils/numaddr.la
lib/mailutils/numaddr.so
lib/mailutils/pipe.a
lib/mailutils/pipe.la
lib/mailutils/pipe.so
lib/mailutils/spamd.a
lib/mailutils/spamd.la
lib/mailutils/spamd.so
lib/mailutils/timestamp.a
lib/mailutils/timestamp.la
lib/mailutils/timestamp.so
lib/mailutils/vacation.a
lib/mailutils/vacation.la
lib/mailutils/vacation.so
sbin/imap4d
sbin/maidag
sbin/pop3d
share/aclocal/mailutils.m4
%%NLS%%share/locale/ca/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/es/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/fr/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/id/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/pl/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/ro/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/ru/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/sv/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/uk/LC_MESSAGES/mailutils.mo
%%NLS%%share/locale/vi/LC_MESSAGES/mailutils.mo
%%DATADIR%%/mh/components
%%DATADIR%%/mh/mailutils-mh.el
%%DATADIR%%/mh/mhl.format
%%DATADIR%%/mh/replcomps
%%DATADIR%%/mh/replgroupcomps
%%NLS%%@dirrmtry share/locale/ca/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ca
%%NLS%%@dirrmtry share/locale/es/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/es
%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/fr
%%NLS%%@dirrmtry share/locale/id/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/id
%%NLS%%@dirrmtry share/locale/pl/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/pl
%%NLS%%@dirrmtry share/locale/ro/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ro
%%NLS%%@dirrmtry share/locale/ru/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/ru
%%NLS%%@dirrmtry share/locale/sv/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/sv
%%NLS%%@dirrmtry share/locale/uk/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/uk
%%NLS%%@dirrmtry share/locale/vi/LC_MESSAGES
%%NLS%%@dirrmtry share/locale/vi
%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/mailutils
@dirrm %%DATADIR%%/mh
@dirrm %%DATADIR%%/2.2/modules
@dirrm %%DATADIR%%/2.2
@dirrm %%DATADIR%%
@dirrm bin/mu-mh
@dirrm include/mailutils/sys
@dirrm include/mailutils/cpp
@dirrm include/mailutils
@dirrm lib/mailutils