summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Aranguren2019-04-25 13:15:42 +1000
committerLuis Aranguren2019-04-25 13:15:42 +1000
commit2fb269d971de2ded54c83d8487a01cb0a643cfe0 (patch)
treead795658330bd8314c722bbced9268706756de38
parent070caa822ce329d1bf697830f00f59751b111fc5 (diff)
downloadaur-2fb269d971de2ded54c83d8487a01cb0a643cfe0.tar.gz
updated to version 1.12, removed patch for error_Valid_CSRF_Token_Required
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 6 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73aa7339c0a..4b5d73d7342 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = osticket
pkgdesc = A widely-used open source support ticket system.
- pkgver = 1.10.4
+ pkgver = 1.12
pkgrel = 2
url = http://www.osticket.com/
install = osticket.install
@@ -10,10 +10,8 @@ pkgbase = osticket
depends = php
depends = php-apache
depends = mariadb
- source = https://github.com/osTicket/osTicket/releases/download/v1.10.4/osTicket-v1.10.4.zip
- source = error_Valid_CSRF_Token_Required.patch
- sha256sums = dbfdc0159471b68a3f54898a18504b999bfeb03920551e2fb827a74cc69cd928
- sha256sums = 8398d7e5ca92508dc06291b44dc75ffb9f09d9850bfc6a13ec9eecfcc434d4c7
+ source = https://github.com/osTicket/osTicket/releases/download/v1.12/osTicket-v1.12.zip
+ sha256sums = 2cd2ee76f107d58586d5bf57ad5d7daabf56ce51692b9ec7f5a99eacb61a45f9
pkgname = osticket
diff --git a/PKGBUILD b/PKGBUILD
index dadd733e8e6..03f8ee38d02 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,9 +1,8 @@
-
# Maintainer: Luis Aranguren <pizzaman@hotmail.com>
# Contributor: Sigmund Vestergaard <sigmundv at gmail dot com>
#
pkgname=osticket
-pkgver=1.10.4
+pkgver=1.12
pkgrel=2
pkgdesc='A widely-used open source support ticket system.'
arch=('any')
@@ -12,10 +11,8 @@ license=('GPL')
depends=('php' 'php-apache' 'mariadb')
makedepends=('unzip')
install="${pkgname}.install"
-source=("https://github.com/osTicket/osTicket/releases/download/v$pkgver/osTicket-v$pkgver.zip"
- "error_Valid_CSRF_Token_Required.patch")
-sha256sums=('dbfdc0159471b68a3f54898a18504b999bfeb03920551e2fb827a74cc69cd928'
- '8398d7e5ca92508dc06291b44dc75ffb9f09d9850bfc6a13ec9eecfcc434d4c7')
+source=("https://github.com/osTicket/osTicket/releases/download/v$pkgver/osTicket-v$pkgver.zip")
+sha256sums=('2cd2ee76f107d58586d5bf57ad5d7daabf56ce51692b9ec7f5a99eacb61a45f9')
package() {
cd $srcdir
@@ -29,10 +26,6 @@ package() {
sleep 1
unzip -d ${pkgdir}/usr/share/webapps/${pkgname} "osTicket-v$pkgver"
- # fix issue https://github.com/osTicket/osTicket/issues/4262#issuecomment-386066797 with patch
- cd ${pkgdir}/usr/share/webapps/${pkgname}/upload
- patch -Np1 -i "${srcdir}/error_Valid_CSRF_Token_Required.patch"
-
# fix permissions (probably needs to get included upstream)
find ${pkgdir}/usr/share/webapps/$pkgname -type f -exec chmod 0664 {} \;
find ${pkgdir}/usr/share/webapps/$pkgname -type d -exec chmod 0775 {} \;