Bug 202175 - security/tor: Static + Ports' OpenSSL pkg depends on OpenSSL
Summary: security/tor: Static + Ports' OpenSSL pkg depends on OpenSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 10:23 UTC by Bernard Spil
Modified: 2016-09-08 15:34 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2015-08-08 10:23:24 UTC
When I build security/tor with the STATIC_TOR option enabled, the generated package has an unneccesary dependency on security/openssl.

When I check the binaries produced (/usr/local/bin/tor etc) using `readelf -d`, none are dynamic executables.

Marked this as ports infra as I suspect/expect this is something to do with Mk/bsd.openssl.mk
Comment 1 Mathieu Arnold freebsd_committer 2016-04-13 11:33:34 UTC
over to maintainer.
Comment 2 Rene Ladan freebsd_committer 2016-06-27 21:41:28 UTC
Maintainer reset.
Comment 3 commit-hook freebsd_committer 2016-09-08 14:14:05 UTC
A commit references this bug:

Author: mat
Date: Thu Sep  8 14:13:02 UTC 2016
New revision: 421556
URL: https://svnweb.freebsd.org/changeset/ports/421556

Log:
  Allow adding only a build or run-time dependency on USES=ssl.

  PR:		202175
  Reported by:	barnerd
  Sponsored by:	Absolight

Changes:
  head/Mk/Uses/ssl.mk
Comment 4 commit-hook freebsd_committer 2016-09-08 14:14:07 UTC
A commit references this bug:

Author: mat
Date: Thu Sep  8 14:13:05 UTC 2016
New revision: 421557
URL: https://svnweb.freebsd.org/changeset/ports/421557

Log:
  Change security/tor{,-devel} to only have a build dependency on openssl
  if built statically.

  PR:		202175
  Reported by:	barnerd
  Sponsored by:	Absolight

Changes:
  head/security/tor/Makefile
  head/security/tor-devel/Makefile
Comment 5 Mathieu Arnold freebsd_committer 2016-09-08 15:34:42 UTC
Revert the assignee change.