mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 21:08:06 +01:00
experimental:
- Add 3rd party python libraries used by ioctl backend to tree and to setup.py - Port several bug fixes from the trunk (removing reliance on shell for running external commands, unicode fixes, gui crash fixes, authentication validation improvements, several others) - Fix some crashes in ioctl backend. - Change daemon/GUI launch scripts to use the -O flag.
This commit is contained in:
173
depends/python-wpactrl/debian/changelog
Normal file
173
depends/python-wpactrl/debian/changelog
Normal file
@@ -0,0 +1,173 @@
|
||||
python-wpactrl (1.0.1-1) unstable; urgency=low
|
||||
|
||||
* Mark ctrl_iface_path and attached instance attributes as readonly.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Fri, 25 Apr 2008 13:17:03 +1000
|
||||
|
||||
python-wpactrl (1.0.0-1) unstable; urgency=low
|
||||
|
||||
* Major version 1.0.0, first release to the wild.
|
||||
* Add/enhance doc strings for extension and all methods.
|
||||
* Just return None for attach() and detach() methods, they can only fail
|
||||
and raise error or succeed.
|
||||
* Add Vcs fields to debian/control.
|
||||
* Do not hardcode a python version in Makefile.
|
||||
* Add DESTDIR support to Makefile.
|
||||
* Use upstream Makefile in debian/rules instead of calling setup.py
|
||||
directly.
|
||||
* Fix lintian error in package debian/control long description by
|
||||
capitalizing Python.
|
||||
* Add entry for wpactrl.c in debian/copyright, adding original Authour's
|
||||
name and copyright statement.
|
||||
* Add a .PHONY entry to Makefile, so that 'build' can be called more than
|
||||
once, for eg., multiple python versions.
|
||||
* Add README file including description and installation blurbs.
|
||||
* Add copyright/license information to example.py.
|
||||
* Enhance the use of the attached WPACtrl struct member, explicitly checking
|
||||
and setting its value.
|
||||
* Don't allow an WPACtrl instance to attach() more than once, similarly only
|
||||
allow the detach() method to do something if the instance previously
|
||||
attach()'d.
|
||||
* Remove the isattached() WPACtrl instance method.
|
||||
* Remove embedded code example from wpactrl doc string.
|
||||
* Expose the attached WPACtrl struct member as an instance data attribute.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Wed, 23 Apr 2008 13:44:28 +1000
|
||||
|
||||
python-wpactrl (0.10.0-2) unstable; urgency=low
|
||||
|
||||
* Update extended package description in debian/control.
|
||||
* Add reference to upstream control interface specification to wpactrl.c
|
||||
header.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Tue, 22 Apr 2008 10:20:45 +1000
|
||||
|
||||
python-wpactrl (0.10.0-1) unstable; urgency=low
|
||||
|
||||
* Add attached to wpactrl struct, to act as boolean when object as
|
||||
registered as event monitor.
|
||||
* Add attached() object method to return pythonic boolean based on state of
|
||||
attached wpactrl struct member.
|
||||
* Reorder the object method heirachy to match that of wpa_ctrl.h more
|
||||
closely.
|
||||
* Remove check for self->ctrl_iface in each object method, that condition
|
||||
cannot be possible since object will raise an exception of
|
||||
self->ctrl_iface could not be created at init.
|
||||
* Adhere to the CapWords convention for the class name, renaming wpactrl
|
||||
class to WPACtrl.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Mon, 21 Apr 2008 16:40:52 +1000
|
||||
|
||||
python-wpactrl (0.9.1-1) unstable; urgency=low
|
||||
|
||||
* Rename wpactrl_dealloc() object method to wpactrl_close().
|
||||
* Add wpactrl_attach() and wpactrl_detach() object methods.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Mon, 21 Apr 2008 03:47:14 +1000
|
||||
|
||||
python-wpactrl (0.9.0-1) unstable; urgency=low
|
||||
|
||||
* Don't open two sockets for 2-way communication, one socket returned by
|
||||
wpa_ctrl_open() is sufficient for sending and receiving.
|
||||
* Don't include (and allocate memory for) the sendbuf and recvbuf wpactrl
|
||||
struct members.
|
||||
* Fix check of path string length, to make sure we are able to allocate
|
||||
enough memory to accommodate it.
|
||||
* Don't rely on python's PyArg_ParseTuple() to return length of argument in
|
||||
wpactrl_request() method, just use strlen instead.
|
||||
* Rename socket object member to ctrl_iface_path.
|
||||
* Rename close() object method to detach().
|
||||
* If wpactrl_reattach() method fails, allow exception to be raised rather
|
||||
than returning false.
|
||||
* Rename wpactrl_init() object method to wpactrl_open().
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Mon, 21 Apr 2008 02:59:30 +1000
|
||||
|
||||
python-wpactrl (0.8.0-1) unstable; urgency=low
|
||||
|
||||
* Drop recevents method and helper function.
|
||||
* Overhaul wpactrl_init, doing paranoid chanking that every allocation of
|
||||
memory and so on is completed.
|
||||
* free() send and recv buffers in wpactrl_close() to ensure we do not leak
|
||||
memory should we choose to reattach().
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Fri, 18 Apr 2008 22:52:54 +1000
|
||||
|
||||
python-wpactrl (0.7.1-1) unstable; urgency=low
|
||||
|
||||
* More code cleanups, rename wpactrlError to wpactrl_error for consistency.
|
||||
* Shorten the version defines.
|
||||
* Add wpactrl_members structure to provide access to path attribute of
|
||||
wpactrl instances.
|
||||
* Rename the path attribute to socket. Remove socket wpactrl method.
|
||||
* Check if bss command returned a string starting with bssid rather than
|
||||
testing string length, it could return UNKNOWN COMMAND or FAILED.
|
||||
* Rename events method to recvevents, to be more descriptive about expected
|
||||
action.
|
||||
* Numerous trivial code beautifications.
|
||||
* Bugfix output of example.py.
|
||||
* Include a changelog in the tarball generated by "upstream-release".
|
||||
* Check pathsize is less than allocated size.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Fri, 18 Apr 2008 16:47:03 +1000
|
||||
|
||||
python-wpactrl (0.7.0-1) unstable; urgency=low
|
||||
|
||||
* Make all methods lower case.
|
||||
* Use wpactrl namespace instead of WPACtrl.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Thu, 17 Apr 2008 01:20:02 +1000
|
||||
|
||||
python-wpactrl (0.6.0-1) unstable; urgency=low
|
||||
|
||||
* Add -fno-strict-aliasing to compiler flags to silence noise with
|
||||
python2.5.
|
||||
* Global rename of 'buff' to 'buf'.
|
||||
* Add Reattach() method, to reattach monitor to a wpa_ctrl path that was
|
||||
previously attached by recycling the WPACtrl_init() function.
|
||||
* Take better care of handling all possible return values for the
|
||||
wpa_ctrl_*() functions.
|
||||
* Recycle WPACtrl_Recv() when collecting a list of events for the
|
||||
RecvPendingEvents() method.
|
||||
* Readd the Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS keywords around
|
||||
the wpa_ctrl_recv() in Recv() method, as the forked upstream seemed to
|
||||
support threading at that point.
|
||||
* Update example.py to show commands as they are executed, similar in
|
||||
appearance to IDLE.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Thu, 17 Apr 2008 00:41:54 +1000
|
||||
|
||||
python-wpactrl (0.5.0-1) unstable; urgency=low
|
||||
|
||||
* Ensure send or recv socket is open before attempting to access it via one
|
||||
of the WPACtrl object methods.
|
||||
* Take care that the Recv() method is not blocking, return None if
|
||||
wpa_ctrl_pending indicates we have nothing pending.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Fri, 11 Apr 2008 16:32:35 +1000
|
||||
|
||||
python-wpactrl (0.4.2-1) unstable; urgency=low
|
||||
|
||||
* Install example.py in examples directory.
|
||||
* Retain SocketPath() method from original extension source.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Wed, 09 Apr 2008 21:30:13 +1000
|
||||
|
||||
python-wpactrl (0.4.1-1) unstable; urgency=low
|
||||
|
||||
* Return NULL when an exception is to be raised in ScanResults() method due
|
||||
to failure of wpa_ctrl_request().
|
||||
* Minor formatting cleanups.
|
||||
* Remove ./build directory in debian/rules clean: target.
|
||||
* Don't mark functions explicitly as inline, let the compiler make those
|
||||
decisions.
|
||||
* Enhance example.py to show of a few of wpactrl's methods, and to not
|
||||
hardcode interface name for easier testing.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Tue, 08 Apr 2008 17:20:27 +1000
|
||||
|
||||
python-wpactrl (0.4.0-1) unstable; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Kel Modderman <kel@otaku42.de> Mon, 07 Apr 2008 23:27:14 +1000
|
||||
1
depends/python-wpactrl/debian/compat
Normal file
1
depends/python-wpactrl/debian/compat
Normal file
@@ -0,0 +1 @@
|
||||
6
|
||||
23
depends/python-wpactrl/debian/control
Normal file
23
depends/python-wpactrl/debian/control
Normal file
@@ -0,0 +1,23 @@
|
||||
Source: python-wpactrl
|
||||
Section: python
|
||||
Priority: optional
|
||||
Build-Depends: debhelper (>= 6), python-all-dev (>= 2.3.5-11), python (>= 2.4), python-central (>= 0.5.6)
|
||||
Maintainer: Kel Modderman <kel@otaku42.de>
|
||||
XS-Python-Version: >=2.4
|
||||
Standards-Version: 3.7.3
|
||||
Vcs-Svn: http://svn.projects.otaku42.de/python-wpactrl/trunk/
|
||||
Vcs-Browser: http://projects.otaku42.de/browser/python-wpactrl/trunk/
|
||||
|
||||
Package: python-wpactrl
|
||||
Architecture: any
|
||||
Depends: ${python:Depends}, ${shlibs:Depends}
|
||||
Suggests: wpasupplicant, hostapd
|
||||
Provides: ${python:Provides}
|
||||
XB-Python-Version: ${python:Versions}
|
||||
Description: A Python extension for wpa_supplicant/hostapd control interface access
|
||||
wpa_supplicant/hostapd implements a control interface that can be used by
|
||||
external programs to control the operations of the wpa_supplicant/hostapd
|
||||
daemon and to get status information and event notifications. The WPACtrl
|
||||
class provided by python-wpactrl allows Python programs to use helper
|
||||
functions to connect with the UNIX domain socket form of control interface
|
||||
and communicate with a wpa_supplicant/hostapd daemon.
|
||||
15
depends/python-wpactrl/debian/copyright
Normal file
15
depends/python-wpactrl/debian/copyright
Normal file
@@ -0,0 +1,15 @@
|
||||
Files: *
|
||||
Copyright: (c) 2008 Kel Modderman <kel@otaku42.de>
|
||||
License: GPL-2
|
||||
|
||||
Files: wpactrl.c
|
||||
Copyright: (c) 2008 Kel Modderman <kel@otaku42.de>
|
||||
(c) 2006 Jeremy Moles <jeremy@emperorlinux.com>
|
||||
License: GPL-2
|
||||
|
||||
Files: wpa_ctrl.*
|
||||
Copyright: (c) 2004-2007, Jouni Malinen <j@w1.fi>
|
||||
License: GPL-2 | BSD
|
||||
|
||||
On Debian GNU/Linux systems, the complete text of the GNU Lesser General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
1
depends/python-wpactrl/debian/examples
Normal file
1
depends/python-wpactrl/debian/examples
Normal file
@@ -0,0 +1 @@
|
||||
example.py
|
||||
62
depends/python-wpactrl/debian/rules
Executable file
62
depends/python-wpactrl/debian/rules
Executable file
@@ -0,0 +1,62 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
PYVERS=$(shell pyversions -r debian/control)
|
||||
|
||||
build: build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
for python in $(PYVERS); do \
|
||||
$(MAKE) build PYTHON=$$python ; \
|
||||
done
|
||||
touch build-stamp
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
for python in $(PYVERS); do \
|
||||
$(MAKE) clean PYTHON=$$python ; \
|
||||
done
|
||||
dh_clean build-stamp
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
for python in $(PYVERS); do \
|
||||
$(MAKE) install PYTHON=$$python DESTDIR=$(CURDIR)/debian/python-wpactrl ; \
|
||||
done
|
||||
|
||||
binary-indep: build install
|
||||
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdocs -a
|
||||
dh_installexamples -a
|
||||
dh_installchangelogs -a
|
||||
dh_pycentral -a
|
||||
dh_strip -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_installdeb -a
|
||||
dh_shlibdeps -a
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary
|
||||
|
||||
VERSION := $(shell dpkg-parsechangelog | sed -n 's/^Version:\s*\([0-9]\+:\)\?\([^\s-]\+\).*/\2/p')
|
||||
TARBALL := $(CURDIR)/../python-wpactrl-$(VERSION).tar.gz
|
||||
ORIGTGZ := $(CURDIR)/../tarballs/python-wpactrl_$(VERSION).orig.tar.gz
|
||||
DIRTREE := $(shell basename $(CURDIR))
|
||||
upstream-release:
|
||||
$(RM) $(TARBALL) $(ORIGTGZ)
|
||||
cp $(CURDIR)/debian/changelog $(CURDIR)/CHANGELOG
|
||||
tar -czf $(TARBALL) --exclude='.svn' --exclude='debian' -C $(CURDIR)/../ $(DIRTREE)
|
||||
install -D -m 0644 $(TARBALL) $(ORIGTGZ)
|
||||
$(RM) $(CURDIR)/CHANGELOG
|
||||
Reference in New Issue
Block a user