[Bug 197073] net/libsrtp should not require WITH_OPENSSL_PORT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jan 25 18:23:47 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197073
Bug ID: 197073
Summary: net/libsrtp should not require WITH_OPENSSL_PORT
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mi at ALDAN.algebra.com
CC: alexander at brovikov.ru
CC: alexander at brovikov.ru
Flags: maintainer-feedback?(alexander at brovikov.ru)
Created attachment 152131
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152131&action=edit
Improve net/libsrtp, bump PORTREVISION
Maybe, the port's OpenSSL is required on older releases, but requiring it
unconditionally is a mistake -- the OpenSSL, that comes with FreeBSD-10.1, for
example, is sufficient.
The proposed patch removes the requirement and picks some other, lesser, nits:
1. Link the libsrtp.so with -lcrypto ITSELF -- instead of requiring all of
the library's users to link with -lcrypto.
2. Build the library's static objects (.o-files) without -fPIC, but use the
full
-DPIC -fPIC sequence for building the objects, that are used to build the
shared library (.So-files).
3. Build the shared library together with the rest -- in a single gmake-
invocation -- rather than in post-build.
4. Add the regression-test-target (aliased as "test", "check", and "runtest")
using the self-tests bundled with the library's sources.
Please, allow committing... Thank you!
--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer CC'd
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list