From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 6 22:50:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AF5B16A41B for ; Sun, 6 Jan 2008 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB8113C46B for ; Sun, 6 Jan 2008 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m06Mo2wI042530 for ; Sun, 6 Jan 2008 22:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m06Mo2IW042529; Sun, 6 Jan 2008 22:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 6 Jan 2008 22:50:02 GMT Resent-Message-Id: <200801062250.m06Mo2IW042529@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Takeharu KATO Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 352F316A421 for ; Sun, 6 Jan 2008 22:45:41 +0000 (UTC) (envelope-from takeharu1219@ybb.ne.jp) Received: from ybbsmtp07.mail.ogk.yahoo.co.jp (ybbsmtp07.mail.ogk.yahoo.co.jp [124.83.153.127]) by mx1.freebsd.org (Postfix) with SMTP id E037D13C47E for ; Sun, 6 Jan 2008 22:45:40 +0000 (UTC) (envelope-from takeharu1219@ybb.ne.jp) Received: (qmail 32183 invoked by alias); 6 Jan 2008 22:45:39 -0000 Received: from unknown (HELO ?192.168.1.20?) (takeharu1219@219.35.170.86 with plain) by ybbsmtp07.mail.ogk.yahoo.co.jp with SMTP; 6 Jan 2008 22:45:39 -0000 Message-Id: <47815A09.9010900@ybb.ne.jp> Date: Mon, 07 Jan 2008 07:45:29 +0900 From: Takeharu KATO To: FreeBSD-gnats-submit@FreeBSD.org Cc: Yukiyo.Akisada@jp.yokogawa.com Subject: ports/119398: v6-eval can not compile on 7.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 22:50:03 -0000 >Number: 119398 >Category: ports >Synopsis: v6-eval can not compile on 7.0 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 06 22:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Takeharu KATO >Release: FreeBSD 7.0-CURRENT i386 >Organization: None >Environment: System: FreeBSD aeon 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sun Oct 28 19:17:12 JST 2007 root@aeon:/usr/obj/usr/src/sys/C2DUO i386 Machine: Core 2 duo on ICH-8 mother board PC. OS: FreeBSD 7.0 Target: i386 >Description: V6-eval port can not compile with recent openssl. >How-To-Repeat: cd /usr/ports/net/v6eval make install >Fix: Apply following patch. I confirmed that the port can be certainly compiled after applying this patch, but I can not figure out whether this patch is correct or not. 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 -.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 + #include + #include ++#include + #include + } + 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 + #include + #include +-#include ++#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 + #include +- ++#include + + + #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)); >Release-Note: >Audit-Trail: >Unformatted: SEND-PR: -*- send-pr -*- SEND-PR: vim: syntax=sendpr SEND-PR: SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: SEND-PR: Please consult the following URL if you are not sure how to SEND-PR: fill out a problem report: SEND-PR: http://www.freebsd.org/doc/en/articles/problem-reports/ SEND-PR: SEND-PR: Note that the Synopsis field is mandatory. SEND-PR: SEND-PR: Please note that (unless you state otherwise) if your report SEND-PR: includes a patch then it will be taken under the same license as SEND-PR: the one on the file(s) you want to change. SEND-PR: SEND-PR: BE ADVISED THAT FREEBSD PROBLEM REPORTS ARE PUBLIC INFORMATION AND SEND-PR: WILL BE PUBLISHED AS-IS ON THE PROJECT'S MAILING LISTS AND WEB SITES. SEND-PR: DO NOT SUBMIT ANY INFORMATION YOU DO NOT WANT MADE PUBLIC. SEND-PR: SEND-PR: If you wish to submit a problem report confidentially, then contact SEND-PR: the FreeBSD bugmaster (bugmaster@FreeBSD.org) to arrange for a SEND-PR: relevant developer to be contacted. SEND-PR: SEND-PR: For sensitive security issues, consider contacting the FreeBSD SEND-PR: security officer team (security-officer@freebsd.org) directly. SEND-PR: SEND-PR: Choose from the following categories: SEND-PR: SEND-PR: advocacy alpha amd64 bin conf docs SEND-PR: gnu i386 ia64 java kern misc SEND-PR: ports powerpc sparc64 standards sun4v threads SEND-PR: usb www SEND-PR: