pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/sarg The sarg tool depends on sorting fields by mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7b5a7280a0e7
branches: trunk
changeset: 517115:7b5a7280a0e7
user: ben <ben%pkgsrc.org@localhost>
date: Fri Aug 04 18:11:46 2006 +0000
description:
The sarg tool depends on sorting fields by month name (M), which is a
GNU extension. Depend on GNU coreutils and hardcode the path to
GNU sort.
diffstat:
www/sarg/Makefile | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 6a5d57e47c5d -r 7b5a7280a0e7 www/sarg/Makefile
--- a/www/sarg/Makefile Fri Aug 04 17:08:12 2006 +0000
+++ b/www/sarg/Makefile Fri Aug 04 18:11:46 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2006/07/10 03:46:49 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2006/08/04 18:11:46 ben Exp $
DISTNAME= sarg-2.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sarg/}
@@ -18,6 +18,7 @@
--enable-mandir=${PREFIX}/${PKGMANDIR}/man1 \
--enable-sysconfdir=${PKG_SYSCONFDIR:Q}
+DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
DIST_SUBDIR= ${DISTNAME}
PKG_SYSCONFSUBDIR= sarg
@@ -40,6 +41,15 @@
SUBST_SED.sargconf+= -e 's,@SQUID_ACCESSLOG@,${SQUID_ACCESSLOG},g'
SUBST_SED.sargconf+= -e 's,@SARG_REPORTSDIR@,${SARG_REPORTSDIR},g'
+SUBST_CLASSES+= gsort
+SUBST_MESSAGE.gsort= Adjusting sort to use GNU coreutils
+SUBST_STAGE.gsort= post-patch
+SUBST_FILES.gsort= authfail.c dansguardian_log.c email.c grepday.c \
+ html.c index.c lastlog.c log.c realtime.c siteuser.c \
+ smartfilter.c sort.c squidguard_log.c topsites.c topuser.c \
+ totday.c useragent.c
+SUBST_SED.gsort= -e 's,"sort ,"'"${PREFIX}/bin/${GNU_PROGRAM_PREFIX}sort ,"
+
BUILD_DEFS+= SQUID_ACCESSLOG SARG_REPORTSDIR
MAKE_ENV+= PKG_FLAGS="-DSQUID_ACCESSLOG='\"${SQUID_ACCESSLOG}\"' \
-DSARG_REPORTSDIR='\"${SARG_REPORTSDIR}\"'" \
Home |
Main Index |
Thread Index |
Old Index