From owner-freebsd-ports Fri Aug 9 0:30:25 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDDBD37B400 for ; Fri, 9 Aug 2002 00:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 344EF43E65 for ; Fri, 9 Aug 2002 00:30:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g797U2JU021553 for ; Fri, 9 Aug 2002 00:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g797U26G021552; Fri, 9 Aug 2002 00:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A96F37B400 for ; Fri, 9 Aug 2002 00:25:31 -0700 (PDT) Received: from nws2.iif.hu (nws2.iif.hu [193.225.12.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97E3043E4A for ; Fri, 9 Aug 2002 00:25:30 -0700 (PDT) (envelope-from mohacsi@nws2.iif.hu) Received: (from mohacsi@localhost) by nws2.iif.hu (8.12.5/8.12.5) id g796uAYV090827; Fri, 9 Aug 2002 08:56:10 +0200 (CEST) (envelope-from mohacsi) Message-Id: <200208090656.g796uAYV090827@nws2.iif.hu> Date: Fri, 9 Aug 2002 08:56:10 +0200 (CEST) From: Mohacsi Janos Reply-To: Mohacsi Janos To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/41464: New port Cybercalendar 1.8.2: web based calendar application Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41464 >Category: ports >Synopsis: New port Cybercalendar 1.8.2: web based calendar application >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 09 00:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mohacsi Janos >Release: FreeBSD 4.6-STABLE i386 >Organization: NIIF >Environment: System: FreeBSD nws2.iif.hu 4.6-STABLE FreeBSD 4.6-STABLE #1: Tue Aug 6 17:27:30 CEST 2002 root@nws2.iif.hu:/usr/src/sys/compile/NWS2 i386 >Description: CyberCalendar is a calendar of events program for the web and WAP/PDA devices written entirely in Perl and uses MySQL as database backend. >How-To-Repeat: Apply this shar. >Fix: # 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: # # cybercalendar # cybercalendar/pkg-plist # cybercalendar/pkg-descr # cybercalendar/pkg-comment # cybercalendar/distinfo # cybercalendar/Makefile # cybercalendar/pkg-message # cybercalendar/files # cybercalendar/files/httpd.conf.changes # echo c - cybercalendar mkdir -p cybercalendar > /dev/null 2>&1 echo x - cybercalendar/pkg-plist sed 's/^X//' >cybercalendar/pkg-plist << 'END-of-cybercalendar/pkg-plist' Xcybercalendar/calendar/admin/help/help_add.html Xcybercalendar/calendar/admin/help/help_calconfig.html Xcybercalendar/calendar/admin/help/help_controls.html Xcybercalendar/calendar/admin/help/help_index.html Xcybercalendar/calendar/admin/help/help_tags.html Xcybercalendar/calendar/admin/help/help_sec.html Xcybercalendar/calendar/admin/images/browse.png Xcybercalendar/calendar/admin/images/hd_cal.png Xcybercalendar/calendar/admin/images/save.png Xcybercalendar/calendar/admin/images/search.png Xcybercalendar/calendar/admin/images/select.png Xcybercalendar/calendar/admin/admin.pl Xcybercalendar/calendar/admin/index.pl Xcybercalendar/calendar/admin/setup.pl Xcybercalendar/calendar/admin/CyberCalendar Xcybercalendar/calendar/help/sm_calendar.png Xcybercalendar/calendar/help/browsebox.jpg Xcybercalendar/calendar/help/event.png Xcybercalendar/calendar/help/help_index.html Xcybercalendar/calendar/help/help_options.html Xcybercalendar/calendar/help/help_search.html Xcybercalendar/calendar/help/help_view.html Xcybercalendar/calendar/help/help_view_lg.html Xcybercalendar/calendar/help/lg_cal_day.png Xcybercalendar/calendar/help/lg_cal_thumb.png Xcybercalendar/calendar/help/options-email.png Xcybercalendar/calendar/help/options-printable.png Xcybercalendar/calendar/help/options-reminder.png Xcybercalendar/calendar/help/options-title.png Xcybercalendar/calendar/help/options-vcal.png Xcybercalendar/calendar/help/searchbox2.png Xcybercalendar/calendar/help/both.jpg Xcybercalendar/calendar/images/browse.png Xcybercalendar/calendar/images/hd_cal.png Xcybercalendar/calendar/images/help.png Xcybercalendar/calendar/images/save.png Xcybercalendar/calendar/images/search.png Xcybercalendar/calendar/images/select.png Xcybercalendar/calendar/templates/large_calendar.html Xcybercalendar/calendar/templates/small_calendar.html Xcybercalendar/calendar/printable.pl Xcybercalendar/calendar/event.vcs Xcybercalendar/calendar/vcal.pl Xcybercalendar/calendar/submit.pl Xcybercalendar/calendar/index.pl Xcybercalendar/calendar/optionform.pl Xcybercalendar/calendar/pda.pl Xcybercalendar/calendar/CyberCalendar Xcybercalendar/CyberCalendar/Util.pm Xcybercalendar/CyberCalendar/Application.pm Xcybercalendar/CyberCalendar/Auth.pm Xcybercalendar/CyberCalendar/Calendar.pm Xcybercalendar/CyberCalendar/Config.pm Xcybercalendar/CyberCalendar/Database.pm Xcybercalendar/CyberCalendar/Http.pm Xcybercalendar/CyberCalendar/PDA.pm Xcybercalendar/CyberCalendar/Setup.pm Xcybercalendar/CyberCalendar/Admin.pm Xcybercalendar/setup/cron_job/optimize_tables.pl Xcybercalendar/setup/cron_job/run_reminder.pl Xcybercalendar/setup/db/calendar.sql Xcybercalendar/setup/db/caluser.sql Xcybercalendar/setup/db/upgrade.sql Xcybercalendar/setup/db/upgrade_convert_acl.sql Xcybercalendar/setup/httpd.conf.changes X@dirrm cybercalendar/calendar/admin/help X@dirrm cybercalendar/calendar/admin/images X@dirrm cybercalendar/calendar/admin X@dirrm cybercalendar/calendar/help X@dirrm cybercalendar/calendar/images X@dirrm cybercalendar/calendar/templates X@dirrm cybercalendar/calendar X@dirrm cybercalendar/CyberCalendar X@dirrm cybercalendar/setup/cron_job X@dirrm cybercalendar/setup/db X@dirrm cybercalendar/setup X@dirrm cybercalendar/ X%%PORTDOCS%%share/doc/cybercalendar/CHANGES X%%PORTDOCS%%share/doc/cybercalendar/COPYING X%%PORTDOCS%%share/doc/cybercalendar/INSTALL X%%PORTDOCS%%share/doc/cybercalendar/INSTALL.NOSITEPERL X%%PORTDOCS%%share/doc/cybercalendar/README X%%PORTDOCS%%share/doc/cybercalendar/TODO X%%PORTDOCS%%@dirrm share/doc/cybercalendar END-of-cybercalendar/pkg-plist echo x - cybercalendar/pkg-descr sed 's/^X//' >cybercalendar/pkg-descr << 'END-of-cybercalendar/pkg-descr' XCyberCalendar is a calendar of events program for the web and XWAP/PDA devices written entirely in Perl. X XFEATURES: X X* Creation of an unlimited number of calendars. X* Receive scheduled event reminders via e-mail. X* Send events to friends as e-mail messages. X* Download events in vCalendar format to your personal X scheduling software or your handheld device. X* Supports multiple calendar administrators. X* Full WAP and Palm/AvantGo browser support. X* Support for public event submissions. X* Fully configurable -- including images and HTML colors. X* Runs on Unix or Windows. X* Runs as a CGI or as a mod_perl application. X* 100% Perl application. X X XWWW: http://sourceforge.net/projects/cybercalendar/ X X- Janos Mohacsi janos.mohacsi@bsd.hu END-of-cybercalendar/pkg-descr echo x - cybercalendar/pkg-comment sed 's/^X//' >cybercalendar/pkg-comment << 'END-of-cybercalendar/pkg-comment' XCyberCalendar is a web based calendar program written in perl END-of-cybercalendar/pkg-comment echo x - cybercalendar/distinfo sed 's/^X//' >cybercalendar/distinfo << 'END-of-cybercalendar/distinfo' XMD5 (CyberCalendar_1.8.2.tar.gz) = 7d2b134fe63ec3deda5d119bee1e9020 END-of-cybercalendar/distinfo echo x - cybercalendar/Makefile sed 's/^X//' >cybercalendar/Makefile << 'END-of-cybercalendar/Makefile' X# New ports collection makefile for: cybercalendar X# Date created: 17 June 2002 X# Whom: janos.mohacsi@bsd.hu X# X# $FreeBSD$ X XPORTNAME= cybercalendar XPORTVERSION= 1.8.2 XCATEGORIES= www XMASTER_SITES= http://www.cyberweavers.com/download/ XDISTNAME= CyberCalendar_${PORTVERSION} X XMAINTAINER= janos.mohacsi@bsd.hu X XRUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc \ X ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite X XWRKSRC= ${WRKDIR}/CyberCalendar X XUSE_PERL5= yes XNO_BUILD= yes XNO_PACKAGE= "needs customization and postconfiguration" X XDOC_FILES= README INSTALL INSTALL.NOSITEPERL TODO CHANGES COPYING XSCRIPT_FILES= calendar/index.pl calendar/optionform.pl calendar/pda.pl \ X calendar/printable.pl calendar/submit.pl calendar/vcal.pl \ X calendar/admin/admin.pl calendar/admin/index.pl calendar/admin/setup.pl X Xdo-install: X @if [ ! -d ${PREFIX}/cybercalendar ]; then \ X ${MKDIR} ${PREFIX}/cybercalendar; fi X @${CP} -R ${WRKSRC}/calendar ${PREFIX}/cybercalendar X @${CP} -R ${WRKSRC}/CyberCalendar ${PREFIX}/cybercalendar X.for file in ${SCRIPT_FILES} X @${CHMOD} 755 ${PREFIX}/cybercalendar/${file} X.endfor X ${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \ X ${PREFIX}/cybercalendar/calendar X ${LN} -s ${PREFIX}/cybercalendar/CyberCalendar \ X ${PREFIX}/cybercalendar/calendar/admin X @${CP} -R ${WRKSRC}/setup ${PREFIX}/cybercalendar X ${INSTALL_DATA} ${FILESDIR}/httpd.conf.changes \ X ${PREFIX}/cybercalendar/setup X Xpost-install: X.ifndef(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in ${DOC_FILES} X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-cybercalendar/Makefile echo x - cybercalendar/pkg-message sed 's/^X//' >cybercalendar/pkg-message << 'END-of-cybercalendar/pkg-message' X############################################################################## X X===> Cybercalendar post-port installation instructions: X X To complete the installation of this port, please perform following actions X as root: X X Mysql config: X mysqladmin -u root -p create calendar # "calendar" is your database name X mysql -u root -p mysql < %%LOCALBASE%%/cybercalendar/setup/db/caluser.sql X mysql -u root -p calendar < %%LOCALBASE%%/cybercalendar/setup/db/calendar.sql X X Apache config: X Include %%LOCALBASE%%/cybercalendar/setup/httpd.conf.changes into X %%LOCALBASE%%/etc/apache/httpd.conf X apachectl restart # restarts the apache server X X Cron config: X configure to run following two cronjob: X %%LOCALBASE%%/cybercalendar/setup/cron_job/optimize_tables.pl # every week X %%LOCALBASE%%/cybercalendar/setup/cron_job/run_reminder.pl # every midnight X X Configure Cybercalendar via web: X username: admin X password: caladmin1 X X############################################################################## END-of-cybercalendar/pkg-message echo c - cybercalendar/files mkdir -p cybercalendar/files > /dev/null 2>&1 echo x - cybercalendar/files/httpd.conf.changes sed 's/^X//' >cybercalendar/files/httpd.conf.changes << 'END-of-cybercalendar/files/httpd.conf.changes' XAlias /calendar/ /usr/local/cybercalendar/calendar/ XDirectoryIndex index.html index.pl XAddHandler cgi-script .cgi .pl X X XAllowOverride None XOptions +ExecCGI XOrder allow,deny Xallow from all X END-of-cybercalendar/files/httpd.conf.changes exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message