mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
This plugin implements fully iCal-compliant calendaring functionality
for Squirrelmail. Multiple calendars my be created, where each calendar can be made public, private or shared between custom-defined groups of users. WWW: http://www.squirrelmail.org/plugin_view.php?id=105 PR: ports/119270 Submitted by: Gerrit Beine <gerrit.beine at gmx.de>
This commit is contained in:
parent
52c0ccce69
commit
7d9028b055
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=205080
@ -601,6 +601,7 @@
|
||||
SUBDIR += squirrelmail-quota_usage-plugin
|
||||
SUBDIR += squirrelmail-sasql-plugin
|
||||
SUBDIR += squirrelmail-secure_login-plugin
|
||||
SUBDIR += squirrelmail-shared_calendars-plugin
|
||||
SUBDIR += squirrelmail-timeout_user-plugin
|
||||
SUBDIR += squirrelmail-tmda-plugin
|
||||
SUBDIR += squirrelmail-vlogin-plugin
|
||||
|
93
mail/squirrelmail-shared_calendars-plugin/Makefile
Normal file
93
mail/squirrelmail-shared_calendars-plugin/Makefile
Normal file
@ -0,0 +1,93 @@
|
||||
# New ports collection makefile for: squirrelmail-shared_calendars-plugin
|
||||
# Date created: 02 Jan 2008
|
||||
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= shared_calendars
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= mail www
|
||||
MASTER_SITES= http://www.squirrelmail.org/plugins/
|
||||
PKGNAMEPREFIX= squirrelmail-
|
||||
PKGNAMESUFFIX= -plugin
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.4.0
|
||||
DIST_SUBDIR= squirrelmail
|
||||
|
||||
MAINTAINER= gerrit.beine@gmx.de
|
||||
COMMENT= iCal-compliant calendaring for SquirrelMail
|
||||
|
||||
RUN_DEPENDS= ${SQUIRRELDIR}/index.php:${PORTSDIR}/mail/squirrelmail \
|
||||
${SQUIRRELDIR}/plugins/compatibility:${PORTSDIR}/mail/squirrelmail-compatibility-plugin
|
||||
|
||||
SQUIRREL_PLUGIN_NAME= ${PORTNAME}
|
||||
|
||||
.ifdef SQUIRRELDIR
|
||||
PLIST_SUB+= SQUIRRELDIR=${SQUIRRELDIR}
|
||||
SUB_LIST+= "SQUIRRELDIR=${SQUIRRELDIR}"
|
||||
.else
|
||||
. ifndef WITHOUT_WWWDIR
|
||||
SQUIRRELDIR= ${PREFIX}/www/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=www/squirrelmail
|
||||
SUB_LIST+= "SQUIRRELDIR=www/squirrelmail"
|
||||
. else
|
||||
SQUIRRELDIR= ${PREFIX}/squirrelmail
|
||||
PLIST_SUB+= SQUIRRELDIR=squirrelmail
|
||||
SUB_LIST+= "SQUIRRELDIR=squirrelmail"
|
||||
. endif
|
||||
.endif
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
USE_PERL5_BUILD= yes
|
||||
USE_PHP= yes
|
||||
WANT_PHP_WEB= yes
|
||||
|
||||
OPTIONS= SQL "use SQL backend" off
|
||||
|
||||
PORT_DBDIR?= /var/db/ports
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
|
||||
|
||||
.if exists(${OPTIONSFILE})
|
||||
.include "${OPTIONSFILE}"
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SQL) || defined(WITH_SQL)
|
||||
RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_sql_backend:${PORTSDIR}/mail/squirrelmail-calendar_sql_backend-plugin
|
||||
.else
|
||||
RUN_DEPENDS+= ${SQUIRRELDIR}/plugins/calendar_file_backend:${PORTSDIR}/mail/squirrelmail-calendar_file_backend-plugin
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO} ""
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
@${ECHO} "Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you don't want to automatically activate the plug-in set"
|
||||
@${ECHO} "WITHOUT_ACTIVATE=yes"
|
||||
.else
|
||||
@${ECHO} "NOT Activating plug-in in SquirrelMail after installation."
|
||||
@${ECHO} "If you want to automatically activate the plug-in unset"
|
||||
@${ECHO} "WITHOUT_ACTIVATE"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
|
||||
do-install:
|
||||
${CP} -rp ${WRKSRC}/calendar ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${SQUIRRELDIR}/plugins/${SQUIRREL_PLUGIN_NAME}
|
||||
|
||||
post-install:
|
||||
.ifndef WITHOUT_ACTIVATE
|
||||
.if exists( ${SQUIRRELDIR}/config/config.php )
|
||||
@${ECHO} "Activating plug-in in SquirrelMail"
|
||||
${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}
|
||||
.endif
|
||||
.else
|
||||
@${ECHO} "To activate the plug-in in SquirrelMail use"
|
||||
@${ECHO} "${SQUIRRELDIR}/config/conf.pl --install-plugin ${SQUIRREL_PLUGIN_NAME}"
|
||||
.endif
|
||||
@${ECHO} ""
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
mail/squirrelmail-shared_calendars-plugin/distinfo
Normal file
3
mail/squirrelmail-shared_calendars-plugin/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (squirrelmail/shared_calendars-2.0.1-1.4.0.tar.gz) = 9d3d6eccbcbee866f91443b69c2c61c3
|
||||
SHA256 (squirrelmail/shared_calendars-2.0.1-1.4.0.tar.gz) = 8e8cea6801b0e88b54ab0691bb6eba0585364bf49c47dee5055e77364dc86171
|
||||
SIZE (squirrelmail/shared_calendars-2.0.1-1.4.0.tar.gz) = 299580
|
@ -0,0 +1,5 @@
|
||||
For the port to work properly you must copy the file
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/calendar/data/config.sample.php
|
||||
to
|
||||
%%PREFIX%%/%%SQUIRRELDIR%%/plugins/calendar/data/config.php
|
||||
and edit the configuration to meet your needs.
|
7
mail/squirrelmail-shared_calendars-plugin/pkg-descr
Normal file
7
mail/squirrelmail-shared_calendars-plugin/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
This plugin implements fully iCal-compliant calendaring functionality
|
||||
for Squirrelmail.
|
||||
|
||||
Multiple calendars my be created, where each calendar can be made public,
|
||||
private or shared between custom-defined groups of users.
|
||||
|
||||
WWW: http://www.squirrelmail.org/plugin_view.php?id=105
|
75
mail/squirrelmail-shared_calendars-plugin/pkg-plist
Normal file
75
mail/squirrelmail-shared_calendars-plugin/pkg-plist
Normal file
@ -0,0 +1,75 @@
|
||||
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/classes/calendar.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/classes/event.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/classes/property.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/data/.htaccess
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/data/config.php.sample
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/data/index.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/doc/rfc2234.txt
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/doc/rfc2445.txt
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/doc/vcal-10.rtf
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/doc/vcal-10.txt
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/colortable.gif
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/colortable.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/delete_icon.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/delete_icon2.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/delete_icon3.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/new.gif
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/new.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/tinycal.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/tinyclock.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/tinyclock2.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/images/tinyclock3.png
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/.htaccess
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/add_new_personal_calendar.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/admin_interface.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/calendar.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/calendar_options.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/color.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/day.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/edit_calendar.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/event.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/helper_month.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/helper_time.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/index.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/list_calendars.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/interface/month.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/scripts/convert_cal_data.sh
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/scripts/convert_cal_to_ical.pl
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/scripts/fix_calIDs.sh
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/scripts/fix_rrules.sh
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/COPYING
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/INSTALL
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/README
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/TODO
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/admin_options.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/backend_functions.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/calendar.pot
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/calendar_options.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/constants.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/day.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/download.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/event_manage.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/functions.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/getpot
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/helper_month.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/helper_time.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/index.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/list_calendars.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/load_prefs.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/make_release.sh
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/month.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/setup.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/small_calendar.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/timezone_offsets.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/url_validator.php
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/version
|
||||
%%SQUIRRELDIR%%/plugins/shared_calendars/year.php
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/shared_calendars/classes
|
||||
@dirrmtry %%SQUIRRELDIR%%/plugins/shared_calendars/data
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/shared_calendars/doc
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/shared_calendars/images
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/shared_calendars/interface
|
||||
@dirrm %%SQUIRRELDIR%%/plugins/shared_calendars/scripts
|
||||
@dirrmtry %%SQUIRRELDIR%%/plugins/shared_calendars
|
||||
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|
Loading…
Reference in New Issue
Block a user