[Bug 209400] www/nostromo [patch] fix build with libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 9 18:09:28 UTC 2016


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

            Bug ID: 209400
           Summary: www/nostromo [patch] fix build with libressl
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: loox at e-shell.net
          Keywords: patch

Created attachment 170150
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=170150&action=edit
libressl.diff

www/nostromo fails to build when using libressl


There is a typo in www/nostromo/files/patch-src-nhttpd-Makefile

The attached patch fixes it.


Also I would like to take care and feed this port (has no mantainer).


--- nhttpd ---
cc -O2 -pipe -O2 -msse3 -march=core2  -fstack-protector -fno-strict-aliasing
-O2 -msse3 -march=core2  -Wall -Wstrict-prototypes -I/usr/local/include
-std=gnu99 -Qunused-arguments  -fstack-protector    -Wl,-rpath,/usr/local/lib
-fstack-protector -o nhttpd main.o http.o sys.o -L../libmy -lmy -L -lssl
-lcrypto -lcrypt
main.o: In function `main':
main.c:(.text+0x1050): undefined reference to `SSL_load_error_strings'
main.c:(.text+0x1055): undefined reference to `SSL_library_init'
main.c:(.text+0x105a): undefined reference to `SSLv23_server_method'
main.c:(.text+0x1062): undefined reference to `SSL_CTX_new'
main.c:(.text+0x1080): undefined reference to `SSL_CTX_use_certificate_file'
main.c:(.text+0x109b): undefined reference to `SSL_CTX_use_PrivateKey_file'
main.c:(.text+0x10ac): undefined reference to `SSL_CTX_check_private_key'
main.c:(.text+0x1e59): undefined reference to `SSL_new'
main.c:(.text+0x1e6e): undefined reference to `SSL_set_fd'
main.c:(.text+0x2654): undefined reference to `SSL_accept'
main.c:(.text+0x2744): undefined reference to `SSL_get_error'
main.c:(.text+0x29be): undefined reference to `SSL_free'
sys.o: In function `sys_read_ssl':
sys.c:(.text+0x9dc): undefined reference to `SSL_read'
sys.c:(.text+0xa04): undefined reference to `SSL_get_error'
sys.o: In function `sys_write_ssl':
sys.c:(.text+0xcb0): undefined reference to `SSL_write'
sys.c:(.text+0xcd4): undefined reference to `SSL_get_error'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [nhttpd] Error code 1

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


More information about the freebsd-ports-bugs mailing list