aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2007-03-18 17:51:18 +0000
committerClement Laforet <clement@FreeBSD.org>2007-03-18 17:51:18 +0000
commit96e764fe75599fe4a209449dbead3e29b76d1316 (patch)
treeddee01a706112fea9d0ca0ca95fdf3738b2a34a7
parente6d1bd97eaa717364d19496c18e5ffa56b7808d1 (diff)
downloadports-96e764fe75599fe4a209449dbead3e29b76d1316.tar.gz
ports-96e764fe75599fe4a209449dbead3e29b76d1316.zip
Notes
-rw-r--r--security/dropbear/Makefile20
-rw-r--r--security/dropbear/distinfo6
2 files changed, 17 insertions, 9 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index 2518387b1993..910f6fa5d90a 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= dropbear
-PORTVERSION= 0.48.1
+PORTVERSION= 0.49
CATEGORIES= security ipv6
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/
-MAINTAINER= clement@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= An SSH 2 server, designed to be usable in small memory environments
GNU_CONFIGURE= YES
USE_GMAKE= YES
-.if defined(WANT_STATIC)
+OPTIONS= STATIC "Build statically" off \
+
+.include <bsd.port.pre.mk>
+
+.if defined(WANT_STATIC) || defined(WITH_STATIC)
CONFIGURE_ENV= LDFLAGS=-static
.endif
@@ -32,13 +36,17 @@ post-patch:
post-install:
@${MKDIR} ${PREFIX}/etc/dropbear
@${ECHO_MSG} ""
+.if defined(WANT_STATIC)
+ @${ECHO_MSG} " WARNING: deprecated option WANT_STATIC used, use 'make config' instead"
+ @${ECHO_MSG} ""
+.endif
@${INSTALL_SCRIPT} ${WRKSRC}/dropbear.sh ${PREFIX}/etc/rc.d/dropbear.sh.sample
@${ECHO_MSG} " Now you have to create your SSH host key."
@${ECHO_MSG} ""
@${ECHO_MSG} " To create RSA key:"
- @${ECHO_MSG} " ${PREFIX}/sbin/dropbearkey -t rsa -f ${PREFIX}/etc/dropbear/dropbear_rsa_host_key"
+ @${ECHO_MSG} " ${PREFIX}/bin/dropbearkey -t rsa -f ${PREFIX}/etc/dropbear/dropbear_rsa_host_key"
@${ECHO_MSG} ""
- @${ECHO_MSG} " For more details, run ${PREFIX}/sbin/dropbearkey -h"
+ @${ECHO_MSG} " For more details, run ${PREFIX}/bin/dropbearkey -h"
@${ECHO_MSG} ""
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo
index 5b48f4f45a75..3d909f8d1ad6 100644
--- a/security/dropbear/distinfo
+++ b/security/dropbear/distinfo
@@ -1,3 +1,3 @@
-MD5 (dropbear-0.48.1.tar.gz) = ca8e53a766faec831882831364568421
-SHA256 (dropbear-0.48.1.tar.gz) = fa6c3567e293fa0aa249db695b9d5e43ef3f8c11bab74a9b42acc9a0a5c96742
-SIZE (dropbear-0.48.1.tar.gz) = 1473114
+MD5 (dropbear-0.49.tar.gz) = 7b20c85f1ee34f018a1b948eae003df9
+SHA256 (dropbear-0.49.tar.gz) = 152f87b4fbfe3976c0409fb9e0812af17c9aa0907b04549604110c05248f810f
+SIZE (dropbear-0.49.tar.gz) = 1764444