Added debian package yaz-ziffy.
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Nov 2006 09:11:35 +0000 (09:11 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Nov 2006 09:11:35 +0000 (09:11 +0000)
configure.ac
debian/changelog
debian/control
debian/rules
debian/yaz-ziffy.install [new file with mode: 0644]
debian/yaz-ziffy.manpages [new file with mode: 0644]
ziffy/Makefile.am
ziffy/ziffy.1

index bdcfd6d..335f208 100644 (file)
@@ -1,6 +1,6 @@
 dnl YAZ Toolkit, Index Data 1994-2006
 dnl See the file LICENSE for details.
 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)
 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)
 dnl ------ libpcap / ziffy
 
 AC_SUBST(ZIFFY_PROG)
-AC_SUBST(ZIFFY_MAN)
 AC_SUBST(PCAP_LIBS)
 AC_SUBST(PCAP_CFLAGS)
 ZIFFY_PROG=
 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])
     fi
 else
     AC_MSG_RESULT([found in $PCAP_DIR])
-    ZIFFY_MAN=ziffy.1
 fi
 
 dnl ------ various functions
 fi
 
 dnl ------ various functions
index dc69d11..2c168f5 100644 (file)
@@ -1,3 +1,9 @@
+yaz (2.1.41-1) unstable; urgency=low
+
+  * With ziffy.
+
+ -- Adam Dickmeiss <adam@indexdata.dk>  Thu, 30 Nov 2006 09:53:06 +0100
+
 yaz (2.1.40-1) unstable; urgency=low
 
   * Upstream.
 yaz (2.1.40-1) unstable; urgency=low
 
   * Upstream.
index dc313a8..da1ac47 100644 (file)
@@ -3,7 +3,7 @@ Section: devel
 Standards-Version: 3.6.2
 Maintainer: Adam Dickmeiss <adam@indexdata.dk>
 Priority: extra
 Standards-Version: 3.6.2
 Maintainer: Adam Dickmeiss <adam@indexdata.dk>
 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
 
 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.
 
  .
  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 <rocco@ntop.org>.
+
index 23d9749..63627f6 100755 (executable)
@@ -30,7 +30,7 @@ endif
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.
 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
 
 
 build: build-stamp
diff --git a/debian/yaz-ziffy.install b/debian/yaz-ziffy.install
new file mode 100644 (file)
index 0000000..c8aa2ad
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/bin/ziffy
diff --git a/debian/yaz-ziffy.manpages b/debian/yaz-ziffy.manpages
new file mode 100644 (file)
index 0000000..c65517c
--- /dev/null
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/ziffy.1
index 4b590ca..9f4ba72 100644 (file)
@@ -11,8 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(PCAP_CFLAGS) -DHAVE_YAZ=1
 bin_PROGRAMS = $(ZIFFY_PROG)
 EXTRA_PROGRAMS = ziffy
 
 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)
 
 EXTRA_DIST = ANNOUNCEMENT-1 AUTHORS COPYING ChangeLog \
               FAQ FILES HACKING NEWS README TODO $(man_MANS)
index 98826e0..2ee3f5e 100644 (file)
@@ -175,7 +175,7 @@ To run
 .I ziffy
 you must be root or it must be installed setuid to root.
 .SH "SEE ALSO"
 .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
 .SH NOTES
 The latest version of \fBziffy\fR can be found at
 \fBhttp://zeta.tlcpi.finsiel.it/ziffy\fR