[arch-commits] Commit in mantisbt/repos/community-any (6 files)
Maxime Gauduin
alucryd at archlinux.org
Sat Jul 23 11:03:06 UTC 2016
Date: Saturday, July 23, 2016 @ 11:03:05
Author: alucryd
Revision: 183867
archrelease: copy trunk to community-any
Added:
mantisbt/repos/community-any/CVE-2014-8986.patch
(from rev 183866, mantisbt/trunk/CVE-2014-8986.patch)
mantisbt/repos/community-any/PKGBUILD
(from rev 183866, mantisbt/trunk/PKGBUILD)
mantisbt/repos/community-any/mantisbt.install
(from rev 183866, mantisbt/trunk/mantisbt.install)
Deleted:
mantisbt/repos/community-any/CVE-2014-8986.patch
mantisbt/repos/community-any/PKGBUILD
mantisbt/repos/community-any/mantisbt.install
---------------------+
CVE-2014-8986.patch | 40 ++++++++++++-------------
PKGBUILD | 80 +++++++++++++++++++++++++-------------------------
mantisbt.install | 34 ++++++++++-----------
3 files changed, 77 insertions(+), 77 deletions(-)
Deleted: CVE-2014-8986.patch
===================================================================
--- CVE-2014-8986.patch 2016-07-23 11:02:59 UTC (rev 183866)
+++ CVE-2014-8986.patch 2016-07-23 11:03:05 UTC (rev 183867)
@@ -1,20 +0,0 @@
-diff -rupN mantisbt-1.2.19.orig/adm_config_report.php mantisbt-1.2.19/adm_config_report.php
---- mantisbt-1.2.19.orig/adm_config_report.php 2015-02-17 11:36:02.025998608 +0100
-+++ mantisbt-1.2.19/adm_config_report.php 2015-02-17 11:42:22.122773322 +0100
-@@ -159,6 +159,16 @@
- }
- }
-
-+ if( !is_blank( $t_filter_config_value ) && (int)$t_filter_config_value !== META_FILTER_NONE ) {
-+ // check that config value exists
-+ if( @config_get_global( $t_filter_config_value ) === null ) {
-+ $t_cookie_path = config_get( 'cookie_path' );
-+ gpc_clear_cookie( $t_cookie_name, $t_cookie_path );
-+
-+ trigger_error( ERROR_GENERIC, ERROR );
-+ }
-+ }
-+
- # Get config edit values
- $t_edit_user_id = gpc_get_int( 'user_id', $t_filter_user_value == META_FILTER_NONE ? ALL_USERS : $t_filter_user_value );
- $t_edit_project_id = gpc_get_int( 'project_id', $t_filter_project_value == META_FILTER_NONE ? ALL_PROJECTS : $t_filter_project_value );
Copied: mantisbt/repos/community-any/CVE-2014-8986.patch (from rev 183866, mantisbt/trunk/CVE-2014-8986.patch)
===================================================================
--- CVE-2014-8986.patch (rev 0)
+++ CVE-2014-8986.patch 2016-07-23 11:03:05 UTC (rev 183867)
@@ -0,0 +1,20 @@
+diff -rupN mantisbt-1.2.19.orig/adm_config_report.php mantisbt-1.2.19/adm_config_report.php
+--- mantisbt-1.2.19.orig/adm_config_report.php 2015-02-17 11:36:02.025998608 +0100
++++ mantisbt-1.2.19/adm_config_report.php 2015-02-17 11:42:22.122773322 +0100
+@@ -159,6 +159,16 @@
+ }
+ }
+
++ if( !is_blank( $t_filter_config_value ) && (int)$t_filter_config_value !== META_FILTER_NONE ) {
++ // check that config value exists
++ if( @config_get_global( $t_filter_config_value ) === null ) {
++ $t_cookie_path = config_get( 'cookie_path' );
++ gpc_clear_cookie( $t_cookie_name, $t_cookie_path );
++
++ trigger_error( ERROR_GENERIC, ERROR );
++ }
++ }
++
+ # Get config edit values
+ $t_edit_user_id = gpc_get_int( 'user_id', $t_filter_user_value == META_FILTER_NONE ? ALL_USERS : $t_filter_user_value );
+ $t_edit_project_id = gpc_get_int( 'project_id', $t_filter_project_value == META_FILTER_NONE ? ALL_PROJECTS : $t_filter_project_value );
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-23 11:02:59 UTC (rev 183866)
+++ PKGBUILD 2016-07-23 11:03:05 UTC (rev 183867)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Alexander 'gridcol' Griesbaum <agrsbm at gmail.com>
-# Contributor: Ravenman <correo.cuervo at gmail.com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Angel 'angvp' Velasquez <angvp at archlinux.com.ve>
-
-pkgname=mantisbt
-pkgver=1.3.0
-pkgrel=1
-pkgdesc='Web-based issue tracking system'
-arch=('any')
-url='http://www.mantisbt.org/'
-license=('GPL')
-depends=('php')
-optdepends=('apache: Web server to run MantisBT'
- 'curl: Twitter integration'
- 'gd: Graphs support'
- 'lighttpd: Web server to run MantisBT'
- 'mariadb: SQL database'
- 'nginx: Web server to run MantisBT'
- 'php-pgsql: PostgreSQL database')
-backup=('etc/webapps/mantisbt/config_inc.php')
-install='mantisbt.install'
-source=("http://downloads.sourceforge.net/mantisbt/mantisbt-${pkgver}.tar.gz")
-sha256sums=('a223107ba9cf1a6a555031f662e81a297133ee9d88896704c689cea15506e2cc')
-
-package() {
- install -dm 755 "${pkgdir}"/{etc/webapps/mantisbt,usr/share/webapps}
- cp -dr --no-preserve='ownership' mantisbt-${pkgver} "${pkgdir}"/usr/share/webapps/mantisbt
-
- ln -s /etc/webapps/mantisbt/config_inc.php "${pkgdir}"/usr/share/webapps/mantisbt/config_inc.php
- cp "${pkgdir}"/usr/share/webapps/mantisbt/config/config_inc.php.sample "${pkgdir}"/etc/webapps/mantisbt/config_inc.php
-
- find "${pkgdir}" -type d -exec chmod 755 {} +
- find "${pkgdir}" -type f -exec chmod 644 {} +
- chown http:http -R "${pkgdir}"/usr/share/webapps/mantisbt
-}
-
-# vim: ts=2 sw=2 et:
Copied: mantisbt/repos/community-any/PKGBUILD (from rev 183866, mantisbt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-07-23 11:03:05 UTC (rev 183867)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Alexander 'gridcol' Griesbaum <agrsbm at gmail.com>
+# Contributor: Ravenman <correo.cuervo at gmail.com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Angel 'angvp' Velasquez <angvp at archlinux.com.ve>
+
+pkgname=mantisbt
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='Web-based issue tracking system'
+arch=('any')
+url='http://www.mantisbt.org/'
+license=('GPL')
+depends=('php')
+optdepends=('apache: Web server to run MantisBT'
+ 'curl: Twitter integration'
+ 'gd: Graphs support'
+ 'lighttpd: Web server to run MantisBT'
+ 'mariadb: SQL database'
+ 'nginx: Web server to run MantisBT'
+ 'php-pgsql: PostgreSQL database')
+backup=('etc/webapps/mantisbt/config_inc.php')
+install='mantisbt.install'
+source=("http://downloads.sourceforge.net/mantisbt/mantisbt-${pkgver}.tar.gz")
+sha256sums=('a223107ba9cf1a6a555031f662e81a297133ee9d88896704c689cea15506e2cc')
+
+package() {
+ install -dm 755 "${pkgdir}"/{etc/webapps/mantisbt,usr/share/webapps}
+ cp -dr --no-preserve='ownership' mantisbt-${pkgver} "${pkgdir}"/usr/share/webapps/mantisbt
+
+ ln -s /etc/webapps/mantisbt/config_inc.php "${pkgdir}"/usr/share/webapps/mantisbt/config_inc.php
+ cp "${pkgdir}"/usr/share/webapps/mantisbt/config/config_inc.php.sample "${pkgdir}"/etc/webapps/mantisbt/config_inc.php
+
+ find "${pkgdir}" -type d -exec chmod 755 {} +
+ find "${pkgdir}" -type f -exec chmod 644 {} +
+ chown http:http -R "${pkgdir}"/usr/share/webapps/mantisbt
+}
+
+# vim: ts=2 sw=2 et:
Deleted: mantisbt.install
===================================================================
--- mantisbt.install 2016-07-23 11:02:59 UTC (rev 183866)
+++ mantisbt.install 2016-07-23 11:03:05 UTC (rev 183867)
@@ -1,17 +0,0 @@
-pre_upgrade() {
- cd /usr/share/webapps/mantisbt
-
- cp mantis_offline.php.sample mantis_offline.php
-}
-
-post_upgrade() {
- cd /usr/share/webapps/mantisbt
-
- rm mantis_offline.php
-}
-
-post_remove() {
- rm -rf /usr/share/webapps/mantisbt
-}
-
-# vim: ts=2 sw=2 et:
Copied: mantisbt/repos/community-any/mantisbt.install (from rev 183866, mantisbt/trunk/mantisbt.install)
===================================================================
--- mantisbt.install (rev 0)
+++ mantisbt.install 2016-07-23 11:03:05 UTC (rev 183867)
@@ -0,0 +1,17 @@
+pre_upgrade() {
+ cd /usr/share/webapps/mantisbt
+
+ cp mantis_offline.php.sample mantis_offline.php
+}
+
+post_upgrade() {
+ cd /usr/share/webapps/mantisbt
+
+ rm mantis_offline.php
+}
+
+post_remove() {
+ rm -rf /usr/share/webapps/mantisbt
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list