Commit graph

149 commits

Author SHA1 Message Date
riastradh
77697b790a Revbump for openpam cppflags change months ago, belatedly. 2020-12-04 04:55:41 +00:00
jperkin
13943f3046 *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:10 +00:00
christos
7ebb38679c fix deprecated methods. 2018-04-16 21:27:56 +00:00
wiz
687c1ac502 imap-uw: use Debian patch to fix build with openssl 1.1.
Untested, except that it builds.

Bump PKGREVISION.
2018-04-15 07:43:22 +00:00
jdolecek
797f4ee319 fix compilation on Darwin with kerberos
when EXTRAAUTHENTICATORS is passed as MAKE_FLAGS, it ends up being
doubled, mkauths then generates auths.c with doubled auth_gss.c and
auth_mit.c twice, triggering duplicate definition errors with clang
9.0.0; pass via MAKE_ENV instead

bump PKGREVISION
2018-02-16 22:06:58 +00:00
taca
b68b6a96c6 Rename hash_lookup() in src/c-client/misc.c to unusual name.
This hash_lookup() is internal function of imap but conflict with other
package (converters/php-recode) and cause php binary to crash.

Bump PKGREVISION.
2017-06-02 05:35:21 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
ec1cd47ca0 Remove manual OPSYSVARS additions which are now part of the default set. 2016-02-25 08:27:02 +00:00
ryoon
ab657da15b Fix SCO OpenServer 5.0.7 build.
Functionality is not tested.
2014-07-18 10:40:28 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
rodent
9e8537cdd2 "Each sed command should appear in an assignment of its own." 2013-04-06 21:07:31 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
d70c8e374b Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 12:19:01 +00:00
wiz
78c5d7aa19 Update to 2007f, requested by Harry Waddell on pkgsrc-users.
Set LICENSE while here.

imap-2007f fixes a couple bugs.
Fix for RFC 4959 Initial Client Response auth failures noted first by
  MacOSX Lion Mail users.
Adjust tcp_open.c:tcp_socket_open to make it a little more useful by adding
  a write file descriptor test to the select in the case that the open
  timeout is set.
In osdep/unix/env_unix.c:create_path there was a printf that should have
  been an sprintf. Doesn't matter on modern systems.
2012-04-05 10:41:54 +00:00
dholland
c4f12aa5be If OPSYS is NetBSD and there is no PAM header in /usr/include, include
pam.buildlink3.mk. This is wrong and a hack, but it gets the package
building again in my test environment. Someone please revert this and
do it right.

Currently there seems to be logic for enabling PAM in the build or not
on various platforms depending on whether native PAM appears to exist.
This is higly bogus; the package should be cleaned up so it either
depends on PAM or doesn't, regardless of platform, or preferably makes
it a build option.

XXX.
2012-03-20 16:34:32 +00:00
markd
eaa58f0758 Fix build with newer heimdal. 2011-01-30 01:33:44 +00:00
seanb
be73c50478 On QNX libtool wasn't inferring the tag and sysexits is needed. 2010-04-20 12:52:00 +00:00
tron
2e2307a013 Use "soc" target if building with Sun Studio C++ and modify that target
to use "cc" rather than an absolute path (which is no longer correct).
This fixes the build with that compiler without breaking the build
using GCC.
2010-01-25 23:04:49 +00:00
obache
d908db7130 Add DESTDIR support. 2009-08-21 11:55:50 +00:00
plunky
b957a2a78e Fix a problem where file modification times were being reset to 0 by
including <utime.h> to make sure that compiler renaming was used to
select __utime50() instead of utime() as 64-bit time_t was being used.
2009-05-17 16:03:08 +00:00
tron
60f28a6083 Update "imap-uw" package to version 2007e.
This version is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users
plus a security fix for users of the RFC822BUFFER routines.

Approved by Thomas Klausner.
2008-12-29 16:29:50 +00:00
obache
a36e4ac4ce Also install dummy.h.
It is included from flocksim.h, required by some platforms.  PR 40075.

Bump PKGREVISION.

While here, marked as MAKE_JOBS_SAFE=no
2008-12-01 11:03:50 +00:00
tron
f4b52662a5 Bump the following things:
- The shared library major version because it is no longer compatible
  with old binaries.
- The package revision because of the above change.
- The minimum API and ABI versions because new binary packages are no
  longer compatible with an old "imap-uw" package.
