From owner-freebsd-questions@FreeBSD.ORG Mon May 28 17:50:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E37B16A498 for ; Mon, 28 May 2007 17:50:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 3A71313C44B for ; Mon, 28 May 2007 17:50:49 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4SHojbG016406 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 28 May 2007 10:50:45 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l4SHoiFA005299 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 May 2007 10:50:44 -0700 Message-ID: <465B1674.9000602@u.washington.edu> Date: Mon, 28 May 2007 10:50:44 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Giorgos Keramidas References: <20070528095033.GA70364@pcjas.obspm.fr> <465AABE0.7040509@yahoo.gr> <20070528102734.GB83851@pcjas.obspm.fr> <20070528171536.GB69126@kobe.laptop> In-Reply-To: <20070528171536.GB69126@kobe.laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.28.103434 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='LEO_OBFU_SUBJ_RE 0.1, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Albert Shih , Thanos Rizoulis , freebsd-questions@freebsd.org Subject: Re: make packages 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: Mon, 28 May 2007 17:50:49 -0000 Giorgos Keramidas wrote: > On 2007-05-28 12:27, Albert Shih wrote: >> Le 28/05/2007 ? 13:16:00+0300, Thanos Rizoulis a ?crit >>> O/H Albert Shih ??????: >>>> Hi All >>>> I would like when a make install in any ports the system make a tbz in >>>> /usr/ports/packages/All every time and WITHOUT any option in command line >>>> (because there many people on the server). >>>> Where can I put some option to do that ? >>> Assuming you are using FreeBSD 6.2 Release: >>> >>> man ports >>> http://www.freebsd.org/cgi/man.cgi?query=ports&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&format=html >> Thanks. >> >>> You are probably interested in *make package* >> Well....the problem is (like I said) there many «admin» in this server and >> I known many of them just use «make install» and forget «package». >> >> What I try to do is event the user just use «make install» the system do >> «make package install». > > You can create a "package" after the fact with: > > pkg_create -b foo > > Where "foo" is the name of an installed port, i.e.: > > ,----------------------------------------------------------------------- > | $ pkg_info | fgrep vim-lite > | vim-lite-7.0.224_1 Vi "workalike", with many additional features (Lite package > | $ pkg_create -b vim-lite-7.0.224_1 > | $ ls -ld vim-lite* > | -rw-rw-r-- 1 keramida wheel 5347344 May 28 20:14 vim-lite-7.0.224_1.tbz > | $ > `----------------------------------------------------------------------- > > You don't even have to be root to run pkg_create, as you can see above. Unless root is the only account that has access to the files of course. -Garrett