From a4524953b83ee8bf3b0c17bc760fa4c2d72bf235 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 30 Nov 2006 09:11:35 +0000 Subject: [PATCH] Added debian package yaz-ziffy. --- configure.ac | 4 +--- debian/changelog | 6 ++++++ debian/control | 11 ++++++++++- debian/rules | 2 +- debian/yaz-ziffy.install | 1 + debian/yaz-ziffy.manpages | 1 + ziffy/Makefile.am | 3 +-- ziffy/ziffy.1 | 2 +- 8 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 debian/yaz-ziffy.install create mode 100644 debian/yaz-ziffy.manpages diff --git a/configure.ac b/configure.ac index bdcfd6d..335f208 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl YAZ Toolkit, Index Data 1994-2006 dnl See the file LICENSE for details. -dnl $Id: configure.ac,v 1.49 2006-11-30 08:46:52 adam Exp $ +dnl $Id: configure.ac,v 1.50 2006-11-30 09:11:35 adam Exp $ AC_PREREQ(2.59) AC_INIT([yaz],[2.1.41],[yaz-help@indexdata.dk]) AC_CONFIG_SRCDIR(configure.ac) @@ -166,7 +166,6 @@ fi dnl ------ libpcap / ziffy AC_SUBST(ZIFFY_PROG) -AC_SUBST(ZIFFY_MAN) AC_SUBST(PCAP_LIBS) AC_SUBST(PCAP_CFLAGS) ZIFFY_PROG= @@ -205,7 +204,6 @@ if test -z "$ZIFFY_PROG"; then fi else AC_MSG_RESULT([found in $PCAP_DIR]) - ZIFFY_MAN=ziffy.1 fi dnl ------ various functions diff --git a/debian/changelog b/debian/changelog index dc69d11..2c168f5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +yaz (2.1.41-1) unstable; urgency=low + + * With ziffy. + + -- Adam Dickmeiss Thu, 30 Nov 2006 09:53:06 +0100 + yaz (2.1.40-1) unstable; urgency=low * Upstream. diff --git a/debian/control b/debian/control index dc313a8..da1ac47 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: devel Standards-Version: 3.6.2 Maintainer: Adam Dickmeiss Priority: extra -Build-Depends: debhelper (>= 4), pkg-config, libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev +Build-Depends: debhelper (>= 4), pkg-config, libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev, libpcap0.8-dev Package: libyaz Section: libs @@ -49,3 +49,12 @@ Description: The YAZ Z39.50 toolkit (development files) . This packages includes development libraries and C/C++ header files. +Package: yaz-ziffy +Section: utils +Architecture: all +Description: ziffy: the promiscuous Z39.50 APDU sniffer + ziffy is a promiscuous Z39.50 APDU sniffer, like the popular tcpdump. + ziffy can capture and show all Z39.50 traffic on your LAN segment. + This packages is a special port of ziffy ported to YAZ. Note that ziffy + is licensed under the GPL and was is by Rocco Carbone . + diff --git a/debian/rules b/debian/rules index 23d9749..63627f6 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ endif config.status: configure dh_testdir # Add here commands to configure the package. - CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --enable-static --enable-tcpd --with-xslt --with-openssl + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --enable-static --enable-tcpd --with-xslt --with-openssl --with-pcap build: build-stamp diff --git a/debian/yaz-ziffy.install b/debian/yaz-ziffy.install new file mode 100644 index 0000000..c8aa2ad --- /dev/null +++ b/debian/yaz-ziffy.install @@ -0,0 +1 @@ +debian/tmp/usr/bin/ziffy diff --git a/debian/yaz-ziffy.manpages b/debian/yaz-ziffy.manpages new file mode 100644 index 0000000..c65517c --- /dev/null +++ b/debian/yaz-ziffy.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/ziffy.1 diff --git a/ziffy/Makefile.am b/ziffy/Makefile.am index 4b590ca..9f4ba72 100644 --- a/ziffy/Makefile.am +++ b/ziffy/Makefile.am @@ -11,8 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(PCAP_CFLAGS) -DHAVE_YAZ=1 bin_PROGRAMS = $(ZIFFY_PROG) EXTRA_PROGRAMS = ziffy -man_MANS = $(ZIFFY_MAN) -EXTRA_MANS = ziffy.1 +man_MANS = ziffy.1 EXTRA_DIST = ANNOUNCEMENT-1 AUTHORS COPYING ChangeLog \ FAQ FILES HACKING NEWS README TODO $(man_MANS) diff --git a/ziffy/ziffy.1 b/ziffy/ziffy.1 index 98826e0..2ee3f5e 100644 --- a/ziffy/ziffy.1 +++ b/ziffy/ziffy.1 @@ -175,7 +175,7 @@ To run .I ziffy you must be root or it must be installed setuid to root. .SH "SEE ALSO" -tcpdump(1), pcap(3), xasn1(3), yaz(3), snacc(3) +tcpdump(1), pcap(3), xasn1(3), yaz(7), snacc(3) .SH NOTES The latest version of \fBziffy\fR can be found at \fBhttp://zeta.tlcpi.finsiel.it/ziffy\fR -- 1.7.10.4