Bug 186628 - www/bigbluebutton : stage support, cleanups
Summary: www/bigbluebutton : stage support, cleanups
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: Rene Ladan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 12:30 UTC by Rene Ladan
Modified: 2014-02-10 13:40 UTC (History)
0 users

See Also:


Attachments
file.diff (4.39 KB, patch)
2014-02-10 12:30 UTC, Rene Ladan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Ladan freebsd_committer freebsd_triage 2014-02-10 12:30:00 UTC
General cleanup of www/bigbluebutton, please test:
- Stage support
- USE_DOS2UNIX -> USES=dos2unix
- Bump Openoffice dependency to 4.0.1
- Remove broken FREESWITCH option
- Update IGNORE message about asterisk
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-10 12:30:07 UTC
Maintainer of www/bigbluebutton,

Please note that PR ports/186628 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186628

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-10 12:30:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2014-02-10 12:30:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rene

Track
Comment 4 alex.deiter 2014-02-10 13:24:50 UTC
approved, thank you!

-- 
Alex Deiter
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-02-10 13:33:17 UTC
Author: rene
Date: Mon Feb 10 13:33:09 2014
New Revision: 343631
URL: http://svnweb.freebsd.org/changeset/ports/343631
QAT: https://qat.redports.org/buildarchive/r343631/

Log:
  www/bigblueblutton: general cleanups:
  - Stage support
  - USE_DOS2UNIX -> USES=dos2unix
  - Bump Openoffice dependency to 4.0.1
  - Remove broken FREESWITCH option
  - Update IGNORE message about asterisk
  
  PR:		ports/186628
  Submitted by:	myself
  Approved by:	maintainer <alex.deiter@gmail.com>

Modified:
  head/www/bigbluebutton/Makefile

Modified: head/www/bigbluebutton/Makefile
==============================================================================
--- head/www/bigbluebutton/Makefile	Mon Feb 10 13:27:09 2014	(r343630)
+++ head/www/bigbluebutton/Makefile	Mon Feb 10 13:33:09 2014	(r343631)
@@ -27,7 +27,7 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 MANUAL_PACKAGE_BUILD=	requires non-default configuration of dependency
 
-USE_DOS2UNIX=	yes
+USES=		dos2unix
 DOS2UNIX_REGEX=	.+\.(conf|jsp|properties|xml)$
 
 USE_JAVA=	yes
@@ -36,7 +36,7 @@ NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 DIST_SUBDIR=	${PORTNAME}
 USE_RC_SUBR=   	openoffice
-SOFFICEBIN?=	${PREFIX}/openoffice.org-3.2.1/openoffice.org3/program/soffice.bin
+SOFFICEBIN?=	${PREFIX}/bin/openoffice-4.0.1
 RED5_HOME?=	${PREFIX}/red5
 RED5_LOGS?=	${RED5_HOME}/log
 RED5_USER?=	www
@@ -49,11 +49,10 @@ FS_USER?=	freeswitch
 FS_GROUP?=	${FS_USER}
 WWWROOT?=	${WWWDIR:S|/${PORTNAME}$||}
 
-OPTIONS_DEFINE=	MEETME KONFERENCE FREESWITCH OPENOFFICE
+OPTIONS_DEFINE=	MEETME KONFERENCE OPENOFFICE
 OPTIONS_DEFAULT=	KONFERENCE
 MEETME_DESC=	meetme Asterisk module
 KONFERENCE_DESC=	konference Asterisk module
-FREESWITCH_DESC=	mod_conference FreeSWITCH module
 OPENOFFICE_DESC=	Include OpenOffice support
 
 PLIST_SUB+=	RED5_HOME=${RED5_HOME:S,^${PREFIX}/,,} \
