Commit graph

42 commits

Author SHA1 Message Date
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
minskim
5e28b53ad3 Use VARBASE. 2004-12-29 15:42:37 +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
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +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
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
e6527edb86 Fix the code in post-patch so that man pages correctly reference pages
that have been prepended with "cyrus-".
2004-07-31 03:52:00 +00:00
jlam
e5db0fd5d7 Convert to use bsd.options.mk. 2004-07-31 03:42:52 +00:00
jlam
8349293f6a Restructure the flow so that we use pipes to pass information between
processes instead of saving values in shell variables and then iterating
over them.  Using pipes is more scalable and is just as easy to read, so
it's a net win.
2004-07-31 03:29:38 +00:00
jlam
270fefab97 Actually warn about the IMAP directories if they can't be removed.
Removing directories happens at POST-DEINSTALL time, but the imapd.conf
file may be removed during the DEINSTALL stop, so we need to add the code
to remove the IMAP directories explicitly in the DEINSTALL step, as well.
2004-07-31 03:28:32 +00:00
wiz
e49da93445 Unused. 2004-04-25 01:31:37 +00:00
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
jlam
f7432dac73 Ensure that we use the db3 library, even if the db4 one gets pulled in
as an indirect dependency.
2004-03-31 10:38:16 +00:00
jlam
ec026a5810 Convert to use krb5.buildlink3.mk. 2004-03-31 10:23:04 +00:00
jlam
54aa327743 Miscellaneous nits and reorderings to more closely match
cyrus-imapd22/Makefile.
2004-03-31 10:05:14 +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
snj
1f98985a4f Whitespace fix. 2004-02-14 18:26:56 +00:00
snj
ae57b368df Put post-install information in MESSAGE instead of using an INSTALL script.
Okayed by wiz.
2004-02-14 18:03:03 +00:00
jlam
acdcbd2b1e bl3ify 2004-01-11 07:40:13 +00:00
chris
7aeaf3cbda Add CYRUS_DB_RECOMMENDED and CYRUS_USE_INET6 to the BUILD_DEFS, so they're
listed during the build.
2004-01-10 15:20:37 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
seb
bfbfdeba5c Add missing entry in PLIST.
Bump PKGREVISION.
2003-10-21 23:35:25 +00:00
jlam
072c5637e1 Note the common tls_* options that need to be set in order for the server
to listen to IMAPS requests.
2003-09-15 09:01:18 +00:00
jlam
72af5b8a4e Update mail/cyrus-imapd21 to 2.1.15. Changes from version 2.1.14 include:
* Correct a potential DOS attack in the fud daemon.
      * Arbitron now works again
      * Telemetry logging for mupdate
      * Duplicate Suppression logging for redirect sieve actions
      * A number of bugs in reconstruct have been fixed. also added the -p
        and -x options
      * Better stubbing out of user_deleteacl
      * No longer log any shutdown() failures
      * Improved IPv6 support (for systems with two getnameinfo
        implementations)
      * Misc Documentation Improvements
2003-09-13 23:03:17 +00:00
jlam
af97dbf26c Some platforms have feeble install tools that can't take more than one
file at a time.  Also some minor clean-ups.
2003-09-13 20:09:57 +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
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
recht
9462f14143 Update to 2.1.14.
Changes to the Cyrus IMAP Server since 2.1.13
* Be more forgiving in the parsing of MIME boundry headers,
  specificly those generated by eudora where the outer boundries are
  substrings of the inner boundries. This feature can be disabled by
  enabling the rfc2046_strict option.
* Allow cyradm to handle aggregate mailbox sets for ACL and DELETE
  operations.
* Add a lmtp_downcase_rcpt option to force the lowercasing of
  recipient addresses (Henrique de Moraes Holschuh <hmh@debian.org>).
* Include more MIME headers in sieve rejection notices
* Add an mbexamine command for debugging purposes
* LMTP will now fatal error if we cannot initialize the duplicate
  delivery database.
* Continued audit by Security Appraisers and Bynari
* Correctly terminate the processes by calling service_abort even on
  successful exit (helps to fix a db3 lockers problem)
* Fix some murder+altnamespace/unixhiersep issues
* Fix imclient's handling of literals.
* Add support for the windows-1256 character set
* Don't log 'could not shut down filedescriptor' messages when the
  socket is already not connected
* Now include a script to convert sieve script names to the
  altnamespace format
* Added a --with-extraident configure option to make it easier to set
  the extra version information that is compiled into the binary.
* Minor build fixes.
* Minor other bug fixes.

