Commit graph

175 commits

Author SHA1 Message Date
obache
d908db7130 Add DESTDIR support. 2009-08-21 11:55:50 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
535692e6d0 regen patch-ap, from Sean Boudreau on tech-pkg. 2009-06-11 08:13:05 +00:00
obache
85164cdbce Update to use SSLINCLUDE and SSLLIB instead of SSLDIR for EXTRASPECIALS.
Should be fix PR 41232, pick up incorrect location as pkgsrc expected.
2009-05-26 11:32:22 +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
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +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
dbj
cbb672b5b2 use setpgid instead of setpgrp on darwin if __DARWIN_UNIX03
PR pkg/37490
2008-04-20 22:37:06 +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
markd
df9baca7e6 Delay cat'ing the LDFLAGS file till the actual linking is happening so
that all library dependencies are picked up.  Fixes the build of pine
when imap-uw has been built with the kerberos option.  No revision bump
as doesn't change the default build.
2006-08-29 23:53:55 +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
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
minskim
51dc91185d Remove debugging and optimization options on Darwin, to be consistent with
other platforms.  No PKGREVISION bump because this package currently does
not build on Darwin.
2006-07-07 05:45:51 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +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
abs
a0d3e702be fix PLIST : lib/libimapuw.so.4.0.2 -> lib/libimapuw.so.4.0.3 2006-01-13 12:12:19 +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
wiz
faf65456ad Remove stuff that was marked for removal after 2005Q4. 2006-01-01 18:53:03 +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
joerg
24413d31af Do not "extern int errno;" just in case. 2005-12-03 00:52:54 +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
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
tv
20c21e31b1 Update to imap-uw-2004e (downwards ABI compatible; shlib teeny version bumped).
Changes (note that relnotes say -2004d, but it is indeed -2004e):

=====
imap-2004d is a maintenance release, released concurrently with Pine
4.63, and consists primarily of bugfixes

There is now a workaround for RedHat breaking flock().  However, since
RedHat has said that they don't support flock(), there is no guarantee
that they won't break it in the future.  So you may want to consider some
other Linux distribution or BSD instead.  See:
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=123415
for the gruesome details.

There are no user-visible functional enhancements in this version.
=====

OTHER CHANGE: Multiple newsrc and MSA support needed by Pine 4.63.
2005-08-12 19:47:17 +00:00
tron
9304173a9f Use package options framework to (de)active Kerberos support. 2005-08-03 09:43:58 +00:00
tron
47c0862eac Add optional IPv6 support. Bump package revision because of this change. 2005-08-01 20:34:31 +00:00