summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 20:37:33 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-18 20:37:33 +0000
commit0ddbd904085be1c4ea71386784effd852fa4d814 (patch)
treee1d9f71f1db822b5bb2c22c1928d3c4275a5b913 /security
parentFix the build with GCC 4.2 and thus unbreak. (diff)
- Fix the build with modern GCC [1]
- Kill teeny pkg-plist per portlint(1)
Notes
Notes: svn path=/head/; revision=193831
Diffstat (limited to 'security')
-rw-r--r--security/fressh/Makefile10
-rw-r--r--security/fressh/files/patch-crypto::ssh_crypto_openssl.c9
-rw-r--r--security/fressh/pkg-descr4
-rw-r--r--security/fressh/pkg-plist5
4 files changed, 16 insertions, 12 deletions
diff --git a/security/fressh/Makefile b/security/fressh/Makefile
index 585463cfc8aa..f37f61126d8e 100644
--- a/security/fressh/Makefile
+++ b/security/fressh/Makefile
@@ -17,11 +17,11 @@ COMMENT= A free rewritten implementation of the SSH communication protocol
USE_BZIP2= yes
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/fressh bin/fressh-add bin/fressh-agent \
+ bin/fressh-keygen sbin/fresshd
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e '117s,^static ,,' ${WRKSRC}/sshd_main.c
.if !exists(/usr/lib/libssl.a) || !exists(/usr/lib/libcrypto.a)
.if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
@@ -36,4 +36,4 @@ RSAGLUE+= -lRSAglue
.endif
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/fressh/files/patch-crypto::ssh_crypto_openssl.c b/security/fressh/files/patch-crypto::ssh_crypto_openssl.c
index a992a2d8910a..501263d3994c 100644
--- a/security/fressh/files/patch-crypto::ssh_crypto_openssl.c
+++ b/security/fressh/files/patch-crypto::ssh_crypto_openssl.c
@@ -14,3 +14,12 @@ $FreeBSD$
#include <openssl/opensslv.h>
+@@ -183,7 +183,7 @@
+ new_bn = BN_bin2bn(data, bytes, &((*num)->num));
+ if (new_bn == NULL)
+ return (-1);
+- (BIGNUM *) * num = new_bn;
++ *num = (BIGNUM *) new_bn;
+ return (0);
+ }
+
diff --git a/security/fressh/pkg-descr b/security/fressh/pkg-descr
index 6d4fdd87c416..ac86af86dcbc 100644
--- a/security/fressh/pkg-descr
+++ b/security/fressh/pkg-descr
@@ -1,8 +1,8 @@
-FreSSH is a free implementation of the SSH communication protocol.
+FreSSH is a free implementation of the SSH communication protocol.
It is compact, modular, portable, and designed for security and
performance. It is a completely new implementation. Unlike various
other SSH implementations already available for Unix, it does not
-trace its ancestry to the original SSH code written by Tatu Ylonen.
+trace its ancestry to the original SSH code written by Tatu Ylonen.
FreSSH currently implements SSH protocol version 1.5, with extensions
which offer enhanced security when both sides of a connection are
running FreSSH.
diff --git a/security/fressh/pkg-plist b/security/fressh/pkg-plist
deleted file mode 100644
index 338abda8a235..000000000000
--- a/security/fressh/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/fressh
-bin/fressh-add
-bin/fressh-agent
-bin/fressh-keygen
-sbin/fresshd