Bug 186978 - net-p2p/transmission depends on base openssl WITH_OPENSSL_PORT
Summary: net-p2p/transmission depends on base openssl WITH_OPENSSL_PORT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 13:30 UTC by Bernard Spil
Modified: 2015-07-03 21:44 UTC (History)
0 users

See Also:


Attachments
svn diff for net-p2p/transmission-cli (2.10 KB, patch)
2015-04-15 09:01 UTC, Bernard Spil
no flags Details | Diff
Poudriere build log of net-p2p/transmission-daemon (37.52 KB, text/plain)
2015-04-15 09:01 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2014-02-23 13:30:00 UTC
The transmission-daemon binary depends on both libssl/libcrypto from base as well as on libssl/libcrypto via libcurl from ports when WITH_OPENSSL_PORT=yes is set

from readelf -a output
/usr/local/lib/libminiupnpc.so.9
/usr/local/lib/libevent-2.0.so.6
/usr/local/lib/libcurl.so.7
/usr/local/lib/libssl.so.7
/usr/local/lib/libcrypto.so.7
/lib/libz.so.6
/lib/libm.so.5
/lib/libthr.so.3
/lib/libc.so.7

# ldd /usr/local/bin/transmission-daemon
/usr/local/bin/transmission-daemon:
        libminiupnpc.so.9 => /usr/local/lib/libminiupnpc.so.9 (0x80088c000)
        libevent-2.0.so.6 => /usr/local/lib/event2/libevent-2.0.so.6 (0x800a96000)
        libcurl.so.7 => /usr/local/lib/libcurl.so.7 (0x800cd7000)
        libssl.so.7 => /usr/lib/libssl.so.7 (0x800f31000)
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x80119b000)
        libz.so.6 => /lib/libz.so.6 (0x801587000)
        libm.so.5 => /lib/libm.so.5 (0x80179c000)
        libthr.so.3 => /lib/libthr.so.3 (0x8019c2000)
        libc.so.7 => /lib/libc.so.7 (0x801be7000)
        libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801f82000)
        libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x8021e8000)

During make install it reports 
depends on libssl.so.8 -> found

How-To-Repeat: echo WITH_OPENSSL_PORT >> /etc/make.conf
portmaster net-p2p/transmission
Comment 1 Edwin Groothuis freebsd_committer 2014-02-23 13:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Chris Rees freebsd_committer 2014-02-28 20:20:26 UTC
State Changed
From-To: open->feedback

Sorry about that.  Please try the patch at 
http://www.bayofrum.net/~crees/patches/transmission-openssl.diff , and 
that may fix it.
Comment 3 Bernard Spil freebsd_committer 2015-04-15 09:01:16 UTC
Created attachment 155615 [details]
svn diff for net-p2p/transmission-cli

Reverse LDFLAGS and AM_LDFLAGS during build
Comment 4 Bernard Spil freebsd_committer 2015-04-15 09:01:43 UTC
Created attachment 155616 [details]
Poudriere build log of net-p2p/transmission-daemon
Comment 5 commit-hook freebsd_committer 2015-07-03 21:43:38 UTC
A commit references this bug:

Author: crees
Date: Fri Jul  3 21:43:14 UTC 2015
New revision: 391278
URL: https://svnweb.freebsd.org/changeset/ports/391278

Log:
  Don't depend on base OpenSSL when using WITH_OPENSSL_PORT.

  PR:		ports/186978
  Submitted by:	Bernard Spil

Changes:
  head/net-p2p/transmission-cli/files/patch-daemon_Makefile.in
  head/net-p2p/transmission-cli/files/patch-qt-mainwin.cc
Comment 6 Chris Rees freebsd_committer 2015-07-03 21:44:19 UTC
Thanks!  Sorry for the delay :/