Bug 199732 - ftp/pure-ftpd not honoring WITH_OPENSSL_PORT=yes under FreeBSD 10?
Summary: ftp/pure-ftpd not honoring WITH_OPENSSL_PORT=yes under FreeBSD 10?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 12:59 UTC by FiLiS
Modified: 2015-05-03 19:42 UTC (History)
0 users

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


Attachments
pure-ftpd.diff (721 bytes, patch)
2015-05-03 11:48 UTC, Po-Chuan Hsieh
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description FiLiS 2015-04-27 12:59:06 UTC
It seems, ftp/pure-ftpd suffers from the same problem, www/apache22 had (see https://lists.freebsd.org/pipermail/freebsd-apache/2014-April/003483.html). Building with WITH_OPENSSL_PORT=yes works as expected on FreeBSD 9.x:

/usr/local/sbin/pure-ftpd:
	libmysqlclient.so.18 => /usr/local/lib/mysql/libmysqlclient.so.18 (0x801240000)
	libz.so.6 => /lib/libz.so.6 (0x80177f000)
	libm.so.5 => /lib/libm.so.5 (0x801993000)
	libssl.so.8 => /usr/local/lib/libssl.so.8 (0x801bb4000)
	libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x801e26000)
	libsodium.so.13 => /usr/local/lib/libsodium.so.13 (0x80224e000)
	libcrypt.so.5 => /lib/libcrypt.so.5 (0x8024af000)
	libthr.so.3 => /lib/libthr.so.3 (0x8026ce000)
	libc.so.7 => /lib/libc.so.7 (0x80081a000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x8028f0000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x802c00000)

but it uses the libraries from base when built on 10:

/usr/local/sbin/pure-ftpd:
	libmysqlclient.so.18 => /usr/local/lib/mysql/libmysqlclient.so.18 (0x801644000)
	libm.so.5 => /lib/libm.so.5 (0x801c23000)
	libssl.so.7 => /usr/lib/libssl.so.7 (0x801e4b000)
	libcrypto.so.7 => /lib/libcrypto.so.7 (0x8020b6000)
	libz.so.6 => /lib/libz.so.6 (0x8024aa000)
	libsodium.so.13 => /usr/local/lib/libsodium.so.13 (0x8026c0000)
	libcrypt.so.5 => /lib/libcrypt.so.5 (0x80291c000)
	libpam.so.5 => /usr/lib/libpam.so.5 (0x802b3c000)
	libthr.so.3 => /lib/libthr.so.3 (0x802d48000)
	libc.so.7 => /lib/libc.so.7 (0x80081f000)
	libc++.so.1 => /usr/lib/libc++.so.1 (0x802f6d000)
	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x80322d000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x803449000)
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-05-03 11:48:13 UTC
Created attachment 156273 [details]
pure-ftpd.diff
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-05-03 11:48:47 UTC
Please check if the patch works for you. Thanks!
Comment 3 FiLiS 2015-05-03 17:27:23 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment #2)

it works fine, it also builds as expected with 

OPENSSL_PORT=security/libressl

:-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-05-03 19:41:14 UTC
A commit references this bug:

Author: sunpoet
Date: Sun May  3 19:40:35 UTC 2015
New revision: 385340
URL: https://svnweb.freebsd.org/changeset/ports/385340

Log:
  - Use USE_OPENSSL

  PR:		199732
  Submitted by:	Philip Jocks <freebsdbugs@filis.org>

Changes:
  head/ftp/pure-ftpd/Makefile
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2015-05-03 19:42:33 UTC
Committed. Thanks!