aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-14 12:17:49 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-14 12:17:49 +0000
commit8a2878948398c9f8b6e8932dd922a93793577a96 (patch)
tree787d0e1d4031db9cbaffbdf71678c9cae2540dec /security
parentb0c64bb477fced838efcfebf24277ed8bbfcc2f3 (diff)
downloadports-8a2878948398c9f8b6e8932dd922a93793577a96.tar.gz
ports-8a2878948398c9f8b6e8932dd922a93793577a96.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/dropbear/Makefile3
-rw-r--r--security/dropbear/distinfo2
-rw-r--r--security/dropbear/files/patch-Makefile.in15
3 files changed, 12 insertions, 8 deletions
diff --git a/security/dropbear/Makefile b/security/dropbear/Makefile
index 4deb3f7d8449..f2fb66ad7c73 100644
--- a/security/dropbear/Makefile
+++ b/security/dropbear/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= dropbear
-PORTVERSION= 0.39
+PORTVERSION= 0.40
CATEGORIES= security ipv6
MASTER_SITES= http://matt.ucc.asn.au/dropbear/releases/
@@ -24,6 +24,7 @@ CONFIGURE_ENV= LDFLAGS=-static
post-patch:
@${REINPLACE_CMD} -e "s,_PRIV_FILENAME \"/etc/,_PRIV_FILENAME \"${PREFIX}/etc/,g; \
s,/usr/bin/X11/,${X11BASE}/,g" ${WRKSRC}/options.h
+ @${REINPLACE_CMD} -e "s,sys/dir.h,dirent.h," ${WRKSRC}/*.[ch]
@${SED} -e 's:__PREFIX__:${PREFIX}:g' \
${FILESDIR}/dropbear.sh > ${WRKSRC}/dropbear.sh
diff --git a/security/dropbear/distinfo b/security/dropbear/distinfo
index ea83850df155..b5147b2294a2 100644
--- a/security/dropbear/distinfo
+++ b/security/dropbear/distinfo
@@ -1 +1 @@
-MD5 (dropbear-0.39.tar.gz) = d3e9d34fc64905010d142f91b6a4386a
+MD5 (dropbear-0.40.tar.gz) = db0c91c645015a89bb5d6adbc5c9d7fc
diff --git a/security/dropbear/files/patch-Makefile.in b/security/dropbear/files/patch-Makefile.in
index ff9936e921dd..9f5847b89c4b 100644
--- a/security/dropbear/files/patch-Makefile.in
+++ b/security/dropbear/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig Tue Dec 16 06:14:06 2003
-+++ Makefile.in Tue Dec 16 10:57:36 2003
-@@ -53,15 +53,9 @@
+--- Makefile.in.old Tue Jan 13 12:42:39 2004
++++ Makefile.in Wed Jan 14 12:05:53 2004
+@@ -55,18 +55,9 @@
-$(STRIP) dropbearconvert
install: all
@@ -10,9 +10,12 @@
- $(INSTALL) -m 755 dropbearkey $(DESTDIR)$(bindir)
- $(INSTALL) -m 755 dropbearconvert $(DESTDIR)$(bindir)
- # chown might fail, so do it separately to the install
-- -chown root:root $(DESTDIR)$(sbindir)/dropbear
-- -chown root:root $(DESTDIR)$(bindir)/dropbearkey
-- -chown root:root $(DESTDIR)$(bindir)/dropbearconvert
+- -chown root $(DESTDIR)$(sbindir)/dropbear
+- -chgrp 0 $(DESTDIR)$(sbindir)/dropbear
+- -chown root $(DESTDIR)$(bindir)/dropbearkey
+- -chgrp 0 $(DESTDIR)$(bindir)/dropbearkey
+- -chown root $(DESTDIR)$(bindir)/dropbearconvert
+- -chgrp 0 $(DESTDIR)$(bindir)/dropbearconvert
+ $(BSD_INSTALL_PROGRAM) -m 755 dropbear $(DESTDIR)$(sbindir)
+ $(BSD_INSTALL_PROGRAM) -m 755 dropbearkey $(DESTDIR)$(bindir)
+ $(BSD_INSTALL_PROGRAM) -m 755 dropbearconvert $(DESTDIR)$(bindir)