Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 12:24:13 GMT
From:      Rene Ladan <rene@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/186628: www/bigbluebutton : stage support, cleanups
Message-ID:  <201402101224.s1ACOD41011205@freefall.freebsd.org>
Resent-Message-ID: <201402101230.s1ACU0EV011408@freefall.freebsd.org>

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

>Number:         186628
>Category:       ports
>Synopsis:       www/bigbluebutton : stage support, cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 10 12:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r259961: Fri Dec 27 21:56:39 UTC 2013 peter@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64

Ports head r343256
>Description:
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
>How-To-Repeat:
	
>Fix:
Index: Makefile
===================================================================
--- Makefile	(revision 343256)
+++ Makefile	(working copy)
@@ -27,7 +27,7 @@
 
 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_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_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,7 +76,6 @@
 
 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}
@@ -84,7 +82,7 @@
 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 @@
 .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 @@
 	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>
>Release-Note:
>Audit-Trail:
>Unformatted:



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