aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2013-09-25 20:02:05 +0000
committerAlex Kozlov <ak@FreeBSD.org>2013-09-25 20:02:05 +0000
commit89969bc18946ca53a5afed0ff9ab46a9f2dc2fe0 (patch)
tree4ce01cd35524cca52ab87211f5b142cf9317b0e7 /security
parent3c692b9e908e4bad482550361560988a6d0ffedf (diff)
downloadports-89969bc18946ca53a5afed0ff9ab46a9f2dc2fe0.tar.gz
ports-89969bc18946ca53a5afed0ff9ab46a9f2dc2fe0.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/dropbear/Makefile24
-rw-r--r--security/dropbear/pkg-descr8
2 files changed, 14 insertions, 18 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index 04ea09a4c9d6..b0c9a08b0d87 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -11,28 +11,23 @@ COMMENT= SSH 2 server, designed to be usable in small memory environments
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GMAKE= yes
+USES= gmake
USE_RC_SUBR= ${PORTNAME}
PLIST_FILES= bin/dbclient \
bin/dropbearkey \
bin/dropbearconvert \
- sbin/dropbear
+ sbin/dropbear \
+ man/man1/dbclient.1.gz \
+ man/man8/dropbear.8.gz \
+ man/man8/dropbearkey.8.gz
PLIST_DIRSTRY= etc/dropbear
-MAN1= dbclient.1
-MAN8= dropbear.8 dropbearkey.8
-
OPTIONS_DEFINE= STATIC
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC}
-LDFLAGS+= -static
-.endif
+STATIC_LDFLAGS= -static
post-patch:
@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
@@ -42,8 +37,9 @@ post-patch:
${WRKSRC}/libtomcrypt/Makefile.in
post-install:
- @${MKDIR} ${PREFIX}/etc/dropbear
- ${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
- ${INSTALL_MAN} ${MAN8:S|^|${WRKSRC}/|} ${MAN8PREFIX}/man/man8
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dropbear
+ ${INSTALL_MAN} ${WRKSRC}/dbclient.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKSRC}/dropbear.8 ${STAGEDIR}${MAN1PREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/dropbearkey.8 ${STAGEDIR}${MAN1PREFIX}/man/man8
.include <bsd.port.mk>
diff --git a/security/dropbear/pkg-descr b/security/dropbear/pkg-descr
index b46954afeac4..746b9f881bad 100644
--- a/security/dropbear/pkg-descr
+++ b/security/dropbear/pkg-descr
@@ -1,10 +1,10 @@
-Dropbear is an SSH 2 server, designed to be usable in small memory environments.
-It supports:
+Dropbear is an SSH 2 server, designed to be usable in small memory
+environments. It supports:
* Main features of SSH 2 protocol
- * Implements X11 forwarding, and authentication-agent forwarding
+ * Implements X11 forwarding, and authentication-agent forwarding
for OpenSSH clients
- * Compatible with OpenSSH ~/.ssh/authorized_keys public key
+ * Compatible with OpenSSH ~/.ssh/authorized_keys public key
authentication
WWW: http://matt.ucc.asn.au/dropbear/dropbear.html