Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 13:58:40 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-ports@freebsd.org
Subject:   is this a problem with screen, pkg or portupgrade?
Message-ID:  <9befad19-ba9e-1526-3d7f-76bd347f383b@zyxst.net>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9befad19-ba9e-1526-3d7f-76bd347f383b>