[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
This commit is contained in:
parent
3578820dc1
commit
2a0da33508
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155682
3 changed files with 20 additions and 11 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
4
deskutils/phpicalendar/files/pkg-message.in
Normal file
4
deskutils/phpicalendar/files/pkg-message.in
Normal file
|
@ -0,0 +1,4 @@
|
|||
PHPiCalendar post-install instructions
|
||||
--------------------------------------
|
||||
Go to %%WWWDIR%%/www/phpicalendar and copy
|
||||
config.inc.php-default to config.inc.php.
|
Loading…
Reference in a new issue