Project

General

Profile

Bug #3011

OPENSSL10_ONLY is evaluated over and over

Added by Rich Lowe about 8 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-07-19
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

The nature of usr/src/pkg/Makefile means that the command underneath OPENSSL10_ONLY is evaluated once per manifest, or "a lot".

A way to make it stop should be concocted.

History

#1

Updated by Joshua M. Clulow about 8 years ago

What if we were to, say, generate the OpenSSL hash symlinks on boot rather than deliver them in the package?

#2

Updated by Rich Lowe about 8 years ago

I would love to, as that would also allow people to customize their trust as they see fit (adding a local CA, removing an untrusted one, etc.)

#3

Updated by Gary Mills about 8 years ago

Here's a test that points the way to the solution:

$ time make -n SRC=.. > /dev/null 2>&1

real    1m21.71s
user    0m0.38s
sys     0m0.14s
$ time make -n OPENSSL10_ONLY='#' SRC=.. > /dev/null 2>&1

real    0m0.38s
user    0m0.29s
sys     0m0.05s

The solution is a new target with a recursive rule that defines PKGMOG_DEFINES=$(PKGMOG_DEFINES) on the $(MAKE) command line.

#4

Updated by Andy Fiddaman almost 2 years ago

  • Status changed from New to Closed

Since https://github.com/illumos/illumos-gate/commit/93c022fe755ab555fe7ba5e571921b1853459e13 removed the OPENSSL10_ONLY variable and associated command, this issue should be closed.

Also available in: Atom PDF