diff -Nru guessnet-0.57/debian/changelog guessnet-0.58/debian/changelog --- guessnet-0.57/debian/changelog 2022-11-13 19:34:08.000000000 +0000 +++ guessnet-0.58/debian/changelog 2023-01-07 19:53:56.000000000 +0000 @@ -1,3 +1,11 @@ +guessnet (0.58) unstable; urgency=medium + + * QA upload. + * Fix FBTFS with GCC-11. Remove dynamic exception specs. (Closes: #984163) + * debian/control: Add version (>= 1.1-3) to "libwibble-dev". + + -- Marcos Talau Sat, 07 Jan 2023 16:53:56 -0300 + guessnet (0.57) unstable; urgency=medium * QA upload. diff -Nru guessnet-0.57/debian/control guessnet-0.58/debian/control --- guessnet-0.57/debian/control 2022-11-13 19:34:08.000000000 +0000 +++ guessnet-0.58/debian/control 2023-01-07 19:20:33.000000000 +0000 @@ -2,7 +2,15 @@ Section: net Priority: optional Maintainer: Debian QA Group -Build-Depends: cdbs, debhelper (>= 7), dh-buildinfo, libnet1-dev (>= 1.1.1rel-2), libpcap-dev, libtut-dev, libwibble-dev, pkgconf | pkg-config, libiw-dev +Build-Depends: cdbs, + debhelper (>= 7), + dh-buildinfo, + libnet1-dev (>= 1.1.1rel-2), + libpcap-dev, + libtut-dev, + libwibble-dev (>= 1.1-3), + pkgconf | pkg-config, + libiw-dev Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/collab-maint/guessnet.git Vcs-Browser: http://git.debian.org/?p=collab-maint/guessnet.git diff -Nru guessnet-0.57/src/IFace.cc guessnet-0.58/src/IFace.cc --- guessnet-0.57/src/IFace.cc 2012-06-21 21:01:30.000000000 +0000 +++ guessnet-0.58/src/IFace.cc 2023-01-07 18:35:57.000000000 +0000 @@ -327,7 +327,6 @@ } void IFace::read_interface_configuration(struct if_params *ifp) - throw (wibble::exception::IFace) { if ((ioctl (_socket, SIOCGIFFLAGS, _ifr)) < 0) throw wibble::exception::IFace(string("getting interface flags for ") + name()); @@ -362,7 +361,6 @@ } void IFace::write_interface_configuration(const struct if_params& ifp) - throw (wibble::exception::IFace) { //writeField(fd, ifr, SIOCSIFADDR); WRITE_ADDR (SIOCSIFADDR, addr, IFP_VALID_ADDR); @@ -375,7 +373,7 @@ throw wibble::exception::IFace("setting interface configuration for " + name()); } -IFace::IFace(const string& name) throw (wibble::exception::System, wibble::exception::IFace, wibble::exception::MII) +IFace::IFace(const string& name) : _socket(-1), _ifr(0), _up(false), _run(false), _conn(false), _has_iface(false), _has_mii(true) { _socket = socket(AF_INET, SOCK_DGRAM, 0); @@ -404,7 +402,7 @@ return _ifr->ifr_name; } -void IFace::update() throw (wibble::exception::IFace, wibble::exception::MII) +void IFace::update() { try { if (ioctl(_socket, SIOCGIFFLAGS, _ifr) == -1) @@ -486,7 +484,6 @@ * Return true if the interface was down */ if_params IFace::initBroadcast(int timeout) - throw (wibble::exception::IFace) { if_params res; read_interface_configuration(&res); @@ -555,7 +552,6 @@ } if_params IFace::getConfiguration() - throw (wibble::exception::IFace) { if_params res; read_interface_configuration(&res); @@ -563,7 +559,6 @@ } if_params IFace::setConfiguration(const if_params& config) - throw (wibble::exception::IFace) { if_params res; read_interface_configuration(&res); diff -Nru guessnet-0.57/src/IFace.h guessnet-0.58/src/IFace.h --- guessnet-0.57/src/IFace.h 2012-06-21 21:01:30.000000000 +0000 +++ guessnet-0.58/src/IFace.h 2023-01-07 18:33:50.000000000 +0000 @@ -85,18 +85,16 @@ bool _has_iface; bool _has_mii; - void read_interface_configuration(struct if_params *ifp) - throw (wibble::exception::IFace); + void read_interface_configuration(struct if_params *ifp); - void write_interface_configuration(const struct if_params& ifp) - throw (wibble::exception::IFace); + void write_interface_configuration(const struct if_params& ifp); - int mdio_read(int location) throw (wibble::exception::MII); + int mdio_read(int location); public: /// Create an object to access informations of the interface whose name /// is in `name' - IFace(const std::string& name) throw (wibble::exception::System, wibble::exception::IFace, wibble::exception::MII); + IFace(const std::string& name); ~IFace() throw (); /// Tell if the interface was up at the time of the last update() @@ -116,25 +114,25 @@ std::string name() const throw (); /// Update the interface status - void update() throw (wibble::exception::IFace, wibble::exception::MII); + void update(); /// Bring the interface up in broadcast mode /** * Returns a struct if_params descriving the previous interface configuration */ - if_params initBroadcast(int timeout) throw (wibble::exception::IFace); + if_params initBroadcast(int timeout); /// Get the interface configuration /** * Returns a struct if_params descriving the current interface configuration */ - if_params getConfiguration() throw (wibble::exception::IFace); + if_params getConfiguration(); /// Set the interface configuration /** * Returns a struct if_params descriving the previous interface configuration */ - if_params setConfiguration(const if_params& config) throw (wibble::exception::IFace); + if_params setConfiguration(const if_params& config); }; // vim:set ts=4 sw=4: diff -Nru guessnet-0.57/src/nettypes.cc guessnet-0.58/src/nettypes.cc --- guessnet-0.57/src/nettypes.cc 2012-06-21 21:01:30.000000000 +0000 +++ guessnet-0.58/src/nettypes.cc 2023-01-07 17:44:14.000000000 +0000 @@ -52,7 +52,7 @@ return buf.str(); } -IPAddress::IPAddress(const std::string& str) throw (wibble::exception::Consistency) +IPAddress::IPAddress(const std::string& str) { if (inet_aton(str.c_str(), &addr) == 0) // Not valid diff -Nru guessnet-0.57/src/nettypes.h guessnet-0.58/src/nettypes.h --- guessnet-0.57/src/nettypes.h 2012-06-21 21:01:30.000000000 +0000 +++ guessnet-0.58/src/nettypes.h 2023-01-07 17:44:01.000000000 +0000 @@ -92,7 +92,7 @@ IPAddress(const in_addr& addr) throw () : addr(addr) {} // Parse an IPV4 address from a dotted-quad string - IPAddress(const std::string& str) throw (wibble::exception::Consistency); + IPAddress(const std::string& str); unsigned long int s_addr() const throw () { return addr.s_addr; } const in_addr_t* s_addr_p() const throw () { return &(addr.s_addr); }