From owner-freebsd-ports@freebsd.org Mon Jul 18 12:58:44 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0385B9B76C for ; Mon, 18 Jul 2016 12:58:44 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9446B1668 for ; Mon, 18 Jul 2016 12:58:44 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 34319205F1 for ; Mon, 18 Jul 2016 08:58:43 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Mon, 18 Jul 2016 08:58:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=C7R SZssFUFigxWwn5xAhb8nN8yk=; b=jGe6p2wU76fzZHrXPPRosVJtaolY7f/XZee NkBEBl5GFpWfw7ZjsX3mCHl7aYbVsdlcdNGl0OqaHxpEt37KdBjx6SdwM8gC+19p GhKWfdPFahT0OBsl8zTQ0PnceWwF4FZl4xDQtpjzqbLmR6KjCm8ysoxFUZv44M5N UgBEJCAc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=C7RSZssFUFigxWwn5xAhb8nN8yk=; b=LFkmd DpT6DDUZBb3DZb1nT1X/ZYp17AXYydyhyEQpREwA0X2p+fHrLP88qfllhIrtmtk6 YLIZlpz0ybZxN/wfobsebk93oaq1eIqK2znseb1CBqJ8v2Qs01+IBPB3ZGgoO/2M bYzpxCqd8YtO5YaMIrF11NLw8zRVQCApd0FZco= X-Sasl-enc: wr5haspVwjlBp0fBHu/4uHEy7QWATNUWhuAOuaZvrVqN 1468846722 Received: from pumpkin.growveg.org (potato.growveg.org [82.70.91.102]) by mail.messagingengine.com (Postfix) with ESMTPA id BC607CC07A for ; Mon, 18 Jul 2016 08:58:42 -0400 (EDT) To: freebsd-ports@freebsd.org From: tech-lists Subject: is this a problem with screen, pkg or portupgrade? X-Enigmail-Draft-Status: N1110 Message-ID: <9befad19-ba9e-1526-3d7f-76bd347f383b@zyxst.net> Date: Mon, 18 Jul 2016 13:58:40 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 12:58:44 -0000 Hi, I saw in /usr/ports/UPDATING that special consideration needed to be given to screen in order to update it from 4.0.4 to 4.4.0. So I made sure I had no screens running, refreshed the ports tree (r418696), checked the version I was going to upgrade (4.0.4) and ran portupgrade -a. To my surprise, subsequent screen -v gave: Screen version 4.04.00 (GNU) 19-Jun-16 So I thought maybe I'd mistyped something so I ran root@www:~ pkg delete screen Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: screen-4.4.0_1 Number of packages to be removed: 1 Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling screen-4.4.0_1... [1/1] Deleting files for screen-4.4.0_1: 100% root@www:~ screen -v -bash: /usr/local/bin/screen: No such file or directory ...then ran root@www:~ # cd /usr/ports/sysutils/screen root@www:/usr/ports/sysutils/screen # make install ...saw it was building ===> License GPLv3 accepted by the user ===> Found saved configuration for screen-4.4.0_1 ===> screen-4.4.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by screen-4.4.0_1 for building ===> Extracting for screen-4.4.0_1 => SHA256 Checksum OK for screen-4.4.0.tar.gz. ===> Patching for screen-4.4.0_1 ===> Applying extra patch /usr/ports/sysutils/screen/files/opt-showencoding ===> Applying FreeBSD patches for screen-4.4.0_1 ===> screen-4.4.0_1 depends on executable: gmake - found ===> screen-4.4.0_1 depends on file: /usr/local/bin/ccache - found ===> Configuring for screen-4.4.0_1 configure: loading site script /usr/ports/Templates/config.site this is screen version 4.4.0 checking for gcc... cc checking whether the C compiler works... yes [snip lots of output] At the end I get the usual kind of message: ====> Compressing man pages (compress-man) ===> Installing for screen-4.4.0_1 ===> Checking if screen already installed ===> Registering installation for screen-4.4.0_1 Installing screen-4.4.0_1... ============================================================= As of GNU Screen 4.4.0: Note that there was fix to screen message structure field responsible for $TERM handling, making it impossible to attach to older versions. ============================================================= ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/bin/screen This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/bin/screen If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://www.gnu.org/software/screen/ ..so I check the version again: root@www:~ # screen -v Screen version 4.04.00 (GNU) 19-Jun-16 root@www:~ # ????? pkg info screen gives: root@www:~ # pkg info screen screen-4.4.0_1 Name : screen Version : 4.4.0_1 Installed on : Mon Jul 18 13:11:25 2016 BST Origin : sysutils/screen Architecture : freebsd:11:x86:64 Prefix : /usr/local Categories : sysutils Licenses : GPLv3 Maintainer : cy@FreeBSD.org WWW : http://www.gnu.org/software/screen/ Comment : Multi-screen window manager ????? thanks, -- J.