Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEo4CeMWT8xrHbWg87UeFc9Y=PkQRAq+Gf1aj3hB2tuDe1jJtg@mail.gmail.com>
Date: Thu, 4 Aug 2016 14:45:29 +0200
From: Albert Veli <albert.veli@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: SSL headers and JTR compile on MAC

I can verify that the brew.sh method works.

Remember to use brew link openssl --force. I missed that first. It doesn't
work without the link command. The brew help text says:

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

  LDFLAGS:  -L/usr/local/opt/openssl/lib
  CPPFLAGS: -I/usr/local/opt/openssl/include

These can be added to the john Makefile (around line 53 and line 60)
instead of forcing the link. An alternative would be to add openssl-libs
and openssl-cflags options to configure. I have seen some other packages
with these configure options.

On Thu, Aug 4, 2016 at 12:06 PM, Solar Designer <solar@...nwall.com> wrote:

> On Thu, Aug 04, 2016 at 08:56:33AM +0200, websiteaccess@...il.com wrote:
> > Thanks for your reply, but how install these openssl development files  ?
> >
> > > Le 3 ao??t 2016 ?? 19:59, Matus UHLAR - fantomas <uhlar@...tomas.sk>
> a ??crit :
> > > you need openssl development files.
>
> Guys, please try to keep your postings actually useful.  Neither of the
> two above was useful: a non-helpful answer, and an obvious rewording of
> the question.  Also, W.A., please don't top-post.
>
> Apple says:
>
> http://lists.apple.com/archives/macnetworkprog/2015/Jun/msg00025.html
>
> "We recommend that developers who need OpenSSL build their own copy of
> it and include that copy in their app.  Alternatively you can use native
> OS X APIs, like Secure Transport."
>
> Other OpenSSL-using projects and their users are typically posting this
> kind of instructions for installing OpenSSL with Homebrew:
>
> http://brew.sh
> https://github.com/phusion/passenger/issues/1630#issuecomment-147464414
> https://solitum.net/openssl-os-x-el-capitan-and-brew/
> http://stackoverflow.com/questions/32960032/nginx-cannot-find-openssl-
> development-headers/32964832#32964832
>
> An excessive superset of those appears to be:
>
> brew doctor
> brew update
> brew upgrade
> brew install openssl
> brew link openssl --force
> cd /usr/local/include
> ln -s ../opt/openssl/include/openssl .
>
> Per a GitHub comment above, this might also work:
>
> xcode-select --install
> cd /usr/local/include
> ln -s ../opt/openssl/include/openssl .
>
> The symlink should take care of the JtR build finding the headers.
> For linking, you might (or might not) also need
> "-L/usr/local/opt/openssl/lib" added to LDFLAGS.
>
> Some other people are building OpenSSL from source manually:
>
> http://mac-dev-env.patrickbougie.com/openssl/
>
> If you do this, you should preferably verify the signature on your
> download before extracting the tarball, and avoid building as root.
>
> I haven't tested any of this.  W.A., or anyone, if you do, please post
> in here to let us know which of these worked for you, and please be
> specific about issues you might run into and work around, if any.
>
> Alexander
>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.