summaryrefslogtreecommitdiff
path: root/net/v6eval/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/v6eval/files')
-rw-r--r--net/v6eval/files/patch-Bpfilter.h11
-rw-r--r--net/v6eval/files/patch-McIKE.h11
-rw-r--r--net/v6eval/files/patch-MvFunction.cc10
-rw-r--r--net/v6eval/files/patch-RAFControl.h11
-rw-r--r--net/v6eval/files/patch-hmac.c11
-rw-r--r--net/v6eval/files/patch-lib_Cm_BtObject.cc10
-rw-r--r--net/v6eval/files/patch-lib_Cm_CmMain.cc23
-rw-r--r--net/v6eval/files/patch-sigcomp.c11
-rw-r--r--net/v6eval/files/patch-x509dec.c18
-rw-r--r--net/v6eval/files/pkg-message.in5
10 files changed, 121 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-Bpfilter.h b/net/v6eval/files/patch-Bpfilter.h
new file mode 100644
index 000000000000..4f56ee46dbf5
--- /dev/null
+++ b/net/v6eval/files/patch-Bpfilter.h
@@ -0,0 +1,11 @@
+--- lib/pkt/Bpfilter.h 2001-10-05 20:41:19.000000000 +0900
++++ lib/pkt/Bpfilter.h 2008-01-01 04:50:29.000000000 +0900
+@@ -62,7 +62,7 @@ public:
+ int statistics(uint32_t&,uint32_t&) const;
+ int receive(caddr_t) const;
+ int send(caddr_t,uint32_t) const;
+- uint32_t Bpfilter::getDLT() const;
++ uint32_t getDLT() const;
+ };
+ inline int Bpfilter::fileDesc() const {return fd_;}
+ inline uint32_t Bpfilter::bufferSize() const {return bufsize_;}
diff --git a/net/v6eval/files/patch-McIKE.h b/net/v6eval/files/patch-McIKE.h
new file mode 100644
index 000000000000..7cbe4a97943f
--- /dev/null
+++ b/net/v6eval/files/patch-McIKE.h
@@ -0,0 +1,11 @@
+--- lib/Pz/McIKE.h 2005-05-09 18:35:23.000000000 +0900
++++ lib/Pz/McIKE.h 2008-01-01 04:36:34.000000000 +0900
+@@ -397,7 +397,7 @@ class WmISAKMP_Padding: public WmObject
+
+ class PaISAKMP: public PaESP {
+ public:
+- PaISAKMP::PaISAKMP(const MObject *m, CSTR st, int l):
++ PaISAKMP(const MObject *m, CSTR st, int l):
+ PaESP(m, st, l) {};
+ virtual ~PaISAKMP() {}
+
diff --git a/net/v6eval/files/patch-MvFunction.cc b/net/v6eval/files/patch-MvFunction.cc
new file mode 100644
index 000000000000..f9924132c1b0
--- /dev/null
+++ b/net/v6eval/files/patch-MvFunction.cc
@@ -0,0 +1,10 @@
+--- lib/Pz/MvFunction.cc 2005-05-09 18:35:24.000000000 +0900
++++ lib/Pz/MvFunction.cc 2008-01-01 04:41:51.000000000 +0900
+@@ -71,6 +71,7 @@ extern "C" {
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <openssl/hmac.h>
++#include <openssl/md5.h>
+ #include <openssl/sha.h>
+ }
+
diff --git a/net/v6eval/files/patch-RAFControl.h b/net/v6eval/files/patch-RAFControl.h
new file mode 100644
index 000000000000..30cf23b14f4b
--- /dev/null
+++ b/net/v6eval/files/patch-RAFControl.h
@@ -0,0 +1,11 @@
+--- lib/pkt/RAFControl.h 2001-10-05 20:41:20.000000000 +0900
++++ lib/pkt/RAFControl.h 2008-01-01 04:49:37.000000000 +0900
+@@ -69,7 +69,7 @@ virtual const PaObject* pop_SA(eAlgorith
+ CSTR reverseEvaluate(const McObject&,PvOctets&,bool&);
+ bool evaluateWith(RObject*,WObject*) const;
+ WObject* evaluateAlgorithm(RObject*) const;
+- WObject* RAFControl::evaluate(RObject*);
++ WObject* evaluate(RObject*);
+ virtual void reset();
+ void applyFrame(const WObject* w) const;
+ const WAlgorithm* appliedAlgorithm() const;
diff --git a/net/v6eval/files/patch-hmac.c b/net/v6eval/files/patch-hmac.c
new file mode 100644
index 000000000000..54438e569464
--- /dev/null
+++ b/net/v6eval/files/patch-hmac.c
@@ -0,0 +1,11 @@
+--- lib/Pz/crypto/hmac/hmac.c 2002-05-27 18:56:19.000000000 +0900
++++ lib/Pz/crypto/hmac/hmac.c 2008-01-01 04:48:38.000000000 +0900
+@@ -60,7 +60,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <openssl/hmac.h>
++#include "hmac.h"
+
+ void HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
+ const EVP_MD *md)
diff --git a/net/v6eval/files/patch-lib_Cm_BtObject.cc b/net/v6eval/files/patch-lib_Cm_BtObject.cc
new file mode 100644
index 000000000000..cc9c162c7b3d
--- /dev/null
+++ b/net/v6eval/files/patch-lib_Cm_BtObject.cc
@@ -0,0 +1,10 @@
+--- lib/Cm/BtObject.cc.orig 2001-10-11 20:56:13.000000000 -0800
++++ lib/Cm/BtObject.cc 2008-02-03 13:27:51.000000000 -0900
+@@ -47,6 +47,6 @@
+ BtObject::BtObject(const BtObject&) {}
+ BtObject::~BtObject() {}
+ uint32_t BtObject::hash() const {return 0;}
+-int BtObject::compare(const BtObject*p) const {return (int)this-(int)p;}
++int BtObject::compare(const BtObject*p) const {return (long)this-(long)p;}
+ bool BtObject::isEqual(const BtObject* v) const {
+ return compare(v)==0;}
diff --git a/net/v6eval/files/patch-lib_Cm_CmMain.cc b/net/v6eval/files/patch-lib_Cm_CmMain.cc
new file mode 100644
index 000000000000..4519d9e59cf2
--- /dev/null
+++ b/net/v6eval/files/patch-lib_Cm_CmMain.cc
@@ -0,0 +1,23 @@
+--- lib/Cm/CmMain.cc.orig 2003-10-23 13:37:30.000000000 +0900
++++ lib/Cm/CmMain.cc 2013-03-06 04:38:49.000000000 +0900
+@@ -47,7 +47,11 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <unistd.h>
++#if __FreeBSD_version <= 900006
+ #include <utmp.h>
++#else
++#include <utmpx.h>
++#endif
+ #include <time.h>
+ #include <pwd.h>
+ #include <sys/time.h>
+@@ -129,7 +133,7 @@
+ //----------------------------------------------------------------------
+ // 障害解析情報作成
+ static struct utmp *myUtmpEnt(FILE *in,struct utmp *u) {
+- int s=ttyslot();
++ int s = 0;
+ if(s<0||fseek(in,sizeof(struct utmp)*s,0)<0||
+ fread(u,sizeof(struct utmp),1,in)==0) {return 0;}
+ return u;}
diff --git a/net/v6eval/files/patch-sigcomp.c b/net/v6eval/files/patch-sigcomp.c
new file mode 100644
index 000000000000..b14a8ea4a0be
--- /dev/null
+++ b/net/v6eval/files/patch-sigcomp.c
@@ -0,0 +1,11 @@
+--- bin/sigcomp/sigcomp.c 2005-05-27 20:40:19.000000000 +0900
++++ bin/sigcomp/sigcomp.c 2008-01-01 06:03:23.000000000 +0900
+@@ -53,7 +53,7 @@
+
+ #include <openssl/err.h>
+ #include <openssl/evp.h>
+-
++#include <openssl/rsa.h>
+
+
+ #ifdef DEBUG
diff --git a/net/v6eval/files/patch-x509dec.c b/net/v6eval/files/patch-x509dec.c
new file mode 100644
index 000000000000..fd6a9afa91cf
--- /dev/null
+++ b/net/v6eval/files/patch-x509dec.c
@@ -0,0 +1,18 @@
+--- bin/x509dec/x509dec.c 2005-05-30 19:17:31.000000000 +0900
++++ bin/x509dec/x509dec.c 2008-01-01 06:02:24.000000000 +0900
+@@ -244,13 +244,13 @@ x509dec_on_evp(const X509 *const x509)
+
+ TAILQ_INIT(&head);
+
+- if(!((unsigned char *)pubkey =
++ if(!(pubkey =
+ X509dec_get_pubkey(x509, &pubkeylen))) {
+
+ return(x509dec_on_evp_return(false, pubkey, subject_name));
+ }
+
+- if(!((unsigned char *)subject_name =
++ if(!(subject_name =
+ X509dec_get_subject_name(x509, (int *)&subject_namelen))) {
+
+ return(x509dec_on_evp_return(false, pubkey, subject_name));
diff --git a/net/v6eval/files/pkg-message.in b/net/v6eval/files/pkg-message.in
new file mode 100644
index 000000000000..dd33d696caac
--- /dev/null
+++ b/net/v6eval/files/pkg-message.in
@@ -0,0 +1,5 @@
+===============================================
+
+ Please read %%PREFIX%%/v6eval/doc/00README.
+
+===============================================