{"id":12,"date":"2007-08-01T08:17:46","date_gmt":"2007-08-01T14:17:46","guid":{"rendered":"http:\/\/www.goodjobsucking.com\/?p=12"},"modified":"2008-05-19T07:48:34","modified_gmt":"2008-05-19T13:48:34","slug":"skipping-the-freebsd-vulnerability-check-during-portupgrade","status":"publish","type":"post","link":"http:\/\/www.goodjobsucking.com\/?p=12","title":{"rendered":"Skipping the FreeBSD vulnerability check during portupgrade"},"content":{"rendered":"<p>FreeBSD has an excellent facility for checking its ports for vulnerabilities provided by security\/portaudit.  This is very handy when installing an unknown package.  However, it can be quite a hindrance when upgrading from one very vulnerable version of a port to one with fewer vulnerabilities, since portupgrade will flatly refuse to upgrade the port, with this kind of error:<\/p>\n<blockquote><p>===&gt;  wordpress-2.2.1,1 has known vulnerabilities:<br \/>\n=&gt; wordpress &#8212; unmoderated comments disclosure.<br \/>\nReference: &lt;http:\/\/www.FreeBSD.org\/ports\/portaudit\/6a31cbe3-1695-11dc-a197-0011098b2f36.html&gt;<br \/>\n=&gt; Please update your ports tree and try again.<\/p><\/blockquote>\n<p>It&#8217;s best, of course, to confirm that the vulnerability is something you can live with.  If so, you can pass a flag to &#8220;make&#8221; to have it skip the vulnerability check:<\/p>\n<blockquote><p>portupgrade -m -DDISABLE_VULNERABILITIES  wordpress<\/p><\/blockquote>\n<p>Naturally, I wouldn&#8217;t recommend doing this in conjunction with &#8220;portupgrade -all&#8221; since it would defeat the purpose of having the vulnerability check at all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FreeBSD has an excellent facility for checking its ports for vulnerabilities provided by security\/portaudit. This is very handy when installing an unknown package. However, it can be quite a hindrance when upgrading from one very vulnerable version of a port to one with fewer vulnerabilities, since portupgrade will flatly refuse \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/www.goodjobsucking.com\/?p=12\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[23,24],"_links":{"self":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/12"}],"collection":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":0,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodjobsucking.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}