[arch-commits] Commit in goaccess/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 11 08:59:30 UTC 2018


    Date: Friday, May 11, 2018 @ 08:59:30
  Author: felixonmars
Revision: 320642

archrelease: copy trunk to community-x86_64

Added:
  goaccess/repos/community-x86_64/PKGBUILD
    (from rev 320641, goaccess/trunk/PKGBUILD)
Deleted:
  goaccess/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 38 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 08:59:06 UTC (rev 320641)
+++ PKGBUILD	2018-05-11 08:59:30 UTC (rev 320642)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josh VanderLinden <arch at cloudlery.com>
-# Contributor: Nicolas Storme <nicolas at atelier-web.com>
-
-pkgname=goaccess
-pkgver=1.2
-pkgrel=2
-pkgdesc="An open source real-time web log analyzer and interactive viewer"
-arch=('x86_64')
-url='http://goaccess.io'
-license=('GPL')
-depends=('ncurses' 'libmaxminddb')
-optdepends=('geoip2-database: for geoip support')
-backup=('etc/goaccess.conf')
-source=("http://tar.goaccess.io/$pkgname-$pkgver.tar.gz")
-sha512sums=('bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889')
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --enable-geoip=mmdb --enable-utf8
-  make prefix=/usr sysconfdir=/etc
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make prefix="$pkgdir/usr" sysconfdir="$pkgdir/etc" install
-}
-

Copied: goaccess/repos/community-x86_64/PKGBUILD (from rev 320641, goaccess/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-11 08:59:30 UTC (rev 320642)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josh VanderLinden <arch at cloudlery.com>
+# Contributor: Nicolas Storme <nicolas at atelier-web.com>
+
+pkgname=goaccess
+pkgver=1.2
+pkgrel=3
+pkgdesc="An open source real-time web log analyzer and interactive viewer"
+arch=('x86_64')
+url='http://goaccess.io'
+license=('GPL')
+depends=('ncurses' 'libmaxminddb' 'openssl-1.0')
+optdepends=('geoip2-database: for geoip support')
+backup=('etc/goaccess.conf')
+source=("http://tar.goaccess.io/$pkgname-$pkgver.tar.gz"
+        https://github.com/xobs/goaccess/commit/4152916ca78f3fddf418ecc833f0c91050bbb4a2.patch)
+sha512sums=('bc31ef1e4c92608635856fa73e69b58267c161a7e3c6f2e3ca8860b862ed1c47575b93943dd975a5f8503774ee90ee0649d380563639e30908d876416638f889'
+            'cf7fe6757a01f882dff8c70dc9b81c2dcf1fa0831e871ad87cb9c853dd29db7a7ac893712c49a6cb9e22d94620e79e06ec76fcf680e269f3870f4a4169a57617')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../4152916ca78f3fddf418ecc833f0c91050bbb4a2.patch
+
+  export CFLAGS="$CFLAGS -I/usr/include/openssl-1.0"
+  export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --enable-geoip=mmdb --enable-utf8 --with-openssl
+  make prefix=/usr sysconfdir=/etc
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make prefix="$pkgdir/usr" sysconfdir="$pkgdir/etc" install
+}



More information about the arch-commits mailing list