@@ -77,14 +76,13 @@ SUB_LIST+=	PORTNAME=${PORTNAME} \
 
 SUB_FILES=	pkg-message openoffice nginx.conf-dist bbb-conf
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMEETME} || ${PORT_OPTIONS:MKONFERENCE}
 BUILD_DEPENDS+=${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk
 .if  ${PORT_OPTIONS:MMEETME}
 .if !exists(${LOCALBASE}/lib/asterisk/modules/app_meetme.so)
-IGNORE=Option meetme requires app_meetme.so from asterisk port. Rebuild net/asterisk with WITH_DAHDI=yes
+IGNORE=Option meetme requires app_meetme.so from asterisk port. Rebuild net/asterisk with DAHDI option selected
 .endif
 .endif
 .if  ${PORT_OPTIONS:MKONFERENCE}
@@ -92,13 +90,8 @@ BUILD_DEPENDS+=${LOCALBASE}/lib/asterisk
 .endif
 .endif
 
-.if ${PORT_OPTIONS:MFREESWITCH}
-BROKEN=freeswitch 1.0.6 does not work with BigBlueButton
-BUILD_DEPENDS+=${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch
-.endif
-
 .if ${PORT_OPTIONS:MOPENOFFICE}
-BUILD_DEPENDS+=	${LOCALBASE}/bin/openoffice.org-3.2.1:${PORTSDIR}/editors/openoffice.org-3
+BUILD_DEPENDS+=	${LOCALBASE}/bin/openoffice-4.0.1:${PORTSDIR}/editors/openoffice-4
 .endif
 
 post-extract:
@@ -138,38 +131,35 @@ pre-install:
 	fi
 
 do-install:
-	@${MKDIR} ${DATADIR} ${WWWDIR}
-	@${INSTALL_SCRIPT} ${WRKDIR}/bbb-conf ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${WWWDIR}
+	@${INSTALL_SCRIPT} ${WRKDIR}/bbb-conf ${STAGEDIR}${PREFIX}/bin
 .for d in asterisk blank freeswitch nginx
-	@${MKDIR} ${DATADIR}/${d}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/${d}
 .endfor
-	@${INSTALL_DATA} ${FILESDIR}/nopdfmark.ps ${DATADIR}/blank
+	@${INSTALL_DATA} ${FILESDIR}/nopdfmark.ps ${STAGEDIR}${DATADIR}/blank
 .for f in blank-slide.swf blank-thumb.png
-	@${INSTALL_DATA} ${_DISTDIR}/${f} ${DATADIR}/blank
+	@${INSTALL_DATA} ${_DISTDIR}/${f} ${STAGEDIR}${DATADIR}/blank
 .endfor
 .for f in bbb_extensions.conf bbb_sip.conf
-	@${INSTALL_DATA} ${WRKDIR}/${f}-dist ${DATADIR}/asterisk
+	@${INSTALL_DATA} ${WRKDIR}/${f}-dist ${STAGEDIR}${DATADIR}/asterisk
 .endfor
 .for f in nginx.conf nginx-bigbluebutton.conf
-	@${INSTALL_DATA} ${WRKDIR}/${f}-dist ${DATADIR}/nginx
+	@${INSTALL_DATA} ${WRKDIR}/${f}-dist ${STAGEDIR}${DATADIR}/nginx
 .endfor
-	@cd ${WRKDIR} && ${COPYTREE_SHARE} conf ${DATADIR}/freeswitch
-	@${MKDIR} ${TOMCAT_HOME}/webapps/bigbluebutton
+	@cd ${WRKDIR} && ${COPYTREE_SHARE} conf ${STAGEDIR}${DATADIR}/freeswitch
+	@${MKDIR} ${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton
 	@cd ${WRKDIR}/bigbluebutton-tomcat && \
-		${COPYTREE_SHARE} . ${TOMCAT_HOME}/webapps/bigbluebutton
+		${COPYTREE_SHARE} . ${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton
 	@${CHOWN} ${TOMCAT_USER}:${TOMCAT_GROUP} \
-		${TOMCAT_HOME}/webapps/bigbluebutton
-	@cd ${WRKDIR} && ${COPYTREE_SHARE} bigbluebutton-default ${WWWROOT}
-	@cd ${WRKDIR} && ${COPYTREE_SHARE} client ${WWWDIR}
+		${STAGEDIR}${TOMCAT_HOME}/webapps/bigbluebutton
+	@cd ${WRKDIR} && ${COPYTREE_SHARE} bigbluebutton-default ${STAGEDIR}${WWWROOT}
+	@cd ${WRKDIR} && ${COPYTREE_SHARE} client ${STAGEDIR}${WWWDIR}
 	@cd ${WRKDIR} && ${COPYTREE_SHARE} 'bigbluebutton deskshare sip video' \
-		${RED5_HOME}/webapps
+		${STAGEDIR}${RED5_HOME}/webapps
 	@cd ${RED5_HOME} && ${CHOWN} -R ${RED5_USER}:${RED5_GROUP} \
 		webapps
 .for f in aopalliance-1.0.jar spring-aop-3.0.0.jar
-	@${INSTALL_DATA} ${WRKDIR}/red5-0.9.1/lib/${f} ${RED5_HOME}/lib
+	@${INSTALL_DATA} ${WRKDIR}/red5-0.9.1/lib/${f} ${STAGEDIR}${RED5_HOME}/lib
 .endfor
 
-post-install:
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.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 6 Rene Ladan freebsd_committer freebsd_triage 2014-02-10 13:33:25 UTC
State Changed
From-To: feedback->closed

Committed, thanks