From owner-freebsd-questions@FreeBSD.ORG Wed Sep 6 18:27:15 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1DD816A4DD for ; Wed, 6 Sep 2006 18:27:15 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from crayfish.unsane.co.uk (badger.unsane.co.uk [62.140.220.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0584343D49 for ; Wed, 6 Sep 2006 18:27:14 +0000 (GMT) (envelope-from jhary@unsane.co.uk) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by crayfish.unsane.co.uk (8.13.8/8.13.5) with ESMTP id k86IQNlY001551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Sep 2006 19:26:42 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <44FF12CF.8060804@unsane.co.uk> Date: Wed, 06 Sep 2006 19:26:23 +0100 From: Vince Hoffman User-Agent: Thunderbird 1.5 (X11/20060317) MIME-Version: 1.0 To: Aaron Bliss References: <20a8c0f30609051744r71f9f47ak831a418cb063f836@mail.gmail.com> In-Reply-To: <20a8c0f30609051744r71f9f47ak831a418cb063f836@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: easy patch management tools 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, 06 Sep 2006 18:27:15 -0000 Aaron Bliss wrote: > Hi everyone, first let me say that I'm pretty new to bsd, so please > forgive > the newbie questions; I've been using linux (redhat, suse, centos) for > many > years, and so learning bsd was a bit of a learning curve, but not bad (I > almost never use gui's for administration); I was wondering if there > are any > packagement tools for freebsd/pcbsd that offer simular functionality to > up2date or yum; I take care of installing and updating complete rpm based > systems using yum, and have not found a tool simular to yum for > freebds (I'm > also trying to stay away from pbi's, since they are specific to > pcbsd); I've > used the pkg_add, pkg_delete, portupgrade tools, but am just looking > for an > easy way to ensure my entire bsd box is updated; Also, as I understand > it, > bsd makes use of ports, by using tools such as cvsup, however I have > never > had much success compiling my own software, as such much prefer to use > binary packages, which I understand that the freebsd authors provide; for > example, if I wanted to install pine, I would much rather install it by > running pkg_add -r pine ; I'm just looking for a simple way to update > currently installed binaries, simular to installing new binaries with > pkg_add ; thanks very much for your help with this. > > Aaron portupgrade has an option in /usr/local/etc/pktools.conf which sounds like what you want. # USE_PKGS: array # USE_PKGS_ONLY: array # # These are lists of ports that you prefer to use packages to # upgrade or install. They apply -P/--use-packages and # -PP/--use-packages-only to specific ports, respectively. # # cf. -P/--use-packages and -PP/--use-packages-only of # portupgrade(1) and portinstall(1) # # e.g.: # USE_PKGS = [ # 'perl', # 'ruby', # 'python', # ] # # USE_PKGS_ONLY = [ # 'x11*/XFree86*', # '*openoffice*', # ] USE_PKGS = [ ] USE_PKGS_ONLY = [ ] use portversion -l "<" to see whats not at the latest version, and use portaudit to see which (if any) have security issues. I use USE_PKGS = [ "*/*", ] on machines what are slow or low on disk space but let portupgrade build from source otherwise as I like to fine tune the compile options from time to time hope this helps. Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"