ports/103403: [maintainer update] Fixed broken port, minor config option change

Greg Larkin glarkin at sourcehosting.net
Tue Sep 19 17:00:40 UTC 2006


>Number:         103403
>Category:       ports
>Synopsis:       [maintainer update] Fixed broken port, minor config option change
>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:   Tue Sep 19 17:00:34 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gregory C. Larkin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
SourceHosting.net, LLC
>Environment:
System: FreeBSD ports.entropy.prv 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	The port was fixed to correct a problem that caused to be marked
        for deletion.  Thanks to the following individuals:

        Miroslav Lachman - Patch to remove non-configurable LDAP dependency
        Thomas Abthorpe - A kick in the pants to get this done!
 
>How-To-Repeat:
	N/A
>Fix:

	The port will now clean up all directories when it is deleted

--- webcalendar.diff begins here ---
diff -ruN webcalendar.orig/Makefile webcalendar/Makefile
--- webcalendar.orig/Makefile	Tue Sep 19 09:55:33 2006
+++ webcalendar/Makefile	Tue Sep 19 10:53:15 2006
@@ -15,11 +15,7 @@
 MAINTAINER=	glarkin at sourcehosting.net
 COMMENT=	A web-based calendar application
 
-BROKEN=		fails to deinstall cleanly
-DEPRECATED=	${BROKEN}
-EXPIRATION_DATE=2006-12-01
-
-USE_PHP=	pcre session ldap
+USE_PHP=	pcre session
 WANT_PHP_WEB=	yes
 NO_BUILD=	yes
 
@@ -41,7 +37,8 @@
 		MSSQL "Use MSSQL database backend" Off \
 		DBASE "Use DBase database backend" Off \
 		ODBC "Use ODBC database backend" Off \
-		ORACLE "Use Oracle database backend" Off
+		ORACLE "Use Oracle database backend" Off \
+		LDAP "Use LDAP user authentication" Off
 
 .include <bsd.port.pre.mk>
 
@@ -78,7 +75,11 @@
 .endif
 
 .if ${DB_DEFINED} == "no"
-IGNORE=		please, choose database backend running 'make config'
+IGNORE=		please choose database backend by running 'make config'
+.endif
+
+.if defined(WITH_LDAP)
+USE_PHP+=	ldap
 .endif
 
 # Fix USE_PHP after bsd.port.pre.mk
@@ -91,6 +92,8 @@
 		${SED} -e 's|^|@dirrm ${WEBWCDIR}/|' >> ${PLIST} \
 		&& ${ECHO_CMD} @dirrm ${WEBWCDIR} >> ${PLIST}
 	@${CAT} pkg-plist >> ${PLIST}
+	@${ECHO_CMD} @dirrmtry www/data-dist >> ${PLIST}
+	@${ECHO_CMD} @dirrmtry www/data >> ${PLIST}
 
 do-install:
 	@${MKDIR} ${PREFIX}/${WEBWCDIR}
diff -ruN webcalendar.orig/pkg-message webcalendar/pkg-message
--- webcalendar.orig/pkg-message	Tue Sep 19 09:55:33 2006
+++ webcalendar/pkg-message	Tue Sep 19 10:00:12 2006
@@ -1,7 +1,7 @@
 
 Post-installation instructions:
 
-To make WebCalendar workable, please read
+To configure WebCalendar, please read
 %%DOCSDIR%%/WebCalendar-SysAdmin.html
 for information about creating the database, installing
 the database tables and other post-installation tasks,
--- webcalendar.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list