debian/0000755000000000000000000000000012027344246007172 5ustar debian/br2684ctl.dirs0000644000000000000000000000003412027344246011504 0ustar usr/sbin usr/share/man/man8 debian/libatm1-dev.install0000644000000000000000000000010112027344246012657 0ustar usr/include/* lib/*/libatm.a /usr/lib/ lib/*/libatm.so /usr/lib/ debian/br2684ctl.manpages0000644000000000000000000000005212027344246012336 0ustar debian/tmp/usr/share/man/man8/br2684ctl.8 debian/atm-tools.postinst0000644000000000000000000000120312027344246012712 0ustar #!/bin/sh -e upgrade_quirks() { [ "$2" ] || return 0 dpkg --compare-versions $2 lt 1:2.5.1-1.3 || return 0 if [ -f /lib/init/rw/sendsigs.omit.d/atmarpd ]; then mv /lib/init/rw/sendsigs.omit.d/atmarpd /run/sendsigs.omit.d/atmarpd fi rm -f /etc/rc0.d/K*atm /etc/rc6.d/K*atm # replaced by a symlink in 1:2.5.1-1.3, but dpkg fails to do it on upgrades if [ -d /usr/share/doc/atm-tools -a ! -L /usr/share/doc/atm-tools ] ; then rmdir /usr/share/doc/atm-tools ln -s /usr/share/doc/libatm1 /usr/share/doc/atm-tools fi return 0 } case "$1" in configure) upgrade_quirks "$@" ;; esac #DEBHELPER# exit 0 debian/br2684ctl.postinst0000644000000000000000000000072312027344246012433 0ustar #!/bin/sh -e upgrade_quirks() { [ "$2" ] || return 0 dpkg --compare-versions $2 lt 1:2.5.1-1.3 || return 0 # replaced by a symlink in 1:2.5.1-1.3, but dpkg fails to do it on upgrades if [ -d /usr/share/doc/br2684ctl -a ! -L /usr/share/doc/br2684ctl ] ; then rmdir /usr/share/doc/br2684ctl ln -s /usr/share/doc/libatm1 /usr/share/doc/br2684ctl fi return 0 } case "$1" in configure) upgrade_quirks "$@" ;; esac #DEBHELPER# exit 0 debian/atm-tools.docs0000644000000000000000000000003212027344246011756 0ustar BUGS README doc/README.tc debian/libatm1-dev.postinst0000644000000000000000000000120612027344246013103 0ustar #!/bin/sh -e upgrade_quirks() { [ "$2" ] || return 0 dpkg --compare-versions $2 lt 1:2.5.1-1.5 || return 0 # replaced by a symlink in 1:2.5.1-1.3, but dpkg fails to do it on upgrades # furthermore the postinst had a bug in 1:2.5.1-1.4 handling wrongly the # /usr/share/doc/libatm1-dev directory (it refered to /usr/share/doc/atm-tools # previously if [ -d /usr/share/doc/libatm1-dev -a ! -L /usr/share/doc/libatm1-dev ] ; then rmdir /usr/share/doc/libatm1-dev ln -s /usr/share/doc/libatm1 /usr/share/doc/libatm1-dev fi return 0 } case "$1" in configure) upgrade_quirks "$@" ;; esac #DEBHELPER# exit 0 debian/control0000644000000000000000000000465512027344246010607 0ustar Source: linux-atm Section: net Priority: optional Maintainer: Peter De Schrijver (p2) Build-Depends: debhelper (>> 8.1.3~), bison, flex, autoconf, automake, libtool, perl, initscripts (>= 2.88dsf-13.3) Standards-Version: 3.9.2 Package: atm-tools Architecture: linux-any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Base programs for ATM in Linux, the net-tools for ATM This package provides all the basic programs needed for setting up, monitoring and tuning ATM networks. Such as: * atmsigd, an ATM signal daemon that implements the ATM UNI protocol. * atmtcp, a tool to setup ATM over TCP connections. * atmarpd, an implementation of the ATMARP protocol (RFC1577, RFC1755) * zeppelin, an ATM LAN Emulation client daemon * les and bus, ATM LAN Emulation service daemons . Notice that upstream still flags these tools as experimental software and says that there is still a number of known bugs and issues. The software is, however, in productive use at a number of sites and is working reliably. Homepage: http://linux-atm.sourceforge.net/ Package: br2684ctl Architecture: linux-any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Utility for configuring RFC 2684 ATM/Ethernet bridging ATM bridging is a way to extend Ethernet over an ATM network and is mainly used for DSL connections. This package contains the user space utility needed to configure the kernel driver. . This package is needed if you own an USB DSL modem and your connection uses one of these protocols: RFC 1483 bridged (RFC 2684 bridged), RFC 1483 bridged (RFC 2684 routed), PPP over Ethernet (PPPoE). Package: libatm1 Section: libs Architecture: linux-any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Conflicts: atm-tools (<< 2.4.1-6) Description: shared library for ATM (Asynchronous Transfer Mode) Shared libraries needed by ATM (Asynchronous Transfer Mode) related programs Homepage: http://linux-atm.sourceforge.net/ Package: libatm1-dev Section: libdevel Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends}, libatm1 (= ${binary:Version}) Replaces: atm-dev (<< 2.4.1-7) Conflicts: atm-dev (<< 2.4.1-7) Provides: libatm-dev Description: Development files for compiling ATM programs Header files and development libraries for compiling ATM (Asynchronous Transfer Mode) related programs. Homepage: http://linux-atm.sourceforge.net/ debian/changelog0000644000000000000000000002274712027344246011060 0ustar linux-atm (1:2.5.1-1.5) unstable; urgency=low * Non-maintainer upload. * Correct directory in libatm1-dev.postinst. Correct the directory checked for the directory symlink migration to be /usr/share/doc/libatm1-dev for the libatm1-dev binary package. It wrongly refered to /usr/share/doc/atm-tools. (Closes: #687857) -- Salvatore Bonaccorso Sat, 22 Sep 2012 11:03:25 +0200 linux-atm (1:2.5.1-1.4) unstable; urgency=low * Non-maintainer upload. * Make build targets executable in parallel (Closes: #674611). -- Luk Claes Tue, 03 Jul 2012 01:01:15 +0000 linux-atm (1:2.5.1-1.3) unstable; urgency=low * Non-maintainer upload. * Package converted to multiarch. * Support sendsigs.omit.d/ in /run and depend on initscripts >= 2.88dsf-13.3. (Closes: #633029) * Install the changelogs only in libatm1. * Removed the K links of the atmarpd initscript, there is no point in stopping the daemon. -- Marco d'Itri Sun, 30 Oct 2011 15:09:29 +0100 linux-atm (1:2.5.1-1.2) unstable; urgency=low * Non-maintainer upload. * Also Build-Depend on autoconf, automake, libtool. (Closes: #563306) * Prevent sendsigs from killing atmarpd. (Closes: #62144) -- Marco d'Itri Sat, 02 Jan 2010 21:59:19 +0100 linux-atm (1:2.5.1-1.1) unstable; urgency=low * Non-maintainer upload. * New upstream release. (Closes: #463401) * Removed the atm-dev dummy package. (Closes: #321826) * Fixed typos in some man pages. (Closes: #325072) * Autoreconf on build. (Closes: #535736, #549144) * Do not restart the init script on upgrades. (Closes: #303069) * Build with -fno-strict-aliasing just to be sure. * Added a .symbols file for libatm1. * Cleaned up debian/rules and updated to modern best practices. * Slightly cleaned up the init script. * Upgraded debhelper level to 5. * Merged back br2684ctl from the standalone source package. * Added an epoch to be able to replace the standalone br2684ctl package which has version 20040226-1. -- Marco d'Itri Thu, 24 Dec 2009 04:01:32 +0100 linux-atm (2.4.1-17.2) unstable; urgency=low * Non-maintainer upload to fix RC bug. * Add LSB dependency header to init.d scripts (Closes: #468459). -- Petter Reinholdtsen Mon, 31 Mar 2008 00:09:30 +0200 linux-atm (2.4.1-17.1) unstable; urgency=low * Non-maintainer upload. * Add patches/20_missing_includes.dpatch to add missing #include needed with last linux-libc-dev (Closes: #428943). -- Pierre Habouzit Thu, 19 Jul 2007 01:40:09 +0200 linux-atm (2.4.1-17) unstable; urgency=low * Fix build problem with gcc 4.0 (Closes: ) -- Peter De Schrijver (p2) Thu, 17 Mar 2005 23:02:03 +0100 linux-atm (2.4.1-16) unstable; urgency=low * Fix build problem with gcc 3.4 (Closes: #259422) -- Peter De Schrijver (p2) Thu, 15 Jul 2004 14:28:10 +0200 linux-atm (2.4.1-15) unstable; urgency=low * Updated descriptions (Closes: #239161) -- Peter De Schrijver (p2) Sun, 4 Apr 2004 21:10:20 +0200 linux-atm (2.4.1-14) unstable; urgency=low * Fix symlink for /usr/lib/libatm.so (Closes: #221011) -- Peter De Schrijver (p2) Sun, 7 Dec 2003 21:53:19 +0100 linux-atm (2.4.1-13) unstable; urgency=low * Previous version fixed #217259, but no changelog entry (Closes: #217259) * Previous version fixed #216662, but no changelog entry (Closes: #216662) * Added missing build dependency on automake1.4 (Closes: #221120, #221284) * New Maintainer (Closes: #206982) -- Peter De Schrijver (p2) Mon, 17 Nov 2003 23:03:58 +0100 linux-atm (2.4.1-12) unstable; urgency=low * don't build atm-tools-br2684 by default. Thanks to ftpmaster for not allowing the package to be in Debian. * Since we don't build atm-tools-br2684 any more, revert back to autotools output from 2.4.1-9 * Add README.br2684 documenting a way to build the package locally. -- Marc Haber Wed, 5 Nov 2003 21:31:42 +0000 linux-atm (2.4.1-11) experimental; urgency=low * Build-Depend on dpatch * dpatch br2684 header files from later libc for old libc (woody) -- Marc Haber Wed, 29 Oct 2003 19:05:07 +0000 linux-atm (2.4.1-10) experimental; urgency=low * add br2684 to package (closes: #216663) * autoreconf to actually build br2684 * have libatm1-dev provide libatm-dev (closes: #216662) * move lib symlink to libatm1-dev as well (closes: #217259) -- Marc Haber Thu, 23 Oct 2003 17:55:43 +0000 linux-atm (2.4.1-9) unstable; urgency=low * put libatm1-dev in libdevel (closes: #213170) * make sure that new descriptions actually make it into the package -- Marc Haber Thu, 9 Oct 2003 17:08:10 +0000 linux-atm (2.4.1-8) unstable; urgency=low * build arch-indep package as targets of binary-indep (closes: #212124) * use dh_installdocs to install files to libatm1-dev/docs * symlink shared lib to usr/bin (closes: #213146) * Use better long descriptions. Thanks to Javier (closes: #209427) Fernandez-Sanguino (closes: #209612) -- Marc Haber Sun, 28 Sep 2003 19:29:08 +0000 linux-atm (2.4.1-7) unstable; urgency=low * libatm1 now conflicts with atm-tools (<< 2.4.1-6) (closes: #208170) * armarp now writes output to stdout. * add atm-dev as empty transitional package to help upgrades -- Marc Haber Tue, 2 Sep 2003 09:20:33 +0000 linux-atm (2.4.1-6) unstable; urgency=low * split off shared libraries to libatm1 * rename atm-dev to libatm1-dev * Standards-Version: 3.6.1 -- Marc Haber Tue, 26 Aug 2003 15:46:27 +0000 linux-atm (2.4.1-5) unstable; urgency=low * move *.a and *.la to usr/lib (closes: #199506). * let atm-dev depend on atm-tools to avoid dangling /lib/libatm.so symlink. * Standards-Version: 3.5.6 -- Marc Haber Wed, 30 Jul 2003 11:46:19 +0000 linux-atm (2.4.1-4) unstable; urgency=low * add Build-Depends: on automake1.4 -- Marc Haber Wed, 11 Jun 2003 16:58:21 +0000 linux-atm (2.4.1-3) unstable; urgency=low * rebuilding libtool broke src/test/Makefile.in. Applied fix to Makefile.am and re-built again. -- Marc Haber Wed, 11 Jun 2003 11:05:26 +0000 linux-atm (2.4.1-2) unstable; urgency=low * rebuild configure script with new libtool (closes: #196909) -- Marc Haber Tue, 10 Jun 2003 21:01:50 +0000 linux-atm (2.4.1-1) unstable; urgency=low * new upstream source * remove atmarp and atmarpd from /usr/sbin as they are already in /sbin (closes: #196216) * lintian fixes -- Marc Haber Mon, 9 Jun 2003 16:03:45 +0000 linux-atm (2.4.0-5) unstable; urgency=low * Fix for src/test/Makefile.in to allow building on hppa and ia64 which the fix introduced to 2.4.0-4 broke. Thanks to Goswin Brederlow. * Move init.d priority to that atmarpd is started before network interfaces are started. * Move atmarpd and libatm to /sbin and /lib to allow atmarpd to be started before /usr is mounted. * use dh_install instead of dh_movefiles. -- Marc Haber Sat, 24 Aug 2002 15:13:48 +0000 linux-atm (2.4.0-4) unstable; urgency=low * new maintainer * Fix for src/test/Makefile.in to allow building on sparc. Thanks to Patrick Mauritz. (closes: #144225). * added pseudo-manpage for manpage-less binaries. * removed rpath by changing configure and make install paramaters -- Marc Haber Fri, 16 Aug 2002 20:39:05 +0000 linux-atm (2.4.0-3) unstable; urgency=HIGH * Re-ran libtoolize. Closes: #143522 * Previous version Closes: #135328 -- Russell Coker Fri, 19 Apr 2002 01:55:00 +0200 linux-atm (2.4.0-2) unstable; urgency=HIGH * Put a "grep -v EMAXERRNO" into the build process to deal with mipsel and the "#ifdef __KERNEL__" it has in it's /usr/include/asm/errno.h . -- Russell Coker Thu, 18 Apr 2002 19:56:00 +0200 linux-atm (2.4.0-1) unstable; urgency=HIGH * New upstream version which changes source package name. Closes: #138911 -- Russell Coker Mon, 18 Mar 2002 17:42:00 +0100 atm (0.79-4) unstable; urgency=low * Added build-depends on flex. Closes: #111072 * Made the atm tools use a shared object to save space. * Fixed the copyright file and put all copyright details in both packages. * Added support for easy building with different kernel headers. Closes: #110249 -- Russell Coker Sun, 7 Oct 2001 14:11:33 +0200 atm (0.79-3) unstable; urgency=low * Created /etc/init.d/atm to start and stop atmarpd. Closes: #110252 * Added build-depends on bison. Closes: #110576 -- Russell Coker Fri, 31 Aug 2001 15:21:44 +0200 atm (0.79-2) unstable; urgency=low * Changed the main package name to atm-tools to indicate that it doesn't provide ATM (gotta have the kernel support), it just has the daemons and utilities. -- Russell Coker Sat, 25 Aug 2001 17:55:00 +0200 atm (0.79-1) unstable; urgency=low * Initial Release. -- Russell Coker Fri, 24 Aug 2001 17:31:00 +0200 debian/atm-tools.links0000644000000000000000000000073612027344246012161 0ustar usr/share/man/man8/atm-tools.8 usr/share/man/man8/aread.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/awrite.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/enitune.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/ilmid.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/saaldump.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/sonetdiag.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/ttcp_atm.8 usr/share/man/man8/atm-tools.8 usr/share/man/man8/zntune.8 debian/atm-tools.atm0000644000000000000000000000250012027344246011611 0ustar #!/bin/sh -e ### BEGIN INIT INFO # Provides: atm # Required-Start: $local_fs # Required-Stop: $local_fs # X-Start-Before: networking # X-Stop-After: networking # Default-Start: S # Default-Stop: # Short-Description: Start/stop the atm daemon(s). ### END INIT INFO DAEMON='/sbin/atmarpd' PIDFILE='/run/atmarpd.pid' DEFAULTS='/etc/default/atm' test -f $DAEMON || exit 0 OPTIONS='-l syslog' START_DAEMON='yes' [ -r "$DEFAULTS" ] && . "$DEFAULTS" if [ "$START_DAEMON" != "yes" -a "$1" != "stop" ]; then echo "Edit /etc/default/atm to start atmarpd." exit 0 fi sendsigs_omit() { local omitdir=/run/sendsigs.omit.d [ -d $omitdir ] || return 0 ln -sf $PIDFILE $omitdir/atmarpd } case "$1" in start) echo -n "Starting ATM ARP Daemon: " start-stop-daemon --start --quiet --background --make-pidfile \ --pidfile $PIDFILE --exec $DAEMON -- $OPTIONS echo "atmarpd." sendsigs_omit ;; stop) echo -n "Stopping ATM ARP Daemon: " start-stop-daemon --stop --quiet --oknodo \ --pidfile $PIDFILE --name atmarpd rm -f $PIDFILE echo "atmarpd." ;; restart|force-reload) $0 stop $0 start ;; *) echo "Usage: /etc/init.d/atm start|stop|restart|force-reload" exit 2 ;; esac exit 0 debian/libatm1.install0000644000000000000000000000002212027344246012105 0ustar lib/*/libatm.so.* debian/libatm1-dev.docs0000644000000000000000000000004712027344246012152 0ustar doc/README.CLP doc/atm-linux-howto.txt debian/copyright.header0000644000000000000000000000077512027344246012365 0ustar This package was debianized by Russell Coker on Fri, 24 Aug 2001 16:11:12 +0200 and is now maintained by Marc Haber . It was downloaded from http://www.sourceforge.net/projects/linux-atm/ See also http://linux-atm.sourceforge.net/dist.php Upstream Authors: Werner Almesberger EPFL ICA Mitchell Blank Jr. Paul B Schroeder Copyright: GPL 2.0 See /usr/share/common-licenses/GPL-2 debian/rules0000755000000000000000000000453612027344246010262 0ustar #!/usr/bin/make -f SHELL+= -e DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk CFLAGS += -fno-strict-aliasing DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) CONFFLAGS += --build $(DEB_HOST_GNU_TYPE) else CONFFLAGS += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif autoreconf: autoreconf-stamp autoreconf-stamp: dh_testdir autoreconf --force --install --symlink touch $@ configure: config.status config.status: autoreconf-stamp dh_testdir ./configure $(CONFFLAGS) \ --libdir=/lib/$(DEB_HOST_MULTIARCH) \ --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: config.status dh_testdir $(MAKE) cat debian/copyright.header COPYING > debian/copyright touch $@ clean: dh_testdir [ ! -f Makefile ] || $(MAKE) distclean rm -f debian/atm-tools.8 debian/copyright \ src/switch/cfg_?.[ch] src/qgen/ql_?.[ch] src/test/ispl_?.[ch] \ src/sigd/cfg_?.[ch] src/lane/lecs_db.c src/lane/load_lex.c \ aclocal.m4 autom4te.cache/* config.h.in config.h.in~ \ config.guess config.sub configure libtool \ INSTALL depcomp install-sh ltmain.sh missing ylwrap \ $$(find . -name Makefile.in) dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) DESTDIR=`pwd`/debian/tmp install # manpages /usr/bin/pod2man --section=8 --release="atm-tools $(PKG_VER)" --lax \ --center="Debian GNU/Linux" debian/atm-tools.pod > debian/atm-tools.8 # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_install --sourcedir=debian/tmp rm debian/atm-tools/usr/share/man/man8/br2684ctl.8 ln -sf /lib/$(DEB_HOST_MULTIARCH)/libatm.so.1.0.0 \ debian/libatm1-dev/usr/lib/libatm.so dh_installdocs --link-doc=libatm1 dh_installinit --init-script=atm -- start 39 S . dh_installman dh_installchangelogs ChangeLog dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs -- -c4 dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-arch .PHONY: build-arch build-indep build binary-arch binary-indep install autoreconf configure clean install debian/atm-tools.install0000644000000000000000000000043612027344246012504 0ustar usr/share/man/* usr/bin/* usr/sbin/atmsigd usr/sbin/atmaddr usr/sbin/esi usr/sbin/atmloop usr/sbin/atmtcp usr/sbin/enitune usr/sbin/zntune usr/sbin/atmarp sbin usr/sbin/atmarpd sbin usr/sbin/ilmid usr/sbin/zeppelin usr/sbin/les usr/sbin/bus usr/sbin/lecs usr/sbin/mpcd etc/atmsigd.conf debian/atm-tools.pod0000644000000000000000000000103712027344246011616 0ustar =head1 NAME linux-atm - preliminary manpage aread awrite enitune ilmid saaldump sonetdiag ttcp_atm zntune =head1 DOCUMENTATION atm-tools is a package containing the basic tools that are needed for setting up, monitoring, and tuning ATM networks. All available documentation can be found in /usr/share/doc/atm-tools in Debian systems, and on the Web on: http://linux-atm.sourceforge.net. =head1 BUGS Many. Be prepared to debug. =head1 AUTHOR This manpage was written by Marc Haber for linux-atm packaging in Debian/GNU Operating System. debian/source/0000755000000000000000000000000012027344246010472 5ustar debian/source/format0000644000000000000000000000001412027344246011700 0ustar 3.0 (quilt) debian/libatm1-dev.dirs0000644000000000000000000000002412027344246012156 0ustar usr/lib usr/include debian/libatm1.symbols0000644000000000000000000000221012027344246012130 0ustar libatm.so.1 libatm1 #MINVER# __atmlib_fetch@Base 2.4.1-17~ __t2q_get_rate@Base 2.4.1-17~ alloc@Base 2.4.1-17~ ans_byaddr@Base 2.4.1-17~ ans_byname@Base 2.4.1-17~ atm2text@Base 2.4.1-17~ atm_equal@Base 2.4.1-17~ atm_tcpip_port_mapping@Base 2.4.1-17~ diag@Base 2.4.1-17~ diag_dump@Base 2.4.1-17~ diag_fatal_debug_hook@Base 2.4.1-17~ expire_timers@Base 2.4.1-17~ get_logfile@Base 2.4.1-17~ get_verbosity@Base 2.4.1-17~ kptr_eq@Base 2.4.1-17~ kptr_print@Base 2.4.1-17~ next_timer@Base 2.4.1-17~ now@Base 2.4.1-17~ pop_timer@Base 2.4.1-17~ qos2text@Base 2.4.1-17~ qos_equal@Base 2.4.1-17~ read_netl@Base 2.4.1-17~ sap2text@Base 2.4.1-17~ sap_equal@Base 2.4.1-17~ sdu2cell@Base 2.4.1-17~ set_application@Base 2.4.1-17~ set_logfile@Base 2.4.1-17~ set_verbosity@Base 2.4.1-17~ start_timer@Base 2.4.1-17~ stop_timer@Base 2.4.1-17~ text2atm@Base 2.4.1-17~ text2ip@Base 2.4.1-17~ text2qos@Base 2.4.1-17~ text2sap@Base 2.4.1-17~ timer_handler@Base 2.4.1-17~ un_attach@Base 2.4.1-17~ un_create@Base 2.4.1-17~ un_recv@Base 2.4.1-17~ un_recv_connect@Base 2.4.1-17~ un_reply@Base 2.4.1-17~ un_send@Base 2.4.1-17~ vdiag@Base 2.4.1-17~ debian/br2684ctl.install0000644000000000000000000000006212027344246012212 0ustar usr/sbin/br2684ctl usr/share/man/man8/br2684ctl.8 debian/atm-tools.manpages0000644000000000000000000000002312027344246012621 0ustar debian/atm-tools.8 debian/compat0000644000000000000000000000000212027344246010370 0ustar 8 debian/patches/0000755000000000000000000000000012027344246010621 5ustar debian/patches/series0000644000000000000000000000001612027344246012033 0ustar manpages misc debian/patches/misc0000644000000000000000000001404312027344246011501 0ustar --- a/src/arpd/io.c +++ b/src/arpd/io.c @@ -277,7 +277,8 @@ static void accept_new(void) struct atm_qos qos; ENTRY *entry; VCC *vcc; - int fd,len,size,error; + int fd,error; + socklen_t len,size; len = sizeof(addr); if ((fd = accept(incoming,(struct sockaddr *) &addr,&len)) < 0) { @@ -614,7 +615,8 @@ int ip_itf_info(int number,uint32_t *ip, int get_local(int fd,struct sockaddr_atmsvc *addr) { - int length,result; + int result; + size_t length; length = sizeof(struct sockaddr_atmsvc); result = getsockname(fd,(struct sockaddr *) addr,&length); --- a/src/arpd/table.c +++ b/src/arpd/table.c @@ -101,7 +101,8 @@ static void dump_vcc(VCC *vcc) char addr_buf[MAX_ATM_ADDR_LEN+1]; char qos_buf[MAX_ATM_QOS_LEN+1]; struct atm_qos qos; - int size,sndbuf; + int sndbuf; + socklen_t size; size = sizeof(addr); if (getpeername(vcc->fd,(struct sockaddr *) &addr,&size) < 0) { --- a/src/ilmid/asn1/asn_int.c +++ b/src/ilmid/asn1/asn_int.c @@ -185,7 +185,7 @@ FILE* f _AND_ AsnInt* v _AND_ unsigned short int indent) { - fprintf(f,"%d", *v); + fprintf(f,"%ld", *v); } @@ -370,5 +370,5 @@ FILE* f _AND_ UAsnInt* v _AND_ unsigned short int indent) { - fprintf(f,"%u", *v); + fprintf(f,"%lu", *v); } --- a/src/ilmid/asn1/asn_oid.c +++ b/src/ilmid/asn1/asn_oid.c @@ -127,7 +127,7 @@ unsigned short int indent) if (firstArcNum > 2) firstArcNum = 2; - fprintf(f,"%u %u", firstArcNum, arcNum - (firstArcNum * 40)); + fprintf(f,"%d %lu", firstArcNum, arcNum - (firstArcNum * 40)); for (; i < v->octetLen ; ) { @@ -136,7 +136,7 @@ unsigned short int indent) arcNum = (arcNum << 7) + (v->octs[i] & 0x7f); i++; - fprintf(f," %u", arcNum); + fprintf(f," %lu", arcNum); } fprintf(f,"}"); --- a/src/lane/connect.c +++ b/src/lane/connect.c @@ -258,7 +258,8 @@ static int data_handler(const Event_t *event, void *funcdata) { Conn_t *tmp, *newconn; - int fd, nbytes; + int fd; + socklen_t nbytes; static char buffer[BUFSIZE]; LaneControl_t *ctmp; struct sockaddr_atmsvc addr; --- a/src/lane/connect_bus.c +++ b/src/lane/connect_bus.c @@ -170,7 +170,8 @@ static int data_handler(const Event_t *event, void *funcdata) { Conn_t *tmp, *newconn; - int fd, nbytes; + int fd; + socklen_t nbytes; static char buffer[BUFSIZE]; struct sockaddr_atmsvc addr; --- a/src/lane/lane_atm.c +++ b/src/lane/lane_atm.c @@ -138,7 +138,7 @@ atm_connect_back(const AtmAddr_t *our_ad struct atm_blli blli; struct atm_qos qos; int fd, ret; - int len = sizeof(address); + socklen_t len = sizeof(address); fd = socket(PF_ATMSVC, SOCK_DGRAM, 0); if (fd <0) { --- a/src/lane/lecs.c +++ b/src/lane/lecs.c @@ -119,7 +119,7 @@ int main(int argc, char **argv) int just_dump=0; fd_set fds; struct sockaddr_atmsvc client; - int len; + socklen_t len; unsigned char buffer[P_SIZE]; while(i!=-1) { --- a/src/lib/ans.c +++ b/src/lib/ans.c @@ -41,7 +41,7 @@ static int ans(const char *text,int wanted,void *result,int res_len) { unsigned char answer[MAX_ANSWER]; - unsigned char name[MAX_NAME]; + char name[MAX_NAME]; unsigned char *pos,*data,*found; int answer_len,name_len,data_len,found_len; int questions,answers; --- a/src/lib/sdu2cell.c +++ b/src/lib/sdu2cell.c @@ -15,7 +15,8 @@ int sdu2cell(int s,int sizes,const int * { struct atm_qos qos; int trailer,total,cells; - int size,i; + int i; + socklen_t size; size = sizeof(qos); if (getsockopt(s,SOL_AAL,SO_ATMQOS,&qos,&size) < 0) return -1; --- a/src/lib/unix.c +++ b/src/lib/unix.c @@ -63,8 +63,8 @@ int un_attach(const char *path) int un_recv_connect(int s,void *buf,int size) { struct sockaddr_un addr; - int addr_size; int len; + socklen_t addr_size; addr_size = sizeof(addr); len = recvfrom(s,buf,size,0,(struct sockaddr *) &addr,&addr_size); --- a/src/maint/atmtcp.c +++ b/src/maint/atmtcp.c @@ -817,7 +817,8 @@ int main(int argc,char **argv) } else if (!strcmp(ARG,"listen") || (do_background = !strcmp(ARG,"listen-bg"))) { - int fd,port,addr_len; + int fd,port; + socklen_t addr_len; int *fd2 = alloc_t(int); if ((fd = socket(PF_INET,SOCK_STREAM,0)) < 0) { --- a/src/maint/hediag.c +++ b/src/maint/hediag.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include --- a/src/mpoad/io.c +++ b/src/mpoad/io.c @@ -521,7 +521,8 @@ static int msg_from_mps(int slot) static int accept_conn(int slot) { struct sockaddr_atmsvc sa; - int i, new_fd, sa_len; + int i, new_fd; + socklen_t sa_len; sa_len = sizeof(sa); new_fd = accept(fds[slot].fd, (struct sockaddr *)&sa, &sa_len); --- a/src/sigd/io.c +++ b/src/sigd/io.c @@ -355,7 +355,7 @@ int get_pvc(int itf,int *vci) error = 0; if (bind(s,(struct sockaddr *) &addr,sizeof(addr)) < 0) error = errno; else { - int size; + socklen_t size; size = sizeof(addr); if (getsockname(s,(struct sockaddr *) &addr,&size) < 0) --- a/src/test/ttcp.c +++ b/src/test/ttcp.c @@ -92,7 +92,8 @@ struct sockaddr_in frominet; struct sockaddr_atmsvc satm; struct atm_qos qos; -int domain, fromlen; +int domain; +socklen_t fromlen; int fd; /* fd of network socket */ int buflen = 8 * 1024; /* length of buffer */ @@ -466,7 +467,7 @@ int no_check = 0; { struct sockaddr_atmsvc peer; - int peerlen = sizeof(peer); + socklen_t peerlen = sizeof(peer); if (getpeername(fd, (struct sockaddr *) &peer, &peerlen) < 0) { err("getpeername"); @@ -498,7 +499,7 @@ int no_check = 0; /* set socket buffer size */ #if defined(SO_SNDBUF) || defined(SO_RCVBUF) if (sockbufsize) { - int len; + socklen_t len; if (trans) { /* set send socket buffer if we are transmitting */ @@ -664,7 +664,7 @@ int no_check = 0; exit(0); usage: - fprintf(stderr, Usage); + fprintf(stderr, "%s", Usage); exit(1); } debian/patches/manpages0000644000000000000000000000271412027344246012343 0ustar --- a/src/mpoad/mpcd.8 +++ b/src/mpoad/mpcd.8 @@ -28,7 +28,7 @@ mpcd \- ATM MPOA (Multi\-Protocol Over A .B ]] .SH DESCRIPTION MPOA client -.SM(MPC) is responsible for creating and receiving +.SM (MPC) is responsible for creating and receiving internetwork layer shortcuts. Using these shortcuts MPCs forward unicast internetwork layer packets effectively over ATM without need for routing protocols. @@ -43,7 +43,7 @@ accepts shortcuts and packets arriving o shortcuts is done with the help of .SM MPOA server -.SM(MPS). +.SM (MPS). .PP Just as the Linux .SM LAN --- a/src/led/zeppelin.8 +++ b/src/led/zeppelin.8 @@ -99,7 +99,7 @@ Ring and ATM parts of the ELAN, so using recommended. Token Ring support has received less testing than its Ethernet counterpart. .SH FILES -.IP \fI/var/run/lec[interface number].pid\fP +.IP \fI/var/run/lec[interface\ number].pid\fP The file containing the process id of zeppelin. .SH BUGS John Bonham died 1980 and Led Zeppelin broke. --- a/src/sigd/atmsigd.conf.4 +++ b/src/sigd/atmsigd.conf.4 @@ -125,7 +125,7 @@ a comment. The `#' character cannot be e .P If an option is specified in \fBatmsigd.conf\fP and on the command line, the command line has priority. -.COMPATIBILITY +.SH COMPATIBILITY Certain options used by past versions of \fBatmsigd\fP but no longer documented on the man page are still recognized and supported, but they also yield a warning message. Future versions of \fBatmsigd\fP will not recognize those debian/libatm1.dirs0000644000000000000000000000000512027344246011401 0ustar /lib