Update to 0.7
PR: 115978 Submitted by: VANHULLEBUS Yvan <vanhu@netasq.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
# - $LOCALBASE/sbin/setkey Vs /usr/sbin/setkey
|
||||
|
||||
PORTNAME= ipsec-tools
|
||||
PORTVERSION= 0.6.7
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MD5 (ipsec-tools-0.6.7.tar.bz2) = 4fb764f282dc21cf9a656c58e13dacbb
|
||||
SHA256 (ipsec-tools-0.6.7.tar.bz2) = 4239f836dc610a2443ded7ba35cb3b87de9d582c800e5d9eb5eed37defd61ef2
|
||||
SIZE (ipsec-tools-0.6.7.tar.bz2) = 723032
|
||||
MD5 (ipsec-tools-0.7.tar.bz2) = c0a586924edde35264ecfe94ad1c261f
|
||||
SHA256 (ipsec-tools-0.7.tar.bz2) = e99919b0ffcd86e10775ef039c340b50e45d6a4169a8465263c86b62addf0ff4
|
||||
SIZE (ipsec-tools-0.7.tar.bz2) = 645146
|
||||
|
||||
@@ -72,6 +72,6 @@
|
||||
+ LIBS="$LIBS -liconv"
|
||||
+fi
|
||||
+
|
||||
echo "$as_me:$LINENO: checking if iconv second argument needs const" >&5
|
||||
echo $ECHO_N "checking if iconv second argument needs const... $ECHO_C" >&6
|
||||
{ echo "$as_me:$LINENO: checking if iconv second argument needs const" >&5
|
||||
echo $ECHO_N "checking if iconv second argument needs const... $ECHO_C" >&6; }
|
||||
saved_CFLAGS=$CFLAGS
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- ./src/racoon/eaytest.c.orig Wed Jun 6 01:07:11 2007
|
||||
+++ ./src/racoon/eaytest.c Wed Jun 6 01:07:22 2007
|
||||
@@ -311,7 +311,7 @@
|
||||
|
||||
printf("exact match: succeed.\n");
|
||||
|
||||
- if (dnstr_w1) {
|
||||
+ if (dnstr_w1 != NULL) {
|
||||
asn1dn = eay_str2asn1dn(dnstr_w1, strlen(dnstr_w1));
|
||||
if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
|
||||
errx(1, "asn1dn length wrong for wildcard 1\n");
|
||||
@@ -321,7 +321,7 @@
|
||||
printf("wildcard 1 match: succeed.\n");
|
||||
}
|
||||
|
||||
- if (dnstr_w1) {
|
||||
+ if (dnstr_w1 != NULL) {
|
||||
asn1dn = eay_str2asn1dn(dnstr_w2, strlen(dnstr_w2));
|
||||
if (asn1dn == NULL || asn1dn->l == asn1dn0.l)
|
||||
errx(1, "asn1dn length wrong for wildcard 2\n");
|
||||
@@ -1,11 +0,0 @@
|
||||
--- ./src/racoon/plog.c.orig Wed Dec 7 18:19:51 2005
|
||||
+++ ./src/racoon/plog.c Wed Jun 6 00:49:18 2007
|
||||
@@ -224,7 +224,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- openlog(pname, LOG_NDELAY, LOG_DAEMON);
|
||||
+ openlog(pname, LOG_NDELAY, LOG_SECURITY);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1,23 +0,0 @@
|
||||
--- ./src/racoon/var.h.orig Wed Jun 6 01:06:51 2007
|
||||
+++ ./src/racoon/var.h Wed Jun 6 01:07:00 2007
|
||||
@@ -76,9 +76,9 @@
|
||||
do { \
|
||||
if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), (z), sizeof(z), \
|
||||
NIFLAGS) != 0) { \
|
||||
- if (y) \
|
||||
+ if (y != NULL) \
|
||||
strncpy((y), "(invalid)", sizeof(y)); \
|
||||
- if (z) \
|
||||
+ if (z != NULL) \
|
||||
strncpy((z), "(invalid)", sizeof(z)); \
|
||||
} \
|
||||
} while (0);
|
||||
@@ -87,7 +87,7 @@
|
||||
do { \
|
||||
if (getnameinfo((x), sysdep_sa_len(x), (y), sizeof(y), NULL, 0, \
|
||||
NIFLAGS) != 0) { \
|
||||
- if (y) \
|
||||
+ if (y != NULL) \
|
||||
strncpy((y), "(invalid)", sizeof(y)); \
|
||||
} \
|
||||
} while (0);
|
||||
Reference in New Issue
Block a user