From bbb32159119d259260801280ff7fe88a2194289d Mon Sep 17 00:00:00 2001 From: josch Date: Thu, 16 Sep 2010 17:36:16 +0200 Subject: [PATCH] initial commit --- debian/gsm0710muxd-debian/compat | 1 + debian/gsm0710muxd-debian/control | 17 +++ debian/gsm0710muxd-debian/copyright | 34 ++++++ debian/gsm0710muxd-debian/gsm0710muxd.8 | 103 +++++++++++++++++ .../gsm0710muxd-debian/gsm0710muxd.manpages | 1 + debian/gsm0710muxd-debian/rules | 7 ++ debian/gsm0710muxd-debian/source/format | 1 + debian/pyneo-pybankd-debian/compat | 1 + debian/pyneo-pybankd-debian/control | 20 ++++ debian/pyneo-pybankd-debian/copyright | 30 +++++ .../patches/remove-makefile.patch | 28 +++++ debian/pyneo-pybankd-debian/patches/series | 1 + debian/pyneo-pybankd-debian/pycompat | 1 + debian/pyneo-pybankd-debian/pyversions | 1 + debian/pyneo-pybankd-debian/rules | 4 + debian/pyneo-pybankd-debian/source/format | 1 + debian/pyneo-pyneod-debian/compat | 1 + debian/pyneo-pyneod-debian/control | 22 ++++ debian/pyneo-pyneod-debian/copyright | 32 ++++++ .../patches/remove-makefile.patch | 33 ++++++ debian/pyneo-pyneod-debian/patches/series | 1 + debian/pyneo-pyneod-debian/pycompat | 1 + debian/pyneo-pyneod-debian/pyversions | 1 + debian/pyneo-pyneod-debian/rules | 7 ++ debian/pyneo-pyneod-debian/source/format | 1 + debian/pyneo-resolvconf-debian/compat | 1 + debian/pyneo-resolvconf-debian/control | 18 +++ debian/pyneo-resolvconf-debian/copyright | 29 +++++ .../pyneo-resolvconf.manpages | 1 + debian/pyneo-resolvconf-debian/rules | 4 + debian/pyneo-resolvconf-debian/source/format | 1 + debian/python-ijon-debian/compat | 1 + debian/python-ijon-debian/control | 13 +++ debian/python-ijon-debian/copyright | 29 +++++ .../patches/remove-makefile.patch | 65 +++++++++++ debian/python-ijon-debian/patches/series | 1 + debian/python-ijon-debian/pycompat | 1 + debian/python-ijon-debian/pyversions | 1 + debian/python-ijon-debian/rules | 4 + debian/python-ijon-debian/source/format | 1 + debian/python-pyneo-debian/compat | 1 + debian/python-pyneo-debian/control | 14 +++ debian/python-pyneo-debian/copyright | 30 +++++ .../patches/remove-makefile.patch | 58 ++++++++++ debian/python-pyneo-debian/patches/series | 1 + debian/python-pyneo-debian/pycompat | 1 + debian/python-pyneo-debian/pyversions | 1 + debian/python-pyneo-debian/rules | 4 + debian/python-pyneo-debian/source/format | 1 + pyneo-daily.sh | 107 ++++++++++++++++++ 50 files changed, 738 insertions(+) create mode 100644 debian/gsm0710muxd-debian/compat create mode 100644 debian/gsm0710muxd-debian/control create mode 100644 debian/gsm0710muxd-debian/copyright create mode 100644 debian/gsm0710muxd-debian/gsm0710muxd.8 create mode 100644 debian/gsm0710muxd-debian/gsm0710muxd.manpages create mode 100755 debian/gsm0710muxd-debian/rules create mode 100644 debian/gsm0710muxd-debian/source/format create mode 100644 debian/pyneo-pybankd-debian/compat create mode 100644 debian/pyneo-pybankd-debian/control create mode 100644 debian/pyneo-pybankd-debian/copyright create mode 100644 debian/pyneo-pybankd-debian/patches/remove-makefile.patch create mode 100644 debian/pyneo-pybankd-debian/patches/series create mode 100644 debian/pyneo-pybankd-debian/pycompat create mode 100644 debian/pyneo-pybankd-debian/pyversions create mode 100755 debian/pyneo-pybankd-debian/rules create mode 100644 debian/pyneo-pybankd-debian/source/format create mode 100644 debian/pyneo-pyneod-debian/compat create mode 100644 debian/pyneo-pyneod-debian/control create mode 100644 debian/pyneo-pyneod-debian/copyright create mode 100644 debian/pyneo-pyneod-debian/patches/remove-makefile.patch create mode 100644 debian/pyneo-pyneod-debian/patches/series create mode 100644 debian/pyneo-pyneod-debian/pycompat create mode 100644 debian/pyneo-pyneod-debian/pyversions create mode 100755 debian/pyneo-pyneod-debian/rules create mode 100644 debian/pyneo-pyneod-debian/source/format create mode 100644 debian/pyneo-resolvconf-debian/compat create mode 100644 debian/pyneo-resolvconf-debian/control create mode 100644 debian/pyneo-resolvconf-debian/copyright create mode 100644 debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages create mode 100755 debian/pyneo-resolvconf-debian/rules create mode 100644 debian/pyneo-resolvconf-debian/source/format create mode 100644 debian/python-ijon-debian/compat create mode 100644 debian/python-ijon-debian/control create mode 100644 debian/python-ijon-debian/copyright create mode 100644 debian/python-ijon-debian/patches/remove-makefile.patch create mode 100644 debian/python-ijon-debian/patches/series create mode 100644 debian/python-ijon-debian/pycompat create mode 100644 debian/python-ijon-debian/pyversions create mode 100755 debian/python-ijon-debian/rules create mode 100644 debian/python-ijon-debian/source/format create mode 100644 debian/python-pyneo-debian/compat create mode 100644 debian/python-pyneo-debian/control create mode 100644 debian/python-pyneo-debian/copyright create mode 100644 debian/python-pyneo-debian/patches/remove-makefile.patch create mode 100644 debian/python-pyneo-debian/patches/series create mode 100644 debian/python-pyneo-debian/pycompat create mode 100644 debian/python-pyneo-debian/pyversions create mode 100755 debian/python-pyneo-debian/rules create mode 100644 debian/python-pyneo-debian/source/format create mode 100755 pyneo-daily.sh diff --git a/debian/gsm0710muxd-debian/compat b/debian/gsm0710muxd-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/gsm0710muxd-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/gsm0710muxd-debian/control b/debian/gsm0710muxd-debian/control new file mode 100644 index 0000000..745b22d --- /dev/null +++ b/debian/gsm0710muxd-debian/control @@ -0,0 +1,17 @@ +Source: gsm0710muxd +Section: misc +Priority: extra +Maintainer: Johannes Schauer +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. diff --git a/debian/gsm0710muxd-debian/copyright b/debian/gsm0710muxd-debian/copyright new file mode 100644 index 0000000..2f0ab68 --- /dev/null +++ b/debian/gsm0710muxd-debian/copyright @@ -0,0 +1,34 @@ +This package was debianized by Johannes Schauer on +Tue, 23 June 2009 10:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright © 2003, 2006 Tuukka Karvonen + * Copyright © 2004 David Jander + * Copyright © 2006 Antti Haapakoski + * Copyright © 2006 Vasiliy Novikov + * Copyright © 2008 M. Dietrich + +For the Debian packaging: + * Copyright © 2009 Johannes Schauer + +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'. diff --git a/debian/gsm0710muxd-debian/gsm0710muxd.8 b/debian/gsm0710muxd-debian/gsm0710muxd.8 new file mode 100644 index 0000000..6a9d744 --- /dev/null +++ b/debian/gsm0710muxd-debian/gsm0710muxd.8 @@ -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 device to connect to (default: /dev/modem) + +.TP 0.5i +.B -t +reset modem after this number of seconds of silence (default: 0) + +.TP 0.5i +.B -P +PIN code to unlock SIM (default: ). This is normally not +needed but some modems need the pin before enabling the muxer mode. + +.TP 0.5i +.B -p +use ping and reset modem after this number of unanswered pings (default: 0) + +.TP 0.5i +.B -l +set logfile name (default: ) + +.TP 0.5i +.B -x +power managment base dir (default: ) + +.TP 0.5i +.B -a +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 +muxer-mode baudrate (default: 115200) + +.TP 0.5i +.B -B +serial port baudrate (default: 115200) + +.TP 0.5i +.B -m +Mode (basic, advanced) (default: advanced) + +.TP 0.5i +.B -f +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 + +.SH SEE ALSO +ptsname(3) + diff --git a/debian/gsm0710muxd-debian/gsm0710muxd.manpages b/debian/gsm0710muxd-debian/gsm0710muxd.manpages new file mode 100644 index 0000000..5efaef2 --- /dev/null +++ b/debian/gsm0710muxd-debian/gsm0710muxd.manpages @@ -0,0 +1 @@ +debian/gsm0710muxd.8 diff --git a/debian/gsm0710muxd-debian/rules b/debian/gsm0710muxd-debian/rules new file mode 100755 index 0000000..d25a356 --- /dev/null +++ b/debian/gsm0710muxd-debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installinit: + dh_installinit -o -- defaults 19 81 diff --git a/debian/gsm0710muxd-debian/source/format b/debian/gsm0710muxd-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/gsm0710muxd-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/pyneo-pybankd-debian/compat b/debian/pyneo-pybankd-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/pyneo-pybankd-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/pyneo-pybankd-debian/control b/debian/pyneo-pybankd-debian/control new file mode 100644 index 0000000..6d4d16e --- /dev/null +++ b/debian/pyneo-pybankd-debian/control @@ -0,0 +1,20 @@ +Source: pyneo-pybankd +Section: python +Priority: extra +Maintainer: Johannes Schauer +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. diff --git a/debian/pyneo-pybankd-debian/copyright b/debian/pyneo-pybankd-debian/copyright new file mode 100644 index 0000000..c8fa91e --- /dev/null +++ b/debian/pyneo-pybankd-debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Johannes Schauer on +Thu, 10 December 2009 10:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright © 2008-2009 M. Dietrich + +For the Debian packaging: + + * Copyright © 2009 Johannes Schauer + +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 . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/pyneo-pybankd-debian/patches/remove-makefile.patch b/debian/pyneo-pybankd-debian/patches/remove-makefile.patch new file mode 100644 index 0000000..12ae204 --- /dev/null +++ b/debian/pyneo-pybankd-debian/patches/remove-makefile.patch @@ -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 +- diff --git a/debian/pyneo-pybankd-debian/patches/series b/debian/pyneo-pybankd-debian/patches/series new file mode 100644 index 0000000..132ea5f --- /dev/null +++ b/debian/pyneo-pybankd-debian/patches/series @@ -0,0 +1 @@ +remove-makefile.patch diff --git a/debian/pyneo-pybankd-debian/pycompat b/debian/pyneo-pybankd-debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/pyneo-pybankd-debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/pyneo-pybankd-debian/pyversions b/debian/pyneo-pybankd-debian/pyversions new file mode 100644 index 0000000..b3dc41e --- /dev/null +++ b/debian/pyneo-pybankd-debian/pyversions @@ -0,0 +1 @@ +2.5- diff --git a/debian/pyneo-pybankd-debian/rules b/debian/pyneo-pybankd-debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/pyneo-pybankd-debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/pyneo-pybankd-debian/source/format b/debian/pyneo-pybankd-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/pyneo-pybankd-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/pyneo-pyneod-debian/compat b/debian/pyneo-pyneod-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/pyneo-pyneod-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/pyneo-pyneod-debian/control b/debian/pyneo-pyneod-debian/control new file mode 100644 index 0000000..950d0f6 --- /dev/null +++ b/debian/pyneo-pyneod-debian/control @@ -0,0 +1,22 @@ +Source: pyneo-pyneod +Section: python +Priority: extra +Maintainer: Johannes Schauer +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. diff --git a/debian/pyneo-pyneod-debian/copyright b/debian/pyneo-pyneod-debian/copyright new file mode 100644 index 0000000..d7b4cfc --- /dev/null +++ b/debian/pyneo-pyneod-debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Johannes Schauer on +Tue, 23 June 2009 10:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright © 2007 - 2009 M. Dietrich + * Copyright © 2008, 2009 M. Scheller + * Copyright © 2008, 2009 J. Schauer + * Copyright © 2008, 2009 F. Gau + +For the Debian packaging: + * Copyright © 2009 J. Schauer + +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 . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/pyneo-pyneod-debian/patches/remove-makefile.patch b/debian/pyneo-pyneod-debian/patches/remove-makefile.patch new file mode 100644 index 0000000..6d06595 --- /dev/null +++ b/debian/pyneo-pyneod-debian/patches/remove-makefile.patch @@ -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 diff --git a/debian/pyneo-pyneod-debian/patches/series b/debian/pyneo-pyneod-debian/patches/series new file mode 100644 index 0000000..132ea5f --- /dev/null +++ b/debian/pyneo-pyneod-debian/patches/series @@ -0,0 +1 @@ +remove-makefile.patch diff --git a/debian/pyneo-pyneod-debian/pycompat b/debian/pyneo-pyneod-debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/pyneo-pyneod-debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/pyneo-pyneod-debian/pyversions b/debian/pyneo-pyneod-debian/pyversions new file mode 100644 index 0000000..b3dc41e --- /dev/null +++ b/debian/pyneo-pyneod-debian/pyversions @@ -0,0 +1 @@ +2.5- diff --git a/debian/pyneo-pyneod-debian/rules b/debian/pyneo-pyneod-debian/rules new file mode 100755 index 0000000..948a960 --- /dev/null +++ b/debian/pyneo-pyneod-debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_installinit: + dh_installinit --name=pyneod -o -- defaults 20 80 diff --git a/debian/pyneo-pyneod-debian/source/format b/debian/pyneo-pyneod-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/pyneo-pyneod-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/pyneo-resolvconf-debian/compat b/debian/pyneo-resolvconf-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/pyneo-resolvconf-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/pyneo-resolvconf-debian/control b/debian/pyneo-resolvconf-debian/control new file mode 100644 index 0000000..6dbc63c --- /dev/null +++ b/debian/pyneo-resolvconf-debian/control @@ -0,0 +1,18 @@ +Source: pyneo-resolvconf +Section: net +Priority: optional +Maintainer: Johannes Schauer +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. diff --git a/debian/pyneo-resolvconf-debian/copyright b/debian/pyneo-resolvconf-debian/copyright new file mode 100644 index 0000000..20668f2 --- /dev/null +++ b/debian/pyneo-resolvconf-debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Johannes Schauer on +Tue, 13 September 2009 10:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright ©2009 M. Dietrich + +For the Debian packaging: + * Copyright © 2009 Johannes Schauer + +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 . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages b/debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages new file mode 100644 index 0000000..2ec62a2 --- /dev/null +++ b/debian/pyneo-resolvconf-debian/pyneo-resolvconf.manpages @@ -0,0 +1 @@ +usr/share/man/man8/resolvconf.8 diff --git a/debian/pyneo-resolvconf-debian/rules b/debian/pyneo-resolvconf-debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/pyneo-resolvconf-debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/pyneo-resolvconf-debian/source/format b/debian/pyneo-resolvconf-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/pyneo-resolvconf-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/python-ijon-debian/compat b/debian/python-ijon-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/python-ijon-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/python-ijon-debian/control b/debian/python-ijon-debian/control new file mode 100644 index 0000000..b2fafd1 --- /dev/null +++ b/debian/python-ijon-debian/control @@ -0,0 +1,13 @@ +Source: python-ijon +Section: python +Priority: extra +Maintainer: Johannes Schauer +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. diff --git a/debian/python-ijon-debian/copyright b/debian/python-ijon-debian/copyright new file mode 100644 index 0000000..9819ba5 --- /dev/null +++ b/debian/python-ijon-debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Johannes Schauer on +Tue, 31 Oct 2009 20:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright © 2008-2009 M. Dietrich + +For the Debian packaging: + * Copyright © 2009 Johannes Schauer + +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 . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/python-ijon-debian/patches/remove-makefile.patch b/debian/python-ijon-debian/patches/remove-makefile.patch new file mode 100644 index 0000000..0d5c0f4 --- /dev/null +++ b/debian/python-ijon-debian/patches/remove-makefile.patch @@ -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 +- diff --git a/debian/python-ijon-debian/patches/series b/debian/python-ijon-debian/patches/series new file mode 100644 index 0000000..132ea5f --- /dev/null +++ b/debian/python-ijon-debian/patches/series @@ -0,0 +1 @@ +remove-makefile.patch diff --git a/debian/python-ijon-debian/pycompat b/debian/python-ijon-debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/python-ijon-debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/python-ijon-debian/pyversions b/debian/python-ijon-debian/pyversions new file mode 100644 index 0000000..b3dc41e --- /dev/null +++ b/debian/python-ijon-debian/pyversions @@ -0,0 +1 @@ +2.5- diff --git a/debian/python-ijon-debian/rules b/debian/python-ijon-debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/python-ijon-debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/python-ijon-debian/source/format b/debian/python-ijon-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/python-ijon-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/python-pyneo-debian/compat b/debian/python-pyneo-debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/python-pyneo-debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/python-pyneo-debian/control b/debian/python-pyneo-debian/control new file mode 100644 index 0000000..2eacd1e --- /dev/null +++ b/debian/python-pyneo-debian/control @@ -0,0 +1,14 @@ +Source: python-pyneo +Section: python +Priority: extra +Maintainer: Johannes Schauer +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. diff --git a/debian/python-pyneo-debian/copyright b/debian/python-pyneo-debian/copyright new file mode 100644 index 0000000..47358a3 --- /dev/null +++ b/debian/python-pyneo-debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Johannes Schauer on +Tue, 23 June 2009 10:08:51 +0000. + +It was downloaded from + +Upstream Authors: + + * Copyright © 2008-2009 M. Dietrich + * Copyright © 2009 Johannes Schauer + +For the Debian packaging: + * Copyright © 2009 Johannes Schauer + +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 . + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. diff --git a/debian/python-pyneo-debian/patches/remove-makefile.patch b/debian/python-pyneo-debian/patches/remove-makefile.patch new file mode 100644 index 0000000..31fb558 --- /dev/null +++ b/debian/python-pyneo-debian/patches/remove-makefile.patch @@ -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 +- diff --git a/debian/python-pyneo-debian/patches/series b/debian/python-pyneo-debian/patches/series new file mode 100644 index 0000000..132ea5f --- /dev/null +++ b/debian/python-pyneo-debian/patches/series @@ -0,0 +1 @@ +remove-makefile.patch diff --git a/debian/python-pyneo-debian/pycompat b/debian/python-pyneo-debian/pycompat new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/debian/python-pyneo-debian/pycompat @@ -0,0 +1 @@ +2 diff --git a/debian/python-pyneo-debian/pyversions b/debian/python-pyneo-debian/pyversions new file mode 100644 index 0000000..b3dc41e --- /dev/null +++ b/debian/python-pyneo-debian/pyversions @@ -0,0 +1 @@ +2.5- diff --git a/debian/python-pyneo-debian/rules b/debian/python-pyneo-debian/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/debian/python-pyneo-debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@ diff --git a/debian/python-pyneo-debian/source/format b/debian/python-pyneo-debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/python-pyneo-debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/pyneo-daily.sh b/pyneo-daily.sh new file mode 100755 index 0000000..2d35935 --- /dev/null +++ b/pyneo-daily.sh @@ -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