hi, i want to install a port but portaudit won't let me because it "has known vulnerabilities". trying to tell it it's ok with 'portaudit_fixed' in /usr/local/etc/portaudit.conf doesn't work, and trying to deinstall portaudit: /usr/ports/security/portaudit# make deinstall ===> Deinstalling for security/portaudit ===> Deinstalling portaudit-0.5.11 ./+REQUIRE: Permission denied pkg_delete: package portaudit-0.5.11 fails requirements ./+DEINSTALL: Permission denied pkg_delete: deinstall script returned error status ./+DEINSTALL: Permission denied pkg_delete: post-deinstall script returned error status well, i dunno what that means but doesn't work either. so how do i get around it?
On Sun, 22 Oct 2006 18:10:44 +0200, gareth <bsd@lordcow.org> wrote:> hi, i want to install a port but portaudit won't let me because it > "has known vulnerabilities".You can set DISABLE_VULNERABILITIES=true in the environment. In bash it is: export DISABLE_VULNERABILITIES=true See /usr/ports/Mk/bsd.port.mk voor more options in ports building. But know what you are doing. I do not recommend you to install vulnerable ports. Ronald. -- Ronald Klop Amsterdam, The Netherlands
gareth wrote:> hi, i want to install a port but portaudit won't let me because it > "has known vulnerabilities". > > trying to tell it it's ok with 'portaudit_fixed' in > /usr/local/etc/portaudit.conf doesn't work, and trying to deinstall > portaudit: > > /usr/ports/security/portaudit# make deinstall > ===> Deinstalling for security/portaudit > ===> Deinstalling portaudit-0.5.11 > ./+REQUIRE: Permission denied > pkg_delete: package portaudit-0.5.11 fails requirements > ./+DEINSTALL: Permission denied > pkg_delete: deinstall script returned error status > ./+DEINSTALL: Permission denied > pkg_delete: post-deinstall script returned error status > > well, i dunno what that means but doesn't work either. so how > do i get around it?There are more than one way to install vulnerable port. Sometimes DISABLE_VULNERABILITIES=yes may be enough. Permissions denied may be caused by your file system mount options - if you have /var (/var/db/pkg) mounted as noexec, than some ports (packages) can not be deinstalled (deinstall script can not be executed) Miroslav Lachman