aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-01-16 16:11:59 +0000
committerClement Laforet <clement@FreeBSD.org>2005-01-16 16:11:59 +0000
commit656272b1a73fd27e9abffb0ec5f119a9509440c0 (patch)
tree3229d54a189a0432e467049112c6df1a5978f626 /net-mgmt
parent0cecd85e91e4e53d4d3584ea50f583f250b93fb6 (diff)
downloadports-656272b1a73fd27e9abffb0ec5f119a9509440c0.tar.gz
ports-656272b1a73fd27e9abffb0ec5f119a9509440c0.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bandwidthd/Makefile7
-rw-r--r--net-mgmt/bandwidthd/distinfo4
-rw-r--r--net-mgmt/bandwidthd/files/patch-Makefile44
3 files changed, 15 insertions, 40 deletions
diff --git a/net-mgmt/bandwidthd/Makefile b/net-mgmt/bandwidthd/Makefile
index b707dd4be720..fca2ec6892d2 100644
--- a/net-mgmt/bandwidthd/Makefile
+++ b/net-mgmt/bandwidthd/Makefile
@@ -6,21 +6,20 @@
#
PORTNAME= bandwidthd
-PORTVERSION= 1.2.1
+PORTVERSION= 2.0.1
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}-${PORTVERSION}b
+DISTNAME= ${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= clement@FreeBSD.org
COMMENT= Tracks bandwidth usage by IP address
-WRKSRC= ${WRKDIR}/${DISTNAME}
-
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
USE_GMAKE= YES
+GNU_CONFIGURE= YES
USE_ICONV= YES
USE_REINPLACE= YES
diff --git a/net-mgmt/bandwidthd/distinfo b/net-mgmt/bandwidthd/distinfo
index a8d4565ec0b7..d4539074bf21 100644
--- a/net-mgmt/bandwidthd/distinfo
+++ b/net-mgmt/bandwidthd/distinfo
@@ -1,2 +1,2 @@
-MD5 (bandwidthd-1.2.1b.tgz) = 6753866c702c679c7144a98e52d9cafc
-SIZE (bandwidthd-1.2.1b.tgz) = 54344
+MD5 (bandwidthd-2.0.1.tgz) = aa79aad7bd489fd2cae1f7dc086ca8b6
+SIZE (bandwidthd-2.0.1.tgz) = 140687
diff --git a/net-mgmt/bandwidthd/files/patch-Makefile b/net-mgmt/bandwidthd/files/patch-Makefile
index e066326b0d40..e1a860e2cc18 100644
--- a/net-mgmt/bandwidthd/files/patch-Makefile
+++ b/net-mgmt/bandwidthd/files/patch-Makefile
@@ -1,35 +1,11 @@
---- Makefile.orig Wed Jan 14 21:38:17 2004
-+++ Makefile Fri Jan 16 01:39:20 2004
-@@ -1,8 +1,8 @@
- #Possible optimizations -fomit-frame-pointer -ffast-math
- OBS= bandwidthd.o graph.o conf.tab.o conf.l.o
--LIBS= -L/usr/local/lib -lgd -lpng -lpcap
--CFLAGS= -I/usr/local/include -O3 -Wall
--NONWALLCFLAGS= -O3 #-g -DDEBUG
-+LIBS= -L${LOCALBASE}/lib -lgd -lpng -lpcap
-+CFLAGS+= -I${LOCALBASE}/include
-+#NONWALLCFLAGS= -O3 #-g -DDEBUG
+--- Makefile.in.orig Sun Jan 16 17:02:04 2005
++++ Makefile.in Sun Jan 16 17:02:38 2005
+@@ -41,7 +41,7 @@
+ @INSTALL@ -d $(DESTDIR)$(exec_prefix)/bandwidthd/etc
+ @INSTALL@ -d $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
+ @INSTALL@ -m755 -s bandwidthd $(DESTDIR)$(exec_prefix)/bandwidthd
+- if [ ! -f $(DESTDIR)$(exec_prefix)/bandwidthd/etc/bandwidthd.conf ] ; then @INSTALL@ -m644 etc/bandwidthd.conf $(DESTDIR)$(exec_prefix)/bandwidthd/etc/ ; fi
++ @INSTALL@ -m644 etc/bandwidthd.conf $(DESTDIR)$(exec_prefix)/bandwidthd/etc/bandwidthd.conf-dist
+ @INSTALL@ -m644 htdocs/legend.gif $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
+ @INSTALL@ -m644 htdocs/logo.gif $(DESTDIR)$(exec_prefix)/bandwidthd/htdocs
- # Debugging stuff
- #CFLAGS= -O3 -Wall -pg -DPROFILE
-@@ -44,13 +44,13 @@
- rm -f *.o bandwidthd *~ conf.tab.c conf.tab.h conf.l.c DEADJOE
-
- install: all
-- if [ ! -d $(DESTDIR)/usr/local/bandwidthd/etc ] ; then mkdir -p $(DESTDIR)/usr/local/bandwidthd/etc ; fi
-- if [ ! -d $(DESTDIR)/usr/local/bandwidthd/htdocs ] ; then mkdir -p $(DESTDIR)/usr/local/bandwidthd/htdocs ; fi
-- cp bandwidthd $(DESTDIR)/usr/local/bandwidthd
-- if [ ! -f $(DESTDIR)/usr/local/bandwidthd/etc/bandwidthd.conf ] ; then cp etc/bandwidthd.conf $(DESTDIR)/usr/local/bandwidthd/etc/ ; fi
-- cp htdocs/legend.gif $(DESTDIR)/usr/local/bandwidthd/htdocs/
-- cp htdocs/logo.gif $(DESTDIR)/usr/local/bandwidthd/htdocs/
-+ mkdir -p $(DESTDIR)${PREFIX}/bandwidthd/etc
-+ mkdir -p $(DESTDIR)${PREFIX}/bandwidthd/htdocs
-+ ${BSD_INSTALL_PROGRAM} bandwidthd $(DESTDIR)${PREFIX}/bandwidthd
-+ ${BSD_INSTALL_DATA} etc/bandwidthd.conf $(DESTDIR)${PREFIX}/bandwidthd/etc/bandwidthd.conf-dist
-+ ${BSD_INSTALL_DATA} htdocs/legend.gif $(DESTDIR)${PREFIX}/bandwidthd/htdocs/
-+ ${BSD_INSTALL_DATA} htdocs/logo.gif $(DESTDIR)${PREFIX}/bandwidthd/htdocs/
-
- #**** Stuff where -WALL is turned off to reduce the noise in a compile so I can see my own errors *******************
- conf.l.o: conf.l.c
-- $(CC) $(NONWALLCFLAGS) -c -o conf.l.o conf.l.c
-+ $(CC) -c -o conf.l.o conf.l.c