Commit graph

3247 commits

Author SHA1 Message Date
cjep
fa2c72fbf3 Update of mail/nail to version 11.0
Changes:
[11.0] released 7/30/04
* IMAP support has been added. It should considered to be in beta state
  now, but should not have any disturbing effects on other code unless
  it is actually used. (So the version jump does not require vendors to
  continue to ship older releases.)
  To get started with IMAP, see the manual page for the 'account',
  'folder', and 'imap' commands, and for the 'folder' variable, as
  well as the EXAMPLES and NOTES sections.
* Support for SMTP AUTH LOGIN was added (contributed by John Fawcett).
* It is now possible to encrypt SMTP with SSL/TLS, using the STARTTLS
  method as well as with the SMTPS variant.
* New 'account' command to set groups of variables.
* Line and column limits (used e.g. for the header summary) are updated
  when the size of the terminal is changed (handling SIGWINCH).
* If saving an outgoing message to the folder given in the 'record'
  variable fails, the message is not sent but put in 'dead.letter'
  instead. This rarely happens with local record folders, but is of
  concern if 'record' refers to an IMAP mailbox.
* For addresses specified with the ~b, ~c, ~h, and ~t tilde escapes
  or by the 'editheaders' method, if a comma, parenthesis, angle bracket,
  or quoting character appears, only the comma is accepted as an address
  separator. Otherwise, whitespace separates addresses as elsewhere. This
  allows the insertion of comments in recipient addresses and more closely
  matches the behavior of System V mailx. (Thanks to Ryan Lovett and Hilko
  Bengen.)
* An internal version of getopt() is now used to properly work around
  system defects such as the option reordering on GNU libc based
  systems. If you really prefer the libc version, remove getopt.o from
  the list of objects in the Makefile. (Note that nail already worked
  around the glibc problem, so unless _your_ patches changed its
  behavior, use the new internal getopt() to remain compatible.)
* The undocumented facility to pass sendmail options on the command
  line of nail has been removed because it was not compatible with
  POSIX and System V. If you need to pass options to sendmail, create
  a shell script which invokes it appropriately and let the nail
  variable 'sendmail' point to its location.
* Fixed the text of some usage messages (thanks to Christian Reiber).
2004-08-02 13:05:13 +00:00
schmonz
0183ac8132 The Mac OS X Panther patch needs a different PATCH_DIST_STRIP from
the netqmail patch.
2004-08-02 04:53:00 +00:00
schmonz
fab61096d2 This package creates all the needed basic config files to run qmail,
and provides NetBSD-style rc.d scripts and an example mailer.conf.

The rc.d scripts used to belong directly to the qmail package. Changes
made during the move here:

