ports/119398: v6-eval can not compile on 7.0
Takeharu KATO
takeharu1219 at ybb.ne.jp
Sun Jan 6 23:20:04 UTC 2008
The following reply was made to PR ports/119398; it has been noted by GNATS.
From: Takeharu KATO <takeharu1219 at ybb.ne.jp>
To: bug-followup at FreeBSD.org, takeharu1219 at ybb.ne.jp
Cc:
Subject: Re: ports/119398: v6-eval can not compile on 7.0
Date: Mon, 07 Jan 2008 08:10:44 +0900
Sorry, I made mistake when I sent patch, so I re-send it.
diff -Nupr v6eval.orig/Makefile v6eval/Makefile
--- v6eval.orig/Makefile 2006-09-04 06:41:00.000000000 +0900
+++ v6eval/Makefile 2008-01-01 06:24:42.000000000 +0900
@@ -22,10 +22,6 @@ USE_OPENSSL= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 700019
-BROKEN= does not compile with OpenSSL 0.9.8b
-.endif
-
post-install:
@${SED} -e 's#@LOCALBASE@#${LOCALBASE}#' ${PKGMESSAGE}
diff -Nupr v6eval.orig/files/patch-Bpfilter.h v6eval/files/patch-Bpfilter.h
--- v6eval.orig/files/patch-Bpfilter.h 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-Bpfilter.h 2008-01-01 06:22:36.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-McIKE.h v6eval/files/patch-McIKE.h
--- v6eval.orig/files/patch-McIKE.h 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-McIKE.h 2008-01-01 06:22:25.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-MvFunction.cc v6eval/files/patch-MvFunction.cc
--- v6eval.orig/files/patch-MvFunction.cc 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-MvFunction.cc 2008-01-01 06:22:13.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-RAFControl.h v6eval/files/patch-RAFControl.h
--- v6eval.orig/files/patch-RAFControl.h 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-RAFControl.h 2008-01-01 06:21:59.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-hmac.c v6eval/files/patch-hmac.c
--- v6eval.orig/files/patch-hmac.c 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-hmac.c 2008-01-01 06:21:50.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-sigcomp.c v6eval/files/patch-sigcomp.c
--- v6eval.orig/files/patch-sigcomp.c 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-sigcomp.c 2008-01-01 06:21:42.000000000 +0900
@@ -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 -Nupr v6eval.orig/files/patch-x509dec.c v6eval/files/patch-x509dec.c
--- v6eval.orig/files/patch-x509dec.c 1970-01-01 09:00:00.000000000 +0900
+++ v6eval/files/patch-x509dec.c 2008-01-01 06:21:33.000000000 +0900
@@ -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));
More information about the freebsd-ports-bugs
mailing list