summaryrefslogtreecommitdiff
path: root/net/darkstat/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-10-07 07:49:01 +0000
committerobache <obache@pkgsrc.org>2006-10-07 07:49:01 +0000
commite6faf0aa0914a822b700ff939633c197495f9aef (patch)
tree5a3c1b9b04bc6fc37116c5be0a32e0e802d6dcdb /net/darkstat/Makefile
parenteeb2b365c3c92eac73d503f92c77f089bcd4bf63 (diff)
downloadpkgsrc-e6faf0aa0914a822b700ff939633c197495f9aef.tar.gz
Update darkstat to 3.0.540.
Patch provided by MAINTAINER, Bartosz Kuzma via PR 34158. Changes from 3.0.524 to 3.0.540 - Fix build against old libpcap (thanks Claudio) - Fix build on AIX (thanks Andreas) - Fix build warnings on NetBSD (thanks Bartosz) - Deny writes to BPF socket (thanks Can) - Reverse-resolve IPs less aggressively. - Free up the DNS queue as we process it. - Fix dns_reply silliness. - Web: tweak the look of the top bar. - Web: update total packets and bytes as part of graph update. - Decode DLT_LINUX_SLL (ippp0 on Linux), patch courtesy of Ingo Bressler pkgsrc specific changes: - /var/empty has marked obsolete by etcupdate so I've changed chroot dir for darkstat to ${PREFIX}/share/darkstat/chroot. - patch-aa add support for DLT_PPP_SERIAL (for NetBSD only) and DLT_PPP devices.
Diffstat (limited to 'net/darkstat/Makefile')
-rw-r--r--net/darkstat/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/net/darkstat/Makefile b/net/darkstat/Makefile
index 4aafb38bd3a..e3186cfb1e4 100644
--- a/net/darkstat/Makefile
+++ b/net/darkstat/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2006/07/20 16:32:46 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2006/10/07 07:49:01 obache Exp $
#
-DISTNAME= darkstat-3.0.524
+DISTNAME= darkstat-3.0.540
CATEGORIES= net
MASTER_SITES= http://dmr.ath.cx/net/darkstat/
DIST_SUBDIR= darkstat
@@ -11,10 +11,19 @@ MAINTAINER= bartosz@atom.eu.org
HOMEPAGE= http://dmr.ath.cx/net/darkstat/
COMMENT= Network statistics gatherer
+SUBST_CLASSES+= conv_c
+SUBST_STAGE.conv_c= post-patch
+SUBST_FILES.conv_c= conv.c
+SUBST_SED.conv_c= -e 's,/var/empty,${PREFIX}/share/darkstat/chroot,'
+
BUILD_TARGET= darkstat
GNU_CONFIGURE= yes
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/darkstat/chroot
+
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"