Commit graph

59 commits

Author SHA1 Message Date
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
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
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
4a338dff1e make it compilable with gcc 4.1.
Reported by:	pointyhat via kris
2006-12-15 02:54:01 +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
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
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
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
83eb4932b4 make it buildable with net/net-snmp4. 2004-02-02 06:12:20 +00:00
Hajimu UMEMOTO
447797c1f7 remove pidfile at stop. 2003-12-04 08:20:08 +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
f3317786e1 Update to 2.1.15.
* 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-08-18 20:23:27 +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
e9f387b39d Update to 2.1.13. 2003-05-02 18:27:11 +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
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
Hajimu UMEMOTO
53b32fda0a - Use PERL_LEVEL to distinguish installed perl version.
- Add WITH_SKIPLIST_MBOX to enable skiplist mboxlist.
- Add WITH_MURDER to enable murder.
2003-01-01 19:34:41 +00:00
Hajimu UMEMOTO
d6a00af6f5 Update to 2.1.7. 2002-08-21 20:46:33 +00:00
Hajimu UMEMOTO
78436998f8 cyradm didn't show password prompt correctly.
Reported by:	Joseph Scott <joseph@randomnetworks.com>
2002-08-16 18:55:48 +00:00
Hajimu UMEMOTO
ac74afcf8d It seems getpeername() returns with no error but doesn't fill struct
sockaddr correctly against PF_UNIX socket under 5-CURRENT.  Because of
this behavior, PF_UNIX socket was always checked by libwrap.  This
work around prevents PF_UNIX socket from checking by libwrap to always
allow LMTP.
2002-08-15 16:10:56 +00:00
Hajimu UMEMOTO
6a1ac43756 Add cyrus-imapd-2.1.5 after repo. copy. 2002-08-08 14:06:48 +00:00
Hajimu UMEMOTO
b211a1e6c4 moving saslv1 includes files to make it easier to add saslv2
PR:		ports/40288
Submitted by:	Mathieu Arnold <m@absolight.net>
Approved by:	knu
2002-07-28 17:26:12 +00:00
Hajimu UMEMOTO
feca181014 Sync with reality in comment. We can choose `sasldb' also.
Submitted by:	KONDOU Kazuhiro <kazuhiro@alib.jp>
2002-01-17 18:19:56 +00:00
Hajimu UMEMOTO
70dc619155 Update to cyrus-imapd 2.0.15. 2001-07-08 14:46:44 +00:00
Hajimu UMEMOTO
12b723faf5 Update to 2.0.14. 2001-05-31 09:38:04 +00:00
Hajimu UMEMOTO
06fa03f98f Fix a bug that imaps didn't work correctly.
This patch will be applied in next cyrus-imapd release.

Reported by:	Nick Sayer <nsayer@quack.kfu.com>
2001-05-07 11:11:27 +00:00
Hajimu UMEMOTO
100080da7d Since imapd.conf is installed into ${PREFIX}/etc, mkimap should
refer ${PREFIX}/etc/imapd.conf
2001-04-12 19:06:31 +00:00
Hajimu UMEMOTO
9cef64526a Add missing patch that does chown to cyrus spool directory. 2001-04-06 20:57:14 +00:00
Hajimu UMEMOTO
e63942da46 Since spool location is configurable by user, prevent making spool
at install time.  Install mkimap script and show guidance, instead.

Reported by:	David A. Koran <dak@solo.net>
2001-04-06 18:53:09 +00:00
Hajimu UMEMOTO
749983c11c Use -U option of ps instead of odd path checking. 2001-03-22 11:17:17 +00:00
Hajimu UMEMOTO
4fcf21acaa killall doesn't have -u option under FreeBSD 3.X
Reported by:	Alex Vasylenko <lxv@omut.org>
2001-03-16 13:28:16 +00:00
Hajimu UMEMOTO
a3b3c78cee Add cyrus-imapd 2.0.12, the cyrus mail server, supporting POP3 and
IMAP4 protocols.

PR:		ports/25597
Submitted by:	Christopher K Davis <ckd@ckdhr.com>
2001-03-13 11:15:12 +00:00
FUJISHIMA Satsuki
34f89ccdfb typo fix.
Submitted by: Mathieu Mourez <matt@m2.qc.ca>
2001-01-18 18:37:12 +00:00
Will Andrews
55a65b9d90 (Oops, forgot this file with the 1.6.24 update):
Update to 1.6.24.  Fix /var/pwcheck handling since that's moved to the
security/cyrus-sasl port.  Fix deliver.c so it uses the correct location
of sendmail (/usr/sbin/sendmail vs. /usr/lib/sendmail).  Open the port up
to the world after previous maintainer showed no interest in the port for
nearly 2 years.

PR:		22791, 22465
Submitted by:	Martti Kuparinen <martti.kuparinen@piuha.net>
		Scot W. Hetzel <hetzels@westbend.net>
2000-12-21 08:28:30 +00:00
Will Andrews
fae99bfc40 Update to 1.6.24. Fix /var/pwcheck handling since that's moved to the
security/cyrus-sasl port.  Fix deliver.c so it uses the correct location
of sendmail (/usr/sbin/sendmail vs. /usr/lib/sendmail).  Open the port up
to the world after previous maintainer showed no interest in the port for
nearly 2 years.

PR:		22791, 22465
Submitted by:	Martti Kuparinen <martti.kuparinen@piuha.net>
		Scot W. Hetzel <hetzels@westbend.net>
2000-12-21 08:25:50 +00:00
Paul Richards
58565e54d2 Update port to 1.6.22 2000-05-13 17:20:07 +00:00
Jacques Vidrine
f2fc8303fc Patch `configure' by hand for a much smaller patch.
Bogusness pointed out by:	asami
2000-04-15 16:54:53 +00:00
Jacques Vidrine
3fddc5e1c8 Fix my borked patches.
Reported by: Paul Richards <paul@originative.co.uk>
2000-04-14 14:20:17 +00:00
Jacques Vidrine
6f03858de5 Fix packaging: if you are going to link with Kerberos IV you will have
to link with com_err too
2000-03-31 05:45:48 +00:00
Steve Price
69b1385a3f Make sure a couple of more echo(1)s get to the temporary PLIST. Also
update to use Tk8.2.

PR:		14452
Submitted by:	Jonathan Gapen <jagapen@whitewater.chem.wisc.edu>
1999-11-26 18:20:21 +00:00