Bug 181828 - [Maintainer update] security/p5-openxpki compiles only with freebsd vesions 7,8,9
Summary: [Maintainer update] security/p5-openxpki compiles only with freebsd vesions 7...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-05 07:40 UTC by Sergei Vyshenski
Modified: 2013-09-09 19:30 UTC (History)
0 users

See Also:


Attachments
file.diff (968 bytes, patch)
2013-09-05 07:40 UTC, Sergei Vyshenski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Vyshenski 2013-09-05 07:40:01 UTC
	Port security/p5-openxpki 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,8,9 have base openssl-0.9.8 which is good.
	freebsd-10 has base openssl-1.0+ which is bad.
	openssl from port now has version 1.0+ only
	So we need to IGNORE port security/p5-openxpki for freebsd versions <7 or >=10
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-05 07:40:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 17:12:05 UTC
Responsible Changed
From-To: perl->sunpoet

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-09-09 19:20:15 UTC
Author: sunpoet
Date: Mon Sep  9 18:20:00 2013
New Revision: 326835
URL: http://svnweb.freebsd.org/changeset/ports/326835

Log:
  - Update OSVERSION check and comment
  - While I'm here:
    - Move LICENSE upward
    - Use USES=gmake
    - Convert to new perl5 framework
    - Fix spelling of FreeBSD and OpenSSL
    - Remove outdated OSVERSION check
  
  PR:		ports/181828
  Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com> (maintainer)

Modified:
  head/security/p5-openxpki/Makefile

Modified: head/security/p5-openxpki/Makefile
==============================================================================
--- head/security/p5-openxpki/Makefile	Mon Sep  9 18:19:55 2013	(r326834)
+++ head/security/p5-openxpki/Makefile	Mon Sep  9 18:20:00 2013	(r326835)
@@ -13,6 +13,8 @@ DIST_SUBDIR=	openxpki
 MAINTAINER=	svysh.fbsd@gmail.com
 COMMENT=	Perl based trustcenter software for PKI: core for server
 
+LICENSE=	ART20
+
 BUILD_DEPENDS=	\
 	p5-Workflow>=0.31:${PORTSDIR}/devel/p5-Workflow \
 	p5-CGI-Session>=0:${PORTSDIR}/www/p5-CGI-Session \
@@ -279,15 +281,14 @@ MAN3=	OpenXPKI.3 \
 	OpenXPKI::XML::Cache.3 \
 	OpenXPKI::XML::Config.3 \
 	OpenXPKI::i18n.3
-USE_GMAKE=	yes
 USE_OPENSSL=	yes
-PERL_CONFIGURE=	yes
+USE_PERL5=	configure
+USES=		gmake perl5
+WITH_OPENSSL_BASE=	yes
 
 USERS=	openxpki
 GROUPS=	openxpki
 
-LICENSE=	ART20
-
 OPTIONS_DEFINE=	DEVELOPER GRAPHVIZ
 DEVELOPER_DESC=	Install development tools for OpenXPKI?
 GRAPHVIZ_DESC=	With graphical visualization of workflows?
@@ -300,20 +301,6 @@ GRAPHVIZ_DESC=	With graphical visualizat
 
 .include <bsd.port.options.mk>
 
-# 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>
-
 .if ${PORT_OPTIONS:MDEVELOPER}
 RUN_DEPENDS+=	${LOCALBASE}/bin/fop:${PORTSDIR}/textproc/fop \
 		${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
@@ -325,4 +312,14 @@ RUN_DEPENDS+=	${LOCALBASE}/bin/dot:${POR
 		${LOCALBASE}/bin/imgsize:${PORTSDIR}/graphics/p5-Image-Size
 .endif
 
+.include <bsd.port.pre.mk>
+
+# this port needs OpenSSL 0.9.8+, but does not yet compile with OpenSSL 1.0.0+
+# FreeBSD 7,8,9 have base OpenSSL 0.9.8 which is good
+# FreeBSD 10 has base OpenSSL 1.0+ which is bad
+# OpenSSL from port now has version 1.0+ only
+.if ${OSVERSION} >= 1000000
+IGNORE=	needs OpenSSL 0.9.8+, but does not yet compile with OpenSSL 1.0.0+
+.endif
+
 .include <bsd.port.post.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-09-09 19:21:15 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!