From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:32:44 2009 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 55D8D1065673 for ; Wed, 17 Jun 2009 08:32:44 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yx0-f200.google.com (mail-yx0-f200.google.com [209.85.210.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDA18FC08 for ; Wed, 17 Jun 2009 08:32:43 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: by yxe38 with SMTP id 38so148882yxe.3 for ; Wed, 17 Jun 2009 01:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HgnV5n0zqIEhfu51HhxUGgpUSAq2Aw3+OfDpA67n/8o=; b=LibBOOKK9GSxNHQGpBVYoeBTTdUHAF8Oc3fUdiyl6/JYSTVBIU7xSM7W7RxcXC5b68 jVP0GRqx6lt6B1SmC40uQ15soFLK2lc4ZmTjS8IALGOBjEQyWKNd8bZqx8AnHRbDT+QV DvzO/Jp/yNkQGqRxmPp8Yj0j1g3ZOtvH/k80o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Y2mceWedjxDqwMdCY/587GPL3DnWB3eK8Urs1LMMDA8XQx7UO16oloQnWBpZl2Awel 8PqlSlsdQkN+MoprVZ0+ZxP+Ot+9c5caq7kdadQVAzBHtQNEUi961r/j8fKnBUh6sWzY I1kB5yYzSpRBci0MWeTZl7MrrFfJt46M8m/IA= MIME-Version: 1.0 Received: by 10.231.17.199 with SMTP id t7mr3325313iba.46.1245227563297; Wed, 17 Jun 2009 01:32:43 -0700 (PDT) In-Reply-To: References: Date: Wed, 17 Jun 2009 01:32:43 -0700 Message-ID: From: "b. f." To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: drew@mykitchentable.net Subject: Re: OpenSSL Base vs. OpenSSL Port? 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, 17 Jun 2009 08:32:44 -0000 On 6/17/09, b. f. wrote: > On 6/17/09, b. f. wrote: > >> Put WITH_OPENSSL_PORT=yes in your build environment -- /etc/make.conf is >> a >> good >> way -- and then rebuild all ports that depend on openssl. There are >> many different >> ways to do this -- you could use: >> >> pkgdb -L && portupgrade -fur openssl-* >> >> (The first command may not be necessary, but I find that the >> dependencies of some >> ports on openssl are sometimes missing from the pkgdb, and need to be >> added.) >> >> or >> >> portmaster -t -r openssl-* >> > > I should mention that if you are switching from using the base openssl to > using > the openssl from the port, and you intend to use portupgrade, then you > will definitely > need to to run pkgdb -L && pkgdb -F before running portupgrade, > because otherwise > no ports will be listed as being dependent upon the openssl port. > > I'm not sure if portmaster will do this properly, as it uses the > existing /var/db/pkg in > many cases, which will not contain the correct dependency information. > You may need to > get a list of ports that USE_OPENSSL, and then update those ports and > the ports that > depend upon them. For example, you could first install the openssl > port, and then use: > > pkg_info -aoq | xargs -I % make -C /usr/ports/% -V USE_OPENSSL -V > PKGNAME | sed -n '/[yY][eE][sS]/{n;p;}' | xargs portmaster -t -r > > or something like that. > > b. >