debian/0000755000000000000000000000000011733571105007171 5ustar debian/copyright0000644000000000000000000000477011731153176011136 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: rfoo Source: http://rfoo.googlecode.com/files/rfoo-1.3.0.tar.gz Files: * Copyright: 2010 Nir Aides and individual contributors. License: BSD Files: debian/* Copyright: 2012 Jerome Kieffer License: GPL-2.0+ License: GPL-2.0+ 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . 3. Neither the name of Nir Aides nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/rules0000755000000000000000000000023611733556022010253 0ustar #!/usr/bin/make -f %: dh $@ --with python2 --buildsystem=python_distutils clean: dh_clean rm -f rfoo/marsh.c rm -f scripts/rfoo-rconsole rm -rf build debian/patches/0000755000000000000000000000000011733552117010622 5ustar debian/patches/move_rfoo-rconsole0000644000000000000000000000251611733552117014366 0ustar Description: Rename rconsole to rfoo-rconsole This is done in setup.py . rfoo (1.3.0-2) unstable; urgency=low . * Change name of script (Closes: #664993) - rconsole -> rfoo-rconsole (due to conflicts with remote-tty) Author: Jerome Kieffer Bug-Debian: http://bugs.debian.org/664993 --- Bug-Debian: http://bugs.debian.org/664993 Last-Update: 2012-03-25 --- rfoo-1.3.0.orig/setup.py +++ rfoo-1.3.0/setup.py @@ -33,7 +33,7 @@ """ -import sys +import sys,os from distutils.core import setup from distutils.extension import Extension @@ -68,6 +68,12 @@ and install with: ===========================================================\n""") sys.exit(1) +# Ensure rconsole is copied to rfoo-reconsole +packgdir = os.path.dirname(os.path.abspath(__file__)) +rconsole = os.path.join(packgdir,"scripts","rconsole") +rfoorcon = os.path.join(packgdir,"scripts","rfoo-rconsole") +if not os.path.isfile(rfoorcon) and os.path.isfile(rconsole): + os.link(rconsole,rfoorcon) ext_modules = [Extension("rfoo.marsh", ["rfoo/marsh.pyx"])] @@ -81,7 +87,7 @@ setup( url = 'http://www.winpdb.org/', license = 'BSD', packages = ['rfoo', 'rfoo.utils'], - scripts = ['scripts/rconsole'], + scripts = ['scripts/rfoo-rconsole'], cmdclass = {'build_ext': build_ext}, ext_modules = ext_modules ) debian/patches/series0000644000000000000000000000002311733551343012032 0ustar move_rfoo-rconsole debian/source/0000755000000000000000000000000011706352545010476 5ustar debian/source/format0000644000000000000000000000001411661742452011704 0ustar 3.0 (quilt) debian/rfoo-rconsole.10000644000000000000000000000136511733556521012054 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. .TH RCONSOLE "1" "March 2012" "Debian" "User Commands" .SH NAME rfoo-rconsole \- remote Python console with auto completion, which can be used to inspect and modify the namespace of a running script. .SH DESCRIPTION Start remote console: .PP rfoo-rconsole [\-h] [\-pPORT] .PP \fB\-h\fR, \fB\-\-help\fR Print this help. .PP \fB\-pPORT\fR Set PORT (54321 by default). .PP .SH SETUP To invoke it in a Python script do: .PP from rfoo.utils import rconsole .PP rconsole.spawn_server() .SH Security note The rconsole listener started with rfoo.utils.rconsole.spawn_server() will accept any local connection and may therefore be insecure to use in shared hosting or similar environments! debian/control0000644000000000000000000000167411731147656010614 0ustar Source: rfoo Maintainer: Jerome Kieffer Section: python Priority: extra Build-Depends: python-setuptools, python-all-dev (>= 2.5), debhelper (>= 8), cython Standards-Version: 3.9.2 Homepage: http://code.google.com/p/rfoo/ XS-Python-Version: >= 2.5 Package: python-rfoo Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python Description: Fast RPC package for Python (and a remote console) rfoo (remote foo) is a fast Python RPC package which can do 160,000 RPC calls per second on a regular PC. It includes a fast serialization module called rfoo.marsh which extends the Python built in marshal module by eliminating serialization of code objects and protecting against bad input. The result is a safe to use ultra fast serializer. . Included with rfoo is rconsole, a remote Python console with auto completion, which can be used to inspect and modify the namespace of a running script. debian/manpages0000644000000000000000000000002711733547466010723 0ustar debian/rfoo-rconsole.1 debian/changelog0000644000000000000000000000060011733547430011043 0ustar rfoo (1.3.0-2) unstable; urgency=low * Change name of script (Closes: #664993) - rconsole -> rfoo-rconsole (due to conflicts with remote-tty) -- Jerome Kieffer Sun, 25 Mar 2012 09:45:20 +0100 rfoo (1.3.0-1) unstable; urgency=low * Initial release (Closes: #663706) -- Jerome Kieffer Sat, 17 Mar 2012 18:45:20 +0100 debian/watch0000644000000000000000000000006711731150703010220 0ustar version=3 http://code.google.com/p/rfoo/downloads/list debian/compat0000644000000000000000000000000211661742452010374 0ustar 8