Bug 227180 - [PATCH] dns/dnsdist: fix building against openssl from base
Summary: [PATCH] dns/dnsdist: fix building against openssl from base
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Carlos J. Puga Medina
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-01 16:18 UTC by Ralf van der Enden
Modified: 2018-04-01 23:57 UTC (History)
0 users

See Also:
cpm: maintainer-feedback+


Attachments
fix for building against openssl from base (389 bytes, patch)
2018-04-01 16:18 UTC, Ralf van der Enden
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2018-04-01 16:18:54 UTC
Created attachment 192061 [details]
fix for building against openssl from base

My sincerest apologies.

On my system LibreSSL is the default openssl library and poudriere finished just fine. When building against openssl base, upstream failed to implement a good way to automatically find libssl.so (it works fine for libcrypto.so).

This patch remedies that and I've tested it still works with openssl from ports as well.
Comment 1 Carlos J. Puga Medina freebsd_committer freebsd_triage 2018-04-01 16:29:11 UTC
(In reply to Ralf van der Enden from comment #0)

Yes, some people have reported the issue

checking for LIBSSL... no
configure: error: OpenSSL libssl requested but libraries were not found
===>  Script "configure" failed unexpectedly.
Please report the problem to cpm@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/dns/dnsdist/work/dnsdist-1.3.0/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/dns/dnsdist


Thanks for the quick fix, Ralf
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-01 16:33:57 UTC
A commit references this bug:

Author: cpm
Date: Sun Apr  1 16:33:17 UTC 2018
New revision: 466169
URL: https://svnweb.freebsd.org/changeset/ports/466169

Log:
  dns/dnsdist: Fix building against openssl from base

  checking for LIBSSL... no
  configure: error: OpenSSL libssl requested but libraries were not found
  ===>  Script "configure" failed unexpectedly.
  Please report the problem to cpm@FreeBSD.org [maintainer] and attach the
  "/wrkdirs/usr/ports/dns/dnsdist/work/dnsdist-1.3.0/config.log" including the
  output of the failure of your make command. Also, it might be a good idea to
  provide an overview of all packages installed on your system (e.g. a
  /usr/local/sbin/pkg-static info -g -Ea).
  *** Error code 1

  Stop.
  make: stopped in /usr/ports/dns/dnsdist

  PR:		227180
  Submitted by:	Ralf van der Enden <tremere@cainites.net>
  MFH:		2018Q2

Changes:
  head/dns/dnsdist/Makefile
Comment 3 Carlos J. Puga Medina freebsd_committer freebsd_triage 2018-04-01 16:35:10 UTC
Committed!

Thanks again
Comment 4 commit-hook freebsd_committer freebsd_triage 2018-04-01 23:57:12 UTC
A commit references this bug:

Author: cpm
Date: Sun Apr  1 23:56:31 UTC 2018
New revision: 466192
URL: https://svnweb.freebsd.org/changeset/ports/466192

Log:
  MFH: r466169

  dns/dnsdist: Fix building against openssl from base

  checking for LIBSSL... no
  configure: error: OpenSSL libssl requested but libraries were not found
  ===>  Script "configure" failed unexpectedly.
  Please report the problem to cpm@FreeBSD.org [maintainer] and attach the
  "/wrkdirs/usr/ports/dns/dnsdist/work/dnsdist-1.3.0/config.log" including the
  output of the failure of your make command. Also, it might be a good idea to
  provide an overview of all packages installed on your system (e.g. a
  /usr/local/sbin/pkg-static info -g -Ea).
  *** Error code 1

  Stop.
  make: stopped in /usr/ports/dns/dnsdist

  PR:		227180
  Submitted by:	Ralf van der Enden <tremere@cainites.net>

  Approved by:	ports-secteam (riggs)

Changes:
_U  branches/2018Q2/
  branches/2018Q2/dns/dnsdist/Makefile