From owner-freebsd-ports@FreeBSD.ORG Thu Jul 17 20:15:03 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89E3252F; Thu, 17 Jul 2014 20:15:03 +0000 (UTC) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C4452D13; Thu, 17 Jul 2014 20:15:03 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id w10so3727142pde.18 for ; Thu, 17 Jul 2014 13:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=cy5QbFuKpfxK938/x69T2Hk+edHEOTmAPwHCgBY03PU=; b=Fpniq2R7FGz/2PRCNoUPcAe4SAtdZwi5raZzKTUskSQ/Y+n+jzaQ6V9+AmYMV4i5Xo d8o4zkurHN+blvxo0oQspzZnfk9mcCnTP3a3vMSO5W+EzYjhbxQJ3/d/3PHbMCNiNc4b zDQX+IVmhjS9TUiaRGeWUbyIJMMayMNFZa9CTPiWYBeFY6hzcHlY+Ef/iGM7libUXfE5 uLvKRTRrnLlSspeXv/RmPvDBubOZMK1FI/yaJAqmOv2e0Wrpb8m1A0K12Fz4lSvOmuN0 ID3G977ioFMhP/2JyvKX48lyZkH0UW78/mgUldhoPe94zyGEO65dAFRReib9KfMtGDPA JkMA== X-Received: by 10.66.219.42 with SMTP id pl10mr23018492pac.22.1405628102859; Thu, 17 Jul 2014 13:15:02 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id x15sm3369298pbt.52.2014.07.17.13.15.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jul 2014 13:15:02 -0700 (PDT) Message-ID: <53C82EC4.8060304@gmail.com> Date: Thu, 17 Jul 2014 13:15:00 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Adrian Chadd , Alberto Mijares Subject: Re: HOWTO articles for migrating from Linux to FreeBSD, especially for pkg? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Craig Rodrigues , freebsd-doc@freebsd.org, freebsd-current Current , ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 20:15:03 -0000 On 07/17/14 13:12, Adrian Chadd wrote: > On 17 July 2014 13:03, Alberto Mijares wrote: >> On Thu, Jul 17, 2014 at 2:58 PM, Adrian Chadd wrote: >>> Hi! >>> >>> 3) The binary packages need to work out of the box >>> 4) .. which means, when you do things like pkg install apache, it >>> can't just be installed and not be enabled, because that's a bit of a >>> problem; >> >> >> No. Please NEVER do that! The user must be able to edit the files and >> start the service by himself. > > Cool, so what's the single line command needed to type in to start a > given package service? Aren't sysrc(8) and service(8) for this kind of stuff?