aboutsummaryrefslogtreecommitdiffstats
path: root/net/nbd-server/Makefile
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2005-12-23 05:02:12 +0800
committererwin <erwin@FreeBSD.org>2005-12-23 05:02:12 +0800
commitd0e2ac9aeac155578eb7d4f9e1d0f91655989ccf (patch)
treef293014e1ac1e08f0240dc165b3a514a2d1bf6a9 /net/nbd-server/Makefile
parent0c8b4542e0ce4f684c11e17ea81e497c956ecf32 (diff)
downloadfreebsd-ports-gnome-d0e2ac9aeac155578eb7d4f9e1d0f91655989ccf.tar.gz
freebsd-ports-gnome-d0e2ac9aeac155578eb7d4f9e1d0f91655989ccf.tar.zst
freebsd-ports-gnome-d0e2ac9aeac155578eb7d4f9e1d0f91655989ccf.zip
The attached patch fixes a buffer overflow vulnerability and fixes building on
FreeBSD 7.0. Furthermore nbd.h has been updated to a version from a newer Linux kernel. Requested by: remko
Diffstat (limited to 'net/nbd-server/Makefile')
-rw-r--r--net/nbd-server/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/net/nbd-server/Makefile b/net/nbd-server/Makefile
index 9bcc6cdd991b..7ae01e820816 100644
--- a/net/nbd-server/Makefile
+++ b/net/nbd-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nbd-server
PORTVERSION= 2.8.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nbd
@@ -25,13 +26,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --enable-lfs --enable-syslog
PLIST_FILES= bin/nbd-server
MAN1= nbd-server.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700000
-BROKEN= "GCC fails on FreeBSD >= 7.0"
-.endif
-
post-extract:
@${CP} ${FILESDIR}/nbd.h ${WRKSRC}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>