From owner-freebsd-questions Tue Sep 17 5:16:23 2002 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 6DE0D37B404 for ; Tue, 17 Sep 2002 05:16:21 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id AB24743E65 for ; Tue, 17 Sep 2002 05:16:19 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 6325 invoked from network); 17 Sep 2002 12:16:06 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 17 Sep 2002 12:16:06 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id AEB2A2FDAB2; Tue, 17 Sep 2002 14:16:01 +0200 (CEST) Date: Tue, 17 Sep 2002 14:16:01 +0200 From: Roman Neuhauser To: ABDALLAH Faycal Cc: 'sigwart koebel' , questions@FreeBSD.ORG, "'ports@freebsd.org'" Subject: Re: ports question Message-ID: <20020917121601.GD307@freepuppy.bellavista.cz> Mail-Followup-To: ABDALLAH Faycal , 'sigwart koebel' , questions@FreeBSD.ORG, "'ports@freebsd.org'" References: <8D7497BD530FD2119D040000F6B656D40BCFFFCD@MINOS> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8D7497BD530FD2119D040000F6B656D40BCFFFCD@MINOS> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # faycal.abdallah@cegetel.fr / 2002-09-17 13:05:53 +0200: > > hi list, > > i recently cvsuped my ports collection so that i can install the latest > software versions... but the problem is that when the new software is > installed the old one (that was installed during installation of freebsd) > will not be uninstalled (such as named 8.x.x and opessl-0.9.6a) right. there's no uninstall procedure for software in the base system. > and some software needs the new ports to be used, as an example: > apache2.0.40 needs at least openssl-0.9.6g to be installed.... i don't use apache-2.0, so lemme check the makefiles... ok. i *think* i got the code right. it goes like this: unless you make the apache2 port with -DWITHOUT_SSL, it sets USE_OPENSSL=yes. it then (unconditionally) includes /usr/ports/Mk/bsd.port.pre.mk, which says: is USE_OPENSSL set? if it is, and the system is anything newer than a very early 4.0-STABLE, set OPENSSLBASE=/usr, and OPENSSLDIR=/etc/ssl (the OpenSSL port is only considered if your ${OSVERSION} (sysctl -n kern.osreldate) is less than 400014). bummer it would seem. if you don't feel like tinkering with /usr/ports/Mk/*, you should update your /usr/ports (there was a relevant fix to the OpenSSL port during the last few days), and build /usr/ports/security/openssl with -DOPENSSL_OVERWRITE_BASE. > i tried to use "portupgrade openssl\*" but without any success... that would be fairly obvious would you read the relevant Makefiles :) > Is there is a method to uninstall the software installed by default with > freebsd so that the newly installed packages see the most recent installed > software as i said, there's no method for uninstalling base software, but this is not an issue provided there are no problems in the port infrastructure like the one i described above. now, the bind9 thing. i use a different name server software, but (again :) reading the ports' Makefiles it's quite obvious the maintainer of both versions knows quite well what he's doing. that's most probably the reason the bind9 port doesn't include a knob for overwriting the base bind similar to the one found in /usr/ports/net/bind8/Makefile. then again, i don't see how this is a problem: just start the bind in /usr/local instead of the one in /usr. `grep named /etc/defaults/rc.conf` will certainly help. -- begin 666 nonexistent.vbs FreeBSD 4.6-STABLE 1:39PM up 16:29, 9 users, load averages: 0.03, 0.01, 0.00 end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message