From owner-freebsd-newbies Thu Sep 13 1:50:19 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from pineapple.theshop.net (pineapple.theshop.net [208.128.7.7]) by hub.freebsd.org (Postfix) with ESMTP id 678AA37B40C; Thu, 13 Sep 2001 01:50:04 -0700 (PDT) Received: from bsdprophet.org (peach40.theshop.net [206.30.143.105]) by pineapple.theshop.net (8.11.3/8.11.1) with ESMTP id f8D8nIe80672; Thu, 13 Sep 2001 03:49:18 -0500 (CDT) (envelope-from Scott@bsdprophet.org) Message-ID: <3BA0733A.3400DAE5@bsdprophet.org> Date: Thu, 13 Sep 2001 03:50:02 -0500 From: Scott Corey Organization: Open Source Education Foundation www.osef.org X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-newbies@freebsd.org Subject: [Fwd: How to upgrade a port or program?] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is more relevant to the questions mailing list, so I forwarded it for you. DrTebi wrote: > > Hi, > question 1) > I am unclear of how the port collection works in terms of updating. I have a > 4.2 FreeBSD server running and installed the openssh package on first > install. Now I would like to update that Openssh (which is 2.2.0) to the > current available Openssh (2.9.3). I downloaded the newest port, saved it in > /usr/src and did > pkg_add Openssh2.9_3.tgz > it complained with > /usr/libexec/ld-elf.so.1: Shared object "libcrypto.so.2" not found > I suspect the crypto package from Openssl needs updating. How do I continue > now? Just do a pkg_add for the newest OpenSSL package? Isn't the port > supposed to "know" the dependencies? > > question 2) > I also frequently update my apache web server. I downloaded the newest > source code, did configure and gmake, and then I just replaced the new > compiled httpd with my old one. It works fine, but I would like to know if > what I am doing is correct, or if there could be any problems doing it this > way? Is it enough to just replace a new compiled binary with an old one? > > question 3) > I am running a couple servers, all running Pentium II or III, on different > MBs and Harddrives etc. Now let's say I compiled the new httpd on one > machine, is it possible to simply use this file on one of the other servers? > Kind of like using my own precompiled binary on different machines running > the same FreeBSD? > > Thanks for any help! > DrTebi > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message