OK'ed by chris@
2003-08-16 09:23:58 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
martti
9e34f1669e Updated cyrus-imapd to 2.1.13
* New IPv6 patch

* Add maxfds= option in cyrus.conf
* "The shutdown() Patch"
* Now report both built-with and running-with OpenSSL versions
* Misc other small bugfixes
* Security Appraisers and Bynari review of the majority of the modules in imap/

Approved by chris.
2003-05-26 06:53:07 +00:00
martti
e5f286b074 Updated cyrus-imapd to 2.1.13
* New IPv6 patch

* Add maxfds= option in cyrus.conf
* "The shutdown() Patch"
* Now report both built-with and running-with OpenSSL versions
* Misc other small bugfixes
* Security Appraisers and Bynari review of the majority of the modules in imap/

Approved by chris.
2003-05-26 06:53:06 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
seb
6b735eea4e Update to version 2.1.12.
Changes to the Cyrus IMAP Server since 2.1.11

      * Master now will forcibly exit if a service is not executable
      * Master now has a daemon mode and pidfile support (-d and -p
        options)
      * Berkeley DB Configuration methods have changed. Hopefully they're
        more generic now. You can still use --with-dbdir, or you can use
        --with-bdb-libdir and --with-bdb-incdir
      * timsieved now handles usernames with dots (when unixhierarchysep is
        active)
      * tugowar has been removed from the distribution.
      * Squatter now has an option to skip unmodified mailboxes.
      * Properly hash username to remove a user's sieve scripts when their
        INBOX is removed.
      * Reset output buffer when prot_flush returns EOF.
      * Minor Makefile improvements with use of $(srcdir)
      * Remotepurge improvement for empty mailboxes
      * Fix for AFS overwriting the canonicalized username in ptloader
      * Security audit of imapd.c performed by SecurityAppraisers and
        Bynari
2003-02-27 13:21:51 +00:00
rh
93447fc7a1 Add missing buildlink2.mk files 2003-02-21 22:47:08 +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
chris
9b6e0593ed Add NetBSD tag to patch file. 2003-01-08 21:26:34 +00:00
christos
2e3434370f - deal with NetBSD failing on mkdir("foo/"), rmdir("foo/") etc.
- print the correct errors, not from a stale error code.
2003-01-07 18:25:21 +00:00
chris
d9f25bba76 Update cyrus-imapd to 2.1.11.
This includes the fix for the recent buffer overflow.

Note that IPv6 patch doesn't work, I've not had the time to look into this,
but felt that being a security fix I should get the update done.

Also note that if you define CYRUS_DB_RECOMMENDED in your build environment
it will build using the cyrus mailing list recommended defaults for the
database settings.
2002-12-08 00:39:42 +00:00
seb
4c5a219751 I forgot to commit this with the new patches yesterday!!!
Many thanks to Chris Gilbert for noticing it.

Bump PKGREVISION
- Add dependency on autoconf and have auto{header,conf} run at pre-configure
  stage: this is need to avoid conflict between the distribution patch file for
  IPv6 and patch files.
- Pave the way for the removal of PERL5_GENERATE_PLIST from bsd.pkg.mk:
  use perl5/module.mk with PERL5_CONFIGURE=NO.
- Ensure relocatable objects are created so that when the Perl modules are
  linked they are composed wholly from relocatable objects.
  We query perl for how to compile a source file into a relocatable object file.
  Thanks again jlam for this.
2002-11-16 10:39:22 +00:00
seb
8a11fad5d6 Bump PKGREVISION
- Add dependency on autoconf and have auto{header,conf} run at pre-configure
  stage: this is need to avoid conflict between the distribution patch file for
  IPv6 and patch files.
- Pave the way for the removal of PERL5_GENERATE_PLIST from bsd.pkg.mk:
  use perl5/module.mk with PERL5_CONFIGURE=NO.
- Ensure relocatable objects are created so that when the Perl modules are
  linked they are composed wholly from relocatable objects.
  We query perl for how to compile a source file into a relocatable object file.
  Thanks again jlam for this.
2002-11-15 11:49:07 +00:00
jlam
33990c55aa Remove blank line from middle of PLIST. 2002-11-01 01:05:34 +00:00
chris
0b2798f0ab Initial import of cyrus-imapd 2.1.9.
Cyrus imapd provides IMAP, POP3 and KPOP services for mail.  It differs
from other IMAP servers by providing a "sealed" server where users do not
normally login directly to the server.  The mailbox database is private to
the Cyrus IMAP system.  Cyrus also provides server side mail filtering
using sieve (see RFC 3028)
2002-10-27 16:08:52 +00:00