2008-11-13 14:20:20 +00:00
tron
e1a319634a Update "imap-uw" package to imap-2007d. Changes since version 2006j2:
- security fix for users of tmail or dmail.
- bug fixes and reliability improvements.
- A new function, utf8_csvalidmap(), has been added for the benefit of
  Alpine to use in examining UTF-8 text and determining efficiently
  whether it can be downgraded to a legacy charset.  If you develop an
  MUA, this may be useful for you too, although you'll have to read the
  source code to see how to use it.  The purpose of the "not-CJK" bit is
  to prevent messages being downgraded to a CJK charset if all they have
  in that charset are some special punctuation.

This update address the security vulnerability reported in SA32483.
2008-11-06 15:27:00 +00:00
jwise
168dd775ac Stop maintaining this -- this is an out-of-date version needed by the
version of pine in mail/pine.  I've switched to mail/alpine as MUA, and
mail/dovecot for imap service, and so should you.

This package should be updated to the current version of imap-uw.  Although
we are _not_ vulnerable to the current secunia advisory for imap-uw -- we do
not install tmail or dmail with the setuid bit set, nor advise users to
configure their mta to pass untrusted mailbox names to dmail on the command
line (who would do this?), there will eventually be a vulnerability which
does affect this old version.

However, as long as we support mail/pine, upgrading is not quite
straightforward -- the last version of mail/pine links against the version
of imap-uw currently included herein, and an upgrade would require testing.
2008-11-04 17:16:55 +00:00
tron
35c294e036 Turn IPv6 support on by default. Bump package revision.
Approved by Jim Wise.
2008-05-26 22:01:07 +00:00
dbj
b9affdd7ca set INSTALL_UNSTRIPPED in buildlink3.mk for darwin so that programs
that duse the c-client library do not have their callback function symbols
stripped at install time.  Fixes the following:
PR pkg/34031
and indicates that this need not be reopened:
PR pkg/35592
also bump PKGREVISION and BUILDLINK_ABI_DEPENDS
2008-04-20 22:41:56 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
obache
c03b9a93a4 PAM capable Darwin need should use build target "oxp" instead of "osx",
reported in PR 36767.
Also fixed namespace issue reported in PR 35592.

Bump PKGREVISION.
2007-08-19 05:42:35 +00:00
tron
6762664d3f Make IPv6 support work again, bump package revision. 2007-08-05 18:41:52 +00:00
obache
11798df95c Add one header file for building mail/php-imap.
Bump ABI_DEPENDS, seems some binary imcompatibility.
2007-08-05 04:51:34 +00:00
jwise
60b26f3c88 Per discussion with obache@, add an uncommitted comment noting that pine is
a widely used consumer of this package.  Many thanks to obache@ for updating
this package.
2007-08-03 17:12:00 +00:00
obache
646a5b3c4a Update imap-uw to 2006j2. OKed by jwise@.
Updated: 14 June 2007

imap-2006j is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.


Updated: 5 June 2007

imap-2006i is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.

imapd now supports the CHILDREN and ESEARCH extensions.

imapd's attempt to return COPYUID/APPENDUID information for a traditional
UNIX (and MMDF) format mailbox when the mailbox is open by another process
has been declared to be a failure and is now revoked.  It was subject to a
timing race, loss of which involved an expensive reset of the mailbox's UID
regime.  Any imapd COPY or APPEND to a traditional UNIX or MMDF format that
is open by some other process will now no longer return COPYUID/APPEND.
Although this is technically in violation of RFC 4315, there is a loophole
in that document and the timing race/performance problem is worse.


Updated: 4 April 2007

imap-2006h is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.


Updated: 30 March 2007

imap-2006g is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.


Updated: 30 January 2007

imap-2006f is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.

For the benefit of multi-threaded applications, use of strtok() has been
abolished in the c-client library.  imapd and ipop3d stuff use it though.
The TOPS-20 and VAX/VMS ports still use strtok() since they don't use UNIX
threads.

This version has been test-built on Linux, Mac OS X, NeXT, Windows XP,
TOPS-20, and VAX/VMS.  This will probably be the last test-build on VAX/VMS
since the system I use for that purpose is being shut down.  I have no way
to test-build on DOS, legacy Mac OS (OS 9 and earlier), OS/2, or Windows CE;
and the builds on those systems are probably broken.


