Bug 175478 - [patch] www/testlink missing dependency
Summary: [patch] www/testlink missing dependency
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: TAKATSU Tomonari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 11:50 UTC by Sergey V. Dyatko
Modified: 2013-01-21 13:52 UTC (History)
0 users

See Also:


Attachments
file.diff (370 bytes, patch)
2013-01-21 11:50 UTC, Sergey V. Dyatko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V. Dyatko 2013-01-21 11:50:00 UTC
While I'm trying to link www/testlink and devel/jenkins I faced with trouble:
jenkins trying to talk with testlink via xml-rpc and jenkins show me stacktraces.
something like FATAL:
Error verifying developer key: HTTP server returned unexpected status: Internal Server Error
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Internal Server Error

running tcpdump on host shows following
[skipped]
Fatal error: Call to undefined function xml_parser_create() in /usr/local/www/testlink/third_party/xml-rpc/class-IXR.php on line 154

after I install textproc/php5-xml I got jenkins+testlink it working
same error when I try testlink+selenium

How-To-Repeat: install www/testlink and devel/jenkins 
try to integrate testlink with
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-21 11:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tota

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-01-21 13:44:54 UTC
Author: tota
Date: Mon Jan 21 13:44:47 2013
New Revision: 310768
URL: http://svnweb.freebsd.org/changeset/ports/310768

Log:
  - Add missing dependency [1]
  - Bump PORTREVISION
  - Remove indefinite article from COMMENT
  - Replace NOPORTDOCS with PORT_OPTIONS:MDOCS
  - Replace NOPORTEXAMPLES with PORT_OPTIONS:MEXAMPLES
  
  PR:		ports/175478 [1]
  Submitted by:	Sergey V. Dyatko <sergey.dyatko@gmail.com> [1]

Modified:
  head/www/testlink/Makefile

Modified: head/www/testlink/Makefile
==============================================================================
--- head/www/testlink/Makefile	Mon Jan 21 12:19:29 2013	(r310767)
+++ head/www/testlink/Makefile	Mon Jan 21 13:44:47 2013	(r310768)
@@ -2,16 +2,17 @@
 
 PORTNAME=	testlink
 PORTVERSION=	1.9.5
+PORTREVISION=	1
 CATEGORIES=	www devel
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME}/TestLink%201.9/TestLink%20${PORTVERSION}
 
 MAINTAINER=	tota@FreeBSD.org
-COMMENT=	A web based test management and test execution system
+COMMENT=	Web based test management and test execution system
 
 LICENSE=	GPLv2
 
-USE_PHP=	gd iconv mbstring session
+USE_PHP=	gd iconv mbstring session xml
 WANT_PHP_WEB=	yes
 NO_BUILD=	yes
 PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
@@ -72,7 +73,7 @@ do-install:
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} third_party ${WWWDIR}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} upload_area ${WWWDIR}
 	@${INSTALL_DATA} ${WRKSRC}/*.php* ${WWWDIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
 .for f in ${DOCS}
 	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
@@ -80,7 +81,7 @@ do-install:
 	@${TAR} ${EXCLUDE_EXAMPLES} -C ${WRKSRC}/docs -cf - . | ${TAR} --unlink -C ${DOCSDIR} -xf -
 	@${LN} -s ${DOCSDIR} ${WWWDIR}/docs
 .endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
 .for f in ${EXAMPLES}
 	@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} ${f} ${EXAMPLESDIR}
_______________________________________________
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 3 TAKATSU Tomonari freebsd_committer freebsd_triage 2013-01-21 13:51:25 UTC
State Changed
From-To: open->closed

Committed. Thanks!