1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
Peter Pentchev
2cb9f94f22 Make the PostgreSQL backend actually compile with the new
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
2006-10-08 17:29:02 +00:00
Peter Pentchev
215d42df82 Update to vpopmail-5.4.17. In the process:
- 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.
2006-10-05 11:49:17 +00:00
Peter Pentchev
c4e176be24 Fix package installation - in most cases, the vpopmail package (if built)
would be installed with the wrong home directory for the vpopmail user.

PR:		103177
Submitted by:	oliver
2006-09-23 12:38:02 +00:00
Alex Dupre
30bde9bb48 I've updated the SpamAssassin patch, so re-enable it in the port. 2006-07-17 05:51:33 +00:00
Peter Pentchev
cf72e85dff Create the qmail control/locals file if it does not exist.
Silence a couple of portlint warnings.

PR:		99914
Submitted by:	garga
2006-07-14 12:13:50 +00:00
Peter Pentchev
deb73f82b0 Update to the last stable release, 5.4.13. In the process:
- 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.
2006-06-16 13:00:57 +00:00
Edwin Groothuis
efe7d5f7f4 Remove USE_REINPLACE from ports starting with M 2006-05-10 22:37:39 +00:00
Peter Pentchev
09163ad68c Set the setgid bit on vchkpw, too - it simply will not work without it :)
PR:		85788
Submitted by:	Renato Botelho <garga@freebsd.org>
2006-01-27 13:47:16 +00:00
Edwin Groothuis
80840e8dc5 SHA256ify
Approved by: krion@
2006-01-22 12:50:54 +00:00
Edwin Groothuis
0416031c9b Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 02:20:05 +00:00
Kirill Ponomarev
01c588a635 - Fix 'all-depends-list' target in cases if dependencies list is
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]
2006-01-21 17:37:14 +00:00
Peter Pentchev
4b89ada401 Only use -fPIC on amd64 - none of the other arches seem to need it.
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
2005-11-24 16:04:38 +00:00
Peter Pentchev
8905aec82c Unless WITHOUT_FPIC is defined, add -fPIC to the C compiler flags.
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
2005-11-17 22:54:30 +00:00
Peter Pentchev
41dcdf6652 Errr... actually add the patch needed for the WITH_SMTP_AUTH_PATCH option
introduced in ports/mail/vpopmail/Makefile rev. 1.57.

Submitted by:	Nikolay Georgiev <niki@techlab.office1.bg>
2005-09-16 07:35:24 +00:00
Peter Pentchev
86fde83af8 Add the WITH_SMTP_AUTH_PATCH knob to fix the SMTP authentication, at least
when invoked via the elysium implementation of SMTP auth from
http://members.elysium.pl/brush/qmail-smtpd-auth/dist/

Submitted by:	Nikolay Georgiev <niki@techlab.office1.bg>
2005-09-16 07:34:01 +00:00
Peter Pentchev
f83c5272a2 Complement pav's handling of tcp.smtp and tcp.smtp-dist: actually install
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]
2005-09-05 21:27:03 +00:00
Peter Pentchev
2823cfaed6 Set the SHELL environment variable to "/bin/sh" in vdelivermail before
executing external programs.

PR:		69969
Submitted by:	Claudiu Bosioc <claudiu@casi.ro>
2005-07-01 16:43:25 +00:00
Peter Pentchev
36001620eb Use --enable-sql-logging instead of the deprecated --enable-mysql-logging
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>
2005-06-07 08:51:34 +00:00
Pav Lucistnik
a8d60112a8 - Require perl in runtime too, pkg-install script is written in it.
Up until now, it was impossible to install from package.
2005-05-30 11:26:21 +00:00
Pav Lucistnik
bcf835034e - Update to 5.4.10
- Add support for LDAP
- Handle tcp.smtp configuration file nicely

PR:		ports/80412
Submitted by:	Renato Botelho <freebsd@galle.com.br>
Approved by:	maintainer timeout (2 weeks)
2005-05-11 13:32:29 +00:00
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
Peter Pentchev
c31f009e5b Merge several security and reliability fixes from the vpopmail 5.4
CVS branch.

Prompted by:	eik (for the vsybase.c advisory and CVS fix)
Approved by:	portmgr (marcus)
2004-09-10 06:23:24 +00:00
Peter Pentchev
449bcae98c Update to vpopmail-5.4.6, which contains IMPORTANT security fixes for
people using vpopmail with SQL backends!
2004-08-25 08:09:45 +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
Peter Pentchev
ef5ef83888 Fix a file descriptor leak in opensmtp().
Obtained from:	vpopmail CVS via oliver and
		Michael Bowe <mbowe@pipeline.com.au>
2004-04-19 12:09:50 +00:00
Peter Pentchev
7036b59ab3 Update vpopmail to 5.4.3. 2004-04-09 09:38:26 +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
07b1e132d3 Add CONFLICTS. 2004-02-26 14:34:32 +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