Compiling security/dropbear (dropbear-0.53.1) with WITH_STATIC enabled fails with the following error: cc -static -o dropbear dbutil.o buffer.o dss.o bignum.o signkey.o rsa.o random.o queue.o atomicio.o compat.o fake-rfc2553.o common-session.o packet.o common-algo.o common-kex.o common-channel.o common-chansession.o termcodes.o loginrec.o tcp-accept.o listener.o process-packet.o common-runopts.o circbuffer.o -lcrypt svr-kex.o svr-algo.o svr-auth.o sshpty.o svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o svr-tcpfwd.o svr-authpam.o libtomcrypt/libtomcrypt.a libtommath/libtommath.a -lutil -lz svr-authpasswd.o(.text+0x91): In function `svr_auth_password': : undefined reference to `crypt' gmake: *** [dropbear] Error 1 *** Error code 1 Stop in /usr/ports/security/dropbear. *** Error code 1 Stop in /usr/ports/security/dropbear. The error happens on Fix: Don't enable the "Build statically" flag, and dropbear will build just fine. How-To-Repeat: cd /usr/ports/security/dropbear make config - enable "Build statically" make install
Maintainer of security/dropbear, Please note that PR ports/163217 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/163217 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Hi, Mattia Please try this patch. -- Adios
State Changed From-To: feedback->open feedback / maintainer timeout
State Changed From-To: open->feedback still waiting for feedback
Responsible Changed From-To: freebsd-ports-bugs->scheidell Alex: do you want someone to commit this patch?
On 27 December 2011 14:53, <scheidell@freebsd.org> wrote: > Synopsis: security/dropbear does not compile if WITH_STATIC is enabled > > Responsible-Changed-From-To: freebsd-ports-bugs->scheidell > Responsible-Changed-By: scheidell > Responsible-Changed-When: Tue Dec 27 14:52:45 UTC 2011 > Responsible-Changed-Why: > Alex: =A0do you want someone to commit this patch? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D163217 Please don't add a PORTEPOCH for this... there's no need! Chris
On Tue, 27 Dec 2011 15:01:55 +0000, <crees@freebsd.org> wrote: >> Synopsis: security/dropbear does not compile if WITH_STATIC is enabled >> >> Responsible-Changed-From-To: freebsd-ports-bugs->scheidell >> Responsible-Changed-By: scheidell >> Responsible-Changed-When: Tue Dec 27 14:52:45 UTC 2011 >> Responsible-Changed-Why: >> Alex: do you want someone to commit this patch? Of course. Thanks. Please also check ports/163539. > Please don't add a PORTEPOCH for this... there's no need! You're right, despite the change of numbering scheme pkg_version/portmaster detects update just fine, so there is no need for PORTEPOCH. -- Adios
State Changed From-To: feedback->closed Committed, Thanks.
scheidell 2011-12-27 23:10:11 UTC FreeBSD ports repository Modified files: security/dropbear Makefile distinfo Log: - Fix compile if WITH_STATIC is enabled [1] - Also pr ports/163593, which is a duplicate of this one. root@42.org [2] PR: ports/163217 Submitted by: Mattia Rossi <mrossi@swin.edu.au> [1], root@42.org [2] Approved by: spam@rm-rf.kiev.ua (maintainer), gabor (mentor) Revision Changes Path 1.25 +1 -1 ports/security/dropbear/Makefile 1.18 +2 -2 ports/security/dropbear/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"