Commit graph

50 commits

Author SHA1 Message Date
Palle Girgensohn
34fa6c853e Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob
defined in Mk/bsd.ports.mk. Bumping portrevisions where needed.

PR:		75344
Approved by:	portmgr@ (kris), ade & sean (mentors)
2005-01-31 00:35:55 +00:00
Mathieu Arnold
4031a6967c Remove databases/postgresql-client because there can't be a -server, and having
it installed prevents databases/postgresql7 from being installed, leading to
some dependencies problems
2004-05-25 09:19:42 +00:00
Alex Dupre
cfe00cb6bb Fix a file descriptor leak in opensmtp().
Obtained from:	vpopmail CVS via oliver, roam and
		Michael Bowe <mbowe@pipeline.com.au>
2004-04-19 12:37:06 +00:00
Alex Dupre
08a0ca9dce Fix dependency on SpamAssassin.
Noticed by:	Cristiano Deana <cris@gufi.org>
2004-03-12 09:36:22 +00:00
Alex Dupre
c0c8d4810b Update to 5.5.0 release. 2004-03-11 09:19:52 +00:00
Alex Dupre
d30fda535e Update to 5.4.2 development release.
PR:		ports/63298
Submitted by:	me
Repocopy by:	marcus
Approved by:	roam (no objections)
2004-02-26 13:49:13 +00:00
Alex Dupre
f85e6e4cfd - Fix new installations (patch disappeared in my last commit) [1]
- Remove now useless post-patch target

Noticed by:	Cristiano Deana <cris@gufi.org> [1]
Approved by:	nork (mentor/implicitly)
2004-02-11 08:24:34 +00:00
Alex Dupre
7cbdf7fde0 Update to 5.4.0 stable release.
Approved by:	roam, nork (mentor/implicitly)
2004-02-05 22:10:00 +00:00
Joe Marcus Clarke
73f7c91b5d Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.
(Part 1)
2004-02-04 05:10:27 +00:00
Peter Pentchev
389e88f486 A first shot at enabling the PostgreSQL authentication features, only
loosely based on the PR mentioned (the original patch in the PR does not
handle either library dependencies nor changing the default credentials).
PORTREVISION *not* bumped, this can wait until I implement WITH_PGSQL_PASS
and WITH_PGSQL_SERVER in the near future.

PR:		61998
Submitted by:	Sascha Luck <sascha@c4inet.net>
2004-01-30 18:03:31 +00:00
Peter Pentchev
54844ff483 Looks like I seriously botched the last commit; somehow four lines from
the original Makefile.in got duplicated in the 'patched' one, leading
to a malformed sh(1) construct that would inevitably break the installation.
Thanks to Ronald Sebastian and Alex Dupre for pointing this out.

Noticed by:	Ronald Sebastian <mailsagan@yahoo.com> and
		Alex Dupre <sysadmin@alexdupre.com>, among others

While I'm here, remove the autoconf part of the Makefile.in patch, which
actually duplicates what I've been doing in the port's Makefile for
some time now :)
2003-11-28 07:54:53 +00:00
Peter Pentchev
a860f902fb Update to vpopmail-5.3.30, fixing a critical update_rules bug.
Revamp a bit the creation of the MySQL credentials file.

PR:		59605
Submitted by:	Alex Dupre <sysadmin@alexdupre.com> (mostly)
Approved by:	portmgr (will)
2003-11-27 21:59:00 +00:00
Peter Pentchev
9edb1b2b50 Create an empty default limits file if none exists, bump PORTREVISION.
Change a -f check to an -e one to also catch symlinks and such.
2003-11-10 09:26:39 +00:00
Peter Pentchev
d4122741f9 Update to 5.3.29 and add the new SpamAssassion patch from Alex Dupre,
with a configurable spam threshold value set by the SPAM_THRESHOLD knob.

