Does anyone actually install openSSL into version specific named locations?
Reason I'm asking is that the amount of configure.in (configure) code
related to openSSL specific versions has gotten absurd (~75 lines in
configure.in, maybe 45x that in configure), and it has to be updated every
time they release a new version.
Right now, we test for openSSL in either the directory you tell ./configure,
or a laundry list:
ntop_testopenssl("/usr/lib", "/usr/include")
ntop_testopenssl("/usr/lib", "/usr/include/openssl")
ntop_testopenssl("/usr/lib/openssl", "/usr/include/openssl")
ntop_testopenssl("/usr/local/lib/ssl", "/usr/local/include/ssl")
ntop_testopenssl("/usr/local/lib/ssl", "/usr/local/include/ssl")
ntop_testopenssl("/usr/local/lib/ssl", "/usr/local/include/ssl")
ntop_testopenssl("../openssl", "../openssl")
ntop_testopenssl("../openssl-0.9.7b", "../openssl-0.9.7b/ssl")
ntop_testopenssl("../openssl-0.9.7a", "../openssl-0.9.7a/ssl")
ntop_testopenssl("../openssl-0.9.7", "../openssl-0.9.7/ssl")
ntop_testopenssl("../openssl-0.9.6h", "../openssl-0.9.6h/ssl")
ntop_testopenssl("../openssl-0.9.6g", "../openssl-0.9.6g/ssl")
ntop_testopenssl("../openssl-0.9.6f", "../openssl-0.9.6f/ssl")
ntop_testopenssl("../openssl-0.9.6e", "../openssl-0.9.6e/ssl")
ntop_testopenssl("../openssl-0.9.6d", "../openssl-0.9.6d/ssl")
ntop_testopenssl("../openssl-0.9.6c", "../openssl-0.9.6c/ssl")
ntop_testopenssl("../openssl-0.9.6b", "../openssl-0.9.6b/ssl")
ntop_testopenssl("../openssl-0.9.6a", "../openssl-0.9.6a/ssl")
ntop_testopenssl("../openssl-0.9.6", "../openssl-0.9.6/ssl")
Each of those ntop_testopenssl's expand to 45 lines of tests...
The first six (maybe seven) I understand.
The rest are tests for people who setup openSSL in the ntop source tree
(like gdchart is). But into directories named for the openSSL version.
They could ALL be replaced by forcing the user to rename the directory or
create a link named "openSSL" to the directory. As an option, adding one
more test to the "I'm telling you where it is" branch and making the user
specify the location -with-ossl-root= would also work... (I'm leaning
towards this one).
Would this change give anybody angst?
Whine now or I'll change it end of the week.
-----Burton
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop