[Bug 215047] www/uwsgi: Support OpenSSL properly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 4 17:18:31 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215047

            Bug ID: 215047
           Summary: www/uwsgi: Support OpenSSL properly
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon at FreeBSD.org
          Reporter: m.r.sopacua at gmail.com
             Flags: maintainer-feedback?(demon at FreeBSD.org)
          Assignee: demon at FreeBSD.org

Following up on github bug #1395:

The uwsgi port isn't setup to work with SSL correctly. If two API-incompatible
versions are installed (in base and from ports) linking/building goes rather
badly.
To prepare uwsgi for building against other SSL libraries, I'd appreciate the
following patch to the Makefile:

--- www/uwsgi/Makefile.orig
+++ www/uwsgi/Makefile
@@ -12,7 +12,7 @@ COMMENT= Developer-friendly WSGI server which uses uwsgi
proto
 LICENSE=   GPLv2
 LICENSE_FILE= ${WRKSRC}/LICENSE

-USES=      python
+USES=      python ssl
 USE_PYTHON=   distutils
 USE_RC_SUBR=  uwsgi

@@ -43,6 +43,8 @@ O_XML=      libxml2
 O_XML=     false
 .endif

+CFLAGS+=   -I${OPENSSLINC}
+LDFLAGS+=  ${OPENSSL_LDFLAGS}
 MAKE_ENV+= CPUCOUNT=${MAKE_JOBS_NUMBER} UWSGI_EMBED_PLUGINS=cgi

 PYSETUP=         uwsgiconfig.py

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list