--- ax25spyd-0.23.orig/Makefile.in +++ ax25spyd-0.23/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -84,16 +84,16 @@ all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) -config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) +config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) @@ -253,10 +253,15 @@ -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ --- ax25spyd-0.23.orig/README +++ ax25spyd-0.23/README @@ -20,8 +20,8 @@ a four byte, intel-ordered int size. An X-window program using ax25spyd is MonKT by Jochen Sarrazin DG6VJ, - , available at: - http://1409.org/projects/linkt.html + , available at: + http://1409.linkt.de/projects/linkt.html ftp://sun01.idf.uni-heidelberg.de/pub/linkt/ Read the manual (man ax25spy) for further information on ax25spy. @@ -34,7 +34,7 @@ e.g. ftp://sun01.idf.uni-heidelberg.de/pub/linkt/ax25spyd-0.14.tar.gz. The homepage is - http://1409.org/projects/ax25spyd.html. + http://1409.linkt.de/projects/ax25spyd.html. If you have access to the german packet radio net, you may want to check on to the AX.25-BBS DB0IZ (call: DB0IZ-11). Issue the command @@ -53,8 +53,8 @@ ax25spyd contains a lot of code from listen(1) and ax25mond(8) and now very little from wwwoffled(8). It was glued together by Walter Koch - DG9EP, . [The README and the INSTALL are written by - Rob, DL1NC, ]. + DG9EP, . [The README and the INSTALL are written by + Rob, DL1NC, ]. - [1] idea by Hans-Peter DG4IAD, + [1] idea by Hans-Peter DG4IAD, --- ax25spyd-0.23.orig/AUTHORS +++ ax25spyd-0.23/AUTHORS @@ -1,6 +1,6 @@ -Hans-Peter, dg4iad (hp@1409.org) modification for autoconf -Jonny, dh3mb (jonny@1409.org) author of ax25mond -Robert, dl1nc (rob@1409.org) proofreading of some docus -Walter, dg9ep (walter@1409.org) design & implemention +Hans-Peter, dg4iad (hp@linkt.de) modification for autoconf +Jonny, dh3mb (jonny@linkt.de) author of ax25mond +Robert, dl1nc (rob@linkt.de) proofreading of some docus +Walter, dg9ep (walter@linkt.de) design & implemention --- ax25spyd-0.23.orig/aclocal.m4 +++ ax25spyd-0.23/aclocal.m4 @@ -1,4 +1,4 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4 +dnl aclocal.m4 generated automatically by aclocal 1.4-p4 dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation --- ax25spyd-0.23.orig/config.h.in +++ ax25spyd-0.23/config.h.in @@ -1,80 +1,118 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ +/* config.h.in. Generated from configure.in by autoheader. */ -/* Define to empty if the keyword does not work. */ -#undef const +/* Define to 1 if you have the header file. */ +#undef HAVE_AX25_AXUTILS_H -/* Define if you have the strftime function. */ -#undef HAVE_STRFTIME +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H -/* Define as the return type of signal handlers (int or void). */ -#undef RETSIGTYPE +/* Define to 1 if you have the `gethostname' function. */ +#undef HAVE_GETHOSTNAME -/* Define to `unsigned' if doesn't define. */ -#undef size_t +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H -/* Define if you have the ANSI C header files. */ -#undef STDC_HEADERS +/* Define to 1 if you have the `ax25' library (-lax25). */ +#undef HAVE_LIBAX25 -/* Define if you can safely include both and . */ -#undef TIME_WITH_SYS_TIME +/* Define to 1 if you have the `ncurses' library (-lncurses). */ +#undef HAVE_LIBNCURSES -/* Define if your declares struct tm. */ -#undef TM_IN_SYS_TIME +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H -/* Define if you have the gethostname function. */ -#undef HAVE_GETHOSTNAME +/* Define to 1 if you have the header file. */ +#undef HAVE_NCURSES_H -/* Define if you have the select function. */ +/* Define to 1 if you have the header file. */ +#undef HAVE_NETAX25_AX25_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETAX25_AXCONFIG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETAX25_AXLIB_H + +/* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT -/* Define if you have the socket function. */ +/* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET -/* Define if you have the strerror function. */ -#undef HAVE_STRERROR +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H -/* Define if you have the strstr function. */ -#undef HAVE_STRSTR +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H -/* Define if you have the header file. */ -#undef HAVE_AX25_AXUTILS_H +/* Define to 1 if you have the `strerror' function. */ +#undef HAVE_STRERROR -/* Define if you have the header file. */ -#undef HAVE_FCNTL_H +/* Define to 1 if you have the `strftime' function. */ +#undef HAVE_STRFTIME -/* Define if you have the header file. */ -#undef HAVE_NCURSES_H +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H -/* Define if you have the header file. */ -#undef HAVE_NETAX25_AX25_H +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H -/* Define if you have the header file. */ -#undef HAVE_NETAX25_AXCONFIG_H +/* Define to 1 if you have the `strstr' function. */ +#undef HAVE_STRSTR -/* Define if you have the header file. */ -#undef HAVE_NETAX25_AXLIB_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYSLOG_H -/* Define if you have the header file. */ +/* Define to 1 if you have the header file. */ #undef HAVE_SYS_IOCTL_H -/* Define if you have the header file. */ +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H -/* Define if you have the header file. */ -#undef HAVE_SYSLOG_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H -/* Define if you have the header file. */ +/* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define if you have the ax25 library (-lax25). */ -#undef HAVE_LIBAX25 - -/* Define if you have the ncurses library (-lncurses). */ -#undef HAVE_LIBNCURSES - /* Name of package */ #undef PACKAGE +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define as the return type of signal handlers (`int' or `void'). */ +#undef RETSIGTYPE + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to 1 if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + /* Version number of package */ #undef VERSION +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `unsigned int' if does not define. */ +#undef size_t --- ax25spyd-0.23.orig/src/Makefile.in +++ ax25spyd-0.23/src/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -61,7 +61,7 @@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ -localstatedir = /var/ax25/ax25spyd +localstatedir = /var/lib/ax25/ax25spyd AX25CONFDIR = /etc/ax25/ sbin_PROGRAMS = ax25spyd @@ -103,6 +103,12 @@ TAR = tar GZIP_ENV = --best +DEP_FILES = .deps/arpdump.P .deps/ax25dump.P .deps/crc.P \ +.deps/dnsdump.P .deps/flexnetdump.P .deps/icmpdump.P .deps/ipdump.P \ +.deps/kissdump.P .deps/mheard.P .deps/monix.P .deps/monixd.P \ +.deps/monutil.P .deps/nrdump.P .deps/ripdump.P .deps/rosedump.P \ +.deps/rspfdump.P .deps/sockets.P .deps/spy.P .deps/tcpdump.P \ +.deps/udpdump.P SOURCES = $(ax25spy_SOURCES) $(ax25spyd_SOURCES) OBJECTS = $(ax25spy_OBJECTS) $(ax25spyd_OBJECTS) @@ -110,9 +116,9 @@ .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -167,9 +173,6 @@ rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done -.c.o: - $(COMPILE) -c $< - .s.o: $(COMPILE) -c $< @@ -228,37 +231,53 @@ subdir = src distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done -arpdump.o: arpdump.c monixd.h mondefs.h ../config.h monutil.h -ax25dump.o: ax25dump.c monixd.h mondefs.h ../config.h monutil.h -crc.o: crc.c -dnsdump.o: dnsdump.c monixd.h mondefs.h ../config.h monutil.h -flexnetdump.o: flexnetdump.c monixd.h mondefs.h ../config.h monutil.h -icmpdump.o: icmpdump.c monixd.h mondefs.h ../config.h monutil.h -ipdump.o: ipdump.c monixd.h mondefs.h ../config.h monutil.h -kissdump.o: kissdump.c monixd.h mondefs.h ../config.h monutil.h -mheard.o: mheard.c monixd.h mondefs.h ../config.h monutil.h -monix.o: monix.c ../config.h mondefs.h monix.h monutil.h sockets.h -monixd.o: monixd.c monixd.h mondefs.h ../config.h monutil.h sockets.h -monutil.o: monutil.c mondefs.h ../config.h monutil.h -nrdump.o: nrdump.c monixd.h mondefs.h ../config.h monutil.h -ripdump.o: ripdump.c monixd.h mondefs.h ../config.h monutil.h -rosedump.o: rosedump.c monixd.h mondefs.h ../config.h monutil.h -rspfdump.o: rspfdump.c monixd.h mondefs.h ../config.h monutil.h -sockets.o: sockets.c sockets.h -spy.o: spy.c monixd.h mondefs.h ../config.h monutil.h -tcpdump.o: tcpdump.c monixd.h mondefs.h ../config.h monutil.h -udpdump.o: udpdump.c monixd.h mondefs.h ../config.h monutil.h +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: @@ -296,26 +315,26 @@ maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-sbinPROGRAMS \ - mostlyclean-compile mostlyclean-tags \ + mostlyclean-compile mostlyclean-tags mostlyclean-depend \ mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-binPROGRAMS clean-sbinPROGRAMS clean-compile clean-tags \ - clean-generic mostlyclean-am + clean-depend clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-binPROGRAMS distclean-sbinPROGRAMS \ - distclean-compile distclean-tags distclean-generic \ - clean-am + distclean-compile distclean-tags distclean-depend \ + distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-sbinPROGRAMS maintainer-clean-compile \ - maintainer-clean-tags maintainer-clean-generic \ - distclean-am + maintainer-clean-tags maintainer-clean-depend \ + maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." @@ -327,12 +346,14 @@ maintainer-clean-sbinPROGRAMS uninstall-sbinPROGRAMS \ install-sbinPROGRAMS mostlyclean-compile distclean-compile \ clean-compile maintainer-clean-compile tags mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +distclean-tags clean-tags maintainer-clean-tags distdir \ +mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean # Tell versions [3.59,3.63) of GNU make to not export all variables. --- ax25spyd-0.23.orig/src/Makefile.am +++ ax25spyd-0.23/src/Makefile.am @@ -1,5 +1,5 @@ -localstatedir = /var/ax25/ax25spyd +localstatedir = /var/lib/ax25/ax25spyd AX25CONFDIR = /etc/ax25/ sbin_PROGRAMS = ax25spyd --- ax25spyd-0.23.orig/src/monix.c +++ ax25spyd-0.23/src/monix.c @@ -140,7 +140,7 @@ * dtype contains the type, transmitted by ax25spyd */ { - static bold=0; + static int bold=0; unsigned char *p; chtype ch; int i, total; --- ax25spyd-0.23.orig/src/monixd.h +++ ax25spyd-0.23/src/monixd.h @@ -44,7 +44,6 @@ /* in monixd */ -extern struct t_client client[MAXCLIENTS]; extern int nClient ; extern int fVerbose ; extern int fForceNoKiss ; @@ -84,6 +83,7 @@ char *sHeaderFilter; }; +extern struct t_client client[MAXCLIENTS]; /* In monixd.c */ --- ax25spyd-0.23.orig/doc/Makefile.in +++ ax25spyd-0.23/doc/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -83,9 +83,9 @@ all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -203,10 +203,15 @@ subdir = doc distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ --- ax25spyd-0.23.orig/doc/ax25spy.1 +++ ax25spyd-0.23/doc/ax25spy.1 @@ -21,7 +21,7 @@ starts dx-cluster-spy-mode .TP 15 .BI "\-f" -writes all received ax.25 data to the file /var/ax25/ax25spy. +writes all received ax.25 data to the file /var/lib/ax25/ax25spy. The file contains the raw ax.25 data, as received from the kernel. Each packet is preceeded with an (int size). If the file could not be opend/created ax25spy will be aborted. @@ -90,5 +90,5 @@ You may want to use the watch command with ax25spy -m or ax25spy -q .SH AUTHOR -Walter Koch, dg9ep (based on the listen(1)-code) +Walter Koch, dg9ep (based on the listen(1)-code) --- ax25spyd-0.23.orig/doc/ax25spyd.8 +++ ax25spyd-0.23/doc/ax25spyd.8 @@ -58,7 +58,7 @@ be quiet. Usefull when starting in the boot-script .TP 15 .BI "\-s" -spy all: Write all heard data to /var/ax25/ax25spyd/call1->call +spy all: Write all heard data to /var/lib/ax25/ax25spyd/call1->call .TP 15 .BI "\-v" be verbose in the syslog @@ -80,6 +80,6 @@ Thanks to Jochen, dg6vj, author of LinKT for initiating the project. .SH AUTHORS -Walter Koch, dg9ep +Walter Koch, dg9ep The configfilecode and the man page for it is taken literally from Johann Hanne, DH3MB --- ax25spyd-0.23.orig/examples/Makefile.in +++ ax25spyd-0.23/examples/Makefile.in @@ -1,4 +1,4 @@ -# Makefile.in generated automatically by automake 1.4 from Makefile.am +# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation @@ -62,9 +62,9 @@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ -exampledir = $(prefix)/etc/ax25/ -example_DATA = ax25spyd.conf.example services -noinst_DATA = ax25spy.shtml +exampledir = $(prefix)/share/doc/ax25spyd/examples/ +example_DATA = ax25spyd.conf.example services ax25spy.shtml +noinst_DATA = EXTRA_DIST = $(example_DATA) $(noinst_DATA) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h @@ -81,9 +81,9 @@ all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps examples/Makefile + cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status @@ -115,10 +115,15 @@ subdir = examples distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu examples/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$/$$file $(distdir)/$$file; \ + cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ --- ax25spyd-0.23.orig/examples/Makefile.am +++ ax25spyd-0.23/examples/Makefile.am @@ -1,6 +1,6 @@ -exampledir=$(prefix)/etc/ax25/ -example_DATA= ax25spyd.conf.example services -noinst_DATA= ax25spy.shtml +exampledir=$(prefix)/share/doc/ax25spyd/examples/ +example_DATA= ax25spyd.conf.example services ax25spy.shtml +noinst_DATA= EXTRA_DIST= $(example_DATA) $(noinst_DATA) --- ax25spyd-0.23.orig/debian/postrm +++ ax25spyd-0.23/debian/postrm @@ -0,0 +1,9 @@ +#!/bin/sh + +case "$1" in + purge) + rm -rf /var/lib/ax25/ax25spyd + ;; +esac + +#DEBHELPER# --- ax25spyd-0.23.orig/debian/rules +++ ax25spyd-0.23/debian/rules @@ -0,0 +1,89 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +DEBUGSYMS= +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + DEBUGSYMS=-g +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) CFLAGS='-Wall -O2 $(DEBUGSYMS)' + #/usr/bin/docbook-to-man debian/ax25spyd.sgml > ax25spyd.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/ax25spyd. + $(MAKE) install DESTDIR=$(CURDIR)/debian/ax25spyd + cp $(CURDIR)/examples/ax25spyd.conf.example $(CURDIR)/debian/ax25spyd/etc/ax25/ax25spyd.conf + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- ax25spyd-0.23.orig/debian/init.d +++ ax25spyd-0.23/debian/init.d @@ -0,0 +1,55 @@ +#!/bin/bash +### BEGIN INIT INFO +# Provides: ax25spyd +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 1 +### END INIT INFO +# +# skeleton example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. +# +# Written by Miquel van Smoorenburg . +# Modified for Debian GNU/Linux +# by Ian Murdock . +# +# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl +# +# This file was automatically customized by dh-make on Sun, 28 Apr 2002 16:27:48 +0200 + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/ax25spyd +NAME=ax25spyd +DESC=ax25spyd + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet -o --exec $DAEMON 2&>/dev/null + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet -o --exec $DAEMON + echo "$NAME." + ;; + restart|force-reload) + echo -n "Restarting $DESC: " + start-stop-daemon --stop --quiet -o --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet -o --exec $DAEMON 2&>/dev/null + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- ax25spyd-0.23.orig/debian/dirs +++ ax25spyd-0.23/debian/dirs @@ -0,0 +1,4 @@ +etc/ax25 +usr/bin +usr/sbin +var/lib/ax25/ax25spyd --- ax25spyd-0.23.orig/debian/copyright +++ ax25spyd-0.23/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Sebastian Muszynski on +Sun, 28 Apr 2002 16:27:48 +0200. + +It was downloaded from ftp://cojobo.bonn.de/pub/mirrors/1409.org/ax25spyd/ + +Upstream Author: Walter Koch, DG9EP + +Author of ax25mond Johann Hanne, DH3MB +Modification for autoconf Hans-Peter Zorn, DG4IAD +Proofreading of some docus Robert Steinhaeuser, DL1NC + +Copyright: + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- ax25spyd-0.23.orig/debian/changelog +++ ax25spyd-0.23/debian/changelog @@ -0,0 +1,59 @@ +ax25spyd (0.23-8) unstable; urgency=low + + * LSB formatted dependency info in init.d script added (closes: #469367). + + -- Sebastian Muszynski Fri, 07 Mar 2008 08:43:42 +0200 + +ax25spyd (0.23-7) unstable; urgency=low + + * Added patch for compilation (on amd64) with gcc-4.0 (closes: #299655). + Thanks to Andreas Jochens. + + -- Sebastian Muszynski Wed, 16 Mar 2005 12:22:18 +0200 + +ax25spyd (0.23-6) unstable; urgency=low + + * Updated to Standard-Version 3.6.1. + + -- Sebastian Muszynski Wed, 4 Feb 2004 09:52:03 +0200 + +ax25spyd (0.23-5) unstable; urgency=low + + * My email has changed to do2ksm@linkt.de + * Updated to Standard-Version 3.6.0. + + -- Sebastian Muszynski Thu, 31 Jul 2003 14:51:48 +0200 + +ax25spyd (0.23-4) unstable; urgency=low + + * Minor changes in debian/init.d and debian/postrm + + -- Sebastian Muszynski Sun, 26 May 2002 16:50:20 +0200 + +ax25spyd (0.23-3) unstable; urgency=low + + * Better FHS compliance. (localestatedir=/var/lib/ax25/ax25spyd) + * Added CFLAGs + * Added build-dependencies + * Added ax25spy.shtml to example directory + + -- Sebastian Muszynski Sat, 4 May 2002 20:05:35 +0200 + +ax25spyd (0.23-2) unstable; urgency=low + + * New maintainer. + * Updated to Standard-Version 3.5.2. + * Added a init.d script for ax25spyd startup + * Changed bad path of example directory + + -- Sebastian Muszynski Thu, 2 May 2002 17:55:29 +0200 + +ax25spyd (0.23-1) unstable; urgency=low + + * Initial Release. + + -- Hans-Peter Zorn Mon, 25 Sep 2000 02:23:44 +0200 + +Local variables: +mode: debian-changelog +End: --- ax25spyd-0.23.orig/debian/docs +++ ax25spyd-0.23/debian/docs @@ -0,0 +1,4 @@ +BUGS +README +programming + --- ax25spyd-0.23.orig/debian/control +++ ax25spyd-0.23/debian/control @@ -0,0 +1,14 @@ +Source: ax25spyd +Section: hamradio +Priority: extra +Maintainer: Sebastian Muszynski +Build-Depends: debhelper (>> 3.0.0), libax25-dev, libncurses5-dev +Standards-Version: 3.6.1 + +Package: ax25spyd +Architecture: any +Depends: ${shlibs:Depends} +Description: AX.25 traffic analyzer, dumper and spy daemon + ax25spyd is a daemon, which analyses, formats and transmit the AX.25 + traffic via sockets to other processes. Statistic of heard frames + and a simple DX-cluster-spy included.