1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Jun Kuriyama
31554d138a - Unbreak with perl5.10.
Approved by:	ume
2010-02-06 04:49:52 +00:00
Hajimu UMEMOTO
a894bd0cec Update to 2.2.13p1.
Security:	Potential buffer overflow in Sieve
2009-09-09 16:05:28 +00:00
Hajimu UMEMOTO
935c2ad004 Fix buffer size calculations for sieve actions_string
Submitted by:	Bron Gondwana <brong__at__fastmail.fm>
Obtained from:	Project Cyrus
2009-09-03 08:27:57 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Hajimu UMEMOTO
2afaa37bc2 Fixed imtest to be compatible with SASL 2.1.22.
Obtained from:	https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imtest/imtest.c.diff?r1=1.107&r2=1.108&f=u
2006-05-27 06:51:09 +00:00
Hajimu UMEMOTO
03e1a4e6bd Fix build with WITH_NNTP=yes.
PR:		ports/95690
Obtained from:	https://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/fetchnews.c.diff?r1=1.14&r2=1.15&f=u
2006-04-14 14:42:44 +00:00
Hajimu UMEMOTO
02796e393b deliver segfaulted when using without -l.
Submitted by:	André Böhm <andre__at__abtime.de>
Obtained from:	https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=2786
2006-04-02 04:45:28 +00:00
Hajimu UMEMOTO
a86c2cd961 Update to 2.2.13.
This is possibly the last release of the 2.2 series.  The 2.2 code
is now in maintenance mode only, and all new development is taking
place on the 2.3 code.
2006-03-31 17:19:00 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Hajimu UMEMOTO
0493c405e3 make it compilable with Intel(R) C Compiler.
why icc defines __GNUC__?

Reported by:	Attila Nagy <bra@fsn.hu>
Suggested by:	hrs, nyan
Tested by:	Attila Nagy <bra@fsn.hu>
2005-02-24 19:31:22 +00:00
Hajimu UMEMOTO
e0e9882381 Update to 2.2.12.
Security:	Fix possible single byte overflow in mailbox handling code.
Security:	Fix possible single byte overflows in the imapd annotate
		extension.
Security:	Fix stack buffer overflows in fetchnews (exploitable by
		peer news server), backend (exploitable by admin), and in
		imapd (exploitable by users though only on platforms where
		a filename may be larger than a mailbox name).
2005-02-23 20:37:39 +00:00
Hajimu UMEMOTO
0e9a5e313e use new scheme of USE_RC_SUBR. 2005-02-10 19:26:38 +00:00
Hajimu UMEMOTO
c662cddc6b Don't install/append to perllocal.pod.
Reported by:	pointyhat via kris
2004-12-11 20:16:30 +00:00
Hajimu UMEMOTO
ab95681b1a Add PASS8BITHACK option to pass 8bit in subject.
Cyrus doesn't accept this hack, and I really don't like it.

Requested by:	many
2004-12-06 15:59:17 +00:00
Hajimu UMEMOTO
f2a35abd2a make it buildable with WITH_DRAC=yes, again 2004-11-24 07:22:49 +00:00
Hajimu UMEMOTO
02fbb37d96 Update to 2.2.9.
* Change ACLs correctly when renaming a user
  * Do not abandon std{in,out,err} file descriptors; syslog assumes it
    can use stderr if syslogd isn't running.
  * Clean up imap magic plus to avoid buffer overrun (CAN-2004-1011)
  * Fix lack of bounds checking in PARTIAL and FETCH (CAN-2004-1012,
    CAN-2004-1013)
  * Do not attempt to reuse a freed connection in lmtpproxyd.
  * Allow login without authentication with -N switch in proxyd.
  * Fix use of xrealloc and fold pointers in lmtpengine.
2004-11-23 05:54:50 +00:00
Hajimu UMEMOTO
50ca6ecd1d remove outdated comment. 2004-11-22 08:15:15 +00:00
Hajimu UMEMOTO
fd095c4766 - Update to 2.2.7.
- Fix build problem with WITH_SNMP_5 on FreeBSD 4.X with
  perl5.8 installed.  Though we need 5.8's libperl.so,
  /usr/lib/libperl.so was linked. [1]

Reported by:	Thomas Vogt <tv@solnet.ch> [1]
2004-07-26 20:39:54 +00:00
Hajimu UMEMOTO
a16682c228 Since net-snmp-5.X support was added in 2.2.5, change the default
of WITH_SNMP from net-snmp4 to net-snmp.  However, if there is
net-snmp4 installed, we still use net-snmp4 for backward compatibility.
2004-05-29 16:36:16 +00:00
Hajimu UMEMOTO
9554ae5db2 Update to 2.2.5. 2004-05-28 20:34:49 +00:00
Hajimu UMEMOTO
f87b55d5a4 Update to 2.2.4. 2004-05-18 17:13:55 +00:00
Hajimu UMEMOTO
844bcae556 install manpages for ${PREFIX}/cyrus/bin into ${PREFIX}/cyrus/man
to avoid conflict with other ports.

PR:		ports/60949, ports/29223, ports/47913
2004-04-02 20:13:53 +00:00
Hajimu UMEMOTO
cf8c5ef050 make sure to set mode for created directory.
Reported by:	"Pascal HOARAU" <pascal@hh.nl>
2004-03-10 16:55:40 +00:00
Hajimu UMEMOTO
0874df9a06 make it buildable on ia64 and amd64.
(since I don't have ia64 nor amd64, I tested at least it doesn't
break on i386.)

Obtained from:	NetBSD
2004-03-07 17:39:03 +00:00
Hajimu UMEMOTO
5ebbeedf83 strip binaries. 2004-02-13 14:01:09 +00:00
Hajimu UMEMOTO
5fdc18fafd fix description of allowplaintext.
Reported by:	"Stephen Marquard" <scm@marquard.net>
2004-02-02 16:42:59 +00:00
Hajimu UMEMOTO
83eb4932b4 make it buildable with net/net-snmp4. 2004-02-02 06:12:20 +00:00
Hajimu UMEMOTO
3978b01246 Configuration of the Cyrus databases is now runtime. The cyrus db
backend used for each database can be specified with an imapd.conf
option.
2004-01-17 17:58:35 +00:00
Hajimu UMEMOTO
153d604e24 Support Berkeley DB 4.2.
Since our db42 requires to include db.h to use. existing configure
script cannot detect our db42.  AC_CHECK_LIB() simply test if a
function exists. :(

Requested by:	Dmitry Sorokin <dmitry_sorokin@yahoo.ca>
2004-01-17 15:35:34 +00:00
Hajimu UMEMOTO
f68bc8d331 we don't need this file anymore. 2004-01-17 12:26:08 +00:00
Hajimu UMEMOTO
9244f03504 Update to 2.2.3. 2004-01-15 20:43:10 +00:00
Hajimu UMEMOTO
3160ca4d1a add WITH_IDLE option which takes poll, idled or no. Default is poll
as Cyrus IMAPd's default.

Requested by:	ervin.nemeth@niif.hu
2004-01-14 05:32:27 +00:00
Hajimu UMEMOTO
447797c1f7 remove pidfile at stop. 2003-12-04 08:20:08 +00:00
Hajimu UMEMOTO
4369aab67b re-enable WITH_DRAC. 2003-11-22 10:08:05 +00:00
Hajimu UMEMOTO
7cf01ed39b Update to 2.2.2-BETA.
(disable WITH_DRAC support due to lack of acconfig.h, for now)
2003-10-28 19:42:55 +00:00
Hajimu UMEMOTO
4bf83888c1 the start/stop scripts failed when booting on 5.x machines 2003-10-01 18:16:04 +00:00
Hajimu UMEMOTO
6a5b71505f fix comment
Reported by:	nork
2003-09-26 17:15:16 +00:00
Hajimu UMEMOTO
76c498ae6d Previous commit to use USE_RC_SUBR was incomplete. 2003-08-31 07:05:45 +00:00
Hajimu UMEMOTO
e1abfdbd5c Use USE_RC_SUBR. 2003-08-30 14:17:22 +00:00
Hajimu UMEMOTO
32b3cf1b92 Update to 2.2.1-BETA.
Since there are some issue to upgrading from 2.2.0-ALPHA,
you should read /usr/local/share/doc/cyrus-imapd22/install-upgrade.html
before upgrading your server.
2003-07-17 16:57:52 +00:00
Hajimu UMEMOTO
067f86b4a6 Don't depend on saslauthd. This is preparation for saslauthd
separation from cyrus-sasl2.
2003-06-01 04:01:12 +00:00
Hajimu UMEMOTO
673653e1a9 Workaround to fix build on ia64. I hope it fixes the problem.
Reported by:	bento via kris
2003-05-11 09:04:08 +00:00
Hajimu UMEMOTO
62a080d73a - Add WITH_BDB_VER for choosing version of Berkeley DB. For example,
WITH_BDB_VER=4 for db4.  The default is WITH_BDB_VER=3 which is as
  before.
- The configure script should select correct version of Berkeley DB.
2003-04-17 18:00:08 +00:00
Hajimu UMEMOTO
5e967f383a fix build on alpha by fixing prototype conflict.
Reported by:	bento via kris
Obtained from:	Cyrus
2003-04-08 09:45:15 +00:00
Hajimu UMEMOTO
4c51254f2d Add Cyrus IMAPd 2.2.0-ALPHA after repo copy. 2003-03-29 14:57:01 +00:00
Hajimu UMEMOTO
803c6ab715 Update to 2.1.12. 2003-02-04 15:55:54 +00:00
Hajimu UMEMOTO
4d32a23e79 Unbreak build on the system where db4 is installed.
Submitted by:	TAKAHASHI Kaoru <kaoru@se.uec.ac.jp>
2003-01-30 16:09:30 +00:00
Hajimu UMEMOTO
fda290ce5c Add CYRUS_USER and CYRUS_GROUP options to be able to configure
psuedo user for cyrus.

Requested by:	Cyrus Anderson Yunker <cayunker@unity.ncsu.edu>
2003-01-30 14:04:02 +00:00
Hajimu UMEMOTO
90fd9a1b44 better workaround against PF_LOCAL. 2003-01-22 14:30:20 +00:00