ports/101750: [Maintainer Update] port security/lsh - fix build
Babak Farrokhi
babak at farrokhi.net
Thu Aug 10 10:40:18 UTC 2006
>Number: 101750
>Category: ports
>Synopsis: [Maintainer Update] port security/lsh - fix build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 10 10:40:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Babak Farrokhi
>Release: FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD 6.1-STABLE #0: Mon Jul 24 11:42:49 IRST 2006
root at starfish.datak.net:/usr/obj/usr/src/sys/STARFISH
>Description:
- Requires GCC 3.4+
- Add new patch
- respect CC and CFLAGS
- Bump PORTREVISION
>How-To-Repeat:
>Fix:
--- lsh.patch begins here ---
diff -ruN lsh.orig/Makefile lsh/Makefile
--- lsh.orig/Makefile Thu Aug 10 11:44:55 2006
+++ lsh/Makefile Thu Aug 10 13:47:51 2006
@@ -6,6 +6,7 @@
PORTNAME= lsh
PORTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ${MASTER_SITE_GNUPG} \
ftp://ftp.lysator.liu.se/pub/security/%SUBDIR%/
@@ -23,7 +24,9 @@
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_GCC= 3.4+
INSTALL_TARGET= install
+CONFIGURE_ENV= PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
diff -ruN lsh.orig/files/patch-nettle-openssl.c lsh/files/patch-nettle-openssl.c
--- /dev/null Thu Jan 1 03:30:00 1970
+++ lsh/files/patch-nettle-openssl.c Thu Aug 10 13:25:27 2006
@@ -0,0 +1,10 @@
+--- src/nettle/examples/nettle-openssl.c.orig Thu Aug 10 13:24:43 2006
++++ src/nettle/examples/nettle-openssl.c Thu Aug 10 13:24:53 2006
+@@ -36,6 +36,7 @@
+ #define OPENSSL_DISABLE_OLD_DES_SUPPORT
+
+ #include <assert.h>
++#include <stddef.h>
+
+ #include <openssl/aes.h>
+ #include <openssl/blowfish.h>
--- lsh.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list