* Rename qmailfoo_softlimit to the more accurate qmailfoo_datalimit.
* Parameterize logging as qmailfoo_logcmd (default: splogger).
* Run all sploggers (not just qmail-send's) as user qmaill, rather than root.
* Replace "@CAT@" with "@HEAD@ -1" for files expected to contain one line.
2004-08-02 03:59:21 +00:00
schmonz
9da5a78de2 Remove add-on scripts and config files from the qmail and netqmail
packages. They now simply compile and install qmail and its
prerequisites. (The add-on scripts and config files will be revivified
as a separate qmail-run package. Thus, QMAIL_AUTOCONFIG is no longer
needed.)

The user is notified at install time that one popular, well-regarded
way to enable qmail is to follow the directions in "Life with
qmail", and that another way is to install the qmail-run package.

These changes, based on discussion with Charles Cazabon, are intended
to make life easier for the helpful people on the qmail mailing
list by clearly marking custom add-ons as such.

Other changes:

Since netqmail is a tarball containing the qmail tarball plus the
netqmail bits, we can use it for both packages and share more logic
between the two packages: MASTER_SITES, DISTINFO_FILE, WRKSRC, and
the post-extract target.

Now that there's one place to put the distinfo, add Eben Pratt's
simple patch to build and install on Mac OS X 10.3 (the patch is
not applied on other OSes).

Bump PKGREVISION of both packages.
2004-08-02 03:57:17 +00:00
schmonz
0dfb61eb77 Update to 4.0.2. The changelog is lengthy. The author's summary of
differences from previous versions:

getmail version 4 has been completely rewritten. It is designed to
closely mimic the interface and user experience of getmail version
3, but the new architecture necessitates some differences you will
notice:

* the getmail rc file (configuration file) format has changed. If
  you are upgrading from version 3, you will need to write a new
  configuration file based on the contents of your old one. The
  new file format resembles the old in many ways. Each account you
  retrieve mail from will require a separate rc file, but getmail
  can operate with multiple rc files simultaneously if you wish to
  retrieve mail from multiple accounts.

* support for protocols other than POP3/SPDS. IMAP support is now
  included, and other protocols can be added with relative ease.

* support for SSL-encrypted protocols. The included POP3 and IMAP
  retriever classes are complemented by SSL-enabled counterparts.

* messages can be filtered or annotated by external programs like
  spam filters and anti-Microsoft-worm programs. Filters can cause
  messages to be dropped completely.

* a flexible, extensible architecture. Additional classes for
  handling new mail protocols, filter types, or destination mailstores
  can be added without needing to modify the main script at all.
  Feel free to contact me if you need a custom retriever, filter,
  or destination class written, or if you want commercial support
  for getmail.
2004-08-01 08:29:56 +00:00
jlam
6a1fcb90b7 Convert to use bsd.options.mk. 2004-08-01 07:04:45 +00:00
schmonz
7329dd1cc1 Update to 0.99.10.9. From the changelog:
0.99.10.9 2004-07-31  Timo Sirainen <tss at iki.fi>

        - MySQL compiling got broken in last release
        - More PostgreSQL reconnection fixing

0.99.10.8 2004-07-30  Timo Sirainen <tss at iki.fi>

        + LDAP support compiles now with Solaris LDAP library
        - IMAP BODY and BODYSTRUCTURE replies were wrong for MIME parts which
          didn't contain Content-Type header.
        - MySQL and PostgreSQL auth didn't reconnect if connection was lost
          to SQL server
        - Linking fixes for dovecot-auth with some systems
        - Last fix for disconnecting client when downloading mail longer than
          30 seconds actually made it never disconnect client. Now it works
          properly: disconnect when client hasn't read _any_ data for 30
          seconds.
2004-08-01 05:17:19 +00:00
jlam
7d740266b4 The keyword block parsed by rcorder can't contain comments. 2004-08-01 04:58:21 +00:00
jlam
23a89fbde7 fetchmail should be started after mail is up and running. 2004-08-01 04:54:56 +00:00
jlam
eb968f96ff Update mail/clamav to 0.75.1. Changes from verison 0.75 include:
- Convert to use bsd.options.mk.
  - The virus database has been moved to ${VARBASE}/clamav.

  * freshclam/clamd:        fix crash on PPC when LogFile was enabled together
                            with LogSyslog
  * configure:              improve gethostbyname_r check; cleanups
  * clamav-milter:          Use GETHOSTBYNAME_R_6
                            Better load balancing if max_children = 0
                            Fixed warning message when building on FreeBSD4.9
                            Closed (small) memory leak
                            Fix crash when the 1st remote service goes down
                            Only use gethostbyname_r on LINUX for now
                            Improved load balancing a bit
  * clamdscan:              fix stdin scanning in local mode
  * clamav-milter:          %v in the template file handling is now replaced
                            only with the virus name, no "stream:" appears
  * libclamav/mbox.c:       Fix crash when debugging on SPARC
  * libclamav/message.c:    Fix occasional crash when scanning
                            multipart within multipart e-mails
2004-08-01 04:35:33 +00:00
jlam
5ce83e8445 Minimize diffs with pkgsrc/mail/postfix to simplify maintenance of this
package.
2004-07-31 05:53:44 +00:00
jlam
4300b19448 Sort. 2004-07-31 05:39:17 +00:00
jlam
440f54314c Remove unnecessary line in DESCR... IPv6 is a well-received patch in the
Postfix community nowadays.
2004-07-31 05:23:59 +00:00
jlam
12c86522bd Replace a few instances of ${PKGBASE} with "postfix". This has no effect
in this package, but simplifies maintaining the postfix-current package by
minimizing diffs between the two.
2004-07-31 05:22:16 +00:00
jlam
07f3723f78 Remove trailing whitespace. 2004-07-31 05:07:19 +00:00
jlam
e6527edb86 Fix the code in post-patch so that man pages correctly reference pages
that have been prepended with "cyrus-".
2004-07-31 03:52:00 +00:00
jlam
e5db0fd5d7 Convert to use bsd.options.mk. 2004-07-31 03:42:52 +00:00
jlam
8349293f6a Restructure the flow so that we use pipes to pass information between
processes instead of saving values in shell variables and then iterating
over them.  Using pipes is more scalable and is just as easy to read, so
it's a net win.
2004-07-31 03:29:38 +00:00
jlam
270fefab97 Actually warn about the IMAP directories if they can't be removed.
Removing directories happens at POST-DEINSTALL time, but the imapd.conf
file may be removed during the DEINSTALL stop, so we need to add the code
to remove the IMAP directories explicitly in the DEINSTALL step, as well.
2004-07-31 03:28:32 +00:00
jlam
3771f314f0 Actually warn about the IMAP directories if they can't be removed.
Removing directories happens at POST-DEINSTALL time, but the imapd.conf
file may be removed during the DEINSTALL stop, so we need to add the code
to remove the IMAP directories explicitly in the DEINSTALL step, as well.
2004-07-30 23:03:58 +00:00
jlam
c3bb963235 PostgreSQL table support is a standard (if compiled) feature of Postfix.
A patch is no longer need to add the support.
2004-07-30 21:44:43 +00:00
jlam
db6a4b68f3 VERP support is a standard feature in Postfix. 2004-07-30 21:38:07 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
recht
8c1180e8d4 update to 2.2.8
This release corrects a minor issue found with the handling of Sieve
notifications in 2.2.7.
2004-07-29 20:04:02 +00:00
recht
765bf2c866 Fix a double-free bug. From ASG CVS.
Noted by Jukka Salmi in private mail.

bump PKGREVISION to 1
2004-07-29 18:14:44 +00:00
martti
4ee1ab216f Updated postfix to 2.1.4
* Bug fixes
2004-07-29 10:15:38 +00:00
schmonz
c0f72f2dfa Enable pkgviews installation. Iterate with "i" instead of "file"
to placate pkglint.
2004-07-28 15:22:07 +00:00
markd
69356e8ad6 USE_LANGUAGES=c c++ ; USE_LIBTOOL=yes 2004-07-28 13:18:11 +00:00
xtraeme
e504e98c22 Uncomment out BUILD_DEPENDS, to get the dependency. 2004-07-28 09:30:08 +00:00
recht
f94222466e update to cyrus imapd 2.2.7
Changes to the Cyrus IMAP Server since 2.2.6:

- Fix handling of PARTIAL command and partial body fetches
- A large number of portability fixes supplied by Albert Chin
- Added client_timeout option to control connect() timeouts
  for proxy code
- Added popuseacl option
- Fix a number of issues with the quota -f tool
- Fix thread safety issue in saslserver()
- Fix possible stage file leak in append code
- Fix bugs in handling of MULTIAPPEND introduced in 2.2.3
- Fixed regression bug in Sieve vacation
2004-07-27 13:28:38 +00:00
simonb
1de0670369 Update to version 0.75. Only change is:
This release fixes detection of e-mails generated by Worm.Mydoom.I.
2004-07-27 11:49:11 +00:00
xtraeme
20f3ee085a Update mail/clamsmtp to 0.4.
Changes:

  - Option for quarantining files with viruses
  - Fixed problem with returning wrong SMTP error code
  - Handling timeouts properly
  - Fixed stupid problem with sockets not getting closed properly
2004-07-27 02:30:29 +00:00
schmonz
06f0c758b7 Add and enable mess822. 2004-07-26 23:27:30 +00:00
schmonz
fd4b1ade8d Initial import of mess822-0.58.
mess822 is a library for parsing Internet mail messages. The mess822
package contains several applications that work with qmail:

* ofmipd rewrites messages from dumb clients. It supports a database
    of recognized senders and From lines, using cdb for fast lookups.

* new-inject is an experimental new version of qmail-inject. It
    includes a flexible user-controlled hostname rewriting mechanism.

* iftocc can be used in .qmail files. It checks whether a known
    address is listed in To or Cc.

* 822header, 822field, 822date, and 822received extract various
    pieces of information from a mail message.

* 822print converts a message into an easier-to-read format.

mess822 supports the full complexity of RFC 822 address lists,
including address groups, source routes, spaces around dots, etc.
It also supports common RFC 822 extensions: backslashes in atoms,
dots in phrases, addresses without host names, etc. It extracts
each address as an easy-to-use string, with a separate string for
the accompanying comment.
2004-07-26 23:26:27 +00:00
recht
6078f1509c Use mk/pgsql.buildlink3.mk for choosing the PostgreSQL version to be used. 2004-07-24 23:06:56 +00:00
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
jlam
ec4b3da2c7 As suggested by reed@, use '.pkgsrc.mailwrapper' as the backup suffix so
that it's more apparent who owns that file.  Bump the PKGREVISION.
2004-07-24 09:19:14 +00:00
jlam
cf58a9142c Missing mailer.conf from PLIST. 2004-07-23 23:39:00 +00:00
jlam
ee5dab61a4 Remove @exec/@unexec lines from PLIST and add INSTALL/DEINSTALL scripts
instead.  Be more careful about leaving a working MTA installation since
we're touching files in /usr.  Bump the PKGREVISION.
2004-07-23 23:01:23 +00:00
recht
795efbc1a3 update to balsa-2.2.0
* Balsa-2.2.0 release. Release date 2004-07-06

- fix 143322, 143263, 145701.
- GPGME updates.
- GSSAPI IMAP authentication.
- more build fixes.

* Balsa-2.1.91 release. Release date 2004-07-06

- multiple build fixes.
- few crashes fixed.

* Balsa-2.1.90 release. Release date 2004-07-03

- mailbox scanning improvements.
- Edit/Find UI more user-friendly.
- message filtering fixes.
- reset TLS status of broken IMAP sessions.

* Balsa-2.1.3 release. Release date 2004-05-22

- GPGME fixes.
- Reduce memory usage of local mailbox drivers.
- numerous i18n fixes.
- more careful error checking.
- user configuration of TLS, APOP settings to work around broken servers.

* Balsa-2.1.2 release. Release date 2004-04-05

- POP3 with TLS and PIPELINING.
- mbox driver performance improvements.
- numerous other performance improvements.
- filters reenabled.
- memory leaks plugged.

* Balsa-2.1.1 release. Release date 2004-02-29

Numerous fixes, most prominent are:
- reduce memory usage of mbox driver.
- major cleanup of local and remote drivers.
- searching re-enabled again.
- SSL/TLS re-enabled again.
- Use bonobo to bring up already running instances.

* Balsa-2.1.0 release. Release date 2004-01-11

- entirely new backend and message index.
2004-07-23 15:09:57 +00:00
recht
f1af76129f update to gmime-2.1.7
This is a bugfix release (including a fix for a possible buffer overrun).
2004-07-23 15:08:56 +00:00
jlam
f655335e50 Add POSTFIX_OPTIONS to the +BUILD_INFO file. 2004-07-23 15:00:29 +00:00
jlam
6801b8aa6a Move options-related lines to Makefile.options. 2004-07-23 15:00:12 +00:00
zuntum
dae339ba81 Update HOMEPAGE and MASTER_SITES 2004-07-23 14:28:56 +00:00
wiz
2f3a747410 Update to 0.6.4.1:
MD5_Final() has been corrected to actually zeroize the context structure.
This makes no difference for popa3d itself, but may be important for
possible other applications which might use the popa3d MD5 routines.
2004-07-23 14:14:23 +00:00
zuntum
8e6f20546a Update teapop to version 0.3.8
* Changes since previous pkgsrc version - 0.3.5:

0.3.8   + Allow port to listen to in standalone to be changed with -P.
          (Patch by: "Malte S. Stretz" <msquadrat.nospamplease@gmx.net>)
        ! Reduce memory footprint
          (Idea from: "Malte S. Stretz" <msquadrat.nospamplease@gmx.net>)
        + Warn when teapop.passwd isn't found and default authentication
          is used.
        + Introduce softlock, which gives the client an empty mailbox
          instead of an error.
        - Proper handling of CRLF in Maildirs.
          (Found by: Matthew Sayler <sayler@speedsite.com>)
        * Release date: 25-Nov-2003

0.3.7   - The configure script was broken under certain circumstances.
        * Release date: 22-Jul-2003

0.3.6   + Attempt to handle broken maildelivery programs that doesn't
          quote From_ lines.
        + Support to delete messages older then a certain expire date.
        + Support for tcpwrapper.
        ! Better cleanup of MySQL connections
          (Patch by: Ross West <westr@connection.ca>)
        ! Improved NULL handling on long lines
          (Pointed out by: Ross West <westr@connection.ca>)
        - Possible buffer underflow fixed.
        - Unbreak APOP with database authentication
          (Found by: "Toru Hosaka" <hosaka@kt.rim.or.jp>)
        ! Restrict max value for hashing.
        + Mailspool hashing is now availble for all authentication types.
          (Based on patch by: Robert Gomu?ka <carramba@pf.pl>)
        + Escape userdata for database authenticaion
          (Patch by: Robert Gomu?ka <carramba@pf.pl>)
        + Support for ia64.
        + Support for special logging in SSL-mode.
        + IPv6 support when running in inetd-mode.
        * Release date: 21-Jul-2003

  * Superfluous MESSAGE file mentioning rc.d script was removed, as it was
    too generic and not really useful.
2004-07-23 14:08:41 +00:00
recht
88befec28f correct path to pkg directory 2004-07-23 08:58:47 +00:00
jlam
228283e8a6 This package requires no compiler. 2004-07-22 22:40:16 +00:00
drochner
0ed83abfac just require "tbl", not necessarily the whole groff 2004-07-22 17:04:28 +00:00
schmonz
bae4830c23 Update to 1.2.0. From the changelog:
1.2.0
  * CHANGED SWITCH NAME: "-m" is now used to view messages (no more "-v")
  * Added "-V" switch to print program version
  * Added switch to delete messages based on subject [thanks Arne Bernin]
  * Included GPL licence in the distribution
  * Now qmail is stopped only once for multiple deletions of messages, which
    makes things a bit faster
  * Corrected a bug which might have caused wrong messages to be deleted
  * Corrected several minor bugs

1.1.1 (July 10, 2003)
  * Corrected a bug which caused the -a switch not not work.

1.1.0 (June 4, 2003)
  * First release as a Sourceforge.Net community project... development
    resumes!!!
  * Added -a option to immediately send queued messages.

Notable pkgsrc changes:
* Configure using subst.mk.
* Remove RESTRICTED (it no longer appears to be true).
* Take MAINTAINER.
2004-07-22 00:52:36 +00:00
schmonz
171074b307 Clarify RESTRICTED. Rename pre-build to do-configure. Set
USE_BUILDLINK3=yes. Take MAINTAINER.
2004-07-22 00:28:24 +00:00
schmonz
24627a7a85 Let the ezmlm dependency be satisfied by ezmlm-idx, if present.
Also depend on qmail (or netqmail) directly. Set USE_BUILDLINK3=yes.
Rename pre-build to do-configure, and configure all the conf-*
files. Take MAINTAINER.
2004-07-22 00:18:43 +00:00
schmonz
0b9c791690 Express post-patch using subst.mk instead. Shorten COMMENT. Take
MAINTAINER.
2004-07-22 00:06:40 +00:00
schmonz
d9af5a763c Enable pkgviews installation. 2004-07-22 00:01:52 +00:00
schmonz
f2f7822305 Define NO_BUILDLINK. Clarify DESCR a bit. Take MAINTAINER. 2004-07-21 23:58:17 +00:00
schmonz
b5711cc197 Now that we install into the normal ${LOCALBASE}, remove local
definitions of LOCALBASE and NO_MTREE. This requires either the
latest qmail package or netqmail. Add needed dependencies on
daemontools and ucspi-tcp also. Rename post-patch to do-configure.
Set ALL_TARGET explicitly. Set USE_BUILDLINK3=yes. Update HOMEPAGE.
Take MAINTAINER. Bump PKGREVISION.
2004-07-21 23:54:47 +00:00
schmonz
c7eae02f69 Set USE_BUILDLINK3=yes. 2004-07-21 23:49:28 +00:00
schmonz
a51d4d69e2 Update to 2.0.5. From the changelog:
KJ  08/24/2003  2.0.4   From Woody Security team
  * Non-maintainer upload by the Security Team
  * Fix buffer overflow with EXT and HOST environment variables
    (CAN-2003-0654)
JK  09/18/2003  2.0.5   fixed invalid exit codes in several places that
                        cause qmail to bounce messages wrongly.
                        Thanks to Flavio Curti fcu-autoresp@no-way.org for
                        identifying further invalid exit situations.

pkgsrc changes:
* Express post-patch using subst.mk instead.
* Add dependency on qmail or netqmail.
* Take MAINTAINER.
2004-07-21 23:42:04 +00:00
schmonz
b3beda41e7 Now that we install into the normal ${LOCALBASE}, remove local
definitions of LOCALBASE and NO_MTREE. This requires either the
latest qmail package or netqmail, and conflicts with both postfix
and sendmail. Rename post-patch to do-configure. Add "install" and
"instcheck" to ALL_TARGET to build the installer at the end of the
build phase, rather than at the beginning of the install phase.
Remove notes at install and deinstall time about updating the
"newaliases" mailer.conf entry, as this entry is now included in
the qmail package's example mailer.conf. Clarify RESTRICTED. Take
MAINTAINER. Bump PKGREVISION.
2004-07-21 23:31:24 +00:00
schmonz
4622234cb7 Add CONFLICTS with the upcoming mail/fastforward update. 2004-07-21 23:30:16 +00:00
schmonz
adbfe43844 We need the latest qmail package in order to install into ${LOCALBASE}. 2004-07-21 23:09:28 +00:00
schmonz
4c6d10e6b4 Now that we install into the normal ${LOCALBASE}, remove local
definitions of LOCALBASE and NO_MTREE. Let the qmail dependency be
satisfied by netqmail, if present. Rename post-patch to do-configure.
Clarify RESTRICTED. Take MAINTAINER. Bump PKGREVISION.
2004-07-21 23:06:10 +00:00
schmonz
c293b76e43 Add and enable netqmail. 2004-07-21 22:58:34 +00:00
schmonz
37b62d897d Let the qmail dependency be satisfied by netqmail, if present. Take MAINTAINER. 2004-07-21 22:58:10 +00:00
schmonz
1577f216d3 Use qmail-qfilter's installer, which wins us a manual page. Add
dependency on netqmail (but not qmail, as for pkgsrc purposes this
requires the QMAILQUEUE patch). Enable pkgviews installation. Rename
post-patch to do-configure, since that's what it's doing.

Add a simple script that runs all the filters in ${PKG_SYSCONFDIR}
whose filenames match "qfilter-*". Explain how to enable filtering
on messages arriving via SMTP using this script.

Take MAINTAINER. Bump PKGREVISION.
2004-07-21 22:53:36 +00:00
schmonz
23a537e19e Now that the qmail package avoids modifying the source code, those
of us who want the netqmail patches should use this package instead.
The two packages are otherwise identical.

Included here, as in the old qmail package:
* The netqmail 1.05 patches
* http://www.ckdhr.com/ckd/qmail-103.patch (recommended by Dave Sill)

Included in the old qmail package, but not here:
* http://patch.be/qmail/badrcptto-v1.01.patch

If you relied on the badrcptto patch, consider using qmail-qfilter
instead. As with any other package, you can apply patches to your
local builds with pkgsrc's LOCALPATCHES mechanism.
2004-07-21 22:42:04 +00:00
jlam
e4d8a98f95 Add and enable mutt-devel. 2004-07-21 22:37:20 +00:00
jlam
2c51c9e10b Resurrect mail/mutt-devel and make it install mutt-1.5.6, the development
version of Mutt, a text mail reader and PGP & S/MIME support.  This
is primarily to support a mutt that builds with SASLv2 support.
2004-07-21 22:37:10 +00:00
schmonz
f863c03b03 Short story:
1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.
2) Follow more closely Dave Sill's "Life with qmail" (LWQ).
3) Add a bunch of features to the rc.d scripts.
4) Remove some (but not all) obstacles to binary packaging.
5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.
6) Enable pkgviews installation.
7) Bump PKGREVISION.


