Override ports security restrictions?

Tim DeBoer tdeboer at gmail.com
Tue Sep 25 01:37:51 PDT 2007


On 9/25/07, Erik Trulsson <ertr1013 at student.uu.se> wrote:
> On Tue, Sep 25, 2007 at 01:27:05AM -0600, Tim DeBoer wrote:
> > I'm trying to install /usr/ports/graphics/png
> >
> > ===>  png-1.2.12_1 has known vulnerabilities:
> > => png -- DoS crash vulnerability.
> >    Reference: <http://www.FreeBSD.org/ports/portaudit/4cb9c513-03ef-11dc-a51d-0019b95d4f14.html>
> > => Please update your ports tree and try again.
> > *** Error code 1
> >
> > While I can appreciate the attempt to protect me from doing something
> > "stupid", I really do need to get this installed, and from what I've
> > read, it looks like a non-issue for me.
> >
> > Is there a way to get "force" ports to install this package?
>
> Yes. Use 'make -DIGNORE_VULNERABILITIES install'
> (This is documented in the ports(7) manpage.)
>
>
> --
> <Insert your favourite quote here.>
> Erik Trulsson
> ertr1013 at student.uu.se
>

Hmmm, it seems to want to work, but I end up with a bunch of errors.

# make -DIGNORE_VULNERABILITIES install
"/usr/ports/Mk/bsd.port.mk", line 2294: warning: String co
mparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2294: warning: String co
mparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2294: Malformed conditio
nal (((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 &&
 ${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OS
VERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_ins
tall") || exists(${LOCALBASE}/sbin/pkg_info))
"/usr/ports/Mk/bsd.port.mk", line 2295: warning: String co
mparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2295: warning: String co
mparison operator should be either == or !=
"/usr/ports/Mk/bsd.port.mk", line 2295: Malformed conditio
nal ((${OSVERSION} < 504105 || (${OSVERSION} >= 600000 &&
${OSVERSION} < 600103) || (${OSVERSION} >= 700000 && ${OSV
ERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_inst
all")
"/usr/ports/Mk/bsd.port.mk", line 6100: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6100: Need an operator
"/usr/ports/Mk/bsd.port.mk", line 6103: if-less endif
"/usr/ports/Mk/bsd.port.mk", line 6103: Need an operator
make: fatal errors encountered -- cannot continue

Any thoughts?

Thanks, I really do appreciate the help  :-)


-- 
Tim DeBoer
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".


More information about the freebsd-questions mailing list