how to handle the database upgrade and the SpamAssassin patch partial
integration.
There are several important changes that may affect your vpopmail
installation and may need you to handle manually:
- THE MYSQL CONNECTION INFORMATION IS NO LONGER DEFINED AT COMPILE-TIME!
The WITH_MYSQL_{USER,PASSWD,SERVER,DB} variables should NOT be defined
when you build the port; place that information in the vpopmail.mysql
file after vpopmail has been installed!
- the default domain is also no longer defined at compile time - you need
to place it in the defaultdomain file after the installation.
- the defaultdomain and vpopmail.mysql files are no longer blindly removed
on deinstallation, they are only removed if they have not been modified
- in vpopmail 5.4.18, the database schema was changed - some fields were
extended from 64 to 96 characters. If you do not apply those changes
to your database, as explained in the vpopmail/doc/UPGRADE file, your
vpopmail installation may silently fail or lose the trailing portions
of domain names and usernames.
- in vpopmail 5.4.19, the upstream authors integrated large parts of
Alex Dupre's SpamAssassin support, without the SPAM_THRESHOLD part.
If you use vpopmail along with the SpamAssassin FreeBSD port support,
take extra care to ensure that your installation still processes
e-mail messages in the same way.
- vpopmail 5.4.19 added support for maildrop as a mail delivery agent.
This is available in the FreeBSD port if WITH_MAILDROP is defined.
There is also a new user-limit flag for maildrop delivery.
- vpopmail 5.4.19 added support for MySQL connections via Unix sockets
instead of TCP sockets to the server. To do that, change the second
value (the port number) in vpopmail.mysql to the full pathname of
the MySQL socket (e.g. /tmp/mysql.sock).
- vpopmail 5.4.20 extended the LDAP support; please see README.ldap for
more information, and specify the LDAP connection information in
the vpopmail/etc/vpopmail.ldap file after the installation.
WITH_SQL_LOG_REMOVE_DELETED knob - fix the name of a variable and
a standard PostgreSQL routine.
Pointy hat to: roam (myself), in addition to the upstream developers
- add a new knob, WITH_SQL_REMOVE_DELETED, for explicitly activating
the new code for removing entries from the SQL log file when a user or
domain is deleted;
- add real NOPORTDOCS support and install the README.* files in addition
to the doc_html/ and man_html/ directories if NOPORTDOCS is not set;
- fix a couple of spelling and grammar errors in the new README.vpopmaild;
- add several sanity checks;
- remove the last traces of the ActiveDirectory backend;
- various other minor changes.
- temporarily disable the SpamAssassin patch, since vdelivermail was
reorganized a bit;
- fix a couple of potential buffer bound problems;
- remove the unconditional -fPIC; we handle this ourselves for amd64.
very long and if some dependencies can't be added into the list.
[1]
- Fix FAM support. Make gamin the default FAM system. [2]
- Introduce new 'quicksearch' target to show only port, path and
info section of the matching ports. [3]
- Introduce new category - rubygems. [4]
- Fix stale dependencies while installing qmail slaveport and
another port that depends on qmail. [5]
- Add commentary for describes target in bsd.port.mk. [6]
- Fix warning issued during make index on archs !368. [7]
- Add USE_DOS2UNIX variable. If set to "YES", remove the ^M from
all files under ${WRKSRC}. If set to a string, remove in all files
under ${WRKSRC} with one of these names the ^Ms. [8]
- Add new variables PERL_RUN_DEPENDS and PERL_BUILD_DEPENDS by
checking the existance of the Perl modules with the "perl -e 'use
module;'" command. [9]
- Fix bsd.port.mk variable quoting issues. No quoting is necessary
anymore either in the Makefile or on the command line. Affected
variables include:
BROKEN
FORBIDDEN
IGNORE
MANUAL_PACKAGE_BUILD
NO_CDROM
NO_PACKAGE
RESTRICTED
[10]
- Add NOFETCHFILES variable. If set, don't download these files
from the ${MASTER_SITES} or ${MASTER_SITE_BACKUP} (but do from
${MASTER_SITE_OVERRIDE}). [11]
- Improve 'search' target output. [12]
- Add a new virtual category for Amateur Radio - hamradio. [13]
- Cleanup some old/unused pathes in bsd.port.mk. [14]
- Add @dirrmtry for plists which does the same as:
"@unexec rmdir %D/foo 2>/dev/null || true" [15]
- Remove virtual category - offix. [16]
- Use portsnap instead of cvsup or cvs on "make update" in
/usr/ports. [17]
- Move location of bsd.autotools.mk within bsd.port.mk [18]
- Add bsd.linux-rpm.mk, fix INSTALLS_SHLIB for Linux ports [19]
- Use new USE_RC_SUBR format for FreeBSD version >= 700007 [20]
- Replace the string "FreeBSD" by "The FreeBSD Project" in the
security warning [21]
- Add bsd.local.mk for local modification to ports framework. [22]
- Replace rcNG spelling by rc.d [23]
- Remove superfluous USE_REINPLACE. [24]
Special thanks to: linimon for spending hours with all these patches
clement for fixes
kris for help with pointyhat
PR: ports/86310 [1], ports/89498 [2], ports/83530 [3],
ports/83789 [4], ports/84053 [5], ports/86281 [6],
ports/87214 [7], ports/87234 [8], ports/87318 [9],
ports/87396 [10], ports/87605 [11], ports/87840 [12],
ports/88230 [13], ports/88493 [14], ports/88711 [15],
ports/88751 [16], ports/89281 [17], ports/89999 [18],
ports/90031 [19], ports/90150 [20], ports/90668 [21],
ports/91433 [23], ports/88754 [24]
Submitted by: mi [1], marcus [2], Lars Engels <lars.engels@0x20.net> [3],
pav [4, 16, 20, 24], garga [5], cperciva [6], vd [7],
edwin [8, 9, 11, 15, 21],
fenner [10], Arseny Nasokin <tarc.po.cs.msu.su@tarc.po.cs.msu.su> [12],
Carl Makin <carl@stagecraft.cx> [13], arved [14],
NIIMI Satoshi <sa2c@sa2c.net> [17], thierry [18],
jylefort [19], linimon [22], dougb [23]
Unfortunately, the only way to avoid adding -fPIC to the files that
go into libvpopmail.a would be to actually make the vpopmail port
build a real shared library, which might be a bit more difficult and
should probably be coordinated with the upstream.
Pointy hat to: roam (myself)
Pointy hat handed by: kris
This fixes the build of ports that use libvpopmail, at least on amd64,
and does not hurt on other platforms.
PR: 88402
Submitted by: Matteo Baldi <egon@egonflower.com> among others
the sample tcp.smtp file as tcp.smtp-dist.
Add the WITH_SUID_VCHKPW knob for setting the setuid bit on bin/vchkpw. [1]
Bump PORTREVISION.
PR: 85124 [1]
Submitted by: garga [1]
and --enable-pgsql-logging. Correspondingly, deprecate WITH_MYSQL_LOG and
WITH_PGSQL_LOG in favor of WITH_SQL_LOG.
Reported by: Alexander B. Zubkov <sasha@sekrett.ru>,
Martin Tsachev <mtsachev@gmail.com>
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)
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>
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 :)
Revamp a bit the creation of the MySQL credentials file.
PR: 59605
Submitted by: Alex Dupre <sysadmin@alexdupre.com> (mostly)
Approved by: portmgr (will)
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!
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.
- 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.
(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>
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>
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
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 :(