Commit graph

152 commits

Author SHA1 Message Date
Sheldon Hearn
c06da2ea40 Exim is a drop-in replacement for sendmail. Since 4.1-RELEASE,
FreeBSD has shipped with mailwrapper(8), which facilitates the use of
drop-in replacements for sendmail.  Retire exim.sh in favour of the
mailwrapper(8) approach.

Requested by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-06-15 14:12:44 +00:00
Sheldon Hearn
a3a1c6fb57 Exim is a drop-in replacement for sendmail. FreeBSD ships with
mailwrapper, which facilitates drop-in replacements for sendmail.

Retire the exim.sh that was installed into ${PREFIX}/etc/rc.d/ to
start Exim, in favour of the mailwrapper approach.
2001-06-15 13:16:38 +00:00
Sheldon Hearn
057a6a562b Calling makeinfo with --no-validate hasn't been necessary for ages. 2001-06-14 20:27:55 +00:00
Sheldon Hearn
ea514ed217 Rename patch-scripts::exim_install to patch-aa without a repo-copy.
A continuum in the history for this file isn't necessary.  What _is_
important is the purpose of the patch today:

*) Changes the test used to determine whether a file should be installed
   to cope with files which we "touch" to zero bytes for packaging
   purposes.

*) Causes the configure file to be installed as a sample only.  The
   administrator needs to rename this file to "activate" exim.

*) Changes the invocation of make-info to be less prone to fail on
   silly errors and fixes the info(1) titles so that, for example
   ``info exim'' actually enters the exim.info file.
2001-06-14 18:52:28 +00:00
Sheldon Hearn
98bfa4fbf7 Retire our local copy of configure.default, which is a maintenance pain.
Replace it with a patch against the distribution configure.default,
which changes as little as possible so that folks who are accustomed to
Exim on other platforms will not be astonished.

Install the file as configure.default instead of configure.sample, since
it's as close as damnit to the default Exim configuration file.

The only arguably unnecessary deviation from the default is:

* Accept SMTP relay from the loopback IP address.  Too many applications
  require this, and the window of abuse is arguably negligible.
2001-06-14 18:43:05 +00:00
Sheldon Hearn
896d5bff25 Install the Exim info files with more useful names. Before, the command
``info exim'' would fail to descend into any of the 3 Exim info files
from the dir top branch.

While we're at it, add a pkg-message that

1) Points to the documentation
2) Explains how to get Exim started
2001-06-14 17:37:59 +00:00
Sheldon Hearn
c637f5af10 * Add a WITH_IPV6 knob. Exim breaks if compiled with IPv6 support and
run with a kernel that has had IPv6 ommitted from its configuration,
  so I can't make this a default (yet).

* Remove crazy handling of exim.sh and replace it with something much
  simpler and more sane.  This allows non-root users to build, even if
  they can't install (properly).
2001-06-12 18:05:59 +00:00
Sheldon Hearn
474b85df2c Apply officially sanctioned patch to close a format string vulnerability
in exim batch SMTP mode.

The vulnerability is _not_ exploitable by external SMTP callers.
2001-06-11 15:07:51 +00:00
Sheldon Hearn
46e5bb43b1 Retire the local copy of exim_monitor/EDITME from the port, since it
is simply the original with the defaults uncommented and unchanged.
2001-06-11 13:56:12 +00:00
Sheldon Hearn
63da6738d2 Strip binaries. 2001-06-11 10:26:21 +00:00
Sheldon Hearn
278f54e00a Enable CDB-style lookups by default and provide a knob for disabling
this support.

Fix the SEDLIST-building logic for disabling mbx and mailstore
alternative mailbox formats.

