Commit graph

14 commits

Author SHA1 Message Date
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
Eygene Ryabinkin
4839c29cd1 sysutils/fcron: fixup default argument promotion
When mode_t is char- or short-like, it will be promoted to the pure
int when it is passed as the variable argument [1], so we should pass
'int' to the va_arg.

I had also eliminated fflush for the stream opened read-only, since
it will always fail and there is no need to flush read-only streams.

[1] http://c-faq.com/~scs/cclass/int/sx11c.html

Feature safe: yes
PR: 152304
2011-09-25 07:24:25 +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
Martin Wilke
10a27ebdd0 - Update to 3.0.3
PR:		113386
Submitted by:	Brad Huntting <huntting@glarp.com> (maintainer)
2007-06-11 07:08:28 +00:00
Rong-En Fan
7d6b6ced47 - Update to 3.0.2
PR:		ports/108008
Submitted by:	Brad Huntting <huntting at glarp.com> (maintainer)
2007-01-17 07:30:11 +00:00
Sergey Matveychuk
c616f81865 - Install pam files directly (in /etc/pam.d, unless they already exist)
rather than just leaving them in the examples directory.  There seems
  to be no real security advantage to not installing the pam files since
  they are required for fcron and fcrontab to operate, and root privs are
  required to install fcron to begin with.

- The sockaddr.sa_len was not set prior to calls to bind() and connect().
  The upshot begin that fcrondyn was unable to open the socket
  to communicate with fcron.

PR:		ports/97066
Submitted by:	maintainer
2006-06-04 20:09:42 +00:00
Sam Lawrance
38a5712506 Update to 3.0.1.
PR:		ports/92990
Submitted by:	Brad Huntting <huntting@glarp.com> (maintainer)
2006-02-09 10:28:29 +00:00
Sergey Matveychuk
d1d2c30a56 - Fix fcron crashing with disabling of fcrondyn
- Get rid of unnessesary patch

PR:		ports/88883
Submitted by:	maintainer
2005-11-12 21:23:49 +00:00
Jean-Yves Lefort
e6ee415d32 - Update to 3.0.0
- Pass maintainership to submitter

PR:		ports/85817
Submitted by:	Brad Huntting <huntting@hunkular.glarp.com> (new maintainer)
2005-10-04 17:54:23 +00:00
Sergey Matveychuk
523db5c65c - Unbreak build on 5.3+
PR:		ports/74798
Submitted by:	Evan Dower <evantd(at)cs.washington.edu>
2004-12-07 08:47:42 +00:00
Patrick Li
20309e3ab8 Update to 2.1.0
PR:		34221
Submitted by:	maintainer
2002-01-27 02:47:27 +00:00
FUJISHIMA Satsuki
1a5189c956 o add missed bin/fcronsighup.
o utilize DOCSDIR.
o install fcron.{allow,deny,conf}.dist and remove them if unchanged.
2001-09-21 15:47:27 +00:00
David W. Chapman Jr.
6d061c9647 Add patch patch-configure.in to stop checking for ${PREFIX}/etc
during configure
BUMP Portrevision
2001-08-25 20:10:21 +00:00
Ying-Chieh Liao
2ff3ae9ae5 upgrade to 1.1.1
drop maintainership
2001-07-20 06:47:57 +00:00