Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

It is currently Tue Dec 07, 2021 5:20 am

Message body:
Enter your message here, it may contain no more than 60000 characters. 

:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation code
Confirmation code:
In an effort to prevent automatic submissions, we require that you enter both of the words displayed into the text field underneath.

Topic review - FreeBSD portupgrade without port vulnerability check
Author Message
Post subject: FreeBSD portupgrade without port vulnerability check  |  Post Posted: Thu Mar 18, 2010 6:12 am
Portupgrade, portinstall are two tools used to upgrade installed packages or install new ones via ports or packages systems.

man portupgrade:
portupgrade [-habcCDDefFiknNOpPPqrRsuvwWy] [-A command] [-B command]
[-l file] [-L format] [-S command] [-x pkgname_glob]
[[-o origin] [-m make_args] [-M make_env] pkgname_glob ...]

The portupgrade command is used to upgrade installed packages via ports
or packages. The portinstall command is equivalent to portupgrade -N.

Before reading these instructions, you must understand that a port/pack-
age can have the following two types of related ports/packages:
required Ports/packages that a port/package needs for it to be built
and/or run. Port Makefiles refer to this type of ports/pack-
ages using the BUILD_DEPENDS and RUN_DEPENDS macros, respec-
dependent Ports/packages that need this port/package.
--make-args Specify arguments to append to each make(1) com-
mand line.

In order to upgrade a package for which there is a vulnerability report (related to it's version), the DISABLE_VULNERABILITIES=yes make argument can be passed to portupgrade:

# portupgrade -m DISABLE_VULNERABILITIES=yes hackedftpd

A list of FreeBSD ports vulnerability reports can be found at VuXML project:
Jump to:  
cronNews News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list

Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]