[arch-commits] Commit in awstats/trunk (PKGBUILD build-fix.patch)

2020-12-07 Thread Sergej Pupykin via arch-commits
Date: Monday, December 7, 2020 @ 18:56:47
  Author: spupykin
Revision: 771492

rm patch

Modified:
  awstats/trunk/PKGBUILD
Deleted:
  awstats/trunk/build-fix.patch

-+
 PKGBUILD|   11 ++-
 build-fix.patch |   12 
 2 files changed, 2 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-12-07 18:54:45 UTC (rev 771491)
+++ PKGBUILD2020-12-07 18:56:47 UTC (rev 771492)
@@ -14,17 +14,10 @@
'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"
-   "build-fix.patch")
+   "cron.awstats")
 sha256sums=('4a65867e01bef6a9bdba3e9e411fb2a0e0d87bc4c85ff02e3cbfca001a04d4b8'
-'18e2a1568da87540e8331982fc10f63f7c2ad8ba8fc593f3219469c6ecdef5d2'
-'05734f017ad6ce34298f547248dd8369ce18a41075f4967ad6f1f164cddd326b')
+'18e2a1568da87540e8331982fc10f63f7c2ad8ba8fc593f3219469c6ecdef5d2')
 
-prepare() {
-  cd "$srcdir"/${pkgname}-${pkgver}
-  patch -p1 <../build-fix.patch
-}
-
 package() {
   _SYSCONFDIR="etc"
   _WWWROOT="usr/share/webapps/${pkgname}"

Deleted: build-fix.patch
===
--- build-fix.patch 2020-12-07 18:54:45 UTC (rev 771491)
+++ build-fix.patch 2020-12-07 18:56:47 UTC (rev 771492)
@@ -1,12 +0,0 @@
-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.pm2020-04-16 12:18:35.0 
+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'
- );
- 


[arch-commits] Commit in awstats/trunk (PKGBUILD build-fix.patch)

2020-04-18 Thread Sergej Pupykin via arch-commits
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
===
--- PKGBUILD2020-04-18 15:11:25 UTC (rev 616079)
+++ PKGBUILD2020-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.pm2020-04-16 12:18:35.0 
+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'
+ );
+