Commit graph

80 commits

Author SHA1 Message Date
adam
1055290ca5 Changes 5.4.3:
* gpglib/configure.in: Use "gpg2" if "gpg" is not found.
* sqwebmail.spec.in: Use gnugp2 as a requirement if gnupg is not
  installed. Replace vixie-cron with cronie as a listed req.
2010-11-10 10:52:46 +00:00
adam
c01239feb2 Changes 5.4.2:
* mailfilter.c (clrfields): Added the "noquote" option to the filter
  screen that sets the donotquote autoreply option.
* rfc822/rfc822.c (rfc822_print_common_nameaddr): Prevent segfault if
  address decode fails.
* Fix make check failure when libidn is not available.
* Rebuilt man pages with updated stylesheets.
2010-11-05 14:21:19 +00:00
pettai
e8d0bad3df sqwebmail-5.4.1:
* gpglib/list.c: Handle GnuPG 2 --with-colons output format changes.
* gpglib/mimegpgfork.c: GnuPG 2 wants --batch when specifying
  passphrase-fd.
* rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the
  reply salutation.
* html/en-us/newmsg.html: Ditto.
* Big quota patch (with some changes).

(See the Changelog for the previous releases)

Based on patch(es) from PR pkg/42989 by Brian Candler
2010-06-15 23:18:13 +00:00
wiz
a4eec2f4cc Reset maintainer, developer lost his commit bit. 2010-03-21 16:29:38 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
jlam
09afcd71c9 + Add full DESTDIR support.
+ Update courier-maildir and maildrop dependencies to latest (0.58.0 and
  2.0.4nb3).

+ Create necessary directories in the rc.d script in a start_precmd.

Bump the PKGREVISION to 2.
2008-02-19 18:45:32 +00:00
joerg
e725e20c42 Bump version or revision of all packages that have a runtime dependency
on gzip.
2007-11-08 19:39:42 +00:00
tnn
555acd9020 Fix malformed dependency line, caught by pbulk. (Hi jlam!) 2007-10-16 18:03:03 +00:00
jlam
9efea57ddf Update mail/sqwebmail to 5.2.0. Changes from version 5.1.6 include:
* Missing </table> when displaying folder list.

* Use SQWEBMAIL_RANDSEED if it's set, instead of sendit.sh's inode.

* Remove hardcoded reference to TIMEOUTHARD

* Global footer wasn't being added correctly to HTML-formatted mail.

* Fixes to inferred HTML formatting.

* Fix signing of multipart messages that contain 8 bit content.
2007-10-15 15:38:51 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
jlam
0023b20e9f Change the default directory for the various pid files to be
${COURIER_STATEDIR}/tmp, which defaults to /var/courier/tmp.  This
allows some of the servers which drop root privileges too soon to still
write the pid file into a courier-owned directory instead of the
root-owned /var/run.

In mail/courier-mta, de-list ${COURIER_STATEDIR}/webmlm from the list
of owned directories.  In fact, webmlmd expects that path to be a
socket file, and breaks horribly if the "webmlm" directory is present
instead.

Bump PKGREVISIONs for the following packages:

	mail/courier-imap	--> 2
	mail/courier-mta	--> 9
	mail/sqwebmail		--> 4
	meta-pkgs/courier	--> 5
2007-09-22 04:42:03 +00:00
jlam
d38bf18637 Fix the permissions on some binaries and directories to match the
generated permissions.dat file used to create RPMs by the author.

Bump the PKGREVISIONs:

	meta-pkg/courier	--> 4
	mail/courier-mta	--> 8
	mail/sqwebmail		--> 3
2007-09-21 22:42:00 +00:00
jlam
c25401b78f A long, long time ago, sqwebmail's "ldapsearch" changed from a script
that called openldap's ldapsearch binary into a standalone binary.  We
no longer need to copy "ldapsearch" into ${PKG_SYSCONFDIR} so that the
user can edit it.

