From owner-freebsd-ports@FreeBSD.ORG Thu Jan 10 03:13:09 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FDF616A41A for ; Thu, 10 Jan 2008 03:13:09 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 22E5213C457 for ; Thu, 10 Jan 2008 03:13:08 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so525741fgg.35 for ; Wed, 09 Jan 2008 19:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xmLc8Of+21lpdtPb9rw396LW/i7bmzRueFyi20G2EOQ=; b=L/IdRQ550KeV87oZiLjuvJ3bsCrRd1VUio6q7GpZrGD+7PNVhWzpAikhr3AuJU7OdQnRGd1FKrYujeRpJDvhvbgFEDpIainuqb80Bq0703ToYt9fZX1uzVguJnbqwnaBhLhrU66R0cY1BGIeK7+6qz3oY6h5V5bnno//iD7455k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nL55ac7jfAGPfC6O0apx40uyDUHGlU7N7CpCAtSPAhKmJnJOVvfTMv19YYuQwxxzgHMi4ujGMd0Fufd0M+gWzHvX590sDNMx3A7UxDtXM8R9z/EEVXt3NNTAqJIFCeaN9EAZ9uzc+teYqWpTAndBeYzuhrwd/XxZDOqwWbzEGwQ= Received: by 10.86.71.1 with SMTP id t1mr1318218fga.69.1199934787977; Wed, 09 Jan 2008 19:13:07 -0800 (PST) Received: by 10.86.3.20 with HTTP; Wed, 9 Jan 2008 19:13:07 -0800 (PST) Message-ID: <790a9fff0801091913i201ca8d4y67c8a8ad73775c0a@mail.gmail.com> Date: Wed, 9 Jan 2008 21:13:07 -0600 From: "Scot Hetzel" To: "Andrea Venturoli" , kay.abendroth@raxion.net In-Reply-To: <478535E0.3020007@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <478535E0.3020007@netfence.it> Cc: freebsd-ports@freebsd.org Subject: Re: noip startup script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 03:13:09 -0000 On 1/9/08, Andrea Venturoli wrote: > Hello. > I installed the latest version of this port and it won't start > automatically, after the script was converted to the new rc system some > days ago. > > I put noip_enable="YES" in /etc/rc.conf and this seems to get through: > > # /usr/local/etc/rc.d/noip rcvar > # noip > $noip_enable=YES > > > However the deamon won't start. > It obviously does from the command line. > > Any hint? > There is an error in the rc.d script, the port dns/noip doesn't install bin/noip, instead it installs bin/noip2. But the script is setting "command=${PREFIX}/bin/noip", when it should be using "command=${PREFIX}/bin/noip2". Just change "command" variable in dns/noip/files/noip.in and/or PREFIX/etc/rc.d/noip to "command="%%PREFIX%%/bin/${name}2". Scot