diff options
author | clsung <clsung@FreeBSD.org> | 2006-08-09 22:20:07 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-08-09 22:20:07 +0800 |
commit | a28d58802c679615bfd7589c218e5a44bb90c78f (patch) | |
tree | bf51d7250b47b59afd0b93414c9c0cb465b63c91 /net-mgmt/darkstat | |
parent | 61fdabad17b2db17c1ac0ea50f65f8db796f3e06 (diff) | |
download | freebsd-ports-gnome-a28d58802c679615bfd7589c218e5a44bb90c78f.tar.gz freebsd-ports-gnome-a28d58802c679615bfd7589c218e5a44bb90c78f.tar.zst freebsd-ports-gnome-a28d58802c679615bfd7589c218e5a44bb90c78f.zip |
- update to 3.0.540
- fix build on 4.X
PR: ports/101545
Submitted by: maintainer (Emil Mikulic)
Reviewed by: clsung
Diffstat (limited to 'net-mgmt/darkstat')
-rw-r--r-- | net-mgmt/darkstat/Makefile | 10 | ||||
-rw-r--r-- | net-mgmt/darkstat/distinfo | 6 | ||||
-rw-r--r-- | net-mgmt/darkstat/files/extra-patch-cap.h | 10 |
3 files changed, 21 insertions, 5 deletions
diff --git a/net-mgmt/darkstat/Makefile b/net-mgmt/darkstat/Makefile index 2c701e11d2ae..da9b5d7bccbb 100644 --- a/net-mgmt/darkstat/Makefile +++ b/net-mgmt/darkstat/Makefile @@ -6,7 +6,7 @@ # PORTNAME= darkstat -PORTVERSION= 3.0.524 +PORTVERSION= 3.0.540 CATEGORIES= net-mgmt MASTER_SITES= http://dmr.ath.cx/net/darkstat/ @@ -26,4 +26,10 @@ post-install: cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +EXTRA_PATCHES= ${PATCHDIR}/extra-* +.endif + +.include <bsd.port.post.mk> diff --git a/net-mgmt/darkstat/distinfo b/net-mgmt/darkstat/distinfo index 838faa5b3154..12a0724f3559 100644 --- a/net-mgmt/darkstat/distinfo +++ b/net-mgmt/darkstat/distinfo @@ -1,3 +1,3 @@ -MD5 (darkstat-3.0.524.tar.bz2) = f4a18ccb9c77c3d2317c1a041519a21e -SHA256 (darkstat-3.0.524.tar.bz2) = 767b27882ff26ac041517a951c366e49c18cea92bf3d4a0e779136a5dcbe9ee2 -SIZE (darkstat-3.0.524.tar.bz2) = 74605 +MD5 (darkstat-3.0.540.tar.bz2) = 498256c667b4fa79a551ac3626a2ba86 +SHA256 (darkstat-3.0.540.tar.bz2) = 0db1b2684ea8871c587c89c3ddc4d9302f7e885ff0ec401510c42445f5a77bb4 +SIZE (darkstat-3.0.540.tar.bz2) = 75293 diff --git a/net-mgmt/darkstat/files/extra-patch-cap.h b/net-mgmt/darkstat/files/extra-patch-cap.h new file mode 100644 index 000000000000..5368433b25cd --- /dev/null +++ b/net-mgmt/darkstat/files/extra-patch-cap.h @@ -0,0 +1,10 @@ +--- cap.h.orig Wed Jun 21 12:25:20 2006 ++++ cap.h Wed Aug 9 15:56:25 2006 +@@ -5,6 +5,7 @@ + */ + + #include <sys/types.h> /* OpenBSD needs this before select */ ++#include <sys/time.h> /* FreeBSD 4 needs this for struct timeval */ + #include <sys/select.h> + + void cap_init(const char *device, const char *filter); |