From owner-freebsd-questions@freebsd.org  Sat Aug 27 18:50:28 2016
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@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 54F24B77980
 for <freebsd-questions@mailman.ysv.freebsd.org>;
 Sat, 27 Aug 2016 18:50:28 +0000 (UTC)
 (envelope-from alnis.m@mail.com)
Received: from mout.gmx.com (mout.gmx.com [74.208.4.200])
 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 1F96CF25
 for <freebsd-questions@freebsd.org>; Sat, 27 Aug 2016 18:50:28 +0000 (UTC)
 (envelope-from alnis.m@mail.com)
Received: from [192.168.0.192] ([78.84.255.253]) by mail.gmx.com (mrgmxus002)
 with ESMTPSA (Nemesis) id 0MDhKi-1bulko1z5S-00H7Wb for
 <freebsd-questions@freebsd.org>; Sat, 27 Aug 2016 20:45:16 +0200
Subject: Re: ports/pkg question
To: freebsd-questions@freebsd.org
References: <878d6ba9-29fb-36bf-be40-19946e11c309@hiwaay.net>
From: Alnis Morics <alnis.m@mail.com>
Message-ID: <277f1a1c-e827-414a-ae68-54e7b6c5bdc1@mail.com>
Date: Sat, 27 Aug 2016 21:45:13 +0300
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
 Icedove/45.2.0
MIME-Version: 1.0
In-Reply-To: <878d6ba9-29fb-36bf-be40-19946e11c309@hiwaay.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:igzJ1Py4V/hG2n470ZKzJsJJFuPCFiwW6KuIMcqnYb8TsW8VVfN
 8aIWedXIT1cm5FLUd8M86Kdj3Z5I/sZbSGdLLlGAM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 2.1.22
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Aug 2016 18:50:28 -0000



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