- update etherape to 0.9.7

- change maintainer (timeout)
- regen PLIST
- add patch

ok laurent@, with some tweaks by and ok ajacoutot@
This commit is contained in:
benoit 2009-06-10 09:45:33 +00:00
parent 95a9f1c95f
commit 8148d1f3ca
4 changed files with 73 additions and 56 deletions

View File

@ -1,47 +1,45 @@
# $OpenBSD: Makefile,v 1.13 2009/01/21 10:50:12 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2009/06/10 09:45:33 benoit Exp $
COMMENT= graphical network monitor
COMMENT = graphical network monitor
DISTNAME= etherape-0.9.0
PKGNAME= ${DISTNAME}p4
CATEGORIES= net
DISTNAME = etherape-0.9.7
CATEGORIES = net
HOMEPAGE= http://etherape.sourceforge.net/
HOMEPAGE = http://etherape.sourceforge.net/
MAINTAINER= Craig Barraclough <craigba@creative.com.au>
MAINTAINER = Benoit Lecocq <benoit@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 bonobo-activation \
bonobo-2 bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 \
expat fontconfig freetype gailutil gconf-2 \
gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 \
gobject-2.0 gthread-2.0 iconv intl m pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pcap pcre pixman-1 png \
popt pthread ssl xml2 z gio-2.0 util
WANTLIB += ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite
WANTLIB += Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr
WANTLIB += Xrender art_lgpl_2 atk-1.0 avahi-client avahi-common
WANTLIB += avahi-glib bonobo-2 bonobo-activation bonoboui-2 c
WANTLIB += cairo crypto dbus-1 dbus-glib-1 expat fontconfig freetype
WANTLIB += gconf-2 gio-2.0 glib-2.0 glitz gmodule-2.0 gnome-2
WANTLIB += gnome-keyring gnomecanvas-2 gnomevfs-2 gobject-2.0
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pcap pcre pixman-1 png popt pthread ssl util xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=etherape/}
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=etherape/}
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
MODULES = devel/gettext
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ENV+= LIBTOOL="${LOCALBASE}/bin/libtool"
LIB_DEPENDS= gtk-x11-2.0.>=0.11::x11/gtk+2 \
BUILD_DEPENDS = ::textproc/rarian
RUN_DEPENDS = :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS = gtk-x11-2.0.>=0.11,gailutil,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
glade-2.0.>=0.1::devel/libglade2 \
gnomeui-2::x11/gnome/libgnomeui
MODULES= devel/gettext
USE_X11= Yes
USE_LIBTOOL= Yes
USE_X11 = Yes
USE_LIBTOOL = Yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (etherape-0.9.0.tar.gz) = pxL0ywSJfRoCzpiM/78lTA==
RMD160 (etherape-0.9.0.tar.gz) = 6mLNgb1EZahjHp3PbTP/C+sN7BI=
SHA1 (etherape-0.9.0.tar.gz) = 9HqSiUZLO8oV2OoJ4g+19jLaQW0=
SHA256 (etherape-0.9.0.tar.gz) = ooUA1EKel5Lgr3FQJMEeUVNTi8PBitELLJEvWlc/Qy4=
SIZE (etherape-0.9.0.tar.gz) = 406667
MD5 (etherape-0.9.7.tar.gz) = e1eDCQ2Sq+eWNNpLWCxrSA==
RMD160 (etherape-0.9.7.tar.gz) = 4uat5oadlHL9hiwbHRsR8NEXicM=
SHA1 (etherape-0.9.7.tar.gz) = cuXlcFMKieqWKhflVyMxgBDpqOU=
SHA256 (etherape-0.9.7.tar.gz) = vKiFfuP+OAFBDizCd341jMEZdh7z4UG7u6vY/S4va3s=
SIZE (etherape-0.9.7.tar.gz) = 860868

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_main_c,v 1.1 2009/06/10 09:45:37 benoit Exp $
--- src/main.c.orig Sat Mar 25 08:07:44 2006
+++ src/main.c Mon May 25 23:36:48 2009
@@ -21,6 +21,7 @@
#include <config.h>
#endif
+#include <unistd.h>
#include <netinet/in.h>
#include "globals.h"
#include <signal.h>

View File

@ -1,29 +1,37 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:17:40 espie Exp $
bin/etherape
lib/locale/
lib/locale/es/
lib/locale/es/LC_MESSAGES/
lib/locale/es/LC_MESSAGES/etherape.mo
lib/locale/fr/
lib/locale/fr/LC_MESSAGES/
lib/locale/fr/LC_MESSAGES/etherape.mo
lib/locale/nl/
lib/locale/nl/LC_MESSAGES/
lib/locale/nl/LC_MESSAGES/etherape.mo
lib/locale/tr/
lib/locale/tr/LC_MESSAGES/
lib/locale/tr/LC_MESSAGES/etherape.mo
@comment $OpenBSD: PLIST,v 1.4 2009/06/10 09:45:40 benoit Exp $
@bin bin/etherape
@man man/man1/etherape.1
share/applications/etherape.desktop
share/etherape/
share/etherape/doc/
share/etherape/doc/etherape/
share/etherape/doc/etherape/C/
share/etherape/doc/etherape/C/etherape.xml
share/etherape/doc/etherape/C/figures/
share/etherape/doc/etherape/C/figures/appmain.png
share/etherape/doc/etherape/C/figures/capture_file_dlg.png
share/etherape/doc/etherape/C/figures/color_select_dlg.png
share/etherape/doc/etherape/C/figures/eth_toolbar.png
share/etherape/doc/etherape/C/figures/link_info.png
share/etherape/doc/etherape/C/figures/node_info.png
share/etherape/doc/etherape/C/figures/pref_colors_dlg.png
share/etherape/doc/etherape/C/figures/pref_diagram_dlg.png
share/etherape/doc/etherape/C/figures/pref_timings_dlg.png
share/etherape/doc/etherape/C/figures/proto_info.png
share/etherape/doc/etherape/C/figures/protocol_edit_dlg.png
share/etherape/glade/
share/etherape/glade/etherape.glade2
share/etherape/glade/etherape.png
share/etherape/glade/pause.xpm
share/etherape/glade/play.xpm
share/etherape/glade/stop.xpm
share/gnome/
share/gnome/apps/
share/gnome/apps/Applications/
share/gnome/apps/Applications/etherape.desktop
share/locale/es/LC_MESSAGES/etherape.mo
share/locale/fr/LC_MESSAGES/etherape.mo
share/locale/nl/LC_MESSAGES/etherape.mo
share/locale/tr/LC_MESSAGES/etherape.mo
share/omf/etherape/
share/omf/etherape/etherape-C.omf
share/pixmaps/
share/pixmaps/etherape.png
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database