Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2010 00:42:21 +0400 (MSD)
From:      Sergei Vyshenski <svysh@pn.sinp.msu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/145620: [Maintainer update:] security/p5-openxpki
Message-ID:  <201004102042.o3AKgLOR091356@host32.pn.sinp.msu.ru>
Resent-Message-ID: <201004102050.o3AKo1C0077874@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         145620
>Category:       ports
>Synopsis:       [Maintainer update:] security/p5-openxpki
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 20:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Vyshenski
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD host34.pn.sinp.msu.ru 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Apr 9 23:30:23 UTC 2010 root@host34.pn.sinp.msu.ru:/usr/obj/usr/src/sys/GENERIC i386

	
>Description:
	

This port needs openssl-0.9.8+, but does not yet compile with openssl-1.0.0+

freebsd-6 or less has base openssl-0.9.7 which is bad.
freebsd-7 or more has base openssl-0.9.8 which is good.
openssl from port now has version 1.0.0 only.
 
There is no mechanism in ports to check version of base or ported openssl. 
Thus we have to stop compiling this port on freebsd-6 or less altogether,
and stick to base openssl on freebsd-7 or more.

>How-To-Repeat:
	
>Fix:

	

diff -ur security/p5-openxpki/Makefile security/p5-openxpki.new/Makefile
--- security/p5-openxpki/Makefile	2009-11-13 18:27:50.000000000 +0300
+++ security/p5-openxpki.new/Makefile	2010-04-11 00:24:22.000000000 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	openxpki
 PORTVERSION=	0.9.1389
+PORTREVISION=	1
 CATEGORIES=	security perl5
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.9.1300
 PKGNAMEPREFIX=	p5-
@@ -297,9 +298,15 @@
 
 .include <bsd.port.options.mk>
 
-# needs openssl 0.9.8
-.if ${OSVERSION} < 700019
-WITH_OPENSSL_PORT=	yes
+# this port needs openssl-0.9.8+, but does not yet compile with openssl-1.0.0+
+# freebsd-6 or less has base openssl-0.9.7 which is bad
+# freebsd-7 or more has base openssl-0.9.8 which is good
+# openssl from port now has version 1.0.0 only 
+.if ${OSVERSION} < 700000
+IGNORE= needs openssl-0.9.8+, but does not yet compile with openssl-1.0.0+
+.endif
+.if ${OSVERSION} >= 700000
+WITH_OPENSSL_BASE=      yes
 .endif
 
 .include <bsd.port.pre.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004102042.o3AKgLOR091356>