OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web openpkg$ Date: 20-Sep-2003 21:30:19 Branch: HEAD Handle: 2003092020301602 Added files: openpkg-re/vcheck vc.netdude openpkg-src/netdude netdude.patch netdude.spec Modified files: openpkg-web news.txt Log: new package: netdude 0.4.0 (NETwork DUmp data Displayer and Editor) Summary: Revision Changes Path 1.1 +9 -0 openpkg-re/vcheck/vc.netdude 1.1 +260 -0 openpkg-src/netdude/netdude.patch 1.1 +88 -0 openpkg-src/netdude/netdude.spec 1.6665 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-re/vcheck/vc.netdude ============================================================================ $ cvs diff -u -r0 -r1.1 vc.netdude --- /dev/null 2003-09-20 21:30:16.000000000 +0200 +++ vc.netdude 2003-09-20 21:30:16.000000000 +0200 @@ -0,0 +1,9 @@ +config = { +} + +prog netdude = { + version = 0.4.0 + url = http://prdownloads.sourceforge.net/netdude/ + regex = netdude-(__VER__)\.tar\.gz +} + @@ . patch -p0 <<'@@ .' Index: openpkg-src/netdude/netdude.patch ============================================================================ $ cvs diff -u -r0 -r1.1 netdude.patch --- /dev/null 2003-09-20 21:30:18.000000000 +0200 +++ netdude.patch 2003-09-20 21:30:18.000000000 +0200 @@ -0,0 +1,260 @@ +Index: libltdl/ltdl.c +--- libltdl/ltdl.c.orig 2003-09-18 16:36:14.000000000 +0200 ++++ libltdl/ltdl.c 2003-09-20 21:25:40.000000000 +0200 +@@ -53,10 +53,6 @@ + # include <ctype.h> + #endif + +-#if HAVE_MALLOC_H +-# include <malloc.h> +-#endif +- + #if HAVE_MEMORY_H + # include <memory.h> + #endif +Index: src/Makefile.in +--- src/Makefile.in.orig 2003-09-19 23:24:07.000000000 +0200 ++++ src/Makefile.in 2003-09-20 21:27:27.000000000 +0200 +@@ -65,7 +65,7 @@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ + +-pkgincludedir = $(includedir)/netdude/$(version_major) ++pkgincludedir = $(includedir)/netdude + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -539,7 +539,7 @@ + done + + install-exec-local: +- if test ! -f "$(bindir)/netdude"; then $(LN_S) netdude$(version_major) $(bindir)/netdude; fi ++ if test ! -f "$(DESTDIR)$(bindir)/netdude"; then $(LN_S) netdude$(version_major) $(DESTDIR)$(bindir)/netdude; fi + + uninstall-local: + if test -L "$(bindir)/netdude"; then rm -f $(bindir)/netdude; fi +Index: plugins/ChecksumFix/Makefile.in +--- plugins/ChecksumFix/Makefile.in.orig 2003-09-19 23:24:57.000000000 +0200 ++++ plugins/ChecksumFix/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -127,7 +127,7 @@ + LDFLAGS = -L$(top_srcdir)/src + INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLAGS@ -I$(top_srcdir) $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + +-pkgdir = $(pkgdatadir)/$(version_major)/plugins ++pkgdir = $(pkgdatadir)/plugins + + pkg_LTLIBRARIES = nd_cksumfix.la + +Index: plugins/BPF-Filter/Makefile.in +--- plugins/BPF-Filter/Makefile.in.orig 2003-09-19 23:25:08.000000000 +0200 ++++ plugins/BPF-Filter/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -127,7 +127,7 @@ + LDFLAGS = -L$(top_srcdir)/src + INCLUDES = @gtk_cflags@ @LIBNETDUDE_CFLAGS@ -I$(top_srcdir) $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + +-pkgdir = $(pkgdatadir)/$(version_major)/plugins ++pkgdir = $(pkgdatadir)/plugins + + pkg_LTLIBRARIES = nd_bpf.la + +Index: protocols/arp/Makefile.in +--- protocols/arp/Makefile.in.orig 2003-09-19 23:25:30.000000000 +0200 ++++ protocols/arp/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/arp ++pkgincludedir = $(includedir)/netdude/protocols/arp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_arp.la + +Index: protocols/ether/Makefile.in +--- protocols/ether/Makefile.in.orig 2003-09-19 23:25:36.000000000 +0200 ++++ protocols/ether/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/ether ++pkgincludedir = $(includedir)/netdude/protocols/ether + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_ethernet.la + +Index: protocols/fddi/Makefile.in +--- protocols/fddi/Makefile.in.orig 2003-09-19 23:25:42.000000000 +0200 ++++ protocols/fddi/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/fddi ++pkgincludedir = $(includedir)/netdude/protocols/fddi + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_fddi.la + +Index: protocols/icmp/Makefile.in +--- protocols/icmp/Makefile.in.orig 2003-09-19 23:25:47.000000000 +0200 ++++ protocols/icmp/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/icmp ++pkgincludedir = $(includedir)/netdude/protocols/icmp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_icmp.la + +Index: protocols/ip/Makefile.in +--- protocols/ip/Makefile.in.orig 2003-09-19 23:25:54.000000000 +0200 ++++ protocols/ip/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/ip ++pkgincludedir = $(includedir)/netdude/protocols/ip + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -128,7 +128,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_ip.la + +Index: protocols/linux-sll/Makefile.in +--- protocols/linux-sll/Makefile.in.orig 2003-09-19 23:26:07.000000000 +0200 ++++ protocols/linux-sll/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/linux-sll ++pkgincludedir = $(includedir)/netdude/protocols/linux-sll + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_sll.la + +Index: protocols/snap/Makefile.in +--- protocols/snap/Makefile.in.orig 2003-09-19 23:26:12.000000000 +0200 ++++ protocols/snap/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/snap ++pkgincludedir = $(includedir)/netdude/protocols/snap + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_snap.la + +Index: protocols/tcp/Makefile.in +--- protocols/tcp/Makefile.in.orig 2003-09-19 23:26:18.000000000 +0200 ++++ protocols/tcp/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/tcp ++pkgincludedir = $(includedir)/netdude/protocols/tcp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_tcp.la + +Index: protocols/udp/Makefile.in +--- protocols/udp/Makefile.in.orig 2003-09-19 23:26:29.000000000 +0200 ++++ protocols/udp/Makefile.in 2003-09-20 21:25:40.000000000 +0200 +@@ -64,7 +64,7 @@ + EXEEXT = @EXEEXT@ + OBJEXT = @OBJEXT@ + PATH_SEPARATOR = @PATH_SEPARATOR@ +-pkgincludedir = $(includedir)/netdude/$(version_major)/protocols/udp ++pkgincludedir = $(includedir)/netdude/protocols/udp + AMTAR = @AMTAR@ + AS = @AS@ + AWK = @AWK@ +@@ -126,7 +126,7 @@ + $(intl_includes) -I$(top_srcdir)/libltdl -I$(top_srcdir)/src -W -Wall + + +-pkgdir = $(pkgdatadir)/$(version_major)/protocols ++pkgdir = $(pkgdatadir)/protocols + + pkg_LTLIBRARIES = nd_udp.la + +Index: pixmaps/Makefile.in +--- pixmaps/Makefile.in.orig 2003-09-19 23:26:35.000000000 +0200 ++++ pixmaps/Makefile.in 2003-09-20 21:27:06.000000000 +0200 +@@ -115,7 +115,7 @@ + version_major = @version_major@ + version_minor = @version_minor@ + +-pixmapsdir = $(pkgdatadir)/$(version_major)/pixmaps ++pixmapsdir = $(pkgdatadir)/pixmaps + + pixmaps_DATA = \ + incomplete.xpm \ @@ . patch -p0 <<'@@ .' Index: openpkg-src/netdude/netdude.spec ============================================================================ $ cvs diff -u -r0 -r1.1 netdude.spec --- /dev/null 2003-09-20 21:30:18.000000000 +0200 +++ netdude.spec 2003-09-20 21:30:19.000000000 +0200 @@ -0,0 +1,88 @@ +## +## netdude.spec -- OpenPKG RPM Specification +## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/> +## Copyright (c) 2000-2003 Ralf S. Engelschall <[EMAIL PROTECTED]> +## Copyright (c) 2000-2003 Cable & Wireless <http://www.cw.com/> +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: netdude +Summary: NETwork DUmp data Displayer and Editor +URL: http://netdude.sourceforge.net/ +Vendor: Christian Kreibich +Packager: The OpenPKG Project +Distribution: OpenPKG [EVAL] +Group: Network +License: MIT-style +Version: 0.4.0 +Release: 20030920 + +# list of sources +Source0: http://osdn.dl.sourceforge.net/netdude/netdude-%{version}.tar.gz +Patch0: netdude.patch + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20030103, libpcapnav, libnetdude, glib, gtk +PreReq: OpenPKG, openpkg >= 20030103, libpcapnav, libnetdude, glib, gtk +AutoReq: no +AutoReqProv: no + +%description + Netdude (the NETwork DUmp data Displayer and Editor) is a framework + for inspection and manipulation of tcpdump tracefiles. It is + separated into a GUI-based frontend and a backend library that + performs the actual packet manipulation. Both the front- and backend + can be extended using plugins, in order to add support for new + protocols and to provide modular code to other developers. + +%prep + %setup -q + %patch -p0 + +%build + CC="%{l_cc}" \ + CFLAGS="%{l_cflags -O}" \ + CPPFLAGS="%{l_cppflags}" \ + LDFLAGS="%{l_ldflags}" \ + ./configure \ + --prefix=%{l_prefix} \ + --with-gtk-prefix=%{l_prefix} \ + --with-libnetdude-prefix=%{l_prefix} \ + --disable-nls + %{l_make} %{l_mflags -O} + +%install + rm -rf $RPM_BUILD_ROOT + %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/netdude + mv $RPM_BUILD_ROOT%{l_prefix}/bin/netdude[0-9]* \ + $RPM_BUILD_ROOT%{l_prefix}/bin/netdude + rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gtk-doc + strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT + @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.6664 -r1.6665 news.txt --- openpkg-web/news.txt 20 Sep 2003 19:29:55 -0000 1.6664 +++ openpkg-web/news.txt 20 Sep 2003 19:30:17 -0000 1.6665 @@ -1,3 +1,4 @@ +20-Sep-2003: New package: P<netdude-0.4.0-20030920> 20-Sep-2003: New package: P<libnetdude-0.1-20030920> 20-Sep-2003: New package: P<libpcapnav-0.1-20030920> 20-Sep-2003: Upgraded package: P<perl-gtk-20030920-20030920> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]