Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 12:14:20 -0400 (EDT)
From:      Greg Larkin <glarkin@sourcehosting.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96053: [patch] Update port: www/webcalendar (minor bug fixes)
Message-ID:  <200604191614.k3JGEKmi025081@fuzz-fbsd411.entropy.prv>
Resent-Message-ID: <200604191620.k3JGKLZs066796@freefall.freebsd.org>

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

>Number:         96053
>Category:       ports
>Synopsis:       [patch] Update port: www/webcalendar (minor bug fixes)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 19 16:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Greg Larkin
>Release:        FreeBSD 4.11-RELEASE-p16 i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD fuzz-fbsd411.entropy.prv 4.11-RELEASE-p16 FreeBSD 4.11-RELEASE-p16 #0: Tue Mar 28 15:47:32 EST 2006 root@fuzz-fbsd411.entropy.prv:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	Update port to version 1.0.3 to track official release (miscellaneous
        bug fixes).  Also added some dependencies to the Makefile so the
        proper PHP extensions will be installed.
>How-To-Repeat:
	Please see: http://sourceforge.net/project/shownotes.php?release_id=409000
>Fix:

	Install WebCalendar 1.0.3

--- WebCalendar-1.0.3.patch begins here ---
diff -urN webcalendar-1.0.2/Makefile webcalendar/Makefile
--- webcalendar-1.0.2/Makefile	Wed Apr 19 09:18:40 2006
+++ webcalendar/Makefile	Wed Apr 19 11:03:49 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	WebCalendar
-DISTVERSION=	1.0.2
+DISTVERSION=	1.0.3
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	webcalendar
@@ -15,7 +15,57 @@
 MAINTAINER=	glarkin@sourcehosting.net
 COMMENT=	A web-based calendar application
 
-USE_PHP=	yes
+OPTIONS=	MYSQL "Use MySQL database backend (default)" On \
+		PGSQL "Use PostgreSQL database backend" Off \
+		MSSQL "Use MSSQL database backend" Off \
+		DBASE "Use DBase database backend" Off \
+		ODBC "Use ODBC database backend" Off \
+		ORACLE "Use Oracle database backend" Off
+
+USE_PHP=	pcre session ldap
+
+.include <bsd.port.pre.mk>
+
+DB_DEFINED=	no
+
+.if defined(WITH_MYSQL)
+USE_PHP+=	mysql
+DB_DEFINED=	yes
+.endif
+
+.if defined(WITH_PGSQL)
+USE_PHP+=	pgsql
+DB_DEFINED=	yes
+.endif
+
+.if defined(WITH_MSSQL)
+USE_PHP+=	mssql
+DB_DEFINED=	yes
+.endif
+
+.if defined(WITH_DBASE)
+USE_PHP+=	dbase
+DB_DEFINED=	yes
+.endif
+
+.if defined(WITH_ODBC)
+USE_PHP+=	odbc
+DB_DEFINED=	yes
+.endif
+
+.if defined(WITH_ORACLE)
+USE_PHP+=	oracle
+DB_DEFINED=	yes
+.endif
+
+.if ${DB_DEFINED} == "no"
+USE_PHP+=	mysql
+.endif
+
+# Fix USE_PHP after bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.php.mk"
+
+USE_APACHE=	yes
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/WebCalendar-${DISTVERSION}
 
@@ -51,4 +101,4 @@
 .endfor
 	@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' -e 's|%%WEBWCDIR%%|${WEBWCDIR}|g' -e 's|%%DOCSDIR%%|${DOCSDIR}|g'
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN webcalendar-1.0.2/distinfo webcalendar/distinfo
--- webcalendar-1.0.2/distinfo	Wed Apr 19 09:18:40 2006
+++ webcalendar/distinfo	Wed Apr 19 09:20:33 2006
@@ -1,3 +1,3 @@
-MD5 (WebCalendar-1.0.2.tar.gz) = 358bde9195b88f33134e1fad9d617921
-SHA256 (WebCalendar-1.0.2.tar.gz) = 4f484634aeaec0895f7959460bac08bd2866acdfe02f4e3250af48febaffd0b2
-SIZE (WebCalendar-1.0.2.tar.gz) = 942031
+MD5 (WebCalendar-1.0.3.tar.gz) = 499f9daed1970625e26b8062d4b53f0e
+SHA256 (WebCalendar-1.0.3.tar.gz) = dd974906eaf5bceeca4dbe8ea545b913ac53f79cc68aa9bb7d6a25bce9a962b2
+SIZE (WebCalendar-1.0.3.tar.gz) = 885250
diff -urN webcalendar-1.0.2/pkg-message webcalendar/pkg-message
--- webcalendar-1.0.2/pkg-message	Wed Apr 19 09:18:40 2006
+++ webcalendar/pkg-message	Wed Apr 19 11:07:48 2006
@@ -3,8 +3,9 @@
 
 To make WebCalendar workable, please read
 %%DOCSDIR%%/WebCalendar-SysAdmin.html
-for information about creating the database and installing
-the database tables.
+for information about creating the database, installing
+the database tables and other post-installation tasks,
+such as setting up email reminders.
 
 Then copy
 %%PREFIX%%/%%WEBWCDIR%%/includes/settings.php.orig to
--- WebCalendar-1.0.3.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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