Bug 166510 - www/testlink. missing dependency
Summary: 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: 2012-03-30 10:30 UTC by Sergey V. Dyatko
Modified: 2012-03-31 09:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V. Dyatko 2012-03-30 10:30:10 UTC
Missing www/php5-session as a dependency, testlink need it.

Fix: 

I'm not sure of the correctness of the decision. Possible add something like that into Makefile ?

BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/session.so:${PORTSDIR}/www/php5-session
How-To-Repeat: 1) make -C /usr/ports/www/testlink install clean
2) setup and run apache/nginx/something else httpd
3) try to open http://domain.tld/

ooops: Fatal error: Call to undefined function session_start() in /usr/local/www/testlink/install/index.php on line 23

4) install www/php5-session
5) reload page -- all works as expected
Comment 1 Sergey V. Dyatko 2012-03-30 10:39:34 UTC
Hi,

oops, patch:

-USE_PHP=        gd iconv mbstring
+USE_PHP=        gd iconv mbstring session

-- 
wbr, tiger
Comment 2 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-03-30 18:55:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->tota

Over to maintainer
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-03-30 22:31:39 UTC
tota        2012-03-30 21:31:25 UTC

  FreeBSD ports repository

  Modified files:
    www/testlink         Makefile 
  Log:
  - Add missing dependency [1]
  - Move LICENSE section earlier to make portlint happy
  - Fix redirection in x-generate-plist target
  
  PR:             ports/166510 [1]
  Submitted by:   rm@
  Feature safe:   yes
  
  Revision  Changes    Path
  1.6       +5 -5      ports/www/testlink/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 TAKATSU Tomonari freebsd_committer freebsd_triage 2012-03-30 22:35:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2012-03-31 09:06:37 UTC
tota        2012-03-31 08:06:28 UTC

  FreeBSD ports repository

  Modified files:
    www/testlink         Makefile 
  Log:
  - Forced commit to note that I mistook submitter in the previous cvs log
    message
  - Corrected log message is as follows
  
  - Add missing dependency [1]
  - Move LICENSE section earlier to make portlint happy
  - Fix redirection in x-generate-plist target
  
  PR:             ports/166510 [1]
  Submitted by:   "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.7       +0 -0      ports/www/testlink/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"