Re: Override ports security restrictions?

2007-09-25 Thread Tim DeBoer
On 9/25/07, Tim DeBoer <[EMAIL PROTECTED]> wrote:
[snip]
> 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} >= 60 &&
>  ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${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} >= 60 &&
> ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${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  :-)
>
Never mind that. I'm an idiot.
I was trying to build on the machine I'm going to replace.
Observation skills FTW.

make DISABLE_VULNERABILITIES=yes install

Did the trick.

Thanks for the help!

-- 
Tim DeBoer
http://www.freebsd-geek.com
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Override ports security restrictions?

2007-09-25 Thread Tim DeBoer
On 9/25/07, Erik Trulsson <[EMAIL PROTECTED]> 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: 
> > 
> > => 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.)
>
>
> --
> 
> Erik Trulsson
> [EMAIL PROTECTED]
>

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} >= 60 &&
 ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${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} >= 60 &&
${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${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".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Override ports security restrictions?

2007-09-25 Thread Erik Trulsson
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: 
> 
> => 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.)


-- 

Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Override ports security restrictions?

2007-09-25 Thread Karol Kwiatkowski
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: 
> 
> => 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?

from ports(7):

%   DISABLE_VULNERABILITIES
%  If defined, disable check for security vulnerabilities
%  using portaudit(1) (ports/ports-mgmt/portaudit) when
%  installing new ports.

To force it this lony time use something like 'make
-DDISABLE_VULNERABILITIES install'.

HTH,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Override ports security restrictions?

2007-09-25 Thread Tim DeBoer
I'm trying to install /usr/ports/graphics/png

===>  png-1.2.12_1 has known vulnerabilities:
=> png -- DoS crash vulnerability.
   Reference: 

=> 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?

Thanks!

-- 
Tim DeBoer
Just once, I'd like it if someone called me "Sir".
Without adding "You're creating a scene".
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"