Commit graph

57 commits

Author SHA1 Message Date
wiz
0719006c41 Update path from cyrus-sasl2 to cyrus-sasl. 2006-04-13 21:45:12 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +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
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
jlam
4cee2b6ab3 Fix package configuration so that the Perl modules are installed into
the "vendor" directories.  Bump the PKGREVISION.
2005-08-08 16:50:59 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
adrianp
1d3b7fa9bb - Update cyrus-imapd21 to 2.1.18:
- From the changelog:
> Changes to the Cyrus IMAP Server since 2.1.17
> Fix single byte overflow in imapd annotate extension.
>
> Changes to the Cyrus IMAP Server since 2.1.16
> Fix several security issues in imapd and in mysasl_canon_user.
>
> Changes to the Cyrus IMAP Server since 2.1.15
> Clean up a timeout bug in fud proxy code.
> Fix a number of bugs with the murder and altnamespace handling.
> Detect fork() failures when launching sendmail in lmtpd
> Enable telemetry logging in lmtpd/lmtpproxyd
> Allow APOP to be disabled via an imap option
> Fix reconstruct to handle missing cyrus.header files
> Add the quotawarnkb option
> Update MUPDATE to look for IANA assigned port numbers.
2005-05-28 17:41:54 +00:00
wiz
0ecd8e6abf Add RMD160 checksum. 2005-05-25 12:37:37 +00:00
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
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