debian/0000755000000000000000000000000011400165223007160 5ustar debian/control0000644000000000000000000000255211377664631010613 0ustar Source: netio230a Section: python Priority: extra Maintainer: Philipp Huebner Build-Depends: debhelper (>= 7), python-support (>= 0.90.0) Standards-Version: 3.8.4 Homepage: http://github.com/pklaus/netio230a Vcs-git: git://github.com/pklaus/netio230a.git Vcs-browser: http://github.com/pklaus/netio230a.git XS-Python-Version: >= 2.5 Package: python-netio230a Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Suggests: netio230a-gui Description: Python class to access the Koukaam NETIO-230A This package provides a Python class to access and control the Koukaam NETIO-230A, a cheap but advanced multiple socket with Ethernet control. Furthermore it ships a CLI which has the functionality to query and command the NETIO-230A via TCP (telnet) and a tool to discover all NETIO-230A devices on the local network. Package: netio230a-gui Architecture: all Conflicts: python-json Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-netio230a, python-gtk2, python-glade2, python-gnome2, python-gobject, python (>= 2.6) | python-simplejson Description: GUI to access the Koukaam NETIO-230A This package provides a graphical user interface to access the Koukaam NETIO-230A, a cheap but advanced multiple socket with Ethernet control. It makes it possible to switch individual ports from the device on and off. debian/python-netio230a.install0000644000000000000000000000021111350361372013574 0ustar netio230a.py /usr/share/pyshared/ netio230a_ctrl.py /usr/share/python-netio230a/ discoverNETIOsOnLAN.py /usr/share/python-netio230a/ debian/compat0000644000000000000000000000000211350361372010365 0ustar 7 debian/netio230a-gui.install0000644000000000000000000000017511350364255013053 0ustar netio230a_gui.py /usr/share/netio230a-gui/ configuration.py /usr/share/netio230a-gui/ resources/* /usr/share/netio230a-gui/ debian/copyright0000644000000000000000000000227711350361372011132 0ustar This work was packaged for Debian by: Philipp Huebner on Mon, 08 Mar 2010 14:26:10 +0100 It was downloaded from: http://github.com/pklaus/netio230a Upstream Author: Philipp Klaus Copyright: © 2009-2010 Philipp Klaus License: 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 3 of the License, or (at your option) any later version. This package 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, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". The Debian packaging is: © 2010 Philipp Huebner and is licensed under the GPL version 3, see above. debian/rules0000755000000000000000000000122511350361372010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS %: dh $@ debian/python-netio230a.links0000644000000000000000000000022211350361372013250 0ustar usr/share/python-netio230a/netio230a_ctrl.py usr/bin/netio230a-cli usr/share/python-netio230a/discoverNETIOsOnLAN.py usr/bin/netio230a-discover debian/netio230a-gui.docs0000644000000000000000000000000711350361372012324 0ustar #DOCS# debian/netio230a-gui.manpages0000644000000000000000000000002711350361372013171 0ustar debian/netio230a-gui.1 debian/source/0000755000000000000000000000000011350361372010467 5ustar debian/source/format0000644000000000000000000000001411350361372011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011371747770010633 5ustar debian/patches/0001-Use-simplejson-if-json-is-not-available.patch0000644000000000000000000000134611371742256021635 0ustar From d60f1adc97aa3e49eaedd29517136796d5bd9c48 Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Fri, 7 May 2010 15:12:58 +0200 Subject: [PATCH 1/2] Use simplejson if json is not available. --- configuration.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/configuration.py b/configuration.py index 7c06f7d..01f7fea 100755 --- a/configuration.py +++ b/configuration.py @@ -25,7 +25,11 @@ This module is made to simplify the process of saving and retrieving saved credentials from previous connections for the other modules of the project. """ -import json +try: + import json +except ImportError: + import simplejson as json + from datetime import datetime import os -- 1.7.1 debian/patches/series0000644000000000000000000000006311371747770012047 0ustar 0001-Use-simplejson-if-json-is-not-available.patch debian/python-netio230a.manpages0000644000000000000000000000006311350361372013726 0ustar debian/netio230a-cli.1 debian/netio230a-discover.1 debian/netio230a-gui.10000644000000000000000000000123511350361372011540 0ustar .TH NETIO230A-GUI 1 "2010-03-09" "netio230a-gui" .SH NAME netio230a-gui \- GUI to python-netio230a .SH SYNOPSIS .B netio230a-gui .SH DESCRIPTION netio230a-gui is a graphical user interface using PyGTK to access the Koukaam NETIO-230A, a cheap but advanced multiple socket with Ethernet control. It can discover devices on the LAN automatically and once logged in query the status and switch ports on/off. .SH AUTHOR netio230a-gui was written by Philipp Klaus . .PP This manual page was written by Philipp Huebner , for the Debian project (and may be used by others). .SH SEE ALSO .B netio230a-cli(1), netio230a-discover(1) debian/watch0000644000000000000000000000011511350363157010220 0ustar version=3 http://githubredir.debian.net/github/pklaus/netio230a/v(.*).tar.gz debian/changelog0000644000000000000000000000150111377665012011045 0ustar netio230a (1.0.1-3) unstable; urgency=low * Added 'XS-Python-Version: >= 2.5' to debian/contol (closes: 582048) Thanks Stefano Rivera for reporting and patching. -- Philipp Huebner Fri, 28 May 2010 08:59:29 +0200 netio230a (1.0.1-2) unstable; urgency=low * Corrected Depends on python-json (closes: 576233) - Moved python-json from Depends to Conflicts - Added python (>= 2.6) | python-simplejson to Depends Thanks Jakub Wilk for reporting. Thanks Bernd Zeimetz for providing patches. -- Philipp Huebner Mon, 10 May 2010 11:33:33 +0200 netio230a (1.0.1-1) unstable; urgency=low * Initial release (Closes: #571580) -- Philipp Huebner Thu, 18 Mar 2010 09:23:39 +0100 debian/python-netio230a.examples0000644000000000000000000000001111350361372013742 0ustar example* debian/python-netio230a.docs0000644000000000000000000000000711350361372013061 0ustar #DOCS# debian/netio230a-gui.links0000644000000000000000000000007711350361372012523 0ustar usr/share/netio230a-gui/netio230a_gui.py usr/bin/netio230a-gui debian/netio230a-discover.10000644000000000000000000000137011350361372012572 0ustar .TH NETIO230A-DISCOVER 1 "2010-03-09" "netio230a-discover" .SH NAME netio230a-discover \- detect all Koukaam NETIO-230A devices on your network .SH SYNOPSIS .B netio230a-discover .SH DESCRIPTION This is a discovery tool implemented in Python trying to give the same functionality as the Windows Tool NetioDiscover.exe by Koukaam. It is however just a command line tool yet. It is able to detect all Koukaam NETIO-230A devices on your network. It cannot set the IP etc. of any of the devices yet. .SH AUTHOR netio230a-discover was written by Philipp Klaus . .PP This manual page was written by Philipp Huebner , for the Debian project (and may be used by others). .SH SEE ALSO .B netio230a-cli(1), netio230a-gui(1) debian/docs0000644000000000000000000000003311350361372010036 0ustar README.md TODO.md todo.txt debian/netio230a-cli.10000644000000000000000000000230611350361372011523 0ustar .TH NETIO230A-CLI 1 "2010-03-09" "netio230a-cli" .SH NAME netio230a-cli \- CLI to python-netio230a .SH SYNOPSIS .B netio230a-cli [\-\-host HOST] [\-\-port PORT] [\-\-username USERNAME] [\-\-password PASSWORD] \-s SOCKET [\-\-on] .SH DESCRIPTION netio230a-cli is a command line interface to access the Koukaam NETIO-230A, a cheap but advanced multiple socket with Ethernet control. .PP Options: \-? show help message and exit \-h HOST, \-\-host=HOST Hostname for the device (defaults to the first one found by the discovery in your LAN) \-p PORT, \-\-port=PORT TCP port (defaults to 1234) \-u USERNAME, \-\-username=USERNAME username to use for login (defaults to admin) \-w PASSWORD, \-\-password=PASSWORD password to use for login (will ask if left empty) \-s SOCKET#, \-\-socket=SOCKET# socketnumber (1-4) to switch on/off \-\-on switch on when \-\-on set, off if omitted .SH AUTHOR netio230a-cli was written by Philipp Klaus . .PP This manual page was written by Philipp Huebner , for the Debian project (and may be used by others). .SH SEE ALSO .B netio230a-discover(1), netio230a-gui(1)