Bug 199390

Summary: net/miniupnpd: properly link against ports OpenSSL/LibreSSL
Product: Ports & Packages Reporter: Franco Fichtner <franco>
Component: Individual Port(s)Assignee: Philip M. Gollucci <pgollucci>
Status: Closed FIXED    
Severity: Affects Only Me CC: brnrd, squat
Priority: --- Flags: bugzilla: maintainer-feedback? (squat)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 195796    
Attachments:
Description Flags
adds proper openssl includes/library path
none
svn diff for net/miniupnpd
none
Poudriere build log of net/miniupnpd none

Description Franco Fichtner 2015-04-12 08:39:30 UTC
Created attachment 155504 [details]
adds proper openssl includes/library path

Background: port links against base openssl, don't want that :)
Comment 1 Bernard Spil freebsd_committer freebsd_triage 2015-04-25 13:22:07 UTC
This needs more work...

Before patching
# readelf -d work/stage/usr/local/sbin/miniupnpd
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.7]

After patching
===>   miniupnpd-1.9_1,1 depends on file: /usr/local/lib/libcrypto.so.32 - found
readelf -d
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.7]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.7]
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2015-04-25 13:47:06 UTC
Created attachment 155975 [details]
svn diff for net/miniupnpd

Compilation of miniupnpd did not include the -L flag, attached patch solves that (and includes the original patch from Franco as well)
Comment 3 Bernard Spil freebsd_committer freebsd_triage 2015-04-25 13:48:29 UTC
Created attachment 155976 [details]
Poudriere build log of net/miniupnpd

From the log
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.32]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.32]
Comment 4 Franco Fichtner 2015-05-08 07:59:03 UTC
Thanks Bernard, works like a charm.  Will this go?  :)
Comment 5 Philip M. Gollucci freebsd_committer freebsd_triage 2015-06-26 20:27:31 UTC
Take.
Comment 6 Philip M. Gollucci freebsd_committer freebsd_triage 2015-06-27 03:36:23 UTC
Maintainer Timeout - 76 days (squat@squat.no)
Comment 7 commit-hook freebsd_committer freebsd_triage 2015-06-27 19:30:44 UTC
A commit references this bug:

Author: pgollucci
Date: Sat Jun 27 19:30:35 UTC 2015
New revision: 390722
URL: https://svnweb.freebsd.org/changeset/ports/390722

Log:
  net/miniupnpd: properly link against ports OpenSSL/LibreSSL

  PR:                  199390
  Submitted by:        franco@opnsense.org and brnrd@
  Approved by:         maintainer timeout (squat@squat.no ; 76 days)

Changes:
  head/net/miniupnpd/Makefile
  head/net/miniupnpd/files/patch-Makefile
Comment 8 Franco Fichtner 2015-06-28 08:48:14 UTC
Thanks guys! :)