Date: Tue, 4 Jan 2011 13:17:03 GMT From: Marian Jamrich <jamrich.majo@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/153678: [new port] deskutils/phpscheduleit - web-based resource and reservation scheduling system Message-ID: <201101041317.p04DH3HM067348@red.freebsd.org> Resent-Message-ID: <201101041320.p04DK9Tu081489@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153678 >Category: ports >Synopsis: [new port] deskutils/phpscheduleit - web-based resource and reservation scheduling system >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: Tue Jan 04 13:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Marian Jamrich >Release: 8.2 prerelease >Organization: >Environment: >Description: >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # phpscheduleit # phpscheduleit/Makefile # phpscheduleit/pkg-plist # phpscheduleit/distinfo # phpscheduleit/files # phpscheduleit/files/pkg-message.in # phpscheduleit/pkg-descr # echo c - phpscheduleit mkdir -p phpscheduleit > /dev/null 2>&1 echo x - phpscheduleit/Makefile sed 's/^X//' >phpscheduleit/Makefile << '85aa40605fefd3506b1667d55f7b3e19' X# New ports collection makefile for: phpscheduleit X# Date created: 4 Januar 2011 X# Whom: jamrich.majo@gmail.com X# X# $FreeBSD$ X# X XPORTNAME= phpscheduleit XPORTVERSION= 1.2.12 XCATEGORIES= www XMASTER_SITES= SF/phpscheduleit/1.%20phpScheduleIt/${PORTVERSION} XDISTNAME= phpScheduleIt_${PORTVERSION} X XMAINTAINER= jamrich.majo@gmail.com XCOMMENT= A web-based resource scheduling and management system X XRUN_DEPENDS+= php:${PORTSDIR}/lang/php5 \ X ${PEARDIR}/DB.php:${PORTSDIR}/databases/pear-DB X XPEARDIR= ${PREFIX}/share/pear XUSE_PHP+= mysql XUSE_MYSQL= yes XNO_BUILD= yes XWWWOWN= www XWWWGRP= ${WWWOWN} X XPKGMESSAGE= ${WRKDIR}/${PORTNAME}/pkg-message XSUB_FILES= pkg-message XPLIST_DIRSTRY= %%WWWDIR%% X XOPTIONS= POSTGRE "Use PostgreSQL Database" off \ X APACHE "Use Apache webserver" on \ X LIGHTTPD "Use Lighttpd webserver" off X X.include <bsd.port.options.mk> X X.if defined(WITH_POSTGRE) XUSE_PHP+= pgsql XRUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/pdo_pgsql.so:${PORTSDIR}/databases/php5-pdo_pgsql X.endif X.if defined(WITH_APACHE) XUSE_APACHE= 22 X.endif X.if defined(WITH_LIGHTTPD) XRUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd X.endif X Xdo-install: X @${MKDIR} ${WWWDIR} X @${CP} -r ${WRKDIR}/* ${WWWDIR} X @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> 85aa40605fefd3506b1667d55f7b3e19 echo x - phpscheduleit/pkg-plist sed 's/^X//' >phpscheduleit/pkg-plist << 'a3e7178e907fa12b4cac47fbf84c290d' X%%WWWDIR%%/License X%%WWWDIR%%/admin.php X%%WWWDIR%%/admin_update.php X%%WWWDIR%%/ajax.js X%%WWWDIR%%/blackouts.php X%%WWWDIR%%/calendar.ico X%%WWWDIR%%/check.php X%%WWWDIR%%/cmd/send_reminders.php X%%WWWDIR%%/config/cmdinit.php X%%WWWDIR%%/config/config.new.php X%%WWWDIR%%/config/constants.php X%%WWWDIR%%/config/index.html X%%WWWDIR%%/config/init.php X%%WWWDIR%%/config/langs.php X%%WWWDIR%%/css.css X%%WWWDIR%%/ctrlpnl.php X%%WWWDIR%%/export.php X%%WWWDIR%%/exports/ical.php X%%WWWDIR%%/favicon.ico X%%WWWDIR%%/forgot_pwd.php X%%WWWDIR%%/functions.js X%%WWWDIR%%/group_edit.php X%%WWWDIR%%/help.php X%%WWWDIR%%/img/calendar.gif X%%WWWDIR%%/img/checkbox.gif X%%WWWDIR%%/img/day_large.gif X%%WWWDIR%%/img/day_small.gif X%%WWWDIR%%/img/export.gif X%%WWWDIR%%/img/month_large.gif X%%WWWDIR%%/img/month_small.gif X%%WWWDIR%%/img/multiday.gif X%%WWWDIR%%/img/owner.gif X%%WWWDIR%%/img/participant.gif X%%WWWDIR%%/img/phpScheduleIt.gif X%%WWWDIR%%/img/recurring.gif X%%WWWDIR%%/img/signup.gif X%%WWWDIR%%/img/week_large.gif X%%WWWDIR%%/img/week_small.gif X%%WWWDIR%%/img/x.gif X%%WWWDIR%%/index.php X%%WWWDIR%%/install/ReleaseNotes.txt X%%WWWDIR%%/install/index.php X%%WWWDIR%%/install/remote_host_install.html X%%WWWDIR%%/install/setup.sql X%%WWWDIR%%/install/update/config.php X%%WWWDIR%%/install/update/index.php X%%WWWDIR%%/install/update/update.sql X%%WWWDIR%%/join.php X%%WWWDIR%%/jscalendar/calendar-blue-custom.css X%%WWWDIR%%/jscalendar/calendar-setup.js X%%WWWDIR%%/jscalendar/calendar.js X%%WWWDIR%%/jscalendar/index.html X%%WWWDIR%%/jscalendar/lang/calendar-af.js X%%WWWDIR%%/jscalendar/lang/calendar-ar.js X%%WWWDIR%%/jscalendar/lang/calendar-br.js X%%WWWDIR%%/jscalendar/lang/calendar-ca.js X%%WWWDIR%%/jscalendar/lang/calendar-cs-win.js X%%WWWDIR%%/jscalendar/lang/calendar-da.js X%%WWWDIR%%/jscalendar/lang/calendar-de.js X%%WWWDIR%%/jscalendar/lang/calendar-du.js X%%WWWDIR%%/jscalendar/lang/calendar-el.js X%%WWWDIR%%/jscalendar/lang/calendar-en.js X%%WWWDIR%%/jscalendar/lang/calendar-es.js X%%WWWDIR%%/jscalendar/lang/calendar-fi.js X%%WWWDIR%%/jscalendar/lang/calendar-fr.js X%%WWWDIR%%/jscalendar/lang/calendar-hr-utf8.js X%%WWWDIR%%/jscalendar/lang/calendar-hr.js X%%WWWDIR%%/jscalendar/lang/calendar-hu.js X%%WWWDIR%%/jscalendar/lang/calendar-it.js X%%WWWDIR%%/jscalendar/lang/calendar-jp.js X%%WWWDIR%%/jscalendar/lang/calendar-ko-utf8.js X%%WWWDIR%%/jscalendar/lang/calendar-ko.js X%%WWWDIR%%/jscalendar/lang/calendar-lt-utf8.js X%%WWWDIR%%/jscalendar/lang/calendar-lt.js X%%WWWDIR%%/jscalendar/lang/calendar-nl.js X%%WWWDIR%%/jscalendar/lang/calendar-no.js X%%WWWDIR%%/jscalendar/lang/calendar-pl-utf8.js X%%WWWDIR%%/jscalendar/lang/calendar-pl.js X%%WWWDIR%%/jscalendar/lang/calendar-pt.js X%%WWWDIR%%/jscalendar/lang/calendar-ro.js X%%WWWDIR%%/jscalendar/lang/calendar-ru.js X%%WWWDIR%%/jscalendar/lang/calendar-si.js X%%WWWDIR%%/jscalendar/lang/calendar-sk.js X%%WWWDIR%%/jscalendar/lang/calendar-sp.js X%%WWWDIR%%/jscalendar/lang/calendar-sv.js X%%WWWDIR%%/jscalendar/lang/calendar-tr.js X%%WWWDIR%%/jscalendar/lang/calendar-zh.js X%%WWWDIR%%/lang/ar.help.php X%%WWWDIR%%/lang/ar.lang.php X%%WWWDIR%%/lang/bg.help.php X%%WWWDIR%%/lang/bg.lang.php X%%WWWDIR%%/lang/ca.lang.php X%%WWWDIR%%/lang/cs.lang.php X%%WWWDIR%%/lang/da.help.php X%%WWWDIR%%/lang/da.lang.php X%%WWWDIR%%/lang/de.help.php X%%WWWDIR%%/lang/de.lang.php X%%WWWDIR%%/lang/el.lang.php X%%WWWDIR%%/lang/en.help.php X%%WWWDIR%%/lang/en_GB.lang.php X%%WWWDIR%%/lang/en_US.lang.php X%%WWWDIR%%/lang/es.help.php X%%WWWDIR%%/lang/es.lang.php X%%WWWDIR%%/lang/fi.lang.php X%%WWWDIR%%/lang/fr.help.php X%%WWWDIR%%/lang/fr.lang.php X%%WWWDIR%%/lang/hu.help.php X%%WWWDIR%%/lang/hu.lang.php X%%WWWDIR%%/lang/it.help.php X%%WWWDIR%%/lang/it.lang.php X%%WWWDIR%%/lang/ja_JP.lang.php X%%WWWDIR%%/lang/ko.lang.php X%%WWWDIR%%/lang/ko_KR.lang.php X%%WWWDIR%%/lang/nl.lang.php X%%WWWDIR%%/lang/no.lang.php X%%WWWDIR%%/lang/pl.help.php X%%WWWDIR%%/lang/pl.lang.php X%%WWWDIR%%/lang/pt_BR.help.php X%%WWWDIR%%/lang/pt_BR.lang.php X%%WWWDIR%%/lang/pt_PT.lang.php X%%WWWDIR%%/lang/readme.es.html X%%WWWDIR%%/lang/ru.help.php X%%WWWDIR%%/lang/ru.lang.php X%%WWWDIR%%/lang/sk.help.php X%%WWWDIR%%/lang/sk.lang.php X%%WWWDIR%%/lang/sl.lang.php X%%WWWDIR%%/lang/sv.help.php X%%WWWDIR%%/lang/sv.lang.php X%%WWWDIR%%/lang/tr.lang.php X%%WWWDIR%%/lang/zh_CN.lang.php X%%WWWDIR%%/lang/zh_TW.lang.php X%%WWWDIR%%/lib/AdditionalResource.class.php X%%WWWDIR%%/lib/Admin.class.php X%%WWWDIR%%/lib/AnonymousUser.class.php X%%WWWDIR%%/lib/Auth.class.php X%%WWWDIR%%/lib/Blackout.class.php X%%WWWDIR%%/lib/Calendar.class.php X%%WWWDIR%%/lib/CmnFns.class.php X%%WWWDIR%%/lib/DBConnection.class.php X%%WWWDIR%%/lib/DBEngine.class.php X%%WWWDIR%%/lib/Database.class.php X%%WWWDIR%%/lib/Group.class.php X%%WWWDIR%%/lib/LDAPEngine.class.php X%%WWWDIR%%/lib/Link.class.php X%%WWWDIR%%/lib/MyCalendar.class.php X%%WWWDIR%%/lib/PHPMailer.class.php X%%WWWDIR%%/lib/Pager.class.php X%%WWWDIR%%/lib/Reminder.class.php X%%WWWDIR%%/lib/ReminderEmail.class.php X%%WWWDIR%%/lib/ResCalendar.class.php X%%WWWDIR%%/lib/Reservation.class.php X%%WWWDIR%%/lib/ReservationResult.class.php X%%WWWDIR%%/lib/ReservationSearch.php X%%WWWDIR%%/lib/ReservationTime.class.php X%%WWWDIR%%/lib/Resource.class.php X%%WWWDIR%%/lib/Schedule.class.php X%%WWWDIR%%/lib/SelectUser.class.php X%%WWWDIR%%/lib/Smtp.class.php X%%WWWDIR%%/lib/Stats.class.php X%%WWWDIR%%/lib/Summary.class.php X%%WWWDIR%%/lib/Template.class.php X%%WWWDIR%%/lib/Time.class.php X%%WWWDIR%%/lib/Timer.class.php X%%WWWDIR%%/lib/User.class.php X%%WWWDIR%%/lib/Utility.class.php X%%WWWDIR%%/lib/db/AdditionalResourceDB.class.php X%%WWWDIR%%/lib/db/AdminDB.class.php X%%WWWDIR%%/lib/db/AnonymousUserDB.class.php X%%WWWDIR%%/lib/db/AuthDB.class.php X%%WWWDIR%%/lib/db/BlackoutDB.class.php X%%WWWDIR%%/lib/db/GroupDB.class.php X%%WWWDIR%%/lib/db/MyCalendarDB.class.php X%%WWWDIR%%/lib/db/ReminderDB.class.php X%%WWWDIR%%/lib/db/ResCalendarDB.class.php X%%WWWDIR%%/lib/db/ResDB.class.php X%%WWWDIR%%/lib/db/ReservationSearchDB.class.php X%%WWWDIR%%/lib/db/ResourceDB.class.php X%%WWWDIR%%/lib/db/ScheduleDB.class.php X%%WWWDIR%%/lib/db/SelectUserDB.class.php X%%WWWDIR%%/lib/db/StatsDB.class.php X%%WWWDIR%%/lib/db/UsageDB.class.php X%%WWWDIR%%/lib/db/UserDB.class.php X%%WWWDIR%%/lib/db/UserInfoDB.class.php X%%WWWDIR%%/lib/db/index.html X%%WWWDIR%%/lib/helpers/ReservationHelper.class.php X%%WWWDIR%%/lib/helpers/StringBuilder.class.php X%%WWWDIR%%/lib/icalendar/ICalExport.php X%%WWWDIR%%/lib/icalendar/ICalReservationFormatter.php X%%WWWDIR%%/lib/index.html X%%WWWDIR%%/lib/interfaces/IEmail.php X%%WWWDIR%%/lib/interfaces/IReservationExport.php X%%WWWDIR%%/lib/interfaces/IReservationFormatter.php X%%WWWDIR%%/lib/pagebase/Page.php X%%WWWDIR%%/lib/pagebase/download/DownloadPage.php X%%WWWDIR%%/lib/pagebase/download/FileDownload.php X%%WWWDIR%%/lib/pagebase/download/StreamDownload.php X%%WWWDIR%%/lib/pagebase/download/streams/FileDownloadStream.php X%%WWWDIR%%/lib/pagebase/download/streams/IDownloadStream.php X%%WWWDIR%%/lib/pagebase/download/streams/StringDownloadStream.php X%%WWWDIR%%/lib/pear/DB.php X%%WWWDIR%%/lib/pear/DB/common.php X%%WWWDIR%%/lib/pear/DB/dbase.php X%%WWWDIR%%/lib/pear/DB/fbsql.php X%%WWWDIR%%/lib/pear/DB/ibase.php X%%WWWDIR%%/lib/pear/DB/ifx.php X%%WWWDIR%%/lib/pear/DB/msql.php X%%WWWDIR%%/lib/pear/DB/mssql.php X%%WWWDIR%%/lib/pear/DB/mysql.php X%%WWWDIR%%/lib/pear/DB/mysqli.php X%%WWWDIR%%/lib/pear/DB/oci8.php X%%WWWDIR%%/lib/pear/DB/odbc.php X%%WWWDIR%%/lib/pear/DB/pgsql.php X%%WWWDIR%%/lib/pear/DB/sqlite.php X%%WWWDIR%%/lib/pear/DB/storage.php X%%WWWDIR%%/lib/pear/DB/sybase.php X%%WWWDIR%%/lib/pear/PEAR.php X%%WWWDIR%%/lib/pear/System.php X%%WWWDIR%%/lib/pear/license.txt X%%WWWDIR%%/lib/vcalendar/VCalExport.php X%%WWWDIR%%/lib/vcalendar/VCalReservationFormatter.php X%%WWWDIR%%/manage_invites.php X%%WWWDIR%%/my_email.php X%%WWWDIR%%/mycalendar.php X%%WWWDIR%%/pkg-message X%%WWWDIR%%/popCalendar.php X%%WWWDIR%%/readme.html X%%WWWDIR%%/recurCalendar.php X%%WWWDIR%%/register.php X%%WWWDIR%%/rescalendar.php X%%WWWDIR%%/reserve.php X%%WWWDIR%%/roschedule.php X%%WWWDIR%%/rss.php X%%WWWDIR%%/schedule.php X%%WWWDIR%%/set_blackout.php X%%WWWDIR%%/signup.php X%%WWWDIR%%/stats.php X%%WWWDIR%%/templates/admin.template.php X%%WWWDIR%%/templates/auth.template.php X%%WWWDIR%%/templates/bug.template.php X%%WWWDIR%%/templates/cpanel.template.php X%%WWWDIR%%/templates/export.template.php X%%WWWDIR%%/templates/index.html X%%WWWDIR%%/templates/my_email.template.php X%%WWWDIR%%/templates/mycalendar.template.php X%%WWWDIR%%/templates/rescalendar.template.php X%%WWWDIR%%/templates/reserve.template.php X%%WWWDIR%%/templates/schedule.template.php X%%WWWDIR%%/templates/selectuser.template.php X%%WWWDIR%%/templates/stats.template.php X%%WWWDIR%%/templates/usage.template.php X%%WWWDIR%%/templates/usergroup.template.php X%%WWWDIR%%/templates/userinfo.template.php X%%WWWDIR%%/usage.php X%%WWWDIR%%/userInfo.php X%%WWWDIR%%/user_select.php X@dirrm %%WWWDIR%%/templates X@dirrm %%WWWDIR%%/lib/vcalendar X@dirrm %%WWWDIR%%/lib/pear/DB X@dirrm %%WWWDIR%%/lib/pear X@dirrm %%WWWDIR%%/lib/pagebase/download/streams X@dirrm %%WWWDIR%%/lib/pagebase/download X@dirrm %%WWWDIR%%/lib/pagebase X@dirrm %%WWWDIR%%/lib/interfaces X@dirrm %%WWWDIR%%/lib/icalendar X@dirrm %%WWWDIR%%/lib/helpers X@dirrm %%WWWDIR%%/lib/db X@dirrm %%WWWDIR%%/lib X@dirrm %%WWWDIR%%/lang X@dirrm %%WWWDIR%%/jscalendar/lang X@dirrm %%WWWDIR%%/jscalendar X@dirrm %%WWWDIR%%/install/update X@dirrm %%WWWDIR%%/install X@dirrm %%WWWDIR%%/img X@dirrm %%WWWDIR%%/exports X@dirrmtry %%WWWDIR%%/config X@dirrm %%WWWDIR%%/cmd a3e7178e907fa12b4cac47fbf84c290d echo x - phpscheduleit/distinfo sed 's/^X//' >phpscheduleit/distinfo << 'f7e1f2df586aa53a573445278b2b6346' XSHA256 (phpScheduleIt_1.2.12.tar.gz) = 5e9b1203476171761f3ad73aac2b0aa0dd0360477d714a32d6f4bc6c009dfabd XSIZE (phpScheduleIt_1.2.12.tar.gz) = 865261 f7e1f2df586aa53a573445278b2b6346 echo c - phpscheduleit/files mkdir -p phpscheduleit/files > /dev/null 2>&1 echo x - phpscheduleit/files/pkg-message.in sed 's/^X//' >phpscheduleit/files/pkg-message.in << 'ad2121c6e040913f59ed3d02c8eabbb3' X----------------------------------------------------------------------------- XInstallation has successfully completed! X----------------------------------------------------------------------------- XphpScheduleIt is now installed in documentoroot: %%PREFIX%%/www/phpscheduleit. X XIn php.ini >= PHP 5.3 set: X- date.timezone = "Europe/Bratislava" X X1) MySQL: X Xcd %%WWWDIR%% Xmysql -u root -p'your_root_password' < ./install/setup.sql Xmysql -u root -p'your_root_password' Xcreate user 'phpscheduleit'@'localhost' identified by 'your_password'; Xgrant all privileges on phpScheduleIt.* to 'phpscheduleit'@'localhost' identified by 'your_password'; X X2) Edit config.php: X Xvim config/config.php X X$conf['db']['dbUser'] = 'phpscheduleit'; X$conf['db']['dbPass'] = 'your_password'; X$conf['db']['dbName'] = 'phpScheduleIt'; X X4) cp %%WWWDIR%%/config/config.new.php %%WWWDIR%%/config/config.php X5) And finally connect: http://your-server/phpscheduleit and register in the system. X Xphpschedule reguired to run properly: X- pear-DB X- PHP X- Webserver X- Database X----------------------------------------------------------------------------- ad2121c6e040913f59ed3d02c8eabbb3 echo x - phpscheduleit/pkg-descr sed 's/^X//' >phpscheduleit/pkg-descr << '1cbe58a12a1ab4baf210b038ff74dd8f' XphpScheduleIt is an Open Source web-based reservation and scheduling system. X XWWW: http://sourceforge.net/projects/phpscheduleit/files/ 1cbe58a12a1ab4baf210b038ff74dd8f exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101041317.p04DH3HM067348>