PR:		58306, 58805
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-11-03 13:42:16 +00:00
Peter Pentchev
f4a88d4c6c Add Alex Dupre's patch for SpamAssassin integration, conditional
on the WITH_SPAMASSASSIN knob.

PR:		58503
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-10-31 17:24:01 +00:00
Peter Pentchev
112c462b38 Update to vpopmail 5.3.28. Only set vpopmail:vchkpw ownership on
the bin/ and etc/ directories.

PR:		57551
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
2003-10-08 12:32:49 +00:00
Peter Pentchev
aa8b98e716 Manually do the recursive chown of the vpopmail directory that was
removed from the 5.3.27 source for some reason.

PR:		56916
Submitted by:	guilherme@vianavirtual.com
2003-09-30 08:47:29 +00:00
Peter Pentchev
d7dea45549 Update to 5.3.27, USE_MYSQL, de-quote COMMENT, update the knobs info,
and other assorted fixes, mostly from Alex's PR.

PR:		56462
Submitted by:	Alex Dupre <sysadmin@alexdupre.com>
Ob-woohoo:	run-time configuration of default-domain and MySQL info;
		at last it is possible to build a single package for
		deploying on multiple servers!
2003-09-10 09:41:33 +00:00
Peter Pentchev
f467e05513 Update to vpopmail-5.3.20.
Add the WITH_VPOPMAIL_SQWEBMAIL_CREATION knob to make vadduser
(well, make_user_dir(), actually) create an sqwebmail-config file
specifying the outgoing messages' sender address.
2003-04-29 12:10:06 +00:00
Peter Pentchev
33059bd045 Remove pkg-comment files in my ports. 2003-02-19 16:07:30 +00:00
Peter Pentchev
c8ea705c5e Update to vpopmail-5.3.16:
- WITH_MYSQL_LIMITS works now, move it where users can actually see it
  and remove the BROKEN mark;
- remove the vmysql.h patch that defined the 'limits' table creation -
  it was fixed in the meantime;
