Bug 198791 - net/mpd5: didn't compile on latest -current (since insecure SSLv2 was disabled in base OpenSSL)
Summary: net/mpd5: didn't compile on latest -current (since insecure SSLv2 was disable...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Alexander Motin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-22 14:11 UTC by olivier
Modified: 2015-03-23 21:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olivier 2015-03-22 14:11:44 UTC
On -current (since r280306), net/mpd5 failed to compile with this error:

cc -O2 -pipe  -DNO_IDEA -fstack-protector -fno-strict-aliasing   -DPROTO_NAME_LIST -DUSE_WRAP -DUSE_PAM -DUSE_SYSTEM -DPATH_CONF_DIR=\"/usr/local/etc/mpd5\" -DSYSLOG_FACILITY=LOG_DAEMON -DMPD_VERSION='"5.7 (root@orange.bsdrp.net 12:17 22-Mar-2015)"' -g -Wall  -Wcast-align  -Wchar-subscripts  -Wformat  -Winline  -Wmissing-declarations  -Wmissing-prototypes  -Wnested-externs  -Wpointer-arith  -Wwrite-strings  -pthread  -I/usr/local/include -DNOLIBPDEL -I./contrib/libpdel -DPHYSTYPE_MODEM -DPHYSTYPE_UDP -DPHYSTYPE_TCP -DPHYSTYPE_NG_SOCKET -DPHYSTYPE_PPTP -DRANDOMIZE_CID -DPHYSTYPE_PPPOE -DPHYSTYPE_L2TP -DCCP_DEFLATE -DUSE_NG_DEFLATE -DCCP_MPPC -DUSE_NG_MPPC -DCCP_PRED1 -DUSE_NG_PRED1 -DECP_DES -DUSE_NG_BPF -DUSE_NG_CAR -DUSE_NG_IPACCT -DUSE_NG_NAT -DUSE_NG_NETFLOW -DUSE_NG_TCPMSS -DUSE_NG_VJC -DUSE_IPFW -DUSE_FETCH -std=gnu99 -fstack-protector   -Qunused-arguments  -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector -o mpd5 modem.o chat.o udp.o tcp.o ng.o pptp.o pptp_ctrl.o pppoe.o l2tp.o l2tp_avp.o l2tp_ctrl.o ccp_deflate.o ccp_mppc.o ccp_pred1.o ecp_dese.o ecp_dese_bis.o nat.o assert.o auth.o bund.o rep.o ccp.o chap.o console.o command.o ecp.o event.o fsm.o iface.o input.o ip.o ipcp.o ipv6cp.o lcp.o link.o log.o main.o mbuf.o mp.o msg.o ngfunc.o pap.o phys.o proto.o radius.o radsrv.o timer.o util.o vars.o eap.o msoft.o ippool.o web.o typed_mem.o pevent.o paction.o ghash.o gtree.o mesg_port.o structs.o structs_generic.o structs_type_array.o structs_type_int.o structs_type_string.o structs_type_struct.o http_connection.o http_head.o http_message.o http_mime.o http_request.o http_response.o http_server.o http_servlet_basicauth.o http_ssl.o http_status.o boundary_fp.o ssl_fp.o string_fp.o timeout_fp.o -lwrap -lpam -lcrypt -lnetgraph -lutil -L/usr/lib -lradius -lssl -lpcap -lfetch -lcrypto
http_server.o: In function `http_server_start':
/usr/workdir/usr/ports/net/mpd5/work/mpd-5.7/src/contrib/libpdel/http/http_server.c:200: undefined reference to `SSLv2_server_method'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [mpd5] Error code 1

make[2]: stopped in /usr/workdir/usr/ports/net/mpd5/work/mpd-5.7/src
1 error
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-23 21:10:05 UTC
A commit references this bug:

Author: dim
Date: Mon Mar 23 21:09:49 UTC 2015
New revision: 382043
URL: https://svnweb.freebsd.org/changeset/ports/382043

Log:
  Fix build of net/mpd5, after SSLv2 was disabled in base.

  Approved by:	portmgr (bdrewery)
  PR:		198791

Changes:
  head/net/mpd5/files/patch-src__contrib__libpdel__http__http_server.c
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2015-03-23 21:11:03 UTC
Should be fixed now, please open a new PR if you see any unexpected things at runtime due to this fix. :)