- 1. 概要
- 2. make config
- 3. portsupgrade
1. 概要
こちらの記事は「curl の upgrade 失敗 - FreeBSD」を参考に書かせていただきました。
いつものように ports の更新を行って
> pkg version -v
すると curl の更新が必要とのこと。
> portupgrade -vRr curl
そしたら
---> Session started at: Mon, 19 Oct 2015 11:11:11 +0900
[Reading data from pkg(8) ... - 221 packages found - done]
** Port marked as IGNORE: ftp/curl:
GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system
[Gathering depends for devel/cmake ......(textproc/py-sphinx)....
・・・
[Gathering depends for ftp/php5-curl ...(lang/php5)...(devel/pcre) done]
[Exclude up-to-date packages ..** Port marked as IGNORE: ftp/curl:
GSSAPI_BASE is not compatible with OpenSSL from ports. Use other GSSAPI options or OpenSSL from base system
............................................ done]
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
- ftp/curl (marked as IGNORE)
- ftp/curl (marked as IGNORE)
---> Packages processed: 0 done, 2 ignored, 0 skipped and 0 failed
---> Session ended at: Mon, 19 Oct 2015 11:11:35 +0900 (consumed 00:00:23)
なんだこれは?
しらべてみると構成を変更する必要があるらしい。
そもそも、curl ってなんだかわかってないんですけどね(笑)
2. make config
cd /usr/ports/ftp/curl
make option
どうもこの「GSSPI_BASE」ってオプションがまずいらしい。
どうもこの「GSSPI_NONE」にします。
「OK」で抜けます。
3. portsupgrade
再び、portsupgrade してみます。
---> Session started at: Mon, 19 Oct 2015 11:20:09 +0900
[Reading data from pkg(8) ... - 221 packages found - done]
・・・
Installing curl-7.45.0...
===> 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/libcurl.so.4.4.0
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://curl.haxx.se/
===> Cleaning for curl-7.45.0
---> Removing temporary files and directories
---> Removing old package'
---> Installation of ftp/curl ended at: Mon, 19 Oct 2015 11:24:07 +0900 (consumed 00:00:10)
---> Cleaning out obsolete shared libraries
---> Upgrade of ftp/curl ended at: Mon, 19 Oct 2015 11:24:12 +0900 (consumed 00:03:38)
---> ** Upgrade tasks 1: 1 done, 0 ignored, 0 skipped and 0 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ ftp/curl (curl-7.44.0 -> curl-7.45.0)
---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed
---> Session ended at: Mon, 19 Oct 2015 11:24:14 +0900 (consumed 00:04:04)
どうやらうまくいきました。
|