From owner-freebsd-questions@FreeBSD.ORG Thu Feb 24 16:56:21 2011 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 507641065670 for ; Thu, 24 Feb 2011 16:56:21 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id D9D6B8FC08 for ; Thu, 24 Feb 2011 16:56:20 +0000 (UTC) Received: by fxm19 with SMTP id 19so819556fxm.13 for ; Thu, 24 Feb 2011 08:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UD9sk7/o2iHiKSJ5POk2aM8WZ4+1qjF4MqsnPTSU3j0=; b=aYaxTK02nD1VIC8iI/Y+vIR65EeTtn6z+mgHlryFEMphD7gMfPMWA/83SUvVF7NtwN WVIAon8AZya8R1R0ypeZEM87uvdJPiXoaOvY+CxGwYC1gO9wS2cuXeXHXocdmiBwVaQT lVuS9obBghhG0HFXB7JObBIX3hne6qjpncwFY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FfmP8gh4Gp0+mZBYNwoQcGQptKvH4MqSe+DnDDJkwwVOyqsZDJ+Ia8qHjPYcLsKwWr YruL9GhxzutapWs57fkLYrU2OWqr5/ydccCtE/7kPQGDBMgxZgWBhdx5FPSpN/35MVcm 4tsdyx5D5pK9VUoq12/MaZElj3HBWNzr/+TzE= MIME-Version: 1.0 Received: by 10.223.79.11 with SMTP id n11mr1320575fak.69.1298566413581; Thu, 24 Feb 2011 08:53:33 -0800 (PST) Received: by 10.223.103.4 with HTTP; Thu, 24 Feb 2011 08:53:33 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Feb 2011 11:53:33 -0500 Message-ID: From: "illoai@gmail.com" To: Aleksandr Miroslav Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: upgrading apr from v0 to v1 via portupgrade? 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: Thu, 24 Feb 2011 16:56:21 -0000 On 24 February 2011 11:09, Aleksandr Miroslav wrote: > I recently moved my server to a new box and in the process of doing > that, I upgraded from FreeBSD 7.3 to 8.1. > > When I say I moved, I mean I backed up all my personal data (databases, > config values, etc.), made a list of all packages, and installed an > identical box with the same pacakges. > > Recently I noticed that somehow I am on apr-0.9.19.0.9.19. On my old > box, I was on apr-ipv6-devrandom-gdbm-db47-1.4.2.1.3.10. > > I didn't make that choice deliberarely, somehow when I installed all the > pacakges, apr-0 was installed instead of apr-1. > > Normally I wouldn't care, but apr-0 has had an unpatched security > advisory for a few weeks now, so I would like to upgrade all my packages > that use apr-0 to apr-1. > > I use portupgrade, how can I do this? The general (untested) notion would be: portupgrade -o devel/apr1 apr-0 & then portupgrade -frx apr apr (which hopefully will rebuild everything depending upon apr without rebuilding apr twice) -- --