Commit graph

149 commits

Author SHA1 Message Date
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
hira
82643f2d0f Add missing RCS Id tag to patch-ab. 2005-06-17 14:49:47 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
kim
8eecc53fe3 Give up maintainership -- I'm not using these actively enough, so I tend not
to be that knowledgeable on how to fix them on all the pkgsrc platforms.
2005-03-15 17:03:16 +00:00
tv
b4cbf50a4b Use INSTALL_LIB for libraries. 2005-03-11 17:25:05 +00:00
thorpej
0b9ad806b2 Use the SSLKEYS variable to determine the location of the certificate
private key.  Bump package revision to 2.
2005-03-06 17:03:06 +00:00
adrianp
6ddd0d33e7 - Fix builds on NetBSD 1.6 due to Kerberos/OpenSSL 0.9.7 issues
- Included some utilities in the install that were once a part of the
  imap-uw-utils package but are now a part of this package
- ok'ed kim@
2005-03-05 22:01:47 +00:00
agc
8758983939 Add RMD160 digests. 2005-02-24 09:59:20 +00:00
abs
5ce0227123 fix my previous attempt to clarify a comment at the start 2005-01-31 11:38:22 +00:00
abs
e5a897ba41 Update imap-uw to 2004c1
imap-2004c:
    fixes to quoted-printable encoding and CRAM-MD5 authentication.
    NNTP proxy in imapd now supports the LIST and LSUB commands.

imap-2004b:
    There are new ports for Solaris with Blastwave Community Open
    Source Software (gcs) and Mandrake Linux (lmd).

    SET_SNARFINTERVAL now controls how frequently local drivers
    will move new mail from the mail spool as well as from a
    maildrop.  Maildrops are still tied to a minimum interval of
    1 minute, but there is now no minimum for the spool file.

    Character set conversions now map non-breaking space to space
    if the destination character set doesn't have nbsp.  JIS Roman
    yen sign is now mapped to Unicode yen sign.
2005-01-24 09:03:48 +00:00
grant
52da5bcd24 add build target support for IRIX.
fixes PR pkg/28610 from Georg Schwarz.
2004-12-18 16:17:12 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +00:00
abs
dd04eda1b7 Add IMAP_UW_USE_WHOSON
No change to default build, so no version bump
2004-10-11 16:56:28 +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
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jlam
4dc2531aef Remove libimapuw.* symlinks, which wouldn't work on a.out platforms
anyway.  Also convert to use LIBTOOLIZE_PLIST while we're here.  Bump
the PKGREVISION.
2004-09-22 07:38:52 +00:00
danw
bb0c160129 use hard links rather than symlinks for the libimap -> libc-client
mapping, to fix PR 21652 (darwin build problem)
2004-09-08 02:42:23 +00:00
tron
73e8e84dd5 Fix too complicated and broken shell code in "post-extract" target which
clobbered the contents of the manual pages.
2004-09-06 19:55:07 +00:00
adam
325b56a950 Changes imap-2004a:
* maintenance release, consisting primarily of critical bugfixes
* now has a supported NNTP proxy capability
* OSF/1 port (Digital UNIX, Tru64) now uses flocksim instead of flcksafe
* The unix[nt] and mmdf drivers now prevent mail_append() from writing Status:,
  X-Status:, X-UID, X-IMAP[base]:, and X-Keywords: header lines to a
  traditional UNIX or MMDF format mailbox
2004-08-12 12:13:54 +00:00
kim
415ef3d119 Bump required version, pine 4.60 does not compile with 2002.5nb3 2004-05-23 00:58:25 +00:00
adam
221af5bbd8 Changes 2004:
* mailutil has three new commands: delete, rename, and prune
* IPv6 support now exists for UNIX and W2K
* The NNTP driver now supports NNTP SASL and TLS
* imapd now supports the LITERAL+ and SASL-IR initial-response extensions
* The IMAP driver has some additional checks to reduce the amount of network
  traffic, including executing "silly searches" (searches of sequence numbers
  only) locally
* The IMAP, POP, SMTP, and NNTP drivers now have diagnostic code to provide
  better information about servers which violate SASL's empty challenge
  requirements (e.g. with the PLAIN mechanism).
* There is a new mail_fetch_overview_sequence() function which is like
  mail_fetch_overview() but takes a sequence number string as an argument.
  There should have been a flags argument and FT_UID bit as in all the other
  mail_fetch_???() functions but compatibility with the past... :-(
* The overview_t callback (from mail_fetch_overview()) now has a fourth
  argument which contains the message sequence number (as opposed to the UID
  which is in the second argument).  It turned out that some applications were
  calling mail_msgno() (which can be moderately expensive) to get the sequence
  number, and c-client already knew it.
* Many declarations which are completely internal to a driver have been removed
  from the driver .h file, and in those cases where there are no external
  declarations left the .h file has been eliminated entirely.  As part of this,
  the mbox driver routines are now incorporated with the unix driver routines
  as opposed to being a separate file.  The mbox driver still needs to be lunk
  in order to get the mbox functionality.
2004-05-13 18:14:34 +00:00
wiz
e1c0bff613 Unused. 2004-05-11 21:01:05 +00:00
ben
b5da9b5589 bl3ify imap-uw. 2004-04-22 21:31:22 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
sketch
325ba9a079 Use PKGDIRMODE and SHAREMODE to ensure the installed documentation files can be
properly deleted on operating systems which are picky about permissions.
2004-02-15 21:33:15 +00:00