Long story:

1) Mostly conform to hier(7) and honor PKG_SYSCONFDIR.

     Based on a January 1997 post by mrg to the qmail list: prior
     to installation, we create symlinks in ${QMAILDIR} that point
     into ${LOCALBASE} or ${PKG_SYSCONFDIR}, causing installation
     to place files in those locations while allowing the canonical
     /var/qmail paths to continue to work. The notable deviation
     from hier(7) is that even though some binaries ought to go in
     sbin, they've all been lumped into bin for simplicity.

     Pleasant effects:
     * We no longer need to set LOCALBASE (a big no-no), and as a
       result also no longer need to set NO_MTREE, RCD_SCRIPTS_EXAMPLEDIR,
       or EVAL_PREFIX. This will also allow a few qmail-related
       packages to do likewise.
     * The commands and manual pages are in easily accessible paths
       by default.
     * Package installation and deinstallation work much better.

     Side effects:
     * There were a few minor conflicts with mail/courier-maildirmake,
       mail/mutt, and mail/pulsar. The latest versions of each are
       fine, so we add CONFLICTS only for older versions. (Thanks
       to those packages' maintainers!) There's also a conflict
       with security/mirrordir, which has a "bin/forward" command
       and corresponding section 1 man page.

     * Some directories under ${PREFIX} get chown'd to group qmail.
       Rather than modify the qmail installer, the affected
       directories are simply chown'd back afterward during
       post-install if PKG_INSTALLATION_TYPE is "overwrite". (If
       it's "pkgviews", then only the package's depot directory is
       affected, so we leave it alone.)

2) Follow more closely Dave Sill's "Life with qmail" (LWQ).

     Similarities:
     * Installs into /var/qmail from source.
     * Installs ucspi-tcp and daemontools.
     * Uses tcpserver(1).
     * Uses tcp.smtp.cdb for relay access control.
     * Uses control/defaultdelivery.
     * Uses control/concurrencyincoming.
     * Requires that control/rcpthosts exist to prevent open relays.
     * Uses similar chains of commands in run scripts.
     * Provides a script much like qmailctl.

     Differences:
     * This package does the following work for you automatically:
       * Creates user accounts.
       * Fetches, extracts, patches, configures, and compiles the source.
       * Installs binaries.
       * Runs ./config-fast.
       * Creates tcp.smtp{,cdb} and tcp.pop3d{,cdb}.
       * Creates control/concurrencyincoming.
       * Creates control/defaultdelivery (defaulting to "./Mailbox").
       * Creates the three required system aliases.
     * LWQ suggests doing some things this package doesn't do:
       * Applying patches.
       * Copying a script from /var/qmail/boot to /var/qmail/rc.
       * Configuring svscan(8) to run at boot.
       * Creating and populating /service.
       * Using supervise(8) and multilog(8).
       * Using the qmailctl script to control qmail.
       * Using the inst_check script to verify the installation.
       * Storing tcp.smtp{,cdb} in /etc.
       * Renaming the system sendmail(8) and marking it non-executable.
     * Instead, this package:
       * Builds from unmodified source. (See also mail/netqmail.)
       * Uses NetBSD-style rc.d scripts (including one similar to qmailctl).
       * Sends log messages to syslog(3).
       * Stores tcp.smtp{,cdb} and tcp.pop3{,cdb} in ${PKG_SYSCONFDIR}.
       * Provides an example mailer.conf(5).