Bump the PKGREVISION to 2.
2007-09-11 17:50:14 +00:00
jlam
9db0c57da8 Fix path to the webmaild binary. Bump PKGREVISION to 1. 2007-09-11 04:44:18 +00:00
jlam
62b6bafe16 Fix build on FreeBSD-4.x where <sys/socket.h> doesn't include <sys/uio.h>.
Now "struct iovec" is actually declared before use in cgi/cgidaemond.c.
2007-09-07 14:52:27 +00:00
jlam
7461413f6b Allow this code to compile with an older version of GCC and on an older
version of FreeBSD.
2007-09-06 04:05:39 +00:00
jlam
c152764d0e Update mail/sqwebmail to 5.1.6. Changes from version 5.1.2 include:
+ Move a few more things around so that it looks more like a default
  installation of Courier.  In particular, the "cgi-bin" directory has
  been renamed "webmail", and sbin/sqwebmaild to sbin/webmaild.

* Use address returned from authlib as return address of sent messages.
* Forbid rename folder if new folder name contains a dot.
* Quietly prune trailing ':' from the tail end of a header name.
* Trim whitespace from login username and new folder names.
2007-08-10 17:57:13 +00:00
jlam
c05d170d22 Fix botched migration of PKG_OPTIONS from courier-mta/Makefile.common
into the Makefiles of the packages that include it:

(1) PKGNAME and PKG_SUPPORTED_OPTIONS clearly no longer need to be
    defined since the only code that used it in Makefile.common was
    removed.

(2) Package Makefiles need to properly define PKG_OPTIONS_VAR and
    PKG_SUPPORTED_OPTIONS prior to including bsd.options.mk.  Set
    them to the appropriate values to match the orginal names from
    before the botched migration.
2007-08-02 22:07:32 +00:00
jlam
62a13d1672 Use REAL_ROOT_{USER,GROUP} in INSTALL scripts. 2007-06-15 18:30:31 +00:00
jlam
12351d2476 * Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-15 18:15:06 +00:00
schmonz
c0a6b738a9 Move handling of the "fam" option directly into the Courier packages
which use it. This fixes the build of courier-maildir (which includes
courier-mta/Makefile.common) since -r1.60 of mk/bsd.options.mk.
2007-06-07 07:50:57 +00:00
cube
d0e630329c Fix an obvious typo. PR#35081 by diro at nixsys dot bz. 2006-11-20 11:45:14 +00:00
jlam
8c2458894d Fix substitution error... "user" instead of "owner". 2006-06-17 19:38:43 +00:00
jlam
fd154a9588 Modify the Courier services rc.d scripts so that:
(1) they are more likely to do the right thing if the user sets
       rc_fast_and_loose; and

   (2) they pre-create any necessary directories prior to start the
       respective services.

Also, fix the path to the courierwebadmin binary in SPECIAL_PERMS for the
courier-mta package.

Bump the PKGREVISION.
2006-06-17 19:26:48 +00:00
jlam
4856aad7e3 Update mail/sqwebmail to 5.1.2. Changes from version 5.1.1 include:
* Fix monthly rotation of sent folder on multilingual systems.
   * Miscellaneous small i18n fixes.
   * New "any message" webmail filter option.
   * Improve the "message limit exceeded" error message.
   * New checkbox on the login form enables/disables soft timeout.
   * Create an invisible frame at login time that reloads at
     timeoutsoft/2 intervals, thus keeping the session alive
   * Fix bug where overriding TIMEOUTSOFT via environment variables may
     cause calendar session to timeout prematurely
2006-06-09 22:12:01 +00:00
jlam
359be7f3c4 Update mail/sqwebmail to 5.1.0. Changes from version 5.0.7 include:
+ Add an INSTALL script that detects the presence of the old
    sqwebmail state directory and that informs the admin to move it
    to the new location.

  + Install some more of the HTML documentation in the location expected
    by courier-mta.

  * Complete re-implementation of the LDAP addressbook.

  * Increase the maximum size of the CGI environment to avoid certain
    classes of browser/website problems.
2006-04-28 18:16:25 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
jlam
3cd08dfb04 We weren't using the DEINSTALL script extras -- fix this. Bump the
PKGREVISION since the installed +DEINSTALL script changes significantly.
2006-03-10 20:12:28 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
056c8252b5 Update mail/sqwebmail to 5.0.7. Changes from version 5.0.6 include:
* Update attribute count, after purging invalid html syntax/
	* Fix some HTML display bugs
	* When using GPG, sign the entire message in its entirety, instead
	  of signing each MIME part separately.  Some E-mail clients cannot
	  handle individually-signed multipart/alternative content.
	* Fix HTML templates (remove 8bit content inserted by Amaya).
	* Wiki-style composition of HTML messages.

