pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pflkm Add detection for pf from OpenBSD 3.8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/146e3a29b218
branches: trunk
changeset: 503952:146e3a29b218
user: peter <peter%pkgsrc.org@localhost>
date: Fri Dec 02 12:23:45 2005 +0000
description:
Add detection for pf from OpenBSD 3.8.
diffstat:
security/pflkm/builtin.mk | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 9442ab7ce8ec -r 146e3a29b218 security/pflkm/builtin.mk
--- a/security/pflkm/builtin.mk Fri Dec 02 11:49:06 2005 +0000
+++ b/security/pflkm/builtin.mk Fri Dec 02 12:23:45 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.5 2005/06/23 19:32:43 peter Exp $
+# $NetBSD: builtin.mk,v 1.6 2005/12/02 12:23:45 peter Exp $
BUILTIN_PKG:= pflkm
@@ -13,14 +13,18 @@
.if !defined(PF_VERSION)
PF_VERSION= 3.7 # package default
. if exists(${H_PFLKM})
+# OpenBSD 3.8: pf_socket_lookup added
+_BLTN_PF_3_8!= ${GREP} -c pf_socket_lookup ${H_PFLKM} || ${TRUE}
# OpenBSD 3.7: pf_threshold added
_BLTN_PF_3_7!= ${GREP} -c pf_threshold ${H_PFLKM} || ${TRUE}
# OpenBSD 3.6: pf_cksum_fixup added
_BLTN_PF_3_6!= ${GREP} -c pf_cksum_fixup ${H_PFLKM} || ${TRUE}
-. if ${_BLTN_PF_3_7} == "1"
+. if ${_BLTN_PF_3_8} != "0"
+PF_VERSION= 3.8
+. elif ${_BLTN_PF_3_7} != "0"
PF_VERSION= 3.7
-. elif ${_BLTN_PF_3_6} == "1"
+. elif ${_BLTN_PF_3_6} != "0"
PF_VERSION= 3.6
. else
PF_VERSION= 3.5
@@ -47,7 +51,9 @@
###
.if !defined(BUILTIN_PKG.pflkm) && \
!empty(IS_BUILTIN.pflkm:M[yY][eE][sS])
-. if ${PF_VERSION} == "3.7"
+. if ${PF_VERSION} == "3.8"
+BUILTIN_PKG.pflkm= pflkm-20051101 # release date for PF API 3.8
+. elif ${PF_VERSION} == "3.7"
BUILTIN_PKG.pflkm= pflkm-20050519 # release date for PF API 3.7
. elif ${PF_VERSION} == "3.6"
BUILTIN_PKG.pflkm= pflkm-20041101 # release date for PF API 3.6
Home |
Main Index |
Thread Index |
Old Index