3) Add a bunch of features to the rc.d scripts.

     Rename the qmail script and rcvar to qmailsend. Add "doqueue"
     (synonyms: alrm, flush) and "queue" commands, add "hup" as a
     synonym for "reload", and determine default delivery instruction
     from control/defaultdelivery (LWQ). Add control/defaultdelivery
     to required_files. Rename qmailsend_flags to
     qmailsend_defaultdelivery, which overrides control/defaultdelivery
     if set.

     In the qmailpop3d and qmailsmtpd scripts, enforce resource
     limits with softlimit(8) (LWQ). Add dependency on sysutils/daemontools
     for this. Rename qmailfoo_flags to qmailfoo_tcpflags. Add
     qmailfoo_tcphost (default: 0, meaning "any address") and
     qmailfoo_tcpport (default: 110 and 25, respectively). Add
     qmailfoo_softlimit (default: 2000000). Add qmailfoo_pretcpserver
     and qmailfoo_prefoo (default: empty), useful for inserting
     commands such as rblsmtpd(1) or relay-ctrl into the chain.
     Log to splogger's default syslog facility ("mail"), and use
     the name of the script as the tag.

     In the qmailpop3d, qmailsend, and qmailsmtpd scripts, add
     qmailfoo_postenv (defaults: empty, PATH=${PREFIX}/bin:$PATH,
     and QMAILQUEUE=${PREFIX}/bin/qmail-queue, respectively), useful
     primarily for setting environment variables for each service.
     Add "pause" and "cont" commands (LWQ). They send -STOP and
     -CONT signals, respectively. Add "stat" as a synonym for
     "status" (LWQ).

     In the qmailpop3d script, add -x to qmailpop3d_tcpflags and
     add "cdb" command. Add qmailpop3d_checkpassword (useful for
     authenticating against alternate user databases) and
     qmailpop3d_maildirname (useful if your maildirs are named
     something other than "Maildir"). Add tcp.pop3.cdb to
     required_files.

     In the qmailsmtpd script, add -x and remove -H from
     qmailsmtpd_tcpflags, limit the number of incoming connections
     to control/concurrencyincoming, and add "cdb" command (LWQ).
     Add control/concurrencyincoming and tcp.smtp.cdb to required_files.

     Add qmailqread script and ${PREFIX}/bin/qmail-qread-client,
     based on Steinar Haug's example on www.qmail.org. If enabled,
     this allows local non-root users to see the queue.

     Add qmail script (structure copied from net/samba/files/samba.sh).
     Its interface is very similar to LWQ's qmailctl: it provides
     the commands "start stop restart rcvar pause cont stat status
     cdb doqueue reload queue alrm flush hup help". These commands
     can be run either directly from the appropriate service-specific
     script(s), or from this qmail script (which will call the
     right script(s) for you).

4) Remove some (but not all) obstacles to binary packaging.

     Each of these is better explained elsewhere. Summary:
     * Installs into the normal ${LOCALBASE}.
     * /var/qmail paths still work.
     * No patches are applied. (See also mail/netqmail.)

5) Introduce QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA.

     QMAIL_AUTOCONFIG (default: YES): whether to automatically
     create basic config files.

     QMAIL_QUEUE_DIR (default: ${VARBASE}/spool/qmail): the path
     to the queue.

     QMAIL_QUEUE_EXTRA (default: empty): an additional recipient
     that will be added to every delivery. This is used primarily
     for logging. If this is set to a non-empty value, the necessary
     dot-qmail(5) file is created automatically at install time.

6) Enable pkgviews installation.

7) Bump PKGREVISION.

     Other user-visible changes:

     This package no longer applies patches to qmail. mail/netqmail,
     to be imported shortly, does.

     Restrictions on the redistribution of modified qmail apply
     not only to binaries but also to source. Clarify this in
     RESTRICTED.

     Add "newaliases", "hoststat", and "purgestat" entries to the
     sample mailer.conf. Install it to ${PREFIX}/share/examples/${PKGBASE},
     as other pkgsrc mailers do. ("newaliases" is actually provided
     by the fastforward package, and isn't needed unless you're
     using it.)

     Explain how to enable qmail in MESSAGE (cribbed from the
     postfix package).

Thanks to zuntum, snj, salo, and jlam for ideas, discussion, and review.
2004-07-21 22:35:59 +00:00
xtraeme
1bba1f878a Added clamsmtp-0.3 (finally!) 2004-07-21 03:57:34 +00:00
xtraeme
06666b5ce4 Erm, the good name is "clamsmtp" not "clamsmtpd", sorry... 2004-07-21 03:55:57 +00:00
xtraeme
2239fad927 Initial import of clamsmtp-0.3.
ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and
forwards the SMTP commands and responses to another SMTP server. The
'DATA' email body is intercepted and scanned before forwarding.

ClamSMTP aims to be lightweight, reliable, and simple rather than have
a myriad of options. It's written in C without major dependencies.
If you need more options then you could use something big like AMaViS
which is written in PERL and can do almost anything.
2004-07-21 03:54:24 +00:00
xtraeme
1a975d27e4 Initial import of clamsmtpd-0.3.
ClamSMTP is an SMTP filter that allows you to check for viruses using
the ClamAV anti-virus software. It accepts SMTP connections and
forwards the SMTP commands and responses to another SMTP server. The
'DATA' email body is intercepted and scanned before forwarding.

ClamSMTP aims to be lightweight, reliable, and simple rather than have
a myriad of options. It's written in C without major dependencies.
If you need more options then you could use something big like AMaViS
which is written in PERL and can do almost anything.
2004-07-21 03:51:11 +00:00
xtraeme
345fcc4c7e Update mail/clamav to 0.74.
Bugfixes in this version include crashes with multipart/mixed messages
and corrupted OLE2 and Zip files. Improvements include various optimisations
of mail scanning and clamav-milter and clamdscan behaviour.
2004-07-21 02:48:58 +00:00
schmonz
3d22790512 Enable pkgviews installation, and reformat a whole bunch. 2004-07-20 00:04:36 +00:00
schmonz
cce8a612a7 Update ezmlm-idx to 0.421. From the changelog:
ezmlm-idx-0.421, 20040602
=========================
-Updated ezmlmrc.fr.  Thanks Jean-Marc Lasgouttes.
-Fixed bug in ezmlm-request when dealing with continuation lines.
 Thanks Sami Farin.
-Replaced many library with public-domain sources.
-Fixed "log" function conflicting with built-in math function.
-Fixed problem with "test -e" in makelang.sh for Solaris.
-Fixed typo bug in ezmlm-cron.
-Fixed uses of "head -#" and "tail -#" to "head -n #" and "tail -n #".

ezmlm-idx-0.42, 20040114 (New maintainer: Bruce Guenter <bruceg@em.ca>)
=======================================================================
-The ezmlmrc.* files were broken into two parts, to make them easier to
 write and maintain.  The language specific parts are stored in the
 "lang" subdirectory.
-Updated ezmlm-cgi to version 1.18, which includes the no banner
 security fix.
-Added ezmlmrc.hu.  Thanks Julian Severn-nek http://js.hu/
-Added ezmlmrc.nl.  Thanks Willem
-Fixed problem in ezmlm-send munging MIME attachments using implicit
 content types.  Thanks Ed
-Fixed typo in ezmlm-unsub -- manual unsubscriptions would be
 erroneously logged as "+manual"
-Fixed ezmlm-gate to handle the -Q option.  Thanks Bjoern Hansen.
-Fixed internal bug calling decodeHDR.
-Fix ezmlm-manage to properly send subscription confirmation to
moderators.  Thanks Mate Wierdl.
-Portability and bug fixes to ezmlm-test.
-Added a "dry-run" option to ezmlm-gate.
-Fixed ezmlm-send to fully handle QMQP relaying.  Thanks Bernhard Graf.
-Fixed ezmlm-gate to use "/bin/sh" consistently.  Thanks Bernhard Graf.
-Fixed ezmlm-cgi's output of non-standard port numbers.
-Fixed message archiving in subscribe-only moderated lists.

pkgsrc changes:

Set RESTRICTED directly in this package, rather than in
../ezmlm/Makefile.common, and clarify: in addition to the reasons
we cannot redistribute binary packages of ezmlm, ezmlm-idx is a
modification of the ezmlm source.

Set USE_BUILDLINK3=yes.

Introduce EZMLM_IDX_USE_{MY,PG}SQL. Each builds and runs, but I
haven't tested the database functions.
2004-07-19 23:50:22 +00:00
schmonz
40500901b3 Set RESTRICTED directly in this package, rather than in Makefile.common,
and clarify: we cannot redistribute binary packages because we
change the paths of conf-bin and conf-man from the default "/usr/local"
and don't provide compatibility symlinks.

Set USE_BUILDLINK3=yes.

Add "install" to ALL_TARGET in Makefile.common so that the installer
is compiled at the end of the build phase, rather than at the
beginning of the install phase.
2004-07-19 23:49:35 +00:00
jlam
34aeba7d09 Teach the MESSAGE files about DOCDIR. 2004-07-19 22:10:52 +00:00
jlam
f47062b79e Install more of the example configuration files into installed examples
directory.  Back out modification to postfix-install that was ignoring our
setting for config_directory.
2004-07-19 22:04:40 +00:00
jlam
956fcc1fb4 Fix the install message to note that "upgrade-configuration" is all that
you need.
2004-07-19 22:03:13 +00:00
jlam
0572483cd9 Don't hardcode directories... instead, use postconf to dig them out of the
postfix configuration.  Also make required_{dirs,files} work in the
installed rc.d script.
2004-07-19 22:02:15 +00:00
jlam
35fae82b17 If neither USE_SASL or USE_SASL2 are defined and POSTFIX_OPTIONS includes
"sasl", then use SASLv2 by default.
2004-07-19 20:34:50 +00:00
jlam
44703d4594 Stop the proliferation of <PKG>_USE_<FOO> yes/no variables in the
mail/postfix package -- create a new option "POSTFIX_OPTIONS" that is a
list of optional add-ons that will be built into Postfix.  Currently,
it accepts any of "inet6 ldap mysql mysql4 prce sasl tls".  Move the
existing POSTFIX_USE_* variables into bsd.pkg.obsolete.mk.

