1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add back baikal, and update to 0.2.7.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-07-01 10:57:14 +00:00
parent 41ba5a1e70
commit 0475a57753
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359977
6 changed files with 1082 additions and 0 deletions

View File

@ -46,6 +46,7 @@
SUBDIR += axis2
SUBDIR += b2evolution
SUBDIR += bacula-web
SUBDIR += baikal
SUBDIR += bannerfilter
SUBDIR += bblog
SUBDIR += bigbluebutton

50
www/baikal/Makefile Normal file
View File

@ -0,0 +1,50 @@
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= baikal
PORTVERSION= 0.2.7
CATEGORIES= www
MASTER_SITES= http://baikal-server.com/get/ LOCAL/mat/${PORTNAME}
DISTNAME= ${PORTNAME}-regular-${PORTVERSION}
MAINTAINER= mat@FreeBSD.org
COMMENT= Lightweight CalDAV/CardDAV server
LICENSE= GPLv3
USES= tar:tgz
USE_PHP= ctype filter xml pdo_sqlite session mbstring dom
OPTIONS_DEFINE= DOCS EXAMPLES
WRKSRC= ${WRKDIR}/${PORTNAME}-regular
NO_BUILD= yes
SUB_FILES= pkg-message
PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} BINOWN=${BINOWN} BINGRP=${BINGRP}
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.options.mk>
post-patch:
${MV} ${WRKSRC}/Specific/db/db.sqlite \
${WRKSRC}/Specific/db/db.sqlite.sample
${RM} -f ${WRKSRC}/Specific/ENABLE_INSTALL
${REINPLACE_CMD} -e 's,/var/www/dav.mydomain.com,${WWWDIR},g' \
${WRKSRC}/Specific/virtualhosts/baikal.*
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for DIR in Core html vendor Specific
cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${WWWDIR}
.endfor
.for f in INSTALL.md README.md TROUBLESHOOTING.md
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
${MV} ${STAGEDIR}${WWWDIR}/Specific/virtualhosts ${STAGEDIR}${EXAMPLESDIR}
${RM} -f ${STAGEDIR}${EXAMPLESDIR}/*.bak
.include <bsd.port.mk>

2
www/baikal/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (baikal-regular-0.2.7.tgz) = 268daeec96b9f1bbfee0c16398ae213abfe827c97ec487179985828b6267359f
SIZE (baikal-regular-0.2.7.tgz) = 2273699

View File

@ -0,0 +1,8 @@
To finish installing Baikal:
1) Set up an httpd directive
See %%EXAMPLESDIR%%
2) touch %%WWWDIR%%/Specific/ENABLE_INSTALL
3) Browse http://your.host.here/admin
4) rm %%WWWDIR%%/Specific/ENABLE_INSTALL

13
www/baikal/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
Baikal is a lightweight CalDAV and CardDAV server. It is
compatible with the calendar and contacts apps from Apple's
iOS and OS X, Android, Evolution, Mozilla Thunderbird, and
any other CalDAV/CardDAV capable application. Baikal supports
authentication with multiple users and calendars, and comes
with a spiffy web-based administration interface.
Baikal does not start a daemon or open any ports. It must
run at the root of a VirtualHost or subdomain. See the included
sample Apache and Nginx configurations, and INSTALL.md for all
the gory details.
WWW: http://baikal-server.com/

1008
www/baikal/pkg-plist Normal file

File diff suppressed because it is too large Load Diff