mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Update to 0.9.14
PR: 207164 Submitted by: tkato432 yahoo com Sponsored by: Absolight
This commit is contained in:
parent
fe46811e03
commit
209c19ed3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410531
@ -2,15 +2,15 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= etherape
|
||||
PORTVERSION= 0.9.13
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.9.14
|
||||
CATEGORIES= net-mgmt gnome
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Graphical network traffic monitor tool modeled after Etherman
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gettext gmake iconv pathfix pkgconfig
|
||||
USE_GNOME= gnomedocutils libglade2 libgnomeui
|
||||
@ -18,18 +18,20 @@ GNU_CONFIGURE= yes
|
||||
INSTALLS_OMF= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -export-dynamic # XXX: G_MODULE_EXPORT?
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PORTDOCS= *
|
||||
PORTDOCS= AUTHORS ChangeLog FAQ NEWS README README.bugs TODO
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|char \*argv)|char **argv)|' ${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|__EXPORT__|__EXPORT_H__|' ${WRKSRC}/src/export.h
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} FAQ README* TODO ${STAGEDIR}${DOCSDIR}
|
||||
.for f in AUTHORS ChangeLog NEWS
|
||||
${ICONV_CMD} -f latin1 -t utf-8 ${WRKSRC}/${f} > \
|
||||
${STAGEDIR}${DOCSDIR}/${f}
|
||||
.endfor
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (etherape-0.9.13.tar.gz) = 2a3d2a28b824ce4797529bb90d19a213d80e70f5b3f0cc5f455379aac31c09f7
|
||||
SIZE (etherape-0.9.13.tar.gz) = 1399211
|
||||
SHA256 (etherape-0.9.14.tar.gz) = 7447435ef64e569d8e10b6a0525806c01f527e76ae9eed5c84821f545f357ade
|
||||
SIZE (etherape-0.9.14.tar.gz) = 1438255
|
||||
|
@ -1,4 +1,4 @@
|
||||
--- src/decode_proto.c.orig
|
||||
--- src/decode_proto.c.orig 2014-02-02 18:38:16 UTC
|
||||
+++ src/decode_proto.c
|
||||
@@ -27,6 +27,15 @@
|
||||
#include "appdata.h"
|
21
net-mgmt/etherape/files/patch-src_diagram.c
Normal file
21
net-mgmt/etherape/files/patch-src_diagram.c
Normal file
@ -0,0 +1,21 @@
|
||||
--- src/diagram.c.orig 2016-01-25 20:19:16 UTC
|
||||
+++ src/diagram.c
|
||||
@@ -21,7 +21,18 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_SYS_TYPES_H
|
||||
+#include <sys/types.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_SYS_SOCKET_H
|
||||
+#include <sys/socket.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_NETINET_IN_H
|
||||
+#include <netinet/in.h>
|
||||
+#endif
|
||||
+#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
+#endif
|
||||
|
||||
#include <gnome.h>
|
||||
#include <regex.h>
|
@ -1,4 +1,4 @@
|
||||
--- src/names.c.orig
|
||||
--- src/names.c.orig 2014-02-02 11:30:03 UTC
|
||||
+++ src/names.c
|
||||
@@ -21,7 +21,18 @@
|
||||
#include <config.h>
|
23
net-mgmt/etherape/files/patch-src_thread__resolve.c
Normal file
23
net-mgmt/etherape/files/patch-src_thread__resolve.c
Normal file
@ -0,0 +1,23 @@
|
||||
--- src/thread_resolve.c.orig 2015-06-06 07:18:29 UTC
|
||||
+++ src/thread_resolve.c
|
||||
@@ -161,6 +161,10 @@ thread_pool_routine(void *dt)
|
||||
|
||||
pthread_mutex_unlock(&resolvemtx);
|
||||
}
|
||||
+
|
||||
+ /* close mutex */
|
||||
+ close_mutex();
|
||||
+
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -279,9 +283,6 @@ thread_close(void)
|
||||
{
|
||||
/* thread pool shutdown */
|
||||
stop_threads();
|
||||
-
|
||||
- /* close mutex */
|
||||
- close_mutex();
|
||||
}
|
||||
|
||||
const char *
|
@ -1,23 +0,0 @@
|
||||
--- src/thread_resolve.c.orig Tue Apr 25 09:08:28 2006
|
||||
+++ src/thread_resolve.c Mon May 29 00:37:45 2006
|
||||
@@ -167,6 +167,10 @@
|
||||
|
||||
pthread_mutex_unlock(&resolvemtx);
|
||||
}
|
||||
+
|
||||
+ /* close mutex */
|
||||
+ close_mutex();
|
||||
+
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@@ -268,9 +272,6 @@
|
||||
{
|
||||
/* thread pool shutdown */
|
||||
stop_threads();
|
||||
-
|
||||
- /* close mutex */
|
||||
- close_mutex();
|
||||
}
|
||||
|
||||
/* returns 1 if the current dns implementation has a socket wich needs a select() */
|
@ -1,5 +1,4 @@
|
||||
bin/etherape
|
||||
%%ETCDIR%%/services
|
||||
man/man1/etherape.1.gz
|
||||
share/applications/etherape.desktop
|
||||
%%DATADIR%%/glade/etherape.glade
|
||||
|
Loading…
Reference in New Issue
Block a user