diff options
author | edwin <edwin@FreeBSD.org> | 2006-02-11 09:22:19 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-02-11 09:22:19 +0800 |
commit | abb72fa09bd36f1071ef039bd686f08cee1bba7c (patch) | |
tree | 98b32072908e1a6e2cc8728b9e110df722bf7e21 /deskutils | |
parent | 71777abf3390f3fb55034f8912d77dbd8b07fcc8 (diff) | |
download | freebsd-ports-gnome-abb72fa09bd36f1071ef039bd686f08cee1bba7c.tar.gz freebsd-ports-gnome-abb72fa09bd36f1071ef039bd686f08cee1bba7c.tar.zst freebsd-ports-gnome-abb72fa09bd36f1071ef039bd686f08cee1bba7c.zip |
[PATCH] deskutils/phpicalendar: Show all files that are installed
[SECURITY UPDATE]: deskutils/phpicalendar
PR: ports/92553,ports/93131
Submitted by: Renato Botelho <garga@freebsd.org>,Wesley Shields <wxs@csh.rit.edu>
Security: http://phpicalendar.net/forums/viewtopic.php?t=396
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/phpicalendar/Makefile | 21 | ||||
-rw-r--r-- | deskutils/phpicalendar/distinfo | 6 | ||||
-rw-r--r-- | deskutils/phpicalendar/files/pkg-message.in | 4 |
3 files changed, 20 insertions, 11 deletions
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 <bsd.port.mk> 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. |