initial commit
This commit is contained in:
commit
bbb3215911
50 changed files with 738 additions and 0 deletions
1
debian/gsm0710muxd-debian/compat
vendored
Normal file
1
debian/gsm0710muxd-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
17
debian/gsm0710muxd-debian/control
vendored
Normal file
17
debian/gsm0710muxd-debian/control
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Source: gsm0710muxd
|
||||||
|
Section: misc
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7.0.50~), autotools-dev, libdbus-glib-1-dev, libglib2.0-dev, libdbus-1-dev
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: gsm0710muxd
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, dbus
|
||||||
|
Description: GSM 07.10 Multiplexer
|
||||||
|
pyneo mobile stack: muxer as GSM 07.10 describes.
|
||||||
|
A muxer for gsm modems to allow more than one channel to be used with
|
||||||
|
the modem. Each channel can be used to issue phonecalls, watch signal
|
||||||
|
strength, receiving sms or even doing ppp (gprs) at the same time.
|
||||||
|
Access to the multiplexer is managed via D-Bus.
|
34
debian/gsm0710muxd-debian/copyright
vendored
Normal file
34
debian/gsm0710muxd-debian/copyright
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Tue, 23 June 2009 10:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright © 2003, 2006 Tuukka Karvonen <tkarvone@iki.fi>
|
||||||
|
* Copyright © 2004 David Jander <david@protonic.nl>
|
||||||
|
* Copyright © 2006 Antti Haapakoski <antti.haapakoski@iki.fi>
|
||||||
|
* Copyright © 2006 Vasiliy Novikov <vn@hotbox.ru>
|
||||||
|
* Copyright © 2008 M. Dietrich <mdt@emdete.de>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
License:
|
||||||
|
|
||||||
|
This package 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 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 package; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
103
debian/gsm0710muxd-debian/gsm0710muxd.8
vendored
Normal file
103
debian/gsm0710muxd-debian/gsm0710muxd.8
vendored
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
.\" -*- nroff -*-
|
||||||
|
.TH GSM0710MUXD 8 "23 June 2009" "gsm0710muxd"
|
||||||
|
.SH NAME
|
||||||
|
gsm0710muxd \- a gsm 07.10 muxer
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B gsm0710muxd [options]
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.B
|
||||||
|
A gsm muxer is needed to keep a ppp/gprs up & running while sms and
|
||||||
|
calls are still signaled on another channel. Some modems even support
|
||||||
|
using gprs while a call is active, others suspend gprs during calls.
|
||||||
|
|
||||||
|
The muxer supports various options to change the behaviour for
|
||||||
|
different modems. Use -h to see a brief help screen.
|
||||||
|
|
||||||
|
All logging is done through syslog, see the syslog for errors and
|
||||||
|
warnings.
|
||||||
|
|
||||||
|
.SH "COMMAND\-LINE OPTIONS"
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -d
|
||||||
|
Fork, get a daemon (default: no)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -v
|
||||||
|
Verboser logging (give twice for even more verbose)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -s <serial port name>
|
||||||
|
Serial port device to connect to (default: /dev/modem)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -t <timeout>
|
||||||
|
reset modem after this number of seconds of silence (default: 0)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -P <pin-code>
|
||||||
|
PIN code to unlock SIM (default: <not set>). This is normally not
|
||||||
|
needed but some modems need the pin before enabling the muxer mode.
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -p <number>
|
||||||
|
use ping and reset modem after this number of unanswered pings (default: 0)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -l <filename>
|
||||||
|
set logfile name (default: <not set>)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -x <dir>
|
||||||
|
power managment base dir (default: <not set>)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -a <mode>
|
||||||
|
additional_functionality (default: 0). This is a bit-set enabling
|
||||||
|
quirks for different modem. The quirks are: WAKEUP_WITH_SYSFS = 1,
|
||||||
|
WAKEUP_WITH_SEQUENCE = 2, SIEMENS_C35 = 4, ENFORA = 8, SHORT_INIT =
|
||||||
|
16.
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -b <baudrate>
|
||||||
|
muxer-mode baudrate (default: 115200)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -B <baudrate>
|
||||||
|
serial port baudrate (default: 115200)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -m <mode>
|
||||||
|
Mode (basic, advanced) (default: advanced)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -f <framsize>
|
||||||
|
Frame size (default: 64)
|
||||||
|
|
||||||
|
.TP 0.5i
|
||||||
|
.B -h
|
||||||
|
Show a help message and display current settings.
|
||||||
|
|
||||||
|
|
||||||
|
.SH HISTORY
|
||||||
|
|
||||||
|
The name 'gsm0710muxd' was choosen because the gsm specs describe this
|
||||||
|
method in document 7.10.
|
||||||
|
|
||||||
|
.SH BUGS/LIMITATIONS
|
||||||
|
|
||||||
|
.B gsm0710muxd
|
||||||
|
There may accure bufferoverruns and thus missing data between muxer
|
||||||
|
and client under certain situations.
|
||||||
|
|
||||||
|
Some settings could be determined by a AT-command at startup. This wouldn't be
|
||||||
|
much reliable because modems often lie so i did not invest to much work in
|
||||||
|
this.
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
M. Dietrich <mdt@pyneo.org>
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
ptsname(3)
|
||||||
|
|
1
debian/gsm0710muxd-debian/gsm0710muxd.manpages
vendored
Normal file
1
debian/gsm0710muxd-debian/gsm0710muxd.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
debian/gsm0710muxd.8
|
7
debian/gsm0710muxd-debian/rules
vendored
Executable file
7
debian/gsm0710muxd-debian/rules
vendored
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_installinit:
|
||||||
|
dh_installinit -o -- defaults 19 81
|
1
debian/gsm0710muxd-debian/source/format
vendored
Normal file
1
debian/gsm0710muxd-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/pyneo-pybankd-debian/compat
vendored
Normal file
1
debian/pyneo-pybankd-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
20
debian/pyneo-pybankd-debian/control
vendored
Normal file
20
debian/pyneo-pybankd-debian/control
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
Source: pyneo-pybankd
|
||||||
|
Section: python
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7), python-support (>= 0.5.3), python, python2.5-dev, python2.6-dev, cython, libgwenhywfar47-dev, libaqbanking29-dev
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: pyneo-pybankd
|
||||||
|
Architecture: any
|
||||||
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, pyneo-pyneod (>= 1.23)
|
||||||
|
Description: pyneo mobile stack: daemon module for banking
|
||||||
|
this is the separated bank module for pyneod. it requires aqbanking installed
|
||||||
|
and successful configured. it does not contain any gui to do configuration and
|
||||||
|
does not contain other code than to get transactions and balance from your
|
||||||
|
bankaccounts.
|
||||||
|
.
|
||||||
|
if your setup of aqbanking is finished successfully pybankd will request
|
||||||
|
transactions from your bank at a regular basis, put these into the database and
|
||||||
|
fire D-Bus signals for each new transaction.
|
30
debian/pyneo-pybankd-debian/copyright
vendored
Normal file
30
debian/pyneo-pybankd-debian/copyright
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Thu, 10 December 2009 10:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright © 2008-2009 M. Dietrich <mdt@pyneo.org>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
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 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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-3'.
|
28
debian/pyneo-pybankd-debian/patches/remove-makefile.patch
vendored
Normal file
28
debian/pyneo-pybankd-debian/patches/remove-makefile.patch
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
Index: pyneo-pybankd-20100916/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- pyneo-pybankd-20100916.orig/Makefile 2010-09-16 17:34:08.971265997 +0200
|
||||||
|
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
@@ -1,23 +0,0 @@
|
||||||
|
-#!/usr/bin/env make -f
|
||||||
|
-#HOST=murphy
|
||||||
|
-#HOST=gta01
|
||||||
|
-HOST=gta02
|
||||||
|
-PYTHON_VERSION=2.6
|
||||||
|
-
|
||||||
|
-.PHONY: dbg all run clean
|
||||||
|
-
|
||||||
|
-all: build/lib.linux-i686-$(PYTHON_VERSION)/aqbanking.so
|
||||||
|
-
|
||||||
|
-dbg: clean
|
||||||
|
- rsync --verbose --archive pybankd.py root@$(HOST):/usr/share/pyneod/.
|
||||||
|
-
|
||||||
|
-run: build/lib.linux-i686-$(PYTHON_VERSION)/aqbanking.so
|
||||||
|
- PYTHONPATH=build/lib.linux-i686-$(PYTHON_VERSION):../python-pyneo \
|
||||||
|
- python$(PYTHON_VERSION) -u ./pybankd.py
|
||||||
|
-
|
||||||
|
-clean:
|
||||||
|
- rm -rf *.c *.o *.so core build
|
||||||
|
-
|
||||||
|
-build/lib.linux-i686-$(PYTHON_VERSION)/aqbanking.so: aqbanking.pyx
|
||||||
|
- python$(PYTHON_VERSION) setup.py build
|
||||||
|
-
|
1
debian/pyneo-pybankd-debian/patches/series
vendored
Normal file
1
debian/pyneo-pybankd-debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
remove-makefile.patch
|
1
debian/pyneo-pybankd-debian/pycompat
vendored
Normal file
1
debian/pyneo-pybankd-debian/pycompat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2
|
1
debian/pyneo-pybankd-debian/pyversions
vendored
Normal file
1
debian/pyneo-pybankd-debian/pyversions
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2.5-
|
4
debian/pyneo-pybankd-debian/rules
vendored
Executable file
4
debian/pyneo-pybankd-debian/rules
vendored
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/pyneo-pybankd-debian/source/format
vendored
Normal file
1
debian/pyneo-pybankd-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/pyneo-pyneod-debian/compat
vendored
Normal file
1
debian/pyneo-pyneod-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
22
debian/pyneo-pyneod-debian/control
vendored
Normal file
22
debian/pyneo-pyneod-debian/control
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
Source: pyneo-pyneod
|
||||||
|
Section: python
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7.0.50~), python-support (>= 0.5.3), python
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: pyneo-pyneod
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}, ${python:Depends}, gsm0710muxd (>= 1.13), python-simplejson, python-crypto, python-dbus, python-pyneo (>= 1.26), python-gobject, python-gdbm, python-serial, python-gst0.10, gstreamer0.10-plugins-base, ppp, bluez, python-feedparser
|
||||||
|
Recommends: gstreamer0.10-plugins-good, youtube-dl
|
||||||
|
Description: pyneo mobile stack: daemon suite
|
||||||
|
The functionality of pyneo is put into daemons reachable via D-Bus.
|
||||||
|
Anything, even http-requests are a service which can be triggered by a
|
||||||
|
D-Bus call. All special requirements by mobile devices are met here.
|
||||||
|
.
|
||||||
|
The list currently include services for GSM (call, SMS, pb and cb),
|
||||||
|
GPS (NMEA and u-blox), map (with maps from OSM, Google and Yahoo),
|
||||||
|
Google location lookup by cell id, audio (for MP3 playback and
|
||||||
|
ringtones), traffic map (currently only Germany) rail timetable
|
||||||
|
(Europe), Hot or Not and more.
|
32
debian/pyneo-pyneod-debian/copyright
vendored
Normal file
32
debian/pyneo-pyneod-debian/copyright
vendored
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Tue, 23 June 2009 10:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright © 2007 - 2009 M. Dietrich <mdt@pyneo.org>
|
||||||
|
* Copyright © 2008, 2009 M. Scheller <jawarumnur@pyneo.org>
|
||||||
|
* Copyright © 2008, 2009 J. Schauer <josch@pyneo.org>
|
||||||
|
* Copyright © 2008, 2009 F. Gau <fgau@pyneo.org>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
* Copyright © 2009 J. Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
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 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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-3'.
|
33
debian/pyneo-pyneod-debian/patches/remove-makefile.patch
vendored
Normal file
33
debian/pyneo-pyneod-debian/patches/remove-makefile.patch
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Index: pyneo-pyneod-1.32/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- pyneo-pyneod-1.32.orig/Makefile 2010-08-24 17:38:30.000000000 +0000
|
||||||
|
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
@@ -1,28 +0,0 @@
|
||||||
|
-#!/usr/bin/env make -f
|
||||||
|
-#HOST=murphy
|
||||||
|
-#HOST=gta01
|
||||||
|
-HOST=gta02
|
||||||
|
-
|
||||||
|
-.PHONY: all
|
||||||
|
-all: clean
|
||||||
|
- ./setup.py bdist
|
||||||
|
-
|
||||||
|
-.PHONY: run
|
||||||
|
-run:
|
||||||
|
- PYTHONPATH=src:../python-pyneo ./src/pyrssd.py
|
||||||
|
-
|
||||||
|
-.PHONY: dbg
|
||||||
|
-dbg: clean
|
||||||
|
- rsync --verbose --archive data/. src/. root@$(HOST):/usr/share/pyneod/.
|
||||||
|
-
|
||||||
|
-.PHONY: clean
|
||||||
|
-clean:
|
||||||
|
- for n in `cat ../.gitignore`; do \
|
||||||
|
- if echo $$n | grep -q /; then \
|
||||||
|
- rm -rfv "$$n"; \
|
||||||
|
- else \
|
||||||
|
- find . -name "$$n" | xargs rm -fv; \
|
||||||
|
- fi \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
-# TODO: grep \(DIN_ *.py|sed 's/,.*//'|sed 's/.py:.*(/\t/'|sort -u
|
1
debian/pyneo-pyneod-debian/patches/series
vendored
Normal file
1
debian/pyneo-pyneod-debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
remove-makefile.patch
|
1
debian/pyneo-pyneod-debian/pycompat
vendored
Normal file
1
debian/pyneo-pyneod-debian/pycompat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2
|
1
debian/pyneo-pyneod-debian/pyversions
vendored
Normal file
1
debian/pyneo-pyneod-debian/pyversions
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2.5-
|
7
debian/pyneo-pyneod-debian/rules
vendored
Executable file
7
debian/pyneo-pyneod-debian/rules
vendored
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
override_dh_installinit:
|
||||||
|
dh_installinit --name=pyneod -o -- defaults 20 80
|
1
debian/pyneo-pyneod-debian/source/format
vendored
Normal file
1
debian/pyneo-pyneod-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/pyneo-resolvconf-debian/compat
vendored
Normal file
1
debian/pyneo-resolvconf-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
18
debian/pyneo-resolvconf-debian/control
vendored
Normal file
18
debian/pyneo-resolvconf-debian/control
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
Source: pyneo-resolvconf
|
||||||
|
Section: net
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7)
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: pyneo-resolvconf
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}, dnsmasq, dhcpcd5
|
||||||
|
Recommends: udev, wpasupplicant, vpnc, ppp
|
||||||
|
Conflicts: ifupdown, netplug, dhcp3-client, dhcdbd, ifplugd, resolvconf, avahi-daemon, libnss-mdns, network-manager, wicd, connman, wireless-tools, isc-dhcp-client, pump, udhcpc
|
||||||
|
Description: nameserver update script
|
||||||
|
this resolvconf-replacement does update the nameserver in a running
|
||||||
|
dnsmasq ns-proxy via D-Bus. there is no symlinking, moving or rewriting
|
||||||
|
of files and no polling. Because of the simplicity and the using of
|
||||||
|
signaling via D-Bus this is incredible fast and reliable.
|
29
debian/pyneo-resolvconf-debian/copyright
vendored
Normal file
29
debian/pyneo-resolvconf-debian/copyright
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Tue, 13 September 2009 10:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright ©2009 M. Dietrich <mdt@pyneo.org>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
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 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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-3'.
|
1
debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages
vendored
Normal file
1
debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/share/man/man8/resolvconf.8
|
4
debian/pyneo-resolvconf-debian/rules
vendored
Executable file
4
debian/pyneo-resolvconf-debian/rules
vendored
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/pyneo-resolvconf-debian/source/format
vendored
Normal file
1
debian/pyneo-resolvconf-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/python-ijon-debian/compat
vendored
Normal file
1
debian/python-ijon-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
13
debian/python-ijon-debian/control
vendored
Normal file
13
debian/python-ijon-debian/control
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Source: python-ijon
|
||||||
|
Section: python
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7), python-support (>= 0.5.3), python
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: python-ijon
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}, ${python:Depends}, python-dbus, python-ecore, python-edbus
|
||||||
|
Description: ijon
|
||||||
|
meaningful description.
|
29
debian/python-ijon-debian/copyright
vendored
Normal file
29
debian/python-ijon-debian/copyright
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Tue, 31 Oct 2009 20:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright © 2008-2009 M. Dietrich <mdt@pyneo.org>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
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 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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-3'.
|
65
debian/python-ijon-debian/patches/remove-makefile.patch
vendored
Normal file
65
debian/python-ijon-debian/patches/remove-makefile.patch
vendored
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
Index: python-ijon-0.4/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- python-ijon-0.4.orig/Makefile 2010-08-25 11:05:14.000000000 +0000
|
||||||
|
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
@@ -1,60 +0,0 @@
|
||||||
|
-#!/usr/bin/env make -f
|
||||||
|
-#HOST=murphy
|
||||||
|
-#HOST=gta01
|
||||||
|
-HOST=gta02
|
||||||
|
-EPATH=/opt/e17
|
||||||
|
-
|
||||||
|
-.PHONY: all
|
||||||
|
-all:
|
||||||
|
- PATH=$(PATH):$(EPATH)/bin \
|
||||||
|
- LD_LIBRARY_PATH=$(EPATH)/lib \
|
||||||
|
- PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:src \
|
||||||
|
- ./setup.py bdist
|
||||||
|
-
|
||||||
|
-.PHONY: run
|
||||||
|
-run:
|
||||||
|
- LD_LIBRARY_PATH=$(EPATH)/lib \
|
||||||
|
- PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:src \
|
||||||
|
- ./src/ijon/run.py data/ijon.ini
|
||||||
|
-
|
||||||
|
-.PHONY: dbg
|
||||||
|
-dbg: clean
|
||||||
|
- rsync --verbose --archive --delete ijon/. root@$(HOST):/usr/share/pyshared/ijon/.
|
||||||
|
-
|
||||||
|
-.PHONY: clean
|
||||||
|
-clean:
|
||||||
|
- for n in `cat ../.gitignore`; do \
|
||||||
|
- if echo $$n | grep -q /; then \
|
||||||
|
- rm -rfv "$$n"; \
|
||||||
|
- else \
|
||||||
|
- find . -name "$$n" | xargs rm -fv; \
|
||||||
|
- fi \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
-.PHONY: docs
|
||||||
|
-docs: docs/index.html
|
||||||
|
-
|
||||||
|
-docs/index.html: Makefile
|
||||||
|
- mkdir -p docs
|
||||||
|
- LD_LIBRARY_PATH=$(EPATH)/lib \
|
||||||
|
- PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:src \
|
||||||
|
- epydoc \
|
||||||
|
- --css=data/epydoc.css \
|
||||||
|
- --debug \
|
||||||
|
- --docformat=restructuredtext \
|
||||||
|
- --graph=classtree \
|
||||||
|
- --graph-font-size=32 \
|
||||||
|
- --graph-font='Vera' \
|
||||||
|
- --html \
|
||||||
|
- --include-log \
|
||||||
|
- --name='ijon - documentation' \
|
||||||
|
- --navlink=Home \
|
||||||
|
- --no-imports \
|
||||||
|
- --no-private \
|
||||||
|
- --no-sourcecode \
|
||||||
|
- --output=docs \
|
||||||
|
- --quiet \
|
||||||
|
- --simple-term \
|
||||||
|
- --url=http://www.paroli-project.org/ \
|
||||||
|
- src/ijon/*.py
|
||||||
|
-
|
1
debian/python-ijon-debian/patches/series
vendored
Normal file
1
debian/python-ijon-debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
remove-makefile.patch
|
1
debian/python-ijon-debian/pycompat
vendored
Normal file
1
debian/python-ijon-debian/pycompat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2
|
1
debian/python-ijon-debian/pyversions
vendored
Normal file
1
debian/python-ijon-debian/pyversions
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2.5-
|
4
debian/python-ijon-debian/rules
vendored
Executable file
4
debian/python-ijon-debian/rules
vendored
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/python-ijon-debian/source/format
vendored
Normal file
1
debian/python-ijon-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
1
debian/python-pyneo-debian/compat
vendored
Normal file
1
debian/python-pyneo-debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
7
|
14
debian/python-pyneo-debian/control
vendored
Normal file
14
debian/python-pyneo-debian/control
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
Source: python-pyneo
|
||||||
|
Section: python
|
||||||
|
Priority: extra
|
||||||
|
Maintainer: Johannes Schauer <josch@pyneo.org>
|
||||||
|
Build-Depends: debhelper (>= 7), python-support (>= 0.5.3), python
|
||||||
|
Standards-Version: 3.9.1
|
||||||
|
Homepage: http://pyneo.org
|
||||||
|
|
||||||
|
Package: python-pyneo
|
||||||
|
Architecture: all
|
||||||
|
Depends: ${misc:Depends}, ${python:Depends}, python-simplejson, python-crypto, python-dbus, python-ctypes, python-sqlite
|
||||||
|
Description: pyneo mobile stack: basis libraries
|
||||||
|
Helper modules to support development for and with pyneo in Python. It
|
||||||
|
contains common functions, modules and constants.
|
30
debian/python-pyneo-debian/copyright
vendored
Normal file
30
debian/python-pyneo-debian/copyright
vendored
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
This package was debianized by Johannes Schauer <josch@pyneo.org> on
|
||||||
|
Tue, 23 June 2009 10:08:51 +0000.
|
||||||
|
|
||||||
|
It was downloaded from <http://pyneo.org>
|
||||||
|
|
||||||
|
Upstream Authors:
|
||||||
|
|
||||||
|
* Copyright © 2008-2009 M. Dietrich <mdt@pyneo.org>
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
For the Debian packaging:
|
||||||
|
* Copyright © 2009 Johannes Schauer <josch@pyneo.org>
|
||||||
|
|
||||||
|
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 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, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-3'.
|
58
debian/python-pyneo-debian/patches/remove-makefile.patch
vendored
Normal file
58
debian/python-pyneo-debian/patches/remove-makefile.patch
vendored
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
Index: python-pyneo-1.32/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- python-pyneo-1.32.orig/Makefile 2010-08-24 19:50:28.000000000 +0000
|
||||||
|
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
|
||||||
|
@@ -1,53 +0,0 @@
|
||||||
|
-#!/usr/bin/env make -f
|
||||||
|
-#HOST=murphy
|
||||||
|
-#HOST=gta01
|
||||||
|
-HOST=gta02
|
||||||
|
-
|
||||||
|
-.PHONY: all
|
||||||
|
-all: clean
|
||||||
|
- ./setup.py bdist
|
||||||
|
-
|
||||||
|
-.PHONY: run
|
||||||
|
-run:
|
||||||
|
- PYTHONPATH=. python pyhttpd.py
|
||||||
|
-
|
||||||
|
-.PHONY: dbg
|
||||||
|
-dbg: clean
|
||||||
|
- rsync --verbose --archive pyneo/. root@$(HOST):/usr/share/pyshared/pyneo/.
|
||||||
|
-
|
||||||
|
-.PHONY: clean
|
||||||
|
-clean:
|
||||||
|
- for n in `cat ../.gitignore`; do \
|
||||||
|
- if echo $$n | grep -q /; then \
|
||||||
|
- rm -rfv "$$n"; \
|
||||||
|
- else \
|
||||||
|
- find . -name "$$n" | xargs rm -fv; \
|
||||||
|
- fi \
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
-.PHONY: docs
|
||||||
|
-docs: docs/index.html
|
||||||
|
-
|
||||||
|
-docs/index.html: pyneo/**/*.py Makefile
|
||||||
|
- mkdir -p docs
|
||||||
|
- epydoc \
|
||||||
|
- --css=data/epydoc.css \
|
||||||
|
- --debug \
|
||||||
|
- --docformat=restructuredtext \
|
||||||
|
- --graph=classtree \
|
||||||
|
- --graph-font-size=32 \
|
||||||
|
- --graph-font='Vera' \
|
||||||
|
- --html \
|
||||||
|
- --include-log \
|
||||||
|
- --name='pyneo - documentation' \
|
||||||
|
- --navlink=Home \
|
||||||
|
- --no-imports \
|
||||||
|
- --no-private \
|
||||||
|
- --no-sourcecode \
|
||||||
|
- --output=docs \
|
||||||
|
- --quiet \
|
||||||
|
- --simple-term \
|
||||||
|
- --top=pyneo.interfaces \
|
||||||
|
- --url=http://pyneo.org/ \
|
||||||
|
- pyneo
|
||||||
|
-
|
1
debian/python-pyneo-debian/patches/series
vendored
Normal file
1
debian/python-pyneo-debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
remove-makefile.patch
|
1
debian/python-pyneo-debian/pycompat
vendored
Normal file
1
debian/python-pyneo-debian/pycompat
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2
|
1
debian/python-pyneo-debian/pyversions
vendored
Normal file
1
debian/python-pyneo-debian/pyversions
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2.5-
|
4
debian/python-pyneo-debian/rules
vendored
Executable file
4
debian/python-pyneo-debian/rules
vendored
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@
|
1
debian/python-pyneo-debian/source/format
vendored
Normal file
1
debian/python-pyneo-debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
107
pyneo-daily.sh
Executable file
107
pyneo-daily.sh
Executable file
|
@ -0,0 +1,107 @@
|
||||||
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
PYNEOREP="http://git.pyneo.org/browse/cgit/pyneo/"
|
||||||
|
PYNEOGIT="./pyneo-git"
|
||||||
|
PAROLIREP="http://git.pyneo.org/browse/cgit/paroli/"
|
||||||
|
PAROLIGIT="./paroli-git"
|
||||||
|
DATENOW=`date -u +%Y%m%d`
|
||||||
|
BUILD="./build"
|
||||||
|
DEBDIRS="./debian"
|
||||||
|
DSCDIR="./dsc"
|
||||||
|
|
||||||
|
setup()
|
||||||
|
{
|
||||||
|
mkdir -p $BUILD $DEBDIRS $DSCDIR
|
||||||
|
|
||||||
|
if [ -d "$PYNEOGIT" ]; then
|
||||||
|
echo "$PYNEOGIT already exists - not cloning again"
|
||||||
|
else
|
||||||
|
git clone $PYNEOREP $PYNEOGIT || { echo "clone failed"; exit 1; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$PAROLIGIT" ]; then
|
||||||
|
echo "$PAROLIGIT already exists - not cloning again"
|
||||||
|
else
|
||||||
|
git clone $PAROLIREP $PAROLIGIT || { echo "clone failed"; exit 1; }
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
run()
|
||||||
|
{
|
||||||
|
[ ! -d $PYNEOGIT ] && { echo "no such directory: $PYNEOGIT"; exit 1; }
|
||||||
|
|
||||||
|
if [ `( cd $PYNEOGIT; git ls-remote origin refs/heads/master; ) | awk '{print $1}'` != \
|
||||||
|
`( cd $PYNEOGIT; git show-ref refs/heads/master; ) | awk '{print $1}'` ]; then
|
||||||
|
echo "new version available, pulling new changes"
|
||||||
|
( cd $PYNEOGIT; git pull; ) || { echo "pulling failed"; exit 1; }
|
||||||
|
buildpyneo
|
||||||
|
else
|
||||||
|
echo "nothing to update"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
buildpyneo()
|
||||||
|
{
|
||||||
|
[ ! -d $PYNEOGIT ] && { echo "no such directory: $PYNEOGIT"; exit 1; }
|
||||||
|
[ ! -d $BUILD ] && { echo "no such directory: $BUILD"; exit 1; }
|
||||||
|
[ ! -d $DSCDIR ] && { echo "no such directory: $DSCDIR"; exit 1; }
|
||||||
|
|
||||||
|
for pkg in gsm0710muxd python-pyneo pyneo-resolvconf; do
|
||||||
|
cp -r "$PYNEOGIT/$pkg" "$BUILD/$pkg-$DATENOW"
|
||||||
|
tar --directory "$BUILD" --create --gzip --file "$BUILD/${pkg}_$DATENOW.orig.tar.gz" "$pkg-$DATENOW"
|
||||||
|
cp -r "$DEBDIRS/$pkg-debian" "$BUILD/$pkg-$DATENOW/debian"
|
||||||
|
DEBEMAIL="josch@pyneo.org" DEBFULLNAME="Johannes Schauer" dch --package "$pkg" --newversion "$DATENOW" --distribution unstable --empty --changelog "$BUILD/$pkg-$DATENOW/debian/changelog" --create "new nightly build"
|
||||||
|
( cd "$BUILD/$pkg-$DATENOW"; dpkg-buildpackage -S -us -uc )
|
||||||
|
done
|
||||||
|
|
||||||
|
for pkg in pyneod pybankd; do
|
||||||
|
cp -r "$PYNEOGIT/$pkg" "$BUILD/pyneo-$pkg-$DATENOW"
|
||||||
|
tar --directory "$BUILD" --create --gzip --file "$BUILD/pyneo-${pkg}_$DATENOW.orig.tar.gz" "pyneo-$pkg-$DATENOW"
|
||||||
|
cp -r "$DEBDIRS/pyneo-$pkg-debian" "$BUILD/pyneo-$pkg-$DATENOW/debian"
|
||||||
|
DEBEMAIL="josch@pyneo.org" DEBFULLNAME="Johannes Schauer" dch --package "pyneo-$pkg" --newversion "$DATENOW" --distribution unstable --empty --changelog "$BUILD/pyneo-$pkg-$DATENOW/debian/changelog" --create "new nightly build"
|
||||||
|
( cd "$BUILD/pyneo-$pkg-$DATENOW"; dpkg-buildpackage -S -us -uc )
|
||||||
|
done
|
||||||
|
mv $BUILD/*_* "$DSCDIR"
|
||||||
|
rm -rf $BUILD/*
|
||||||
|
}
|
||||||
|
|
||||||
|
fullclean()
|
||||||
|
{
|
||||||
|
rm -rf $BUILD/*
|
||||||
|
rm -rf $DSCDIR/*
|
||||||
|
rm -rf $PYNEOGIT
|
||||||
|
rm -rf $PAROLIGIT
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo "no arguments supplied"
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
for arg in $@; do
|
||||||
|
case $arg in
|
||||||
|
setup)
|
||||||
|
echo "doing setup"
|
||||||
|
setup
|
||||||
|
;;
|
||||||
|
build)
|
||||||
|
echo "building packages"
|
||||||
|
buildpyneo
|
||||||
|
;;
|
||||||
|
buildpyneo)
|
||||||
|
echo "building pyneo"
|
||||||
|
buildpyneo
|
||||||
|
;;
|
||||||
|
fullclean)
|
||||||
|
echo "cleaning"
|
||||||
|
fullclean
|
||||||
|
;;
|
||||||
|
run)
|
||||||
|
echo "doing run"
|
||||||
|
run
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "unknown arg $arg"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
Loading…
Reference in a new issue