is this a problem with screen, pkg or portupgrade?

tech-lists tech-lists at
Mon Jul 18 12:58:44 UTC 2016


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 at 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:

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 at www:~ screen -v
-bash: /usr/local/bin/screen: No such file or directory

...then ran

root at www:~ # cd /usr/ports/sysutils/screen
root at 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/
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.


      This port has installed the following binaries which execute with
      increased privileges.

This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.

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: I check the version again:

root at www:~ # screen -v
Screen version 4.04.00 (GNU) 19-Jun-16
root at www:~ #


pkg info screen gives:

root at www:~ # pkg info screen
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 at
WWW            :
Comment        : Multi-screen window manager




More information about the freebsd-ports mailing list