summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorghen <ghen>2007-12-03 12:53:57 +0000
committerghen <ghen>2007-12-03 12:53:57 +0000
commit037c4ccbe15de244fdc836952c1122b80b3c9aa5 (patch)
treeaf1456d13f9f2598b61995b69946e1e7bffd3b06
parent19f315eb217e7b24a11bd6ce972206a5caf1407e (diff)
downloadpkgsrc-037c4ccbe15de244fdc836952c1122b80b3c9aa5.tar.gz
Pullup ticket 2232 - requested by adrianp
security update for mantis - pkgsrc/devel/mantis/Makefile 1.28 - pkgsrc/devel/mantis/PLIST 1.10 - pkgsrc/devel/mantis/distinfo 1.10 Module Name: pkgsrc Committed By: adrianp Date: Sat Oct 27 22:31:10 UTC 2007 Modified Files: pkgsrc/devel/mantis: Makefile PLIST distinfo Log Message: Update to 1.0.8 - 0007902: [bugtracker] constant_inc is missing statement in 1.0.7 (vboctor) - 0008020: [installation] Port 7907: Allow using system adodb (giallu) - 0008029: [localization] Spelling mistake in value of string $s_by_severity file lang/strings_spanish.txt (giallu) - 0008019: [other] Port 5333: Invalid zip file core/adodb/adodb-time.zip in CVS (giallu) - 0007939: [rss] Port 7738: Replace non free RSS creation class (vboctor) 2007.04.04 - 1.0.7 - 0007743: [security] Port: CVE-2006-6574 (vboctor) - 0007772: [security] email notifications bypass security on custom fields (vboctor) - 0007784: [security] XSS vulnerabilities (vboctor) - 0007774: [custom fields] custom fields not stored correctly in bug history (vboctor) - 0007783: [filters] Port: Dynamic filter selection (XMLHTTPRequest) broken when using IE7 (vboctor)
-rw-r--r--devel/mantis/Makefile26
-rw-r--r--devel/mantis/PLIST3
-rw-r--r--devel/mantis/distinfo8
3 files changed, 20 insertions, 17 deletions
diff --git a/devel/mantis/Makefile b/devel/mantis/Makefile
index 70e7e8d484a..ab2d409f870 100644
--- a/devel/mantis/Makefile
+++ b/devel/mantis/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2007/07/04 20:54:38 jlam Exp $
+# $NetBSD: Makefile,v 1.27.2.1 2007/12/03 12:53:57 ghen Exp $
-DISTNAME= mantis-1.0.6
+DISTNAME= mantis-1.0.8
CATEGORIES= devel www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mantisbt/}
@@ -24,18 +24,19 @@ PKG_SUPPORTED_OPTIONS= charts
DEPENDS+= ${PHP_PKG_PREFIX}-jpgraph-[0-9]*:../../graphics/php-jpgraph
.endif
-APACHE_USER?= www
+APACHE_USER?= www
+BUILD_DEFS+= APACHE_USER
-PKG_USERS_VARS+=APACHE_USER
-MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
+PKG_USERS_VARS+= APACHE_USER
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
-MANTIS_HOME= ${PREFIX}/share/mantis
-EGDIR= ${PREFIX}/share/examples/mantis
-CONF_FILES+= ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf
+MANTIS_HOME= ${PREFIX}/share/mantis
+EGDIR= ${PREFIX}/share/examples/mantis
+CONF_FILES+= ${EGDIR}/mantis.conf ${PKG_SYSCONFDIR}/mantis.conf
CONF_FILES_PERMS+= ${EGDIR}/config_inc.php \
${MANTIS_HOME}/config_inc.php \
${APACHE_USER} ${SHAREGRP} 0400
-MANTIS_EG= config_inc.php mantis.conf mantis_offline.php.sample
+MANTIS_EG= config_inc.php mantis.conf mantis_offline.php.sample
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
@@ -56,13 +57,16 @@ do-install:
${MV} ${WRKSRC}/config_inc.php.sample ${WRKSRC}/config_inc.php
. for f in ${MANTIS_EG}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}
- ${RM} ${WRKSRC}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${EGDIR}
+ ${RM} ${WRKSRC}/${f}
. endfor
cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM}
cd ${WRKSRC} && ${PAX} -rwpppm . ${MANTIS_HOME}
+ cd ${MANTIS_HOME} && \
+ ${FIND} . -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
+
.include "../../mk/mysql.buildlink3.mk"
.include "../../lang/php/phpversion.mk"
.include "../../mk/apache.mk"
diff --git a/devel/mantis/PLIST b/devel/mantis/PLIST
index 5ea96cfd9d4..304cd49776d 100644
--- a/devel/mantis/PLIST
+++ b/devel/mantis/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2006/11/14 13:05:12 adrianp Exp $
+@comment $NetBSD: PLIST,v 1.9.8.1 2007/12/03 12:53:58 ghen Exp $
share/doc/mantis/CUSTOMIZATION
share/doc/mantis/INSTALL
share/examples/mantis/config_inc.php
@@ -104,7 +104,6 @@ share/mantis/core/adodb/adodb-pear.inc.php
share/mantis/core/adodb/adodb-perf.inc.php
share/mantis/core/adodb/adodb-php4.inc.php
share/mantis/core/adodb/adodb-time.inc.php
-share/mantis/core/adodb/adodb-time.zip
share/mantis/core/adodb/adodb-xmlschema.inc.php
share/mantis/core/adodb/adodb.inc.php
share/mantis/core/adodb/contrib/toxmlrpc.inc.php
diff --git a/devel/mantis/distinfo b/devel/mantis/distinfo
index b09c4bd3654..4e2bfb5d791 100644
--- a/devel/mantis/distinfo
+++ b/devel/mantis/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2006/11/14 13:05:12 adrianp Exp $
+$NetBSD: distinfo,v 1.9.8.1 2007/12/03 12:53:59 ghen Exp $
-SHA1 (mantis-1.0.6.tar.gz) = 940a505d2a30e98679b156c503a96dc579ff0b01
-RMD160 (mantis-1.0.6.tar.gz) = 05b6cb89cf943447a887e9d8d52f927aaa316e16
-Size (mantis-1.0.6.tar.gz) = 1638568 bytes
+SHA1 (mantis-1.0.8.tar.gz) = 979947bc1f39d8471e48b3c914c46a91d6af3c38
+RMD160 (mantis-1.0.8.tar.gz) = 02e349a05d8d5c190d943ee4dc430a6adaffe1a0
+Size (mantis-1.0.8.tar.gz) = 1549854 bytes