From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 13 06:20:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8796BAA9 for ; Thu, 13 Mar 2014 06:20:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 66C52A2E for ; Thu, 13 Mar 2014 06:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2D6K0sj072218 for ; Thu, 13 Mar 2014 06:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2D6K0ra072217; Thu, 13 Mar 2014 06:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 13 Mar 2014 06:20:00 GMT Resent-Message-Id: <201403130620.s2D6K0ra072217@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Li-Wen Hsu Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A9DA3A45; Thu, 13 Mar 2014 06:10:08 +0000 (UTC) Received: from lwbsd.csie.net (lwbsd.cs.nctu.edu.tw [140.113.17.197]) by mx1.freebsd.org (Postfix) with ESMTP id 48EEE9F8; Thu, 13 Mar 2014 06:10:07 +0000 (UTC) Received: by lwbsd.csie.net (Postfix, from userid 1001) id 3AFDD57572; Thu, 13 Mar 2014 14:02:52 +0800 (CST) Message-Id: <20140313060252.3AFDD57572@lwbsd.csie.net> Date: Thu, 13 Mar 2014 14:02:52 +0800 (CST) From: Li-Wen Hsu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/187521: [PATCH] sysutils/goaccess: update to 0.7.1 Cc: sbz@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Mar 2014 06:20:00 -0000 >Number: 187521 >Category: ports >Synopsis: [PATCH] sysutils/goaccess: update to 0.7.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 13 06:20:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD lwbsd.cs.nctu.edu.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Thu Dec 27 15:07:23 CST 2012 >Description: - Update to 0.7.1 - Support STAGEDIR - Drop FreeBSD 7.x support Port maintainer (sbz@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.03.03 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- goaccess-0.7.1.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 348038) +++ Makefile (working copy) @@ -2,44 +2,41 @@ # $FreeBSD$ PORTNAME= goaccess -PORTVERSION= 0.5 +PORTVERSION= 0.7.1 CATEGORIES= sysutils MASTER_SITES= SF -MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}/ +MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} MAINTAINER= sbz@FreeBSD.org COMMENT= Real-time Apache web log analyzer LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 \ - GeoIP:${PORTSDIR}/net/GeoIP +LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP GNU_CONFIGURE= yes USE_LDCONFIG= yes +USE_GNOME= glib20 USES= pkgconfig CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + man/man1/goaccess.1.gz -.if !defined(NO_INSTALL_MANPAGES) -MAN1= ${PORTNAME}.1 -.endif - PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO -NO_STAGE= yes +.include + do-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .endif .if !defined(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/goaccess.1 ${STAGEDIR}${MANPREFIX}/man/man1 .endif - ${INSTALL_SCRIPT} ${PORTNAME:S,^,${WRKSRC}/,} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${PORTNAME:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin .include Index: distinfo =================================================================== --- distinfo (revision 348038) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (goaccess-0.5.tar.gz) = beabad8267099d693cf2f0a6f533ecf5b5bdcc829b4536ec56b4a68b2c7d5e0e -SIZE (goaccess-0.5.tar.gz) = 127068 +SHA256 (goaccess-0.7.1.tar.gz) = 04de880ebdedde8daeec6284783bd7f4b04d9149b08deaa5588e55f24739f49b +SIZE (goaccess-0.7.1.tar.gz) = 163640 Index: files/patch-commons.h =================================================================== --- files/patch-commons.h (revision 348038) +++ files/patch-commons.h (working copy) @@ -1,14 +0,0 @@ ---- ./commons.h.orig 2012-06-04 04:16:26.000000000 +0200 -+++ ./commons.h 2012-08-08 20:30:36.000000000 +0200 -@@ -35,6 +35,11 @@ - #ifndef COMMONS_H_INCLUDED - #define COMMONS_H_INCLUDED - -+/* off_t need sys/types.h on 7.x */ -+#if __FreeBSD_cc_version_ < 700022 -+#include -+#endif -+ - /* Remove the __attribute__ stuff when the compiler is not GCC. */ - #if !__GNUC__ - # define __attribute__(x) /**/ Index: files/patch-gmenu.c =================================================================== --- files/patch-gmenu.c (revision 348038) +++ files/patch-gmenu.c (working copy) @@ -1,14 +0,0 @@ ---- ./gmenu.c.orig 2012-08-08 20:30:06.000000000 +0200 -+++ ./gmenu.c 2012-08-08 20:30:23.000000000 +0200 -@@ -24,6 +24,11 @@ - #include - #include - -+/* off_t need sys/types.h on 7.x */ -+#if __FreeBSD_cc_version_ < 700022 -+#include -+#endif -+ - #include "gmenu.h" - #include "error.h" - #include "util.h" Index: files/patch-util.c =================================================================== --- files/patch-util.c (revision 348038) +++ files/patch-util.c (working copy) @@ -1,22 +0,0 @@ ---- ./util.c.orig 2012-06-04 04:16:26.000000000 +0200 -+++ ./util.c 2012-08-08 20:30:36.000000000 +0200 -@@ -28,7 +28,7 @@ - #define _XOPEN_SOURCE 700 - - #ifdef __FreeBSD__ --#include -+#include - #endif - - #include -@@ -44,9 +44,9 @@ - #include - #include - --#include "util.h" - #include "commons.h" - #include "error.h" -+#include "util.h" - - /* helper functions */ - char * Index: pkg-descr =================================================================== --- pkg-descr (revision 348038) +++ pkg-descr (working copy) @@ -2,4 +2,4 @@ viewer that runs in a terminal and provides fast and valuable HTTP statistics for system administrators that require a visual report on the fly. -WWW: http://goaccess.prosoftcorp.com/ +WWW: http://goaccess.prosoftcorp.com/ --- goaccess-0.7.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: