Commit graph

64311 commits

Author SHA1 Message Date
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
xtraeme
4c630da639 Remove some unused vars in PLIST_SUBST. 2004-07-21 23:49:36 +00:00
schmonz
c7eae02f69 Set USE_BUILDLINK3=yes. 2004-07-21 23:49:28 +00:00
xtraeme
8500fb953e One PLIST file for >=4 Operating Systems is not so good. 2004-07-21 23:47:31 +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
36d7c3719e Note PKGREVISION bumps of dot-forward and fastforward. 2004-07-21 23:32:43 +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
3671c328e5 Note PKGREVISION bump of qmail, addition of netqmail, and PKGREVISION
bump of qmail-qfilter.
2004-07-21 23:00:51 +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
661c798404 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:38:00 +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
ea313d3843 Ensure that BuildCyrillicFonts is not defined (to avoid some warnings
building XFree86-* pkgs under OpenBSD).
2004-07-21 22:32:33 +00:00
schmonz
74524f9cef Add QMAIL_AUTOCONFIG, QMAIL_QUEUE_DIR, and QMAIL_QUEUE_EXTRA, which
will control some aspects of the about-to-be-imported qmail package,
and note that you probably don't need to change QMAILDIR anymore.
2004-07-21 22:32:24 +00:00
jmmv
2e523147e9 Fix a minor typo. 2004-07-21 22:27:35 +00:00
schmonz
b01de5d5ce Add CONFLICTS with qmail>=1.03nb7 and netqmail>=1.05 (to be committed
shortly). All three packages have a "bin/forward" and a corresponding
section 1 manual page.
2004-07-21 22:27:19 +00:00
xtraeme
92fb1364cd Add OpenBSD compiler options. 2004-07-21 22:21:49 +00:00
xtraeme
2d0b55ee61 Enable _OPSYS_MAX_CMDLEN test. 2004-07-21 21:50:41 +00:00
scw
9591f080d0 Added kphone-4.0.3. 2004-07-21 21:50:20 +00:00
scw
2df5a73a9a Enable kphone. 2004-07-21 21:49:24 +00:00
scw
4314051acd Initial import of KPhone 4.0.3, a SIP (Session Initiation Protocol) user
agent for *nix. (Basically, a VoIP client)

There are some rough edges in the NetBSD audio support of this package,
but it runs well enough on my esa(4)-equipped laptop to make and receive
FWD calls.

A couple of minor patches are courtesy of the FreeBSD port of Kphone.

Alistair Crooks also tidied up my first amateurish attempt at
packaging this.
2004-07-21 21:49:02 +00:00
xtraeme
51386052e4 Added OpenBSD support. 2004-07-21 21:42:51 +00:00
xtraeme
fb8c2f891e Add OpenBSD to ${SYSTEMS} for compiler options. 2004-07-21 21:40:17 +00:00
salo
e852eec4b2 USE_IMAKE implies USE_X11BASE, remove pointless USE_X11. 2004-07-21 21:28:41 +00:00
salo
67c5db45ee USE_IMAKE implies USE_X11BASE, remove it. 2004-07-21 21:16:10 +00:00
jschauma
b212e2df00 Per default, eclipse stores data in your home directory unless you specify
the '-data' switch on the command line.

If you tell eclipse to store data in a directory located on an NFS share,
it is possible that eclipse will fail with an error message that it could
not aquire a lock.  Apparently there are some issues with the way NFS is
done among Unix servers and Linux hosts.  Make sure that lockd and statd
are running on both the client and the server.

If this does not work at all, then you can disable the use of a lock file
by starting eclipse using 'eclipse -vmargs -Dosgi.locking=none'.
2004-07-21 21:02:05 +00:00
salo
fcee1b3cd3 USE_IMAKE implies USE_X11BASE, remove it.
Style nits.
2004-07-21 21:00:26 +00:00
jlam
9809354d38 Remove explicit dependency on groff -- set USE_TBL instead. 2004-07-21 19:58:57 +00:00
jlam
cac0c549c0 If a package Makefile sets USE_TBL to "yes", then add "tbl" to
${TOOLS_DIR}/bin.  It will either point to /usr/bin/tbl or will depend
on groff otherwise.

This should allow removing dependencies on groff just for the sake of
forcing the existence of tbl.
2004-07-21 19:55:11 +00:00
jlam
c2dbace2b6 Be more explicit about when you'd want to remove /var/mysql. 2004-07-21 17:55:13 +00:00
jlam
2ce7564f6f Defer the creation of the initial MySQL database directories until we
actually try to run MySQL server.  Beef up the rc.d script to work on
systems that don't use NetBSD's rc.d script system, and to support an
"initdb" command to initialize the MySQL database for first-time use.
2004-07-21 17:45:13 +00:00
jlam
0b8ae8d7c2 Add a reminder that the old Postfix make variables will be removed after
the 2004Q3 branch is released.
2004-07-21 16:19:26 +00:00
shannonjr
96dd314d8c Updated from 3.4.1 RC1 to 3.4.1 (release). I do not believe that any changes
were made to the gcc codebase with this delta.
2004-07-21 16:06:23 +00:00
shannonjr
ba0fda83f5 Update from 3.4.1 RC1 to 3.4.1 (release). I do not believe that any actual
changes to the gcc codebase occurred with this delta.
2004-07-21 16:03:33 +00:00
taca
66fdbc2c9a I'll take squid 2.5.6. 2004-07-21 07:34:36 +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
snj
4585e4c460 Added steghide-0.5.1. 2004-07-21 03:09:55 +00:00
snj
8b784bb73b Add steghide. 2004-07-21 03:09:44 +00:00
snj
6912515fb2 Initial import of steghide-0.5.1.
Steghide is a steganography program that can hide data in JPEG, BMP, WAV,
and AU files.

Taken from pkgsrc-wip and modified by me.
2004-07-21 03:08:08 +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