Commit graph

23 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
8d5d707de8 Fix the rc.d script to avoid unconditional code execution,
and various other cleanups.
2011-07-21 05:14:57 +00:00
Stephen Montgomery-Smith
537fa88c5f - Fix startup script rc.d/racoon.
- Bump portrevision.

PR:		ports/148605
Submitted by:	John Hein <jhein@symmetricom.com>
Approved by:	maho (mentor) and vanhu@netasq.com (maintainer)
2011-07-19 03:33:26 +00:00
Florian Smeets
8a131b63e8 - update to 0.8.0
PR:		ports/155883
Submitted by:	vanhu (maintainer)
2011-03-23 19:48:10 +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
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
Beech Rintoul
b190a8cde5 - Update to 0.7.1
PR:		ports/125957
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2008-07-25 21:39:29 +00:00
Tom McLaughlin
b7917da8c5 Fix build on 7.x when RC5 support is enabled.
PR:		103084, 122187
Submitted by:	Dmitry A Grigorovich
Approved by:	maintainer
2008-07-07 23:59:33 +00:00
Beech Rintoul
fffceacc53 - Fix: Have the racoon startup script [optionally] create its required dirs.
PR:		ports/117128
Submitted by:	John Hein <jhein@timing.com>
Approved by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2008-07-02 04:19:30 +00:00
Tilman Keskinoz
3b616a5ff7 Update to 0.7
PR:		115978
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com>
2007-09-02 16:48:50 +00:00
Rong-En Fan
f71d92ccef - Revert changes to patch-configure. It was slipped in when committing
fix for gcc 4.x

Noticed by:   sat
Approved by:  maintainer (implicit)
2007-07-03 05:40:12 +00:00
Rong-En Fan
b159d8aee9 - Fix build with gcc 4.x
- While I'm here, remove extra empty line in distinfo

PR:	       ports/113383
Submitted by:  rafan
Approved by:   VANHULLEBUS Yvan <yvan.vanhullebus at netasq.com> (maintainer)
2007-07-02 17:00:00 +00:00
Cheng-Lung Sung
7980df1cc6 - Version 0.6.7 of ipsec-tools is out, which fixes an easy to exploit
Denial of Service (CVE-2007-1841).

PR:		ports/111319
Submitted by:	maintainer (VANHULLEBUS Yvan)
Security:	CVE-2007-1841
2007-04-07 04:23:27 +00:00
Pav Lucistnik
69a56c54c8 - Add patch for people having trouble compiling OpenSSL bits
PR:		ports/97442
Submitted by:	Dmitry Andrianov <dimas@dataart.com>
Approved by:	VANHULLEBUS Yvan <yvan.vanhullebus@netasq.com> (maintainer)
2006-06-20 09:53:50 +00:00
Renato Botelho
485163afc0 Makefile:
- introduce OPTIONS to enable/disable features
- add more features to the OPTION dialog
- choose reasonable defaults for OPTIONS (disabled patented stuff)
- remove usesless WRKSRC line
- move LDFLAGS to the place where it is necessary
- extend CONFIGURE_ARGS to set the directory for the adminport socket
  * Note: racoonctl is useless without adminport enabled
  * create the socket dir in post-install
- bump PORTREVISION that users notice the changes
- finally: remove one item from the TODO list on top of the Makefile ;)

pkg-descr:
- shortened by one line to please portlint

pkg-plist:
- slight reorganization
- add create instructions for the adminport socket dir for the
  "installing from package" case
- add removal instructions for the adminport socket dir

files/patch-configure:
- add some stuff to detect libiconv when the GSSAPI OPTION is enabled
- iconv is required for GSSAPI but the library is not added to LIBS
  in the original configure script
- Why not use USE_AUTOTOOLS and patch configure.ac?
  * because the leads to configure running twice which is useless
    overhead. I found no way to avoid this so we patch configure.

files/racoon.sh.in:
- add the adminsocket directory to required_dirs

PR:		ports/96368
Submitted by:	Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Approved by:	maintainer
2006-05-03 16:01:58 +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
Simon Barner
49a2a95b33 - Update to 0.6.5
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
PR:		ports/92838
2006-02-06 00:17:05 +00:00
Vasil Dimov
8a8114f0c1 Change facility from daemon to security, because daemon.info goes to
devnull by default

PR:		ports/91047
Submitted by:	PR: Brian Candler <B.Candler@pobox.com>, patch: VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
Approved by:	garga (mentor)
2006-01-24 09:18:44 +00:00
Edwin Groothuis
2490b762f7 ports/security/ipsec-tools enables itself at startup
ports/security/ipsec-tools rc.d script defaults to 'enabled'

	It also installs its own versions of setkey and libipsec.so
	which seems redundant as they are part of the base system
	and should be used in preference.

Submitted by:	Vivek Khera <vivek@khera.org>
PR:		ports/91317
2006-01-04 20:48:49 +00:00
Marcus Alves Grando
f830909ab5 Update to 0.6.4
PR:		90326
Submitted by:	maintainer
2005-12-13 20:04:01 +00:00
Sam Lawrance
12df895f92 - Change the location of racoon configuration files to /usr/local/etc/racoon,
bringing it in line with the old security/racoon port and the handbook [1]
- Make use of USE_RC_SUBR instead of home-grown substitution and install
- Prevent installation of some intermediate sample configuration files

PR:		ports/89273 [1]
Submitted by:	Angelo Turetta <aturetta@bestunion.it> [1]
Approved by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
2005-12-02 11:28:06 +00:00
Vsevolod Stakhov
9eebd2f131 Add IPSec tools port - the new "official" version of racoon,
is the only one which is maintained and have lots of new features.

PR:		85544
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com>
Approved by:	perky (mentor)
2005-09-05 14:13:42 +00:00