Browse Source

net-mgmt/driftnet: Update to 1.6.0

overlay
Emanuel Haupt 2 months ago
parent
commit
dc04b0fc40
  1. 8
      net-mgmt/driftnet/Makefile
  2. 6
      net-mgmt/driftnet/distinfo
  3. 11
      net-mgmt/driftnet/files/patch-configure.ac
  4. 10
      net-mgmt/driftnet/files/patch-src_display_img.h
  5. 10
      net-mgmt/driftnet/files/patch-src_media_image.c
  6. 10
      net-mgmt/driftnet/files/patch-src_media_media.c

8
net-mgmt/driftnet/Makefile

@ -1,7 +1,6 @@
PORTNAME= driftnet
DISTVERSION= 1.5.0
PORTREVISION= 2
DISTVERSIONPREFIX= v
DISTVERSION= 1.6.0
CATEGORIES= net-mgmt
MAINTAINER= ehaupt@FreeBSD.org
@ -22,7 +21,7 @@ USES= autoreconf gettext-runtime gmake gnome jpeg localbase:ldflags \
USE_CSTD= c99
USE_GITHUB= yes
GH_ACCOUNT= deiv
USE_GNOME= gtk20
USE_GNOME= gtk30
USE_XORG= x11 xext xi
GNU_CONFIGURE= yes
@ -30,8 +29,7 @@ CONFIGURE_ARGS+= --disable-debug
INSTALL_TARGET= install-strip
PLIST_FILES= ${DATADIR}/static-html/index.html \
bin/driftnet \
PLIST_FILES= bin/driftnet \
share/man/man1/driftnet.1.gz
PORTDOCS= *

6
net-mgmt/driftnet/distinfo

@ -1,3 +1,3 @@
TIMESTAMP = 1680280740
SHA256 (deiv-driftnet-v1.5.0_GH0.tar.gz) = 41e7941f858638c1b087625f78b754a76d603932a52576a6b862a4b5dbcf2547
SIZE (deiv-driftnet-v1.5.0_GH0.tar.gz) = 5691414
TIMESTAMP = 1746360781
SHA256 (deiv-driftnet-v1.6.0_GH0.tar.gz) = 4b81ecaa6164d7deb38ca95aa1b2a90985594082cbd166d94664d95c5956f226
SIZE (deiv-driftnet-v1.6.0_GH0.tar.gz) = 5772879

11
net-mgmt/driftnet/files/patch-configure.ac

@ -1,11 +0,0 @@
--- configure.ac.orig 2023-03-25 20:10:06 UTC
+++ configure.ac
@@ -22,7 +22,7 @@ build_linux=no
build_mac=no
case "${host_os}" in
- linux*)
+ linux*|freebsd*)
build_linux=yes
;;
cygwin*|mingw*)

10
net-mgmt/driftnet/files/patch-src_display_img.h

@ -1,10 +0,0 @@
--- src/display/img.h.orig 2023-07-15 23:49:00 UTC
+++ src/display/img.h
@@ -69,6 +69,7 @@ typedef uint32_t pel;
# define GETB(p) ((chan)(((p) & (pel)0xff000000) >> 24))
# define GETA(p) ((chan)(((p) & (pel)0x000000ff) ))
#endif
+#else
# error "no endianness defined"
#endif

10
net-mgmt/driftnet/files/patch-src_media_image.c

@ -1,10 +0,0 @@
--- src/media/image.c.orig 2022-04-16 21:14:04 UTC
+++ src/media/image.c
@@ -12,6 +12,7 @@
#include <stdio.h>
#include <stdlib.h> /* On many systems (Darwin...), stdio.h is a prerequisite. */
#include <string.h>
+#include <sys/types.h>
#include <netinet/in.h> /* ntohl */

10
net-mgmt/driftnet/files/patch-src_media_media.c

@ -1,10 +0,0 @@
--- src/media/media.c.orig 2022-04-16 21:14:04 UTC
+++ src/media/media.c
@@ -17,6 +17,7 @@
#include "compat/compat.h"
#include <string.h>
+#include <sys/types.h>
#include "common/util.h"
#include "common/tmpdir.h"
Loading…
Cancel
Save