Bug 57188 - [update] security/dropbear: Update to 0.37
Summary: [update] security/dropbear: Update to 0.37
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-24 19:40 UTC by Clement Laforet
Modified: 2003-09-25 11:23 UTC (History)
1 user (show)

See Also:


Attachments
dropbear.diff (887 bytes, patch)
2003-09-24 19:40 UTC, Clement Laforet
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Clement Laforet 2003-09-24 19:40:26 UTC
		Update dropbear SSH server to 0.37

How-To-Repeat: 	N/A.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-09-25 10:27:42 UTC
State Changed
From-To: open->feedback

Please fix it on -stable: 

In file included from main.c:25: 
includes.h:124: conflicting types for `socklen_t' 
/usr/include/sys/socket.h:54: previous declaration of `socklen_t' 
main.c: In function `sigchld_handler': 
main.c:244: warning: unused parameter `fish' 
main.c: In function `sigsegv_handler': 
main.c:257: warning: unused parameter `fish' 
main.c: In function `sigintterm_handler': 
main.c:264: warning: unused parameter `fish' 
gmake: *** [main.o] Error 1 
*** Error code 2
Comment 2 Clement Laforet 2003-09-25 11:04:00 UTC
Fix on -STABLE.
In all case, remove typedef int socklen_t since configure failed to detect it under -STABLE.

Pointed out by: krion.

--- Makefile.orig	Thu Sep 25 11:57:07 2003
+++ Makefile	Thu Sep 25 11:52:22 2003
@@ -26,6 +26,7 @@
 post-configure:
 	@${REINPLACE_CMD} -e "s,/etc/,${PREFIX}/etc/,g" ${WRKSRC}/options.h
 	@${REINPLACE_CMD} -e "s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h
+	@${REINPLACE_CMD} -e "s,^typedef int socklen_t,//typedef int socklen_t," ${WRKSRC}/includes.h
 
 do-install:
 .for bin in ${BIN}
Comment 3 Kirill Ponomarev freebsd_committer freebsd_triage 2003-09-25 11:23:09 UTC
State Changed
From-To: feedback->closed

Committed, thanks!