1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to 2.0.1

- Use WWWDIR

Approved by:	maintainer implicit
This commit is contained in:
Martin Wilke 2007-08-05 08:37:36 +00:00
parent 849dbd144d
commit 67475a5aee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197106
5 changed files with 797 additions and 796 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= eventum
PORTVERSION= 1.7.1
PORTREVISION= 3
PORTVERSION= 2.0.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= eventum
@ -16,46 +15,18 @@ MAINTAINER= farrokhi@FreeBSD.org
COMMENT= Eventum issue tracking system
NO_BUILD= YES
USE_PHP= pcre session mysql gd
USE_PHP= pcre session mysql gd gettext
WANT_PHP_WEB= YES
EVENTUM?= www/eventum
PLIST_SUB+= EVENTUM=${EVENTUM}
SUB_LIST+= EVENTUM=${EVENTUM}
SUB_FILES= pkg-message
.if ${EVENTUM:M/*}
EVENTUM_DIST=${EVENTUM}
.else
EVENTUM_DIST=${PREFIX}/${EVENTUM}
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "This port has the following tunables"
@${ECHO_MSG} "EVENTUM path where Eventum will be installed"
@${ECHO_MSG} " either absolute or relative to the PREFIX"
@${ECHO_MSG} "WWWOWN eventum files owner"
@${ECHO_MSG} "WWWGRP eventum files group"
@${ECHO_MSG} ""
@${ECHO_MSG} "Current state is"
@${ECHO_MSG} "EVENTUM " ${EVENTUM}
@${ECHO_MSG} "WWWOWN " ${WWWOWN}
@${ECHO_MSG} "WWWGRP " ${WWWGRP}
@${ECHO_MSG} ""
pre-configure:
@${RM} ${WRKSRC}/misc/monitor.php.orig
pre-install:
@${MV} ${WRKSRC}/setup.conf.php ${WRKSRC}/setup.conf.php-dist
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-dist
do-install:
@${MKDIR} ${EVENTUM_DIST}
@${CP} -R ${WRKSRC}/ ${EVENTUM_DIST}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${EVENTUM_DIST}
@${CHMOD} -R 755 ${EVENTUM_DIST}
@${MKDIR} ${WWWDIR}
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (eventum-1.7.1.tar.gz) = e1845de39b4d9bd30ddec9c26031a7d5
SHA256 (eventum-1.7.1.tar.gz) = 6694c142eb93555950577c216a8efa6991116ddb69049f3f4f4b0569b48f5e8c
SIZE (eventum-1.7.1.tar.gz) = 883676
MD5 (eventum-2.0.1.tar.gz) = 9b413e7313d90548dc87bcae9e0cc468
SHA256 (eventum-2.0.1.tar.gz) = 2dbf69ebe9d225da9aa1c62fa5162dd444d1f9e11c6601b2c321fd0d9bc3a8ff
SIZE (eventum-2.0.1.tar.gz) = 1429884

View File

@ -1,8 +1,11 @@
--- misc/monitor.php.orig Thu Mar 30 21:13:13 2006
+++ misc/monitor.php Sat Jun 17 14:53:41 2006
$FreeBSD$
--- misc/monitor.php.orig
+++ misc/monitor.php
@@ -39,17 +39,17 @@
$required_files = array(
APP_PATH . 'config.inc.php' => array(
APP_PATH . 'config/config.php' => array(
'check_owner' => true,
- 'owner' => 'apache',
+ 'owner' => 'www',
@ -12,7 +15,7 @@
'check_permission' => true,
'permission' => 755,
),
APP_PATH . 'setup.conf.php' => array(
APP_PATH . 'config/setup.php' => array(
'check_owner' => true,
- 'owner' => 'apache',
+ 'owner' => 'www',
@ -22,10 +25,3 @@
'check_permission' => true,
'permission' => 750,
'check_filesize' => true,
@@ -60,4 +60,4 @@
Monitor::checkDatabase();
Monitor::checkMailQueue();
Monitor::checkIRCBot();
-?>
\ No newline at end of file
+?>

View File

@ -1,15 +0,0 @@
===========================================================
* To set up eventum, copy these files inside
%%PREFIX%%/%%EVENTUM%%:
setup.conf.php-dist -> setup.conf.php
config.inc.php-dist -> config.inc.php
* If you are upgrading from an older version of eventum, please
check upgrade scripts located at %%PREFIX%%/%%EVENTUM%%/misc/upgrade
* You may need to change memory_limit in php.ini file if the images
are not displayed correctly
===========================================================

File diff suppressed because it is too large Load Diff