From owner-freebsd-ports@FreeBSD.ORG Mon Feb 23 13:06:31 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5165E16A4CE for ; Mon, 23 Feb 2004 13:06:31 -0800 (PST) Received: from mail.westbend.net (mail.westbend.net [65.114.87.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A6BE43D1D for ; Mon, 23 Feb 2004 13:06:31 -0800 (PST) (envelope-from hetzelsw@westbend.net) Received: from SCOT (xucpcz@scott.hnet.net [38.119.190.206]) by mail.westbend.net (8.12.10/8.12.10) with SMTP id i1NL6PST074633; Mon, 23 Feb 2004 15:06:26 -0600 (CST) (envelope-from hetzelsw@westbend.net) Message-ID: <066001c3fa50$e81c1cb0$cebe7726@westbend.net> From: "Scot W. Hetzel" To: "Freddie Cash" , References: <4039C206.9020804@fillmore-labs.com> <20040223120917.608.qmail@laurel.tmseck.homedns.org> <49785.192.168.0.185.1077562516.squirrel@mailtest.sd73.bc.ca> <403A594E.4010100@fillmore-labs.com> <49973.192.168.0.185.1077567089.squirrel@mailtest.sd73.bc.ca> Date: Mon, 23 Feb 2004 15:06:07 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.3 required=8.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03, USER_AGENT_OE version=2.43 Subject: Re: OPTIONS, LATEST_LINK, and RCng X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 21:06:31 -0000 From: "Freddie Cash" > Ah, thank you for explaining it a little better. The situations above > makes things much clearer for me. For now, I'll leave it with the > old, non-RCng script until I can wrap my head around the whole of RCng > and rc-subr and how it all works. > Have a look at ports/security/cyrus-sasl/files/saslauthd.sh for a very simple RCng script. Also read the man page for rc.subr (4.x install rc_subr port first to read man page) For more complex RCng scripts look at the 5.x /etc/rc.d scripts: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d HINT: If your program (i.e. amavisd) is written in a language that requires an interpreter (i.e PERL, python, ...), you will need to set 'command_interpreter' to the location of the interpreter. Scot