summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge2016-09-22 19:46:59 +0200
committerDavid Runge2016-09-22 19:46:59 +0200
commit815f1c122ac273ba5f936ab9166550949737aa49 (patch)
treee65423a73a8be355afe237e5531e2c02b0932bc0
parentfd9c1e837b6ccf980b2d760684614b51f76d5a8f (diff)
downloadaur-815f1c122ac273ba5f936ab9166550949737aa49.tar.gz
PKGBUILD: Updating to version 1.3.1. Removing now unneeded patch CVE-2014-8986.patch.
-rw-r--r--.SRCINFO12
-rw-r--r--CVE-2014-8986.patch20
-rw-r--r--PKGBUILD16
3 files changed, 14 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0b4d10850ca..9294565b2b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
# Generated by mksrcinfo v8
-# Sat Aug 20 20:18:36 UTC 2016
+# Thu Sep 22 17:46:08 UTC 2016
pkgbase = mantisbt
pkgdesc = Web-based issue tracking system
- pkgver = 1.3.0
- pkgrel = 2
- url = http://www.mantisbt.org/
+ pkgver = 1.3.1
+ pkgrel = 1
+ url = https://www.mantisbt.org/
install = mantisbt.install
arch = any
license = GPL
@@ -17,8 +17,8 @@ pkgbase = mantisbt
optdepends = nginx: Web server to run MantisBT
optdepends = php-pgsql: PostgreSQL database
backup = etc/webapps/mantisbt/config_inc.php
- source = http://downloads.sourceforge.net/mantisbt/mantisbt-1.3.0.tar.gz
- sha256sums = a223107ba9cf1a6a555031f662e81a297133ee9d88896704c689cea15506e2cc
+ source = https://downloads.sourceforge.net/mantisbt/mantisbt-1.3.1.tar.gz
+ sha256sums = 9f9f60c2787d8b380b882c6dbbf3850ac814c61352a57fbbe882887bc17a1d2f
pkgname = mantisbt
diff --git a/CVE-2014-8986.patch b/CVE-2014-8986.patch
deleted file mode 100644
index cc820ae3fd2..00000000000
--- a/CVE-2014-8986.patch
+++ /dev/null
@@ -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 );
diff --git a/PKGBUILD b/PKGBUILD
index 65dfdeabc6e..a1721faf52c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 183866 2016-07-23 11:02:59Z alucryd $
-# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Maintainer: David Runge <dave@sleepmap.de>
+# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Alexander 'gridcol' Griesbaum <agrsbm@gmail.com>
# Contributor: Ravenman <correo.cuervo@gmail.com>
# Contributor: Anton Bazhenov <anton.bazhenov@gmail>
# Contributor: Angel 'angvp' Velasquez <angvp@archlinux.com.ve>
pkgname=mantisbt
-pkgver=1.3.0
-pkgrel=2
+pkgver=1.3.1
+pkgrel=1
pkgdesc='Web-based issue tracking system'
arch=('any')
-url='http://www.mantisbt.org/'
+url='https://www.mantisbt.org/'
license=('GPL')
depends=('php')
optdepends=('apache: Web server to run MantisBT'
@@ -22,15 +22,15 @@ optdepends=('apache: 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')
+source=("https://downloads.sourceforge.net/mantisbt/mantisbt-${pkgver}.tar.gz")
+sha256sums=('9f9f60c2787d8b380b882c6dbbf3850ac814c61352a57fbbe882887bc17a1d2f')
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
+ ln -s /etc/webapps/mantisbt/config_inc.php "${pkgdir}"/usr/share/webapps/mantisbt/config/config_inc.php
find "${pkgdir}" -type d -exec chmod 755 {} +
find "${pkgdir}" -type f -exec chmod 644 {} +