From 2a0da3350897ea8ffe7661579df48d5c72af2562 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 11 Feb 2006 01:22:19 +0000 Subject: [PATCH] [PATCH] deskutils/phpicalendar: Show all files that are installed [SECURITY UPDATE]: deskutils/phpicalendar PR: ports/92553,ports/93131 Submitted by: Renato Botelho ,Wesley Shields Security: http://phpicalendar.net/forums/viewtopic.php?t=396 --- deskutils/phpicalendar/Makefile | 21 +++++++++++++-------- deskutils/phpicalendar/distinfo | 6 +++--- deskutils/phpicalendar/files/pkg-message.in | 4 ++++ 3 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 deskutils/phpicalendar/files/pkg-message.in diff --git a/deskutils/phpicalendar/Makefile b/deskutils/phpicalendar/Makefile index 065db7df1825..9548e16bea8e 100644 --- a/deskutils/phpicalendar/Makefile +++ b/deskutils/phpicalendar/Makefile @@ -6,7 +6,7 @@ # PORTNAME= phpicalendar -PORTVERSION= 2.1 +PORTVERSION= 2.21 CATEGORIES= deskutils www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,23 +19,28 @@ NO_BUILD= yes PHPICALENDAR= www/phpicalendar WWWDIR= ${PREFIX}/${PHPICALENDAR} PLIST_SUB+= PHPICALENDAR=${PHPICALENDAR} +USE_PHP= yes +NO_WORKSUBDIR= yes +SUB_FILES= pkg-message +SUB_LIST= WWWDIR=${WWWDIR} +PKGMESSAGE= ${WRKDIR}/pkg-message do-install: .if !exists(${WWWDIR}) ${MKDIR} ${WWWDIR} .endif .for dir in admin calendars functions images includes languages rss templates - @${CP} -R ${WRKSRC}/${dir} ${WWWDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir} + @${CP} -Rv ${WRKDIR}/${dir} ${WWWDIR} + ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/${dir} .endfor .for f in index.php TIMEZONES error.php day.php preferences.php print.php search.php week.php month.php year.php README COPYING AUTHORS - @${CP} ${WRKSRC}/${f} ${WWWDIR} - @${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f} + @${CP} -v ${WRKDIR}/${f} ${WWWDIR} + ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/${f} .endfor - @${CP} ${WRKSRC}/config.inc.php ${WWWDIR}/config.inc.php-default - @${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default + @${CP} -v ${WRKDIR}/config.inc.php ${WWWDIR}/config.inc.php-default + ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/config.inc.php-default post-install: - ${CAT} ${PKGMESSAGE} + @${CAT} ${PKGMESSAGE} .include diff --git a/deskutils/phpicalendar/distinfo b/deskutils/phpicalendar/distinfo index 299f1d99815b..e5811ea29663 100644 --- a/deskutils/phpicalendar/distinfo +++ b/deskutils/phpicalendar/distinfo @@ -1,3 +1,3 @@ -MD5 (phpicalendar-2.1.tgz) = c0b3fb13136f53ce60a53b3781a2d895 -SHA256 (phpicalendar-2.1.tgz) = 3ca96aac0491f26f607f15cd869836adddfc22e1e4e9b388a1ff2bbba7371167 -SIZE (phpicalendar-2.1.tgz) = 146748 +MD5 (phpicalendar-2.21.tgz) = 297e3a869f53bc0aa62653ed4d3b495d +SHA256 (phpicalendar-2.21.tgz) = 45e8bc8417762eb7779877a7abc4f7afe9e12a9f51b304f9c02dfdfaecd9add5 +SIZE (phpicalendar-2.21.tgz) = 149004 diff --git a/deskutils/phpicalendar/files/pkg-message.in b/deskutils/phpicalendar/files/pkg-message.in new file mode 100644 index 000000000000..cd7250bdc7c6 --- /dev/null +++ b/deskutils/phpicalendar/files/pkg-message.in @@ -0,0 +1,4 @@ +PHPiCalendar post-install instructions +-------------------------------------- +Go to %%WWWDIR%%/www/phpicalendar and copy +config.inc.php-default to config.inc.php.