Bug 200557 - [patch] make www/links1 obey WITH_OPENSSL_PORT=yes
Summary: [patch] make www/links1 obey WITH_OPENSSL_PORT=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-05-31 22:43 UTC by Don Lewis
Modified: 2015-06-01 18:02 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (demon)


Attachments
patch to make www/links1 obey WITH_OPENSSL_PORT=yes (272 bytes, patch)
2015-05-31 22:43 UTC, Don Lewis
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Don Lewis freebsd_committer freebsd_triage 2015-05-31 22:43:15 UTC
Created attachment 157317 [details]
patch to make www/links1 obey WITH_OPENSSL_PORT=yes

If www/links1 is built with WITH_OPENSSL_PORT=yes in /etc/make.conf, the package says that it depends on OPENSSL_PORT, but the links executable is actually linked to libcrypto.so and libssl.so from base.

Before patch:

% ldd /usr/local/bin/links
/usr/local/bin/links:
	libssl.so.6 => /usr/lib/libssl.so.6 (0x33d2b000)
	libcrypto.so.6 => /lib/libcrypto.so.6 (0x33d77000)
	libz.so.5 => /lib/libz.so.5 (0x33ed3000)
	libc.so.7 => /lib/libc.so.7 (0x33ee5000)

After patch:

% ldd /usr/local/bin/links
/usr/local/bin/links:
	libssl.so.8 => /usr/local/lib/libssl.so.8 (0x33d2b000)
	libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x33d8d000)
	libz.so.5 => /lib/libz.so.5 (0x33f1b000)
	libc.so.7 => /lib/libc.so.7 (0x33f2d000)
	libthr.so.3 => /lib/libthr.so.3 (0x34049000)
Comment 1 Dmitry Sivachenko freebsd_committer freebsd_triage 2015-06-01 12:31:23 UTC
Looks fine, please commit.

Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-06-01 18:02:21 UTC
A commit references this bug:

Author: truckman
Date: Mon Jun  1 18:01:55 UTC 2015
New revision: 388242
URL: https://svnweb.freebsd.org/changeset/ports/388242

Log:
  Obey WITH_OPENSSL_PORT=yes and actually link to the ports openssl library.

  PR:		200557
  Approved by:	demon (maintainer)

Changes:
  head/www/links1/Makefile