Bump PORTREVISION accordingly.
2001-06-11 09:40:24 +00:00
Sheldon Hearn
698eaa6b5e Fix a typo that should have been corrected in the previous commit. :-( 2001-06-11 09:26:15 +00:00
Sheldon Hearn
5da36cefbf Fix typo in previous commit. 2001-06-11 09:24:14 +00:00
Sheldon Hearn
ef42506369 Sandbox Exim.
Since BSD UNIX still doesn't offer a user for running an MTA in a
sandbox the way many Linux distributions do, the Exim port uses
the traditional sandbox user for sendmail, called 'sendmail'.

Bump PORTREVISION accordingly.
2001-06-11 09:20:20 +00:00
Sheldon Hearn
32fc90ba36 The previous revision should have bumped PORTREVISION. Do so now. 2001-06-11 07:54:45 +00:00
Sheldon Hearn
db0afe2b50 Don't link against libssl and libcrypto when TLS support is disabled. 2001-06-11 07:53:55 +00:00
Sheldon Hearn
20b7a5c052 Finally remove the bastardized local copy of EDITME (called
files/Makefile) that's been a maintenance PITA for too long.  Replace it
with a patch against EDITME, now that the sed rules that operate on it
are mostly sensible.
2001-06-11 07:49:53 +00:00
Sheldon Hearn
431730ec32 Fix sed expression in previous (untested) commit. 2001-06-11 07:22:50 +00:00
Sheldon Hearn
17e6e102df When WITH_TCP_WRAPPERS is not defined, actually remove the XX_ cruft
from EXTRALIBS.
2001-06-11 07:21:46 +00:00
Sheldon Hearn
04453ec58b Use the standard ports mechanism for enabling and disabling features:
* Features enabled by default are disabled by defining
	  WITHOUT_FEATURE.

	* Features disabled by default are enabled by defining
	  WITH_FEATURE.

Requested by:	alex
2001-06-11 07:20:07 +00:00
Sheldon Hearn
494ec5e219 Prevent sed rules from messing with real comments, instead of the
commented out make values that they are supposed to operate on.

Reported by:	Marc Silver <marcs@draenor.org>
2001-06-11 07:07:07 +00:00
Sheldon Hearn
256c5f3b7f Bump PORTREVISION to reflect the significant changes made in the default
feature set today.
2001-06-10 14:04:09 +00:00
Sheldon Hearn
88900b7927 Fix the embedded Perl interpreter hook. 2001-06-10 14:02:49 +00:00
Sheldon Hearn
002f0448ae Disable TCP Wrappers support by default, but provide a hook to enable
it.

TCP Wrappers support surprises too many novices.
2001-06-10 13:59:43 +00:00
Sheldon Hearn
4625fcef31 Remove stale comment. 2001-06-10 13:50:22 +00:00
Sheldon Hearn
1d6ae66055 Untangle the mess I made of SMTP AUTH authentication mechanisms.
AUTH_CRAM_MD5 and AUTH_PLAINTEXT support have nothing to do with PAM,
other than that all three can be used as authentication mechanisms
for SMTP AUTH.

Enable all three by default, so that the package includes them.
2001-06-10 13:43:50 +00:00
Sheldon Hearn
0ecd575990 Enable TLS by default so that it's included in the package.
Allow the operator to disable the embedded Perl interpreter in the port
build.
2001-06-10 13:17:09 +00:00
Sheldon Hearn
eb12cc6e8a Fix the comment about WITHOUT_X11. 2001-06-10 13:10:33 +00:00
Sheldon Hearn
229158aa8d Enable maildir, mailstore and mbx support by default so that they're
included in the package.  Folks who don't want them can build Exim
as follows:

	cd /path/to/ports/mail/exim
	make WITH_MAILDIR=no WITH_MAILSTORE=no WITH_MBX=no
2001-06-10 13:01:45 +00:00
Sheldon Hearn
676987e47f Bump PORTREVISION in honour of rev 1.6 of files/configure.default. 2001-05-08 11:20:24 +00:00
Sheldon Hearn
d8fd6be76f The userforward director should decline delivery for any user whose
home directory is set to /nonexistent .

Not all systems encourage the use of /nonexistent as a home directory,
so this is not a change that should be incorporated into the Exim
distribution.

This change allows local deliveries into /var/mail for users with
no valid home directory.
2001-05-08 10:27:19 +00:00
Sheldon Hearn
18d8d74d74 Update master site.
Reported by:	Peter Radcliffe <pir@pir.net>
2001-04-30 10:38:00 +00:00
Sheldon Hearn
aafe1a1236 Simplify the description. 2001-04-30 10:37:12 +00:00
Sheldon Hearn
e4f1db2ea1 Update 3.20 -> 3.22, which fixes a number of bugs. 2001-03-05 10:32:14 +00:00
Jimmy Olgeni
1be0301128 Spaces->tabs in the mail category.
(I know, I look boring and pedant :o)
2001-02-05 15:11:27 +00:00
Dirk Froemberg
88d74bc517 Switch from mysql322-{client,server} to mysql323-{client,server}.
mysql323-client installs libmysqlclient.so.10 (instead of
libmysqlclient.so.6).

mysql323-{client,server} are production quality, now (according to
MySQL AB at least).
2001-01-21 15:40:47 +00:00
Sheldon Hearn
a818454de9 Sync up our copy of EDITME (files/Makefile) and add hooks for
enabling STARTTLS support.  The hooks are disabled by default
and do not support RELENG_3.
2000-12-21 08:56:52 +00:00
Sheldon Hearn
64a29c4fcd Update to exim-3.20. 2000-12-21 08:02:23 +00:00
Andreas Klemm
fb9b5a39f4 old postgresql port has been removed.
use postgresql7, which has proven stability now.
2000-08-26 16:34:17 +00:00
Sheldon Hearn
0f53421b04 Clearly document the nature of the changes introduced with this patch
so that the reasons why it hasn't been submitted to the author do not
need to be argued over regularly.
2000-08-04 16:04:50 +00:00
Sheldon Hearn
b32c2f2d5c Update to 3.16:
Bugfix release, featuring a fix for one critical bug in the
	handling of messages frozen by system filters for manual
	thawing.
2000-07-24 10:37:10 +00:00
Satoshi Asami
5146d79152 Mark FORBIDDEN, there is a pretty bad bug that was just fixed in a new version.
Submitted by:	maintainer
2000-07-21 18:09:48 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Sheldon Hearn
e32233c860 Update 3.14 -> 4.15:
Allow admins to start migrating to the new nomenclature for
	failing addresses:

		fail_soft -> pass
		fail_hard -> fail

		The queryprogram router should use the word decline
		instead of fail.

	New keyword timezone used to manipulate the TZ variable.
2000-06-27 14:24:30 +00:00
Sheldon Hearn
1809b6058d Fix the LIB_DEPENDS line for the WITH_PGSQL case.
Reported by:	"Jason J. Horton" <jason@intercom.com>
2000-05-31 07:27:49 +00:00
Sheldon Hearn
e1431f7643 Update 3.13 -> 3.14:
New pgsql lookup!
	Bugfixes.

Port-related changes:

	Conditionalize embedded Perl interpreter on WITH_PERL.
	Fix SMTP AUTH support.
	Sync up files/Makefile.
2000-05-23 09:23:45 +00:00
Sheldon Hearn
5ed70c7617 Provide visual cues to frob the ldap knobs, after receiving user
feedback that they work.

Reported by:	rip@itouch.co.za (R.I.Pienaar)
2000-05-18 13:59:30 +00:00
Jeremy Lea
b4455771cc Standardize all user defined options to the booleans WITH_FOO and
WITHOUT_FOO.  Begin the process of reserving these prefixes for user defined
options.

No comment by:	ports
2000-04-17 00:19:02 +00:00
Chris Piazza
28849e36e9 Update to use PORTNAME/PORTVERSION 2000-04-13 20:01:08 +00:00
Sheldon Hearn
2e4507aadb Fix mysql lookups and add experimental glue for ldap lookups.
Reported by:	Peter Lockhart <peter@key.co.za>
2000-04-04 11:51:19 +00:00
Satoshi Asami
48ffecfd74 Fix ldap handling.
Submitted by:	sheldonh
2000-03-13 08:03:50 +00:00
Sheldon Hearn
1b39f669df Add knobs (turned off by default) for non-standard mailbox formats.
Submitted by:	Johann Visagie <wjv@sunesi.net>
2000-02-19 17:18:27 +00:00
Sheldon Hearn
41a107d66c Update to 3.13:
Bugfix release.

IPv6 support is compiled in.  I can't test to see whether it works, and
got no feedback from a request for testing on the exim-users mailing
list.

Also added hooks for SMTP AUTH and PAM support, disabled by default
for now.
2000-01-28 15:57:48 +00:00
Sheldon Hearn
47484dde14 Update to 3.12:
Fix a problem where themessage log file is fclosed twice.

	Fix a long-standing bug in the ``contains'' operation in
	filter files.
1999-12-09 08:25:23 +00:00
Sheldon Hearn
d09301b69a Update to 3.11:
* This is small bugfix release over the last major release,
	  3.10.

	* Exim 3.10 contains numerous bugfixes and new features,
	  described at:

	      ftp://ftp.exim.org/pub/exim/ChangeLogs/NewStuff-3.10.gz

Note that the new PAM support is _not_ enabled in this port yet.
1999-12-02 15:41:50 +00:00
Sheldon Hearn
7313cfcee7 I have no idea when this got fixed in the distribution, but anyway:
Quote a string that contains redirection characters '<' and '>'.
1999-09-28 11:49:38 +00:00
Michael Haro
65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00
Michael Haro
af5f314286 ln -> ${LN} 1999-08-28 01:58:05 +00:00
Sheldon Hearn
79129066a3 Argh! The last commit got the port installing the exim binaries into
${PREFIX}/bin instead of ${PREFIX}/sbin . Fixed.

Reported by:	Mike Freislich <mikef@korbitec.com>
1999-08-26 11:30:48 +00:00
Sheldon Hearn
b1c81170db Fix install error for users who comment out USE_XLIB.
While I'm here, bump "Version required:".

Reported by:	Mike Freislich <mikef@korbitec.com>
1999-08-26 08:29:06 +00:00
David E. O'Brien
f3a9c6c81e Change Id->FreeBSD. 1999-08-25 06:51:17 +00:00
Sheldon Hearn
d9f7575c6f Update 3.02 -> 3.03:
Added Makefile knob for the new MySQL support within lookups.
	Added Makefile knob for the improved LDAP support.
	Turn TCP Wrappers support as default behaviour.
	Turn on embedded perl.

	See doc/NewStuff in the distfile for bugfixes and enhancements.
1999-08-03 17:01:39 +00:00
Tim Vanderhoek
dd9ff05a6a Commit #3/4 to enforce caps, no period.
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.

As promised,

$ time cvs ci
real    67m51.701s
user    0m1.250s
sys     0m5.345s
1999-06-26 19:12:45 +00:00
Sheldon Hearn
fb42f6ed65 Update maintainer's e-mail address. 1999-06-21 11:07:15 +00:00
Sheldon Hearn
6aa723379a Bump "Version required".
Sync our customized files/Makefile with exim's src/EDITME, whence it
comes.
1999-06-17 08:53:12 +00:00
Sheldon Hearn
585ffe186b Work around the way odd shells sabotage exim's arch-type script.
Reported by:	Martti Kuparinen <martti@research.zopps.fi>
1999-06-17 08:46:27 +00:00
Hidetoshi Shimokawa
4063e744f6 Replace FreeBSD-i386 with `${OPSYS}-${MACHINE_ARCH}'. 1999-06-16 02:55:31 +00:00
Steve Price
8795166b2a Here's a appropriate commit message for the last commit.
Upgrade to version 3.02, featuring:
		Simplified handling of domain/host/net/address lists.
		Regex handling bugfixes and improvements.
		Bugfixes.
		Logical improvements.
		Documentation improvements.

	WARNING: backward compatability issues. See README.UPDATING in
	the distribution tarball for details.

	Change maintainer's address.
1999-06-09 11:09:56 +00:00
Steve Price
2faf86bf35 Update to version 3.02.
PR:		12004
Submitted by:	maintainer
1999-06-08 23:28:03 +00:00
Michael Haro
5ce8e8e5c7 Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
1999-06-05 22:32:11 +00:00
Michael Haro
d59e297c21 add WWW:
PR:		11759
Submitted by:	Sheldon Hearn <sheldonh@uunet.co.za>
1999-05-18 18:59:51 +00:00
Mark Murray
3e0e233984 Explicit use of Berkeley DB (careful, DBM users!).
Fixed use of $local_part in router configurations.
Fixed "unseen" on router or director on deferment of delivery.
Other minor fixes.

Fixed handling of USE_XLIB to deal with =NO correctly.

Submitted by:	maintainer
1999-02-10 16:09:49 +00:00
Mark Murray
e283a9c2da Upgrade to version 2.11, featuring minor bug-fixes and some new features.
New features are backward compatible.

Submitted by:	maintainer
1999-01-27 14:07:08 +00:00
Mark Murray
6a63e7ba1d Upgrade to 2.10 release. Bugfixes and some minor wishlist items added,
documentation upgraded.

Fixed nit in configure.default file.

Requested by:	maintainer
1998-12-17 10:54:24 +00:00
Mark Murray
e4d91e4172 Upgrade to 2.054 (Testing release!).
Patches incorporated by the author were removed. One new patch created
to prevent core dumps when running non-listening queue-runners.

Handle the difference in BINOWN between stable (bin) and current (root),
obviating the need for an INSTALL script.

Don't install shell script "place-holders" for eximon when built without
USE_XLIB, just touch the files for package-friendliness. Graceful.

Improve out-of-the-box relay handling; localhost symoblic name was weak,
use private subnet numerical net instead.

Submitted by:	maintainer
1998-12-08 15:23:43 +00:00
Satoshi Asami
57d0d48442 Create info/dir before attempting install-info. 1998-11-29 12:21:58 +00:00
Satoshi Asami
eaecff0876 More USE_XLIBs. 1998-11-28 05:39:01 +00:00
Mark Murray
ceedb8af33 Duh!
Previous commit taught exim to use ``configure.sample'' as its default
configuration file instead of ``configure''. Fix that and a PLIST nit.
1998-11-18 11:42:46 +00:00
Mark Murray
44c2c6a107 Unbreak.
Added some more reliable mirrors (well-spread across earth masses).
1998-11-17 11:05:15 +00:00
Satoshi Asami
d42e9aab80 Mark broken, can't fetch from single master site. 1998-11-17 04:12:10 +00:00
Mark Murray
bfcc6414a5 Upgrade to version 2.053 (test release), which includes embedded perl
support and incorporates some FreeBSD-specific patches.
1998-11-16 09:45:24 +00:00
Steve Price
7b97e507de Remove empty directories on deinstall. 1998-10-20 01:41:32 +00:00
Justin M. Seger
81d9e0e4c2 Unbreak for ELF.
Submitted by:	steve
1998-10-13 04:18:50 +00:00
Justin M. Seger
e427e93123 Mark BROKEN for ELF:
gcc -o eximon.bin  -L/usr/X11R6/lib  dummies.o os.o  spool_in.o store.o string.o tree.o em_StripChart.o em_TextPop.o em_globals.o em_init.o  em_log.o em_main.o em_menu.o em_queue.o em_strip.o  em_text.o em_xs.o em_version.o -lXaw -lXmu -lXt -lXext -lX11 pcre/libpcre.a      -lc
/usr/libexec/elf/ld: warning: libSM.so.6, needed by /usr/X11R6/lib/libXaw.so, not found (try using --rpath)
/usr/libexec/elf/ld: warning: libICE.so.6, needed by /usr/X11R6/lib/libXaw.so, not found (try using --rpath)
/usr/X11R6/lib/libXt.so: undefined reference to `SmcSaveYourselfDone'
/usr/X11R6/lib/libXt.so: undefined reference to `IceConnectionNumber'
1998-10-12 18:48:52 +00:00
Steve Price
a967d97eb1 Update version required to 2.05.
PR:		8209
Submitted by:	maintainer
1998-10-10 04:12:51 +00:00
Mark Murray
5353fdd9eb Update to 2.05: Major bugfixes 1998-10-08 14:31:03 +00:00
Mark Murray
64fb7f1aad Update to 2.02; set Sheldon Hearn as maintainer.
*NOTE* Configure file is not backward compatible!!
The new configure file is installed as configure.sample.
1998-10-07 10:49:32 +00:00
Mark Murray
ca0c6e0686 Ugrade to v1.92. 1998-05-25 12:13:38 +00:00
Mark Murray
3c2284d070 Upgrade to 1.82 - (Many bug fixes, improved spam filtering, RBL) 1998-02-09 14:32:42 +00:00
Mark Murray
ed6df3707f Update to 1.73. Bug fixes. 1997-10-15 20:49:47 +00:00
Mark Murray
826e1c61e3 Fix the installation so the .info files' entries get properly
installed in info/dir.
1997-09-22 13:43:01 +00:00
Mark Murray
b2e7bc0460 Upgrade to 1.71. Default in the config file is to forbid relaying. This
will make the anti-spam camp happy...
1997-09-09 15:29:28 +00:00
Mark Murray
25365f174c Upgrade to 1.70. (Lotsa bug fixes, improved macros, improved filtering) 1997-09-08 11:19:08 +00:00
Mark Murray
323ac7e8a1 Upgrade to version 1.60.
Note! I have fixed a bogon from previous versions where I was putting the
executables in $(PREFIX)/bin. They now go in $(PREFIX)/sbin, so make
sure your previous binaries have been properly removed!
1997-02-26 13:51:00 +00:00
Mark Murray
7cd2fb7aeb Upgrade to version 1.60.
Note! I have fixed a bogon from previous versions where I was putting the
executables in $(PREFIX)/bin. They now go in $(PREFIX)/sbin, so make
sure your previous binaries have been properly removed!
1997-02-26 13:45:02 +00:00
Mark Murray
c81365cdcf Umgrade to v1.59 - the same as the GNU CD release version. 1996-12-01 07:12:15 +00:00
David E. O'Brien
a107548d6a Convert to use MAN[1-8LN] 1996-11-17 07:42:58 +00:00
Mark Murray
e43d73c126 Upgrade to v1.58 1996-11-13 18:12:07 +00:00
David E. O'Brien
ad74428818 CATEGORIES+= --> CATEGORIES=
And clean up variable ordering (as shown in the handbook) as little.
1996-11-10 21:32:56 +00:00
Mark Murray
a588bce354 Ugrade to version 0.57 1996-10-31 19:26:07 +00:00