Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 May 2016 18:09:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 209400] www/nostromo [patch] fix build with libressl
Message-ID:  <bug-209400-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209400

            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@FreeBSD.org
          Reporter: loox@e-shell.net
          Keywords: patch

Created attachment 170150
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D170150&action=
=3Dedit
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=3Dcore2  -fstack-protector -fno-strict-alias=
ing
-O2 -msse3 -march=3Dcore2  -Wall -Wstrict-prototypes -I/usr/local/include
-std=3Dgnu99 -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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209400-13>