Commit graph

50 commits

Author SHA1 Message Date
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
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
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
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
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
f3a4f736b9 Update mail/sqwebmail to 4.0.5 (based on the courier-0.45.6 distribution).
Changes from version 3.6.2 include:

  * Honor ${VARBASE}.
  * Remove pcpd and sqwebmaild rc.d scripts and replace them with a
    single sqwebmail rc.d script that calls the Courier-provided control
    script to start/stop the SqWebMail service daemons.
  * Use sysconftool from courier-auth to merge config files.
  * Move HTML documentation into ${PREFIX}/share/doc after discussion
    with wiz.
  * Support for the ACL IMAP extension.
  * Improve support for MIME encodings.
  * Fixes buffer overflow vulnerability (PR 25774):
	http://www.securityfocus.com/bid/9845
	http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0224
2004-07-14 20:07:22 +00:00
wiz
f7135b980c Do not use install-strip target since it fails
because sh install is called, and install is not found.
2004-05-12 23:48:52 +00:00
jlam
faed7092a8 Reverse the use of USE_DB185 in bdb.buildlink3.mk -- it defaults to
"yes" and packages that can't use the DB-1.85 API should set it to "no".
This makes the native DB the preferred DB if it exists.
2004-03-26 18:48:52 +00:00
jlam
bb46710479 Convert to use bdb.buildlink3.mk. 2004-03-10 18:07:16 +00:00
jlam
00d72f6d0b Add a convenience control script /etc/rc.d/sqwebmail that invokes
sqwebmaild and pcpd.
2004-02-24 01:20:21 +00:00
jlam
25fc79de85 Clean up Solaris db handling by just noting that we need db-1.85
functionality.
2004-02-24 00:22:45 +00:00
jlam
3b4ba68d9a On Solaris, we'll need to include db/buildlink3.mk for DB functions. 2004-02-24 00:14:33 +00:00
jlam
78830ab4e6 courier-auth/Makefile.common automatically adds us to the "mail" category. 2004-02-24 00:07:22 +00:00
jlam
ae44c2c5bb Update mail/sqwebmail to 3.6.2. Changes from version 3.3.1 include:
Split sqwebmail into sqwebmail and sqwebmaild.  sqwebmaild is now a
root daemon process that listens on a UNIX domain socket.  sqwebmail
is a tiny, unprivileged cgi-bin stub that forwards the HTTP request
to the daemon process.  The stub passes the client's file descriptor
to sqwebmaild, on platforms that support passing file descriptors,
else it proxies http traffic in both directions.

Replace GIFs with PNGs

Do GPG functions via a library instead of invoking mimegpg.

RFC 2231 support
2004-02-23 23:41:42 +00:00
jlam
4b90d17ed9 From the log for rev. 1.1260 of bsd.pkg.mk:
"Package Makefiles should refer to PKG_SYSCONFBASEDIR instead of
 PKG_SYSCONFBASE when they want PKG_SYSCONFDIR stripped of
 PKG_SYSCONFSUBDIR.  This makes PKG_SYSCONFBASE=/etc work with pkgviews by
 installing all config files into /etc/packages/<pkg> instead of
 occasionally putting some directly into /etc."
2004-01-07 02:21:16 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
martti
f928be280d COMMENT should start with a capital letter. 2003-07-21 16:56:41 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
3db18c019a buildlink1 -> buildlink2 2002-10-08 23:15:58 +00:00
jlam
e507190d0d When using bsd.pkg.install.mk, if a DEINSTALL or INSTALL file already
exists, then use it as the default value of DEINSTALL_EXTRA_TMPL or
INSTALL_EXTRA_TMPL.
2002-09-18 21:15:07 +00:00
yyamano
f36670bf22 Replace STRIPFLAG with _STRIPFLAG_INSTALL to fix pkg/15467. 2002-05-28 15:01:22 +00:00
schmonz
981b7fa63c As discussed with jlam, set the mailer to "/usr/sbin/sendmail" by
default, and inform the user that it might be necessary to edit
${PKG_SYSCONFDIR}/sendit.sh.
2002-05-03 14:57:45 +00:00
jlam
816736410b Fix reversed logic for setting INSTALL_TARGET=install-strip. Of course,
we want to strip when STRIPFLAGS contains "-s" and not otherwise.  Pointed
out by Amatai Schlair in private e-mail.
2002-02-03 13:38:38 +00:00
jlam
138e99980f Do some editting of the output returned by OpenLDAP's ldapsearch so that
it can be parsed by SqWebMail.  SqWebMail expects output to be of the
form
	class1=name1
	class2=name2
	...

but the output from ldapsearch seems to be

	class1: name1
	class2: name2

We massage it into the former using sed.  This makes LDAP searches against
ldap.bigfoot.com work properly when using the "Global Addressbook" feature
of SqWebMail.
2002-01-25 00:18:59 +00:00
jlam
47c953aa1b This package actually needs perl as a dependency, not just a build
dependency, since the cache-cleaning script is a perl script (noted by
Amitai Schlair in private email).  Also change the permissions on the
ldap config files so that LDAP searches have a better chance of
succeeding.

XXX - The global LDAP searches still don't work, but I haven't yet figured
XXX - out why.  The queries return records when executed on the command
XXX - line, but the records aren't being displayed by sqwebmail.
2002-01-24 20:51:55 +00:00
jlam
a5ff0992c7 The example scripts in ${DATADIR}/sqwebmail don't end in ".dist". 2002-01-24 19:40:07 +00:00
jlam
cef046609d Depend on courier-auth>=0.37.1nb1 to pick up the changes to make the
password-changing page work.
2002-01-24 17:39:29 +00:00
jlam
11a02b512c Add this to the www category. 2002-01-24 15:21:08 +00:00
jlam
fed89dfb62 Initial import of mail/sqwebmail, the Courier webmail CGI.
SqWebMail is a web CGI client for sending and receiving E-mail using
Maildir mailboxes.  It is very lightweight -- it reads mail directly
from Maildirs.
2002-01-24 07:23:44 +00:00