[arch-commits] Commit in awstats/trunk (PKGBUILD build-fix.patch)
Sergej Pupykin
spupykin at archlinux.org
Sat Apr 18 16:30:38 UTC 2020
Date: Saturday, April 18, 2020 @ 16:30:37
Author: spupykin
Revision: 616080
upgpkg: awstats 7.8-2
Added:
awstats/trunk/build-fix.patch
Modified:
awstats/trunk/PKGBUILD
-----------------+
PKGBUILD | 13 ++++++++++---
build-fix.patch | 12 ++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-18 15:11:25 UTC (rev 616079)
+++ PKGBUILD 2020-04-18 16:30:37 UTC (rev 616080)
@@ -4,7 +4,7 @@
pkgname=awstats
pkgver=7.8
-pkgrel=1
+pkgrel=2
pkgdesc="tool that generates web, streaming, ftp and mail server statistics, graphically"
arch=('any')
license=('GPL')
@@ -14,10 +14,17 @@
'etc/httpd/conf/extra/httpd-awstats.conf')
#source=("http://www.awstats.org/files/${pkgname}-${pkgver}.tar.gz"
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- "cron.awstats")
+ "cron.awstats"
+ "build-fix.patch")
sha256sums=('4a52279792b6e43c9dd7e448181a31a84b8507243d67fb5ef6c74eac7288a2c4'
- '18e2a1568da87540e8331982fc10f63f7c2ad8ba8fc593f3219469c6ecdef5d2')
+ '18e2a1568da87540e8331982fc10f63f7c2ad8ba8fc593f3219469c6ecdef5d2'
+ '05734f017ad6ce34298f547248dd8369ce18a41075f4967ad6f1f164cddd326b')
+prepare() {
+ cd "$srcdir"/${pkgname}-${pkgver}
+ patch -p1 <../build-fix.patch
+}
+
package() {
_SYSCONFDIR="etc"
_WWWROOT="usr/share/webapps/${pkgname}"
Added: build-fix.patch
===================================================================
--- build-fix.patch (rev 0)
+++ build-fix.patch 2020-04-18 16:30:37 UTC (rev 616080)
@@ -0,0 +1,12 @@
+diff -wbBur awstats-7.8/wwwroot/cgi-bin/lib/mime.pm awstats-7.8.my/wwwroot/cgi-bin/lib/mime.pm
+--- awstats-7.8/wwwroot/cgi-bin/lib/mime.pm 2020-04-16 12:18:35.000000000 +0300
++++ awstats-7.8.my/wwwroot/cgi-bin/lib/mime.pm 2020-04-18 19:27:04.242408222 +0300
+@@ -56,7 +56,7 @@
+ 'diskimage', 'Disc and media file extensions',
+ 'vm', 'Virtual Machine image',
+ 'torrent', 'BitTorrent File',
+-'gis', 'GIS File'
++'gis', 'GIS File',
+ 'ebook', 'Ebook File'
+ );
+
More information about the arch-commits
mailing list