Also, the "fam" option is noted to be supported here now, although
the logic to handle it is still in mail/courier-maildir/Makefile.common.
2006-01-03 05:59:12 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
rillig
b0e951b1ce Replace the definition for PKGBASE with one for PKGNAME, as this is what
../../mail/courier-maildir/Makefile.common expects.
2005-11-11 07:45:03 +00:00
jlam
5bed16af6c Update mail/sqwebmail to 5.0.6. Changes from version 5.0.4 include:
* Use PCRE for pattern-matching

	* When autopurging messages from a folder based on their
	  timestamp, scan 'new' in addition to 'cur', otherwise mail
	  delivered to the folder directly never gets purged, unless
	  the folder is open.

	* Filter out <!-- > constructs, they are parsed by MSIE.

	* Remove attributes with imbalanced quotes, to prevent
	  cross-side scripting vulnerabilities with some browsers.

	* Show each attachment's MIME content type.
2005-10-20 20:26:32 +00:00
salo
289510ba4e Add rcsid. (hi adrianp!) 2005-09-30 13:02:28 +00:00
adrianp
66f2bc5604 Fix for security issue: http://secunia.com/advisories/16704/
Bump to nb2
2005-09-11 19:58:46 +00:00
adrianp
0a54350657 Bump to nb1 for inclusion of patches to address security issue. 2005-08-29 15:53:24 +00:00
jlam
2c991eed14 Update mail/sqwebmail to 5.0.4. Changes from version 5.0.1 include:
* sqwebmail: Implemented account groups, administrator group.
	* sqwebmaild.dist.in (LOGGEROPTS): Added LOGGEROPTS setting.

	* gpglib/gpg.c:	gnupg returns non-zero exit even if succesfully
	unencrypted, when just the signature is bad.

	* sv-make_timezonelist.pl: Added /usr/share/lib/zoneinfo to the
	search list.
2005-08-11 00:03:51 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
48781afdbb For packages that use GNU configure, don't bother adding "TOOL"
variables into CONFIGURE_ENV if the new tools framework already takes
care of adding them automatically.
2005-05-22 05:35:32 +00:00
jlam
f13fc5c1d4 The courier-imap and sqwebmail packages embed ${SETENV} into scripts, so
pass the real "env" command path to the configure script.  This avoids
the configure script just detecting "env" in the tools directory and
assuming that's the path to the real thing.  This fixes PR pkg/30282.
2005-05-19 17:05:38 +00:00
jlam
df643ded0d Pass the install-time definition of sysconfdir through to sub-make
processes.  Since sqwebmail uses GNU automake, we need to set AM_MAKEFLAGS
to the correct value.  This fixes the installation of the *.dist files
into ${PREFIX}/share/examples/sqwebmail.
2005-05-13 02:35:40 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
2fe4e5b328 Update mail/sqwebmail to sqwebmail-5.0.1 distribution. No changes
from version 5.0.0nb1.
2005-03-23 04:55:36 +00:00
jlam
79f2d30906 sqwebmail's sendit.sh is meant to be the equivalent of "sendmail -t" in
that it reads in a complete mail message from stdin.  Fix the example
sendit.sh to invoke "sendmail -oi -t" to allow sending messages from
sqwebmail to work in a default install.  Bump the PKGREVISION to 1.
2005-03-21 00:13:10 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
jlam
72466a2274 Update mail/sqwebmail to version 5.0.0. Changes from version 4.0.5
include:

* log login failures.

* Replace 'nodsn' control file with 'wbnodsn' account option.  Replace
  'nochangepass' control file with 'wbnochangepass' account option.
  Replace 'nochangingfrom' control file with 'wbnochangingfrom' account
  option.  Replace usexsender with 'wbusexsender' and noimages with
  'wbnoimages'.

* Fix off-by 1 in GPG key export.
2005-02-18 22:12:56 +00:00