From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 07:06:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E2916A401 for ; Wed, 20 Feb 2008 07:06:53 +0000 (UTC) (envelope-from loc.hello@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 910EE13C467 for ; Wed, 20 Feb 2008 07:06:53 +0000 (UTC) (envelope-from loc.hello@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so3027543pyb.10 for ; Tue, 19 Feb 2008 23:06:52 -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:mime-version:content-type; bh=zuNppu4NjHYcPYf7B8W930r70OW+FubL+VpaNlP0JFw=; b=xEfGdv15PJnphwaqYUZWDod4PPIuC4Nn065ewwYXimUQcgsjyj2eEeC8gKZ+6yn5IwvRtjUBM0yIw1HnJnxaQIh3miyqqJvBXTdVCX/yhhIfKuqjCefOI7oI8Z4daG2xSGP5yL3D9tyQxT1DI4qMDJWFkcBWkEY7jE0XnyNI8bY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=GIs2uTqHsAbm0YT4+ccKYuPpGNic2TGSQbWBcxwmOdKtf1KiN0oNp5C65eC2QpVIcauolaVlZiw11tpafQ59FITdd95SNpBNwTG80NViRU5kdHlXush00dIMes2/W91TtytTgx1kAtSqAXl2WrMrABLkHONelQReK86YkuJ/450= Received: by 10.65.218.15 with SMTP id v15mr15617773qbq.15.1203491212244; Tue, 19 Feb 2008 23:06:52 -0800 (PST) Received: by 10.65.96.2 with HTTP; Tue, 19 Feb 2008 23:06:52 -0800 (PST) Message-ID: <7d4569950802192306q74a742b6i9edfee63e0441d6b@mail.gmail.com> Date: Wed, 20 Feb 2008 12:36:52 +0530 From: "lokesh babu" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: problem while creating a package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 07:06:53 -0000 hi, i am facing a problem while extracting a package 1)i created a package using pkg_create command used is : *pkg_create -f cwd/filelist -p cwd/avamar -c cwd/comments -d cwd/desc* package is getting created and it is in cwd 2)extracting it using pkg_add command used is :*pkg_add packagename.tbz* here package is getting extracted but it is extracted into cwd/avamar now what i want is i want to extract it into a default location /usr/local/avamar can u please help me in doing this 3)using *pkg_add -p /usr/local/avamar packagename.tbz* we can extract it into /usr/local/avamar but i do't want to do it in that format after package is craeted if i give the command *pkg_add packagename.tbz* it should be extracted into /usr/lcoal/avamar. how to do this? i shall be thank full to u if u can help me out in this issue.. *cwd : current working directory* Thanks, Lokesh.