aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/isakmpd/Makefile9
-rw-r--r--security/isakmpd/distinfo2
-rw-r--r--security/isakmpd/files/patch-sysdep-os.h14
3 files changed, 17 insertions, 8 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index 9cea49d06f00..b927d822e424 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -9,20 +9,15 @@
#
PORTNAME= isakmpd
-PORTVERSION= 20020403
-PORTREVISION= 1
+PORTVERSION= 20021118
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_NETBSD}
MASTER_SITE_SUBDIR= LOCAL_PORTS
-PATCH_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/patches/3.1/common/
-PATCHFILES= 010_isakmpd.patch
-PATCH_DIST_STRIP= -p2
+MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
-MAINTAINER= ports@FreeBSD.org
-
# this is not compatible with cross build - there's no other way
.if !exists(/usr/include/netinet6/ipsec.h)
BROKEN= "requires IPsec support"
diff --git a/security/isakmpd/distinfo b/security/isakmpd/distinfo
index 956e6df19223..cf2a4cb419fa 100644
--- a/security/isakmpd/distinfo
+++ b/security/isakmpd/distinfo
@@ -1,2 +1,2 @@
-MD5 (isakmpd-20020403.tar.gz) = 9ef2ee1fcf682696c33e61ba94576091
+MD5 (isakmpd-20021118.tar.gz) = d48318144623fa1484edaf24e660205f
MD5 (010_isakmpd.patch) = b2f2a29ab1db1a31f32e14073bf5d51b
diff --git a/security/isakmpd/files/patch-sysdep-os.h b/security/isakmpd/files/patch-sysdep-os.h
new file mode 100644
index 000000000000..861ea6549485
--- /dev/null
+++ b/security/isakmpd/files/patch-sysdep-os.h
@@ -0,0 +1,14 @@
+--- sysdep/freebsd/sysdep-os.h~ Fri Jan 25 14:55:21 2002
++++ sysdep/freebsd/sysdep-os.h Tue Nov 26 14:40:03 2002
+@@ -81,4 +81,11 @@
+ }
+ #endif
+
++#ifndef CPI_RESERVED_MAX
++#define CPI_RESERVED_MIN 1
++#define CPI_RESERVED_MAX 255
++#define CPI_PRIVATE_MIN 61440
++#define CPI_PRIVATE_MAX 65536
++#endif
++
+ #endif /* _SYSDEP_OS_H_ */