Also split out the optional add-ons into a separate Makefile.options
so that the main Makefile workflow is a bit easier to understand.

Lastly, collapse the pre-install target into the do-install target we run
custom code for the whole install process anyway.

Approved by martti.
2004-07-19 19:59:16 +00:00
jlam
f00a3a98df The sample-*.cf files aren't installed, so refer the user to the
SASL_README file for more info.
2004-07-19 05:28:07 +00:00
jlam
5ff84b195b Rename POSTFIX_SPOOL to POSTFIX_QUEUE_DIR to more closely match the
Postfix terminology.
2004-07-19 04:51:52 +00:00
jlam
1683eac382 Compute the value of spooletcdir at run-time rather than hardcoding it. 2004-07-19 04:51:07 +00:00
jlam
fb55cfbc3c Don't blindly run the post-install script; instead, tell the user to do
so in the MESSAGE file.  This makes upgrading existing Postfix
installations less annoying.
2004-07-19 03:25:11 +00:00
jlam
2bbbb174c9 Make the messages for using both SASL and TLS more helpful. 2004-07-19 02:48:42 +00:00
jlam
24c8be8261 The sample-*.cf files are no longer installed as of Postfix 2.1. 2004-07-19 02:46:30 +00:00
jlam
434eb20f68 Rename SHAREDIR to EXAMPLEDIR to more accurately reflect the contents and
location of that directory.
2004-07-19 02:33:31 +00:00
jlam
338b9a9d3b /var/spool/postfix is stored in the Makefile variable POSTFIX_SPOOL. Be
pedantic and substitute for it so that if we ever have a way to change it,
postfix.sh will still be correct.
2004-07-18 23:42:48 +00:00
jlam
dcfd518826 Use FILES_SUBST_SED instead of local make targets to do the same thing.
FILES_SUBST_SED substitutes for @FOO@, so use that format for things to
be replaced.
2004-07-18 19:16:31 +00:00
tron
549308aff4 Added missing package version handling. Pointed out by Mark Davies. 2004-07-18 15:41:35 +00:00
recht
12fda2dc58 bump PKGREVISIONS for the sylpheed-claws update
(plugins dir moved)
2004-07-18 10:01:02 +00:00
recht
ee238e5a8e update to sylpheed-claws 0.9.12
This release of Sylpheed-Claws is based on version 0.9.12cvs1 of the
main Sylpheed branch.

Notes for this release:
~~~~~~~~~~~~~~~~~~~~~~~

* Previous users of the included plugins will need to reload them on
starting this version. The directory where they are stored has
changed.
They are now in $PREFIX/lib/sylpheed-claws/plugins
(previously: $PREFIX/lib/sylpheed/plugins)

New in this release:
~~~~~~~~~~~~~~~~~~~~

* A session timeout for POP3/SMTP has been implemented,
(synchronised from main Sylpheed)

* A paperclip icon is no longer displayed in the Status column for
mail that does not contain a real attachment (like HTML mail)

* the SSL certificate check has been re-enabled

* tools/nautilus2sylpheed.sh
the whitespace limitation in file names has been
fixed

* updated translations: French, German, Slovak, and Spanish.

* Bug fixes, including the following:
o bug 393 'Bad inerpretation of "Pop Before SMTP"'
o bug 396 'Zombie process when spamassassin is called'
o bug 503 'fix compilation with older OpenSSL'
o bug 511 'Folder-Renaming not reflected immediately'
o detect library providing 'encrypt' function

For further details of the numbered bugs listed above consult
http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/index.cgi

* and other code reorganisation, cleanups, and more.
2004-07-18 09:56:47 +00:00
markd
39c84e3027 Update mimedefang to version 2.44
Changes in 2.44:
This release features support for two new Sendmail 8.13 features: the
SOCKETMAP map type, and Sendmail's built-in quarantine mechanism. There are
also some minor bugfixes and documentation cleanups, as well as a fix for a
memory leak with the embedded Perl interpreter on some platforms.

Changes in 2.43:
Various Perl functions can request the C code to delay before returning;
this permits tarpitting without tying up a Perl slave. The multiplexor has
an additional option to run a "tick" function on a periodic basis. There
are minor bugfixes and documentation improvements.

Changes in 2.42:
The multiplexor causes closelog() to avoid problems with embedded Perl
slaves. Support for SpamAssassin's upcoming 3.0.0 Perl API was added. A few
other small bugs were fixed.

Changes in 2.41:
This is a bugfix release only. The most important change is to stop the
action_quarantine_entire_message from sending out notifications each time
it is invoked. A few other minor bugs were fixed.
2004-07-18 06:11:14 +00:00
markd
4121be23f2 Do the bind9 version dependency the buildlink3 way. 2004-07-17 03:19:57 +00:00
schmonz
184169c3f4 As an "overwrite" package, install mbox.5 as mutt-mbox.5 to avoid
conflicting with qmail's mbox.5 in an upcoming update. As a "pkgviews"
package, install with the original filename and let the sysadmin
decide which mbox.5 should be in which view. Bump PKGREVISION. OK'd
by tron.

While I'm here, move BUILD_USES_MSGFMT up a bit to placate pkglint.
2004-07-17 00:33:15 +00:00
schmonz
3f87bd0881 This package defines its own log() that disagrees with gcc's builtin.
Add -fno-builtin-log to CFLAGS if compiling with gcc.
2004-07-16 00:20:39 +00:00
jlam
41d5c31921 Print warnings to stderr, not stdout. This matches rc.subr behaviour. 2004-07-15 08:29:05 +00:00