{"id":39,"date":"2013-04-19T09:47:00","date_gmt":"2013-04-19T07:47:00","guid":{"rendered":"http:\/\/www.ncodenicer.com\/?p=39"},"modified":"2026-05-10T19:47:43","modified_gmt":"2026-05-10T17:47:43","slug":"keeping-freebsd-ports-secure-and-up-to-date","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=39","title":{"rendered":"Keeping FreeBSD ports secure and up to date"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Install <strong>\/usr\/ports\/ports-mgmt\/portaudit<\/strong> in order to receive vulnerability reports with daily security reports <\/li>\n\n\n\n<li>Install <strong>\/usr\/ports\/ports-mgmt\/portupgrade<\/strong> in order to be able to update ports in easier way <\/li>\n\n\n\n<li>When you need to upgrade ports\n<ul class=\"wp-block-list\">\n<li><strong>portsnap fetch<\/strong><\/li>\n\n\n\n<li><strong>portsnap update<\/strong> (or <strong>portsnap extract<\/strong> if using portsnap for the first time)<\/li>\n\n\n\n<li>do <strong>portupgrade -a -i<\/strong> to upgrade all ports (don&#8217;t forget -i otherwise it may install more things than you want), or use variant with port name to upgrade only one port<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[35,6,34],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-audit","tag-freebsd","tag-ports"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=39"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/39\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}