- remove the annoying configure script check for id == 0.
2003-02-17 12:21:10 +00:00
Peter Pentchev
81dc3b4048 Fix the regular expressions used for setting the database access
(username, password, database name, etc) - when I did the changeover
from ${PERL} to ${REINPLACE_CMD}, I plain forgot that sed does not
really like Perl-style $1 subexpression references :(

Reported by:	Ventsislav Velkov <veno@evrocom.net>,
		"Pavel Novikov" <pavel@ext.by>
2003-02-09 13:15:11 +00:00
Peter Pentchev
e6f9fa5a9e USE_REINPLACE.
The mail/vpopmail and mail/vpopmail-stable ports retain their Perl
dependency, since the pkg-install script is written in Perl.  I think
this might need to be changed when I get the time to look into it.

Submitted by:	Ulrich Spoerlein <q@uni.de>
2003-01-20 16:55:22 +00:00
Peter Pentchev
aa47b1121d Update the checksum to match the "new" distfile.
Submitted by:	gerald <gerald@hannibal.symicon.com> - the original
		notification about the vpopmail distfile checksum change

Fix a possible buffer underflow bug in the changed code.
Add a new ENABLE_MYSQL_LIMITS knob for .qmailadmin-limits processing, and
DISABLE the new MySQL limits code - it does not even compile as shipped :(

Use the correct configure script option for specifying the path to
the tcprules program, so vpopmail works even with LOCALBASE != /usr/local.

Submitted by:	 Mike Meyer <mwm@mired.org> - the tcprules patch
2002-11-02 21:33:09 +00:00
Peter Pentchev
096cb4a5dd Mark FORBIDDEN due to a checksum mismatch.
It seems that a couple of new features were added, but I have to take
a closer look at them to make sure nothing is wrong.  This will probably
happen as soon as I wake up in a couple of hours.

Submitted by:	gerald <gerald@hannibal.symicon.com>
Pointy hat to:	Inter 7 for adding new features to an already "released"
		tarball instead of releasing a new version :(
2002-11-01 22:20:29 +00:00
Peter Pentchev
4715f698e0 Apply a blessed +3 magic wand of autotools protection; a rogue run of
autoconf or automake over our local patches can ruin your whole day.
This rarely, if ever, affected the vpopmail ports, causing mysterious
failures at install time, but inevitably killed the stunnel build if
automake-1.5 happened to be installed.

Reported by:	Dan Langille <dan@langille.org> for stunnel,
		Sitchin Zech <mailsagan@yahoo.com> for vpopmail
2002-09-20 19:55:07 +00:00
Peter Pentchev
0f12aaab1a Update to vpopmail-5.3.9, with better processing of the exit code
of mail/autoresponder.
2002-09-15 10:25:50 +00:00
Peter Pentchev
f31f83abe9 Update to vpopmail-5.3.8.
There are two new configuration knobs:
- WITHOUT_USERS_BIG_DIR disables the use of 'big' directories for users,
  thereby saving a little on disk space and inode usage; IMO, the
  savings are negligible;
- WITHOUT_SEEKABLE disables the newly introduced ability of vdelivermail
  to examine its input stream for seekability, and read it all into a
  file to make it seekable.  This works quite fine in the tests that I
  have done, so there seems to be no need to enable it on FreeBSD;
  however, if things should go wrong (in particular, if delivering mail
  to your virtual domains seems to fail), try rebuilding vpopmail with
  this knob.

Prompted by:	David Phillips <david@acz.org>
2002-09-05 14:30:21 +00:00
Peter Pentchev
a8636d465c Change the WITH_MD5_PASSWORDS knob to WITHOUT_MD5_PASSWORDS;
the vpopmail default is to build support for MD5-hashed passwords now.

Reported by:	Jetchko Jekov <jeka@flavia-bg.com>
2002-09-05 13:42:30 +00:00
Peter Pentchev
e756b17c46 Fix a segfault when authenticating against the system passwd file:
there's little sense in passing an integer port number to a string
comparison routine :)
Bump PORTREVISION.

Reported by:	Rudy <rudy@tzone.it>
2002-06-14 09:38:41 +00:00
Peter Pentchev
c3b475fe8a Update to the vpopmail-5.3.6 development version, which adds back APOP
support (spelled WITH_CLEARTEXT_PASSWD now), along with a couple of
other tweakable knobs.  There is UNTESTED support for Sybase and Oracle
database backends; please report any successes or failures to me.

APOP support discontinuation reported by:	"A. Postle" <apostle@kolbas.it>
2002-06-12 10:09:04 +00:00
Peter Pentchev
fdd48b3e7c Update to vpopmail-5.2.1. 2002-05-21 16:26:16 +00:00
Peter Pentchev
df961b0ee1 Update vpopmail to version 5.2.
Introduce two new build knobs:
- WITH_CLEAR_PASSWD	actually enable the clear passwords management
	that was turned on by default in 5.2 (hello, POLA!)
- WITH_MD5_PASSWORDS	for the encrypted passwords, use MD5 hashes.

Prompted by:	Claus Rasmussen <claus@webclaus.com>
2002-02-26 14:54:19 +00:00
Peter Pentchev
93ec79962e Update to 5.0.1.
Add the WITH_QMAIL_EXT knob to enable the user-* address extensions.
2001-12-17 18:52:19 +00:00
Peter Pentchev
a7c5e60cc5 Update to 5.0. This should enable the sqwebmail and courier-imap
ports to work once again.

NB: The vpopmail documentation says that the special support for
sqwebmail authorization is no longer needed for sqwebmail 3.0 and above.
If your sqwebmail installation does not work after this vpopmail update,
make sure to try vpopmail built both with and without the WITH_SQWEBMAIL
knob enabled.

Requested and patiently awaited by:	much too many to list..
Tested by:	NERvOus <nervous@nervous.it>,
		Valentin Zahariev <curly@e-card.bg>
2001-11-20 18:11:26 +00:00
Peter Pentchev
88c3bf1dc1 Fix the build of several dependent ports by actually installing
the inc_deps and lib_deps files.  This should fix qmailadmin,
courier-imap and possibly others, after I broke them by my configure
changes to not create and populate ${PREFIX}/vpopmail/etc/ at
configure time.
Add a couple of configuration knobs.
Bump PORTREVISION for the inc_deps/lib_deps fix.

Reported by:	a multitude of innocents :(
Pointy hat:	roam (myself)
2001-11-04 12:05:05 +00:00
Peter Pentchev
6f7ea96ff4 Assume maintainership of this port; Neil has asked me a couple of
times in the last few months :)
2001-11-02 13:49:45 +00:00
Peter Pentchev
63b7fbd702 Fix a CONFIGURE_ARGS typo: --enable-qmail-dir -> --enable-qmaildir.
No PORTREVISION bump necessary IMHO.

Submitted by:	"Dmitry Osipov" <daosipov@mail.ru>
2001-10-15 13:39:11 +00:00
Peter Pentchev
bb8cf40c25 Turn off world-readability on the directories holding the executable
binaries and libraries of vpopmail.  This prevents arbitrary users
from obtaining the username and password for access to the MySQL database,
which are present in plaintext in the vpopmail object files and binaries.

Obtained from:	Bugtraq
2001-09-08 10:48:49 +00:00
Peter Pentchev
0aa41aea19 Rip out the configure script parts that try to modify the destination dir.
Let the user override the MySQL username, password and db at build time.
Let the user override the vchkpw gid and the vpopmail uid.
Bump PORTREVISION.

Approved by:	nbm (maintainer)
2001-07-04 15:34:50 +00:00
Neil Blakey-Milner
f0f39eb425 Update to 4.9.10 2001-05-24 13:15:57 +00:00
Neil Blakey-Milner
4c8ae3e193 Some fixes and tweaks from Yuri, hopefully fixing the mysql problems
that have been reported to me.

These changes don't affect the package, just if people use some of the
WITH_* or WITHOUT_* options

Submitted by:	 Yuri L Khachaturian <yukh@ns.otradnoe.net>
2001-03-01 13:05:47 +00:00
Neil Blakey-Milner
452f0fa690 Incorporate optional DEFAULT_DOMAIN and mysql support.
PR:		24718
Submitted by:	Alex Povolotsky <tarkhil@over.ru>
2001-01-29 15:18:28 +00:00
Neil Blakey-Milner
a574638be5 Update to vpopmail 4.9.8. 2001-01-29 12:01:31 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Neil Blakey-Milner
0440a8f280 Upgrade to 4.9.6-1 2001-01-03 14:28:30 +00:00
Neil Blakey-Milner
cdf3cb97b9 Upgrade to 4.9.4.
This changes a default - you now need to specify WITH_PASSWD to
authenticate against /etc/passwd.  This means the vchkpw needn't run as
root.
2000-10-14 01:29:49 +00:00
Satoshi Asami
3834cc1b28 ${PKGDIR}/INSTALL -> ${PKGINSTALL}. ${PKGINSTALL} is called without
any arguments but I'm not sure what I should give it (it's called from
pre-configure!) so I'll leave it alone.
2000-10-08 08:53:06 +00:00
Neil Blakey-Milner
54d149d0d9 As clever as makeport.pl is, I made this port. (change Whom:)
Change ~vpopmail to ${PREFIX}/vpopmail.
2000-09-22 11:39:14 +00:00
Neil Blakey-Milner
25d71de54f Add vpopmail, a virtual host and virtual user manager for qmail, at
version 4.9.

This port reserves uid 89 and gid 89, as mentioned in the
porters-handbook.
2000-09-21 13:01:40 +00:00