Updated: 26 January 2007

imap-2006e is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.


Updated: 6 December 2006

imap-2006d is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.

The decomposition mapping, title-case mapping, and character widths tables
have been updated to comply with the Unicode 5.0 standard.

Prototypes for the utf8aux.c functions have been moved to a new utf8aux.h.

The general c-client modules now include c-client.h instead of the individual
files.  Use of c-client.h instead of individual include files insulates
against future shuffling of include files.


Updated: 23 October 2006

imap-2006c is a maintenance release, consisting primarily of bugfixes to
problems discovered in the release that affected a small number of users.

By popular request, if a user has a mix (or other dual-use) format INBOX,
it will no longer be listed as \NoInferiors.  It's a bad idea to depend
upon this due to the case ambiguity issue, but it's there.


Updated: 26 September 2006

imap-2006b is a maintenance release, consisting entirely of bugfixes to
problems discovered in the release that affected a small number of users.


Updated: 15 September 2006

imap-2006a is a maintenance release, consisting entirely of bugfixes to
problems discovered in the release that affected a small number of users.

If it is necessary to build IPv4-only on one of the ports that has IPv6
preconfigured (ldb, lfd, lmd, lrh, lsu, osx, oxp), this can be done by
using IP6=4.  You can't do IP=4 in the build command directly since these
ports set IP themselves; however, now instead of setting IP=6 they now set
IP=$(IP6).


Updated: 30 August 2006

imap-2006 is a major release.  Programs written for imap-2004g should
build with this version with minor or no modification.  imap-2005 was not
released except as development snapshots.

imap-2006 contains major extensions to its Unicode support.  Searching and
sorting are now done with strings canonicalized to titlecase and decomposed
form.  Among other things, this means that Latin letters with diacriticals
will now sort with the basic Latin letter, and case-independent searching of
such letters (e.g., German umlauts) now works.  Previously, sorting was done
strictly by Unicode codepoint, and case-independence only worked with ASCII.

imapd now supports the UIDPLUS extension for mailboxes in unix, mmdf, mbx, mx,
and mix formats.  UID EXPUNGE is fully implemented.  Note that UIDPLUS is not
supported in the little-used drivers (mh, mtx, tenex) in which meaningful
APPENDUID/COPYUID data can not be returned.  Refer to bugs.txt for more
details.

The new mix format is a dual-use mailbox format designed for performance and
reliability with large mailboxes.  mix is documented in file mixfmt.txt.

SSL/TLS certificate validation on UNIX now checks the alternative names in the
certificate if the CN does not match.

The new /tls-sslv23 flag in a mailbox name causes a TLS session to use the
(incorrect) SSLv23 client method instead of the TLSv1 client method.  Some
broken servers use the SSLv23 server method, and this flag works around that
problem.  WARNING: use of this flag will cause TLS negotiation to fail with
a server which uses the proper TLSv1 server method.  Additionally, there are
known security risks in SSLv2; so users should be suspicious if this switch
suddenly becomes necesary.

The silly mailbox flag combination /ssl/tls is now rejected as an invalid
remote specification.  Previous versions tried to negotiate TLS over an SSL
session; even if the server permitted such a thing it couldn't work.

The memory management of several drivers has been redesigned to consume less
memory and hopefully be faster.

The private.data member of the MESSAGECACHE (elt) has been replaced with
a union that contains private.spare.data and private.spare.ptr, the latter
being a pointer.

A new FT_RETURNSTRINGSTRUCT flag has been added for mail_fetch_body() and
mail_fetch_text() calls.  If this flag is set, *and* if the function returns
NIL, then the requested string data is available on a stringstruct on
stream->private.string.  This is a special hack for the IMAP and POP servers
and is subject to incompatible change.  The result is a major performance
improvement in the servers with the mbx driver, particularly with large
messages.
2007-08-03 17:03:29 +00:00
jwise
4a2cddb436 Since I'm more-or-less actively maintaining pine, might as well take its
unclaimed dependencies.
2007-03-21 19:39:08 +00:00
reed
9ff1a9f7d3 Run ${SETENV} ${MAKE_ENV} before ${LIBTOOL} during do-install steps.
This fixes build where libtool was not in the default path.
This is for my PR #36020.
2007-03-19 17:00:17 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
tron
bbd95effa4 Fix typos in commented out variable names.
Problems reported by Heron Gallegos on "pkgsrc-users" mailing list.
2007-02-15 06:45:35 +00:00
tron
64b1bac974 Enable PAM support under Linux and NetBSD if available.
Bump package revision because of this change.
2006-09-11 13:44:27 +00:00
jlam
25e4103cb1 * Split the MESSAGE file into two parts, one of which only shows up
if "ssl" is a package option.

