is this a problem with screen, pkg or portupgrade?
Pierre Guinoiseau
pierre at guinoiseau.eu
Mon Jul 18 13:28:12 UTC 2016
Why do you think there is a problem? 4.04.00 == 4.4.0 (and not 4.0.4),
everything is fine, just ignore the leading zeros. ;)
On 19/07/2016 00:58, tech-lists wrote:
> 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 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:
> 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 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/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 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
> 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 at FreeBSD.org
> WWW : http://www.gnu.org/software/screen/
> Comment : Multi-screen window manager
>
> ?????
>
> thanks,
>
--
Pierre Guinoiseau <pierre at guinoiseau.eu>
https://segmentationfau.lt/ | +PierreGuinoiseau | @peikk00
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20160719/21becbb2/attachment.sig>
More information about the freebsd-ports
mailing list