Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2016 21:45:13 +0300
From:      Alnis Morics <alnis.m@mail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ports/pkg question
Message-ID:  <277f1a1c-e827-414a-ae68-54e7b6c5bdc1@mail.com>
In-Reply-To: <878d6ba9-29fb-36bf-be40-19946e11c309@hiwaay.net>
References:  <878d6ba9-29fb-36bf-be40-19946e11c309@hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On 08/27/2016 05:09 PM, William A. Mahaffey III wrote:
>
> I use pkg almost exclusively to maintain this box, except for the 
> linux-c6-flashplugin, which (used to) require a ports build & install. 
> I did a full pkg upgrade this A.M., followed by a ports build of the 
> newer flash-plugin. However, the flash-plugin apparently just 
> installed a pkg, see below, whereas in the past it would download & 
> compile up the port. Has something changed W.R.T. the flash-plugin ? 
> This is *NOT* a problem, just curious. TIA & have a good one.
>
>
> [root@kabini1, /etc, 8:48:02am] 351 % portmaster linux-c6-flashplugin
>
> ===>>> Currently installed version: linux-c6-flashplugin-11.2r202.577
> ===>>> Port directory: /usr/ports/www/linux-c6-flashplugin11
>
> ===>>> Gathering distinfo list for installed ports
>
> ===>>> Launching 'make checksum' for www/linux-c6-flashplugin11 in 
> background
> ===>>> Gathering dependency list for www/linux-c6-flashplugin11 from 
> ports
> ===>>> Initial dependency check complete for www/linux-c6-flashplugin11
>
>
> ===>>> Starting build for www/linux-c6-flashplugin11 <<<===
>
> ===>>> All dependencies are up to date
>
> ===>  Cleaning for linux-c6-flashplugin-11.2r202.632_1
> ===>>> Waiting on fetch & checksum for www/linux-c6-flashplugin11 <<<===
> /!\ WARNING /!\
> You have security/openssl installed but do not have 
> DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
>
> ===>  Found saved configuration for linux-c6-flashplugin-11.2r202.425
> ===>   linux-c6-flashplugin-11.2r202.632_1 depends on file: 
> /usr/local/sbin/pkg - found
> => install_flash_player_11_linux.i386.tar.gz doesn't seem to exist in 
> /usr/ports/distfiles//flashplugin/11.2r202.632.
> => Attempting to fetch 
> http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.632/install_flash_player_11_linux.i386.tar.gz
> install_flash_player_11_linux.i386.tar.gz
>
> /!\ WARNING /!\
> You have security/openssl installed but do not have 
> DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
>
> ===>  Found saved configuration for linux-c6-flashplugin-11.2r202.425
> ===>   linux-c6-flashplugin-11.2r202.632_1 depends on file: 
> /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by 
> linux-c6-flashplugin-11.2r202.632_1 for building
> ===>  Extracting for linux-c6-flashplugin-11.2r202.632_1
> => SHA256 Checksum OK for 
> flashplugin/11.2r202.632/install_flash_player_11_linux.i386.tar.gz.
> => SHA256 Checksum OK for 
> flashplugin/11.2r202.632/linux-f10-flashsupport-9.0.1.i386.tar.gz.
> ===>  Patching for linux-c6-flashplugin-11.2r202.632_1
> ===>   linux-c6-flashplugin-11.2r202.632_1 depends on executable: 
> update-desktop-database - found
> ===>  Configuring for linux-c6-flashplugin-11.2r202.632_1
> ===>  Staging for linux-c6-flashplugin-11.2r202.632_1
> ===>   Generating temporary packing list
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/linux-c6-flashplugin
> install   -m 444 
> /usr/ports/www/linux-c6-flashplugin11/work/linux-c6-flashplugin-11.2r202.632_1/libflashplayer.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/linux-c6-flashplugin 
>
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/compat/linux/usr/lib
> install   -m 444 
> /usr/ports/www/linux-c6-flashplugin11/work/linux-c6-flashplugin-11.2r202.632_1/libflashsupport.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/compat/linux/usr/lib
> install   -m 555 
> /usr/ports/www/linux-c6-flashplugin11/work/linux-c6-flashplugin-11.2r202.632_1/usr/bin/flash-player-properties 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/bin
> install  -m 0644 
> /usr/ports/www/linux-c6-flashplugin11/work/linux-c6-flashplugin-11.2r202.632_1/usr/share/applications/flash-player-properties.desktop 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/share/applications 
>
> (cd 
> /usr/ports/www/linux-c6-flashplugin11/work/linux-c6-flashplugin-11.2r202.632_1/usr/share/icons 
> && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 
> >/dev/null  2>&1) &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 
> $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' 
> -- hicolor 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/share/icons)
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-firefox
> /bin/ln -sf /usr/local/lib/browser_plugins//libflashplayer.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-firefox/
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-opera
> /bin/ln -sf /usr/local/lib/browser_plugins//libflashplayer.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-opera/
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-opera-devel
> /bin/ln -sf /usr/local/lib/browser_plugins//libflashplayer.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-opera-devel/
> /bin/mkdir -p 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-seamonkey
> /bin/ln -sf /usr/local/lib/browser_plugins//libflashplayer.so 
> /usr/ports/www/linux-c6-flashplugin11/work/stage/usr/local/lib/browser_plugins/symlinks/linux-seamonkey/
> ====> Compressing man pages (compress-man)
>
> ===>>> Creating a backup package for old version 
> linux-c6-flashplugin-11.2r202.577
> Creating package for linux-c6-flashplugin-11.2r202.577
> 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:
>         linux-c6-flashplugin-11.2r202.577
>
> Number of packages to be removed: 1
>
> The operation will free 17 MiB.
> [1/1] Deinstalling linux-c6-flashplugin-11.2r202.577...
> [1/1] Deleting files for linux-c6-flashplugin-11.2r202.577: 100%
>
> ===>  Installing for linux-c6-flashplugin-11.2r202.632_1
> ===>   Registering installation for linux-c6-flashplugin-11.2r202.632_1
> Installing linux-c6-flashplugin-11.2r202.632_1...
> If this is your first time installing flash each user must run:
>
>         nspluginwrapper -v -a -i
>
> If you are updating flash each user must run:
>
>         nspluginwrapper -v -a -u
>
> ===> SECURITY REPORT:
>       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/lib/browser_plugins/linux-c6-flashplugin/libflashplayer.so
>
>       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.adobe.com/
>
> ===>>> pkg-message for linux-c6-flashplugin-11.2r202.632_1
> Always:
> If this is your first time installing flash each user must run:
>
>         nspluginwrapper -v -a -i
>
> If you are updating flash each user must run:
>
>         nspluginwrapper -v -a -u
>
> ===>>> Done displaying pkg-message files
>
> ===>>> Upgrade of linux-c6-flashplugin-11.2r202.577 to 
> linux-c6-flashplugin-11.2r202.632_1 complete
>
>  whew !!!! that took (67.476 cpu + 14.487 sys) sec., 1:03.02 elapsed 
> time tot, 130.0% CPU efficiency
>         (899 text, 2315 data, 119708 max) KB, (1394+889) io, 74 pfs + 
> 0 swaps
> [root@kabini1, /etc, 8:49:55am] 352 %
>
First, Portmaster was able to download and install the old package 
format ("pkg_add"), and it did so when -P or -PP arguments were 
supplied. This no longer works with the new (pkgng) package format, so 
it was the port that it installed.

Second, Flashplugin only comes in the binary form which the port 
downloads; it doesn't compile. If you had to compile earlier, it must be 
nspluginwrapper and/or some other dependencies that got compiled, not 
Flashplugin itself. If those dependencies were now already the newest 
version, nothing had to be compiled, and only new Flashplugin binaries 
were downloaded and installed, hence it took so little time.

-Alnis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?277f1a1c-e827-414a-ae68-54e7b6c5bdc1>