* Stop the abuse of BUILD_TARGET and use MAKE_FLAGS instead.  Also,
  use OPSYSVARS to simplify the specification of the correct BUILD_TARGET
  for each platform.

* Make use of the EXTRASPECIALS variable used by imap makefiles to pass
  special MAKE_FLAGS settings through to all recursive make processes.
  This gets rid of some MAKE_ENV statements.

* Split off the special alpha-codegen hack into a hacks.mk file.

* Do man page fixups at post-build time, not post-extract time.  This
  leaves the files pristine for possible patching.

* Add back the special handling if IMAP_UW_MAILSPOOLHOME is defined.
  It was accidentally removed in patch-am when the whoson modifications
  were added.  Move the modifications to the configure phase instead
  of post-patch so that the modifications aren't accidentally picked
  up by mkpatches.

* Instead of listing each Makefile that needs the sed modification
  s/c-client.a/libc-client.la/ and modifying them at post-extract
  time, simply create patches for them.

* Instead of listing each header file to be installed, just derive
  the list from the PLIST.

* Make the libtoolification a bit more transparent by patching libtool
  references directly into the imap makefiles.

* Drop the -limapuw -> -lc-client buildlink transform that was only
  needed for much older versions of the imap-uw package, and stop
  installing libimapuw.*.  All dependents of imap-uw already correctly
  use -lc-client.

* Fix the handling of the kerberos package option so that we can use
  the pkgsrc Kerberos 5 packages instead of only using the native
  ones.

* Properly document the options.mk file.

Bump the PKGREVISION for the libimapuw.* changes and for the
IMAP_UW_MAILSPOOLHOME fixes.  The rest of the changes are all
pkgsrc-related and don't really affect the binary package.
2006-07-26 20:00:27 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
reed
6d853c6b0f Use PKGMANDIR instead of man. And also use INSTALLATION_DIRS
instead of INSTALL_*_DIR for some directories.
2006-03-04 00:29:27 +00:00
hiramatsu
d4e778b4bc Add BUILD_TARGET for OpenBSD. 2006-01-30 07:56:07 +00:00
adam
d29c67b2e1 Changes 2004g:
* Bug fix: quoted string handling in the mailbox name parsing routine

Changes 2004f:
* Bug fix: TCP code
* New SSL/TLS routines
2006-01-12 20:53:50 +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
wiz
ec86ce4af0 Convert some more settings to the options framework. Some cleanup while here. 2005-11-24 19:04:34 +00:00
wiz
228edf1053 Fix build on non-NetBSD. PR 32048 by Brandon Bergren. 2005-11-11 23:22:33 +00:00
adrianp
ef7de2deb0 PLIST fixes for missing files reported by Krister Walfridsson (CHECK_FILES=yes)
Bump nb
2005-11-02 11:14:30 +00:00
salo
66f44eb00f Security fix for SA17062:
"A vulnerability in UW-imapd can be exploited by malicious users to
 cause a DoS (Denial of Service) or compromise a vulnerable system.

 The vulnerability is caused due to a boundary error in the
 "mail_valid_net_parse_work()" function when copying the user supplied
 mailbox name to a stack buffer. This can be exploited to cause a
 stack-based buffer overflow via a specially crafted mailbox name that
 contains an single opening double-quote character, without the
 corresponding closing double-quote.

 Successful exploitation allows arbitrary code execution, but requires
 valid credentials on the IMAP server."

http://secunia.com/advisories/17062/
www.idefense.com/application/poi/display?id=313&type=vulnerabilities
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2933

Patch from 2004g.
2005-10-05 15:49:44 +00:00
wiz
5c11268df7 Remove some more *LEGACY* settings that are over a month old and
thus were before 2005Q3.
2005-10-05 13:29:49 +00:00
minskim
36d506a4e0 Set BUILD_TARGET correctly on OSF1. Patch provided by Hideo Masuda
through PR pkg/31445.
2005-10-02 20:26:24 +00:00