debian/0000755000000000000000000000000011663337301007171 5ustar debian/pyro.pyro-nsd.init0000644000000000000000000000275111624276743012637 0ustar #!/bin/sh ### BEGIN INIT INFO # Provides: pyro-nsd # Required-Start: $time $local_fs $remote_fs $network # Required-Stop: $time $local_fs $remote_fs $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Pyro name server daemon # Description: Debian init script for pyro-nsd (Pyro name server daemon) ### END INIT INFO PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/pyro-nsd DESC="Pyro name server daemon" NAME=pyro-nsd test -x $DAEMON || exit 0 # Defaults - don't touch, edit /etc/default/pyro-nsd ENABLED=0 if [ -f /etc/default/pyro-nsd ] ; then . /etc/default/pyro-nsd fi if [ "$ENABLED" = "0" ]; then echo "$DESC: disabled, see /etc/default/pyro-nsd" exit 0 fi PYRO_NS=/usr/bin/pyro-nsd END_PHRASE="python remote objects name service: pyro-nsd" set -e case "$1" in start) echo -n "Starting $DESC: " $DAEMON start $OPTIONS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " $DAEMON stop $OPTIONS echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " $DAEMON stop $OPTIONS sleep 1 $DAEMON start $OPTIONS echo "$NAME." ;; status) STATUS="$($DAEMON status)" echo "$STATUS" if echo "$STATUS" | grep -q "not running"; then if [ -f "$PYRO_PID" ]; then exit 1 else exit 3 fi fi ;; *) echo -n "Usage: /etc/init.d/pyro-nsd " >&2 echo "{start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/control0000644000000000000000000000503711663336571010611 0ustar Source: pyro Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Bernd Zeimetz , Carl Chenet Build-Depends: debhelper (>= 7.0.50), python-all Build-Depends-Indep: python-support (>= 0.71), xsltproc, docbook-xsl Standards-Version: 3.9.1 Homepage: http://pyro.sourceforge.net Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyro/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyro/trunk/ XS-Python-Version: >= 2.5 Package: pyro Architecture: all Depends: ${python:Depends}, ${misc:Depends} Suggests: pyro-gui, pyro-doc Description: distributed object system for Python Pyro (PYthon Remote Object) is an easy to use and powerful distributed object system for Python. In a distributed object system, clients send requests to distant servers, which owns the remote objects. Pyro simplifies a lot the creation of clients and servers, and has among its features: - dynamic and static proxies for all remote method invocations, - a naming service which keeps record of the location of objects, - mobile objects support: clients and servers can pass objects around, - exceptions that occur in the remote object is raised on the client too, - multithreaded server support to handle multiple requests simultaneously. . This package contains the core Pyro library and the command line tools. . Some graphical tools are available in the pyro-gui package. The documentation is available in the pyro-doc package. A lot of examples are available in the pyro-examples package. Package: pyro-gui Architecture: all Depends: ${python:Depends}, ${misc:Depends}, pyro, python-tk, python-wxgtk2.8 Description: graphical tool for Pyro Pyro (PYthon Remote Object) is an easy to use and powerful distributed object system for Python. . This package contains two graphical name server control tools: - xnsc : built on top of the Tk toolkit - wxnsc : built on top of wxWidgets Package: pyro-doc Architecture: all Section: doc Suggests: pyro Depends: ${misc:Depends} Description: documentation for Pyro Pyro (PYthon Remote Object) is an easy to use and powerful distributed object system for Python. . This package contains the documentation files for the pyro package. Package: pyro-examples Architecture: all Depends: pyro, ${misc:Depends} Description: examples for Pyro Pyro (PYthon Remote Object) is an easy to use and powerful distributed object system for Python. . This package contains some examples for the pyro package. debian/pyro.pyro-nsd.default0000644000000000000000000000021611624277613013307 0ustar # /etc/default/pyro-nsd # Change to one to enable pyro-nsd ENABLED=0 # Options to pass to pyro-nsd # available: "--pidfile=..." OPTIONS="" debian/pyro.docs0000644000000000000000000000001211444200522011014 0ustar Pyro.conf debian/pycompat0000644000000000000000000000000210665642203010741 0ustar 2 debian/pyro.links0000644000000000000000000000066411444200522011221 0ustar usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-es.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-esd.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-genguid.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-ns.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-nsc.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-nsd.1.gz usr/share/man/man1/pyro.1.gz usr/share/man/man1/pyro-rns.1.gz debian/pyro-gui.1.xml0000644000000000000000000001046211444200522011617 0ustar Jeremy"> Bobbio"> 8 Oct 2006"> 1"> jeremy.bobbio@etu.upmc.fr"> PYRO-GUI"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2003 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; graphical interfaces to Pyro Name Server Control tool pyro-xnsc pyro-wxnsc DESCRIPTION This manual page documents briefly the pyro-xnsc and pyro-wxnsc commands. This manual page was written for the &debian; distribution because the original program does not have a manual page. pyro-xnsc and pyro-wxnsc are programs starting a graphical user interface (GUI) to control nsc, the Pyro Name Server Control Tool pyro-xnsc uses the Tk toolkit whereas pyro-wxnsc uses WxWidgets. Both share a common set of features, but small differences exists. OPTIONS The pyro-wxnsc recognizes the following arguments: Hostname of the Pyro name server. Port of the Pyro name server. ENVIRONMENT The python-wxnsc understands the following environment variables: PYRO_NS_HOSTNAME Hostname of the Pyro name server PYRO_NS_BC_PORT Port of the Pyro name server SEE ALSO pyro(1) AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/pyro-gui.links0000644000000000000000000000014111444200522011771 0ustar pyro-gui.1.gz usr/share/man/man1/pyro-xnsc.1.gz pyro-gui.1.gz usr/share/man/man1/pyro-wxnsc.1.gz debian/pyro-doc.doc-base0000644000000000000000000000041511444200522012313 0ustar Document: pyro Title: Debian PYthon Remote Objects (pyro) Manual Author: Irmen de Jong Abstract: This manual describes what pyro is and how to use it. Section: Programming Format: HTML Index: /usr/share/doc/pyro/html/index.html Files: /usr/share/doc/pyro/html/*.html debian/pyro-examples.links0000644000000000000000000000006611206560025013034 0ustar /usr/share/doc/pyro /usr/share/doc/pyro-examples/docs debian/docs0000644000000000000000000000002011444200522010023 0ustar README.txt TODO debian/pyro-examples.install0000644000000000000000000000003410665642203013364 0ustar examples usr/share/doc/pyro debian/setup.cfg0000644000000000000000000000016411444200522011002 0ustar [bdist_rpm] doc_files = LICENSE,docs [install-options] unattended=1 [install] optimize=1 install-scripts=/usr/bin debian/rules0000755000000000000000000000166411444200522010247 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl XP=xsltproc -''-nonet %.1: %.1.xml $(XP) -o $@ $(DB2MAN) $< %: dh $@ build: debian/pyro-gui.1 dh_testdir [ -r setup.cfg.upstream ] || cp setup.cfg setup.cfg.upstream cp debian/setup.cfg . dh $@ clean: dh $@ rm -f build debian/pyro-gui.1 [ ! -r setup.cfg.upstream ] || mv setup.cfg.upstream setup.cfg override_dh_install: dh_install -ppyro -Xwxnsc.py -Xxnsc.py dh_install -Npyro -Xdocs/LICENSE override_dh_fixperms: dh_fixperms find $(CURDIR)/debian/pyro-examples -type f -name '*.py' | \ xargs grep -L '#!/usr/bin' | \ xargs chmod 644 find $(CURDIR)/debian/pyro-examples -type f -name '*.txt' | \ xargs chmod 644 override_dh_installinit: dh_installinit -ppyro --name=pyro-nsd .PHONY: build clean override_dh_installinit override_dh_install override_dh_fixperms debian/source/0000755000000000000000000000000011453140626010470 5ustar debian/source/format0000644000000000000000000000001411413321260011665 0ustar 3.0 (quilt) debian/pyro-gui.install0000644000000000000000000000016611444200522012326 0ustar usr/bin/pyro-wxnsc usr/bin/pyro-xnsc usr/lib/python*/*-packages/Pyro/wxnsc.py usr/lib/python*/*-packages/Pyro/xnsc.py debian/NEWS.Debian0000644000000000000000000000152211624306250011045 0ustar pyro (1:3.14-1) unstable; urgency=high Changed default location for pidfile from /tmp/nsd.pid to /var/run/pyro-nsd.pid for security reasons. If you need to restore the previous behavior, the pyro-nsd binary now accepts a new parameter: --pidfile=... This parameter can be set system-wide through the /etc/default/pyro-nsd file. -- Gustavo Goretkin Sun, 21 Aug 2011 18:44:37 -0400 pyro (3.7-1) unstable; urgency=low * Since version 3.7-1 the Debian package follows upstream's change in prefixing the scripts with pyro-. Therefore the /usr/share/pyro directory was removed and the scripts installed into /usr/bin directly. Please check if you have used /usr/share/pyro/* in your software directly and update accordingly. -- Bernd Zeimetz Sat, 01 Sep 2007 22:54:33 +0200 debian/pyro.install0000644000000000000000000000021211624263423011545 0ustar usr/bin/pyro-es usr/bin/pyro-genguid usr/bin/pyro-ns usr/bin/pyro-nsc usr/bin/pyro-esd usr/bin/pyro-nsd usr/lib/python*/*-packages/* debian/patches/0000755000000000000000000000000011663331027010617 5ustar debian/patches/pidfile_path.patch0000644000000000000000000000342411624302756014277 0ustar Description: CVE-2011-2765: fix for arbitrary file overwriting via symlink The upstream version stores the pidfile in /tmp/nmd.pid which allows arbitrary file overwriting via symlink. Now, the default location for pidfile is /var/run/. The default can be overriden by passing -pidfile=/path/to/file to daemon init script Author: Gustavo Goretkin Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631912 Forwarded: yes Reviewed-By: Obey Arthur Liu , Luke Faraone Last-Update: 2011-08-21 --- pyro-3.14.orig/Pyro/ext/daemonizer.py +++ pyro-3.14/Pyro/ext/daemonizer.py @@ -47,7 +47,9 @@ class Daemonizer: """ def __init__(self, pidfile=None): if not pidfile: - self.pidfile = "/tmp/%s.pid" % self.__class__.__name__.lower() + # PID file moved out of /tmp to avoid security vulnerability + # changed by Debian maintainer per Debian bug #631912 + self.pidfile = "/var/run/pyro-%s.pid" % self.__class__.__name__.lower() else: self.pidfile = pidfile @@ -121,12 +123,16 @@ class Daemonizer: def process_command_line(self, argv, verbose=1): usage = "usage: %s start | stop | restart | status | debug " \ + "[--pidfile=...] " \ "(run as non-daemon)" % os.path.basename(argv[0]) if len(argv) < 2: print usage raise SystemExit else: operation = argv[1] + if len(argv) > 2 and argv[2].startswith('--pidfile=') and \ + len(argv[2]) > len('--pidfile='): + self.pidfile = argv[2][len('--pidfile='):] pid = self.get_pid() if operation == 'status': if self.is_process_running(): debian/patches/series0000644000000000000000000000002311624303134012022 0ustar pidfile_path.patch debian/compat0000644000000000000000000000000211206277221010364 0ustar 7 debian/pyro-doc.install0000644000000000000000000000003711444200522012304 0ustar docs/* usr/share/doc/pyro/html debian/copyright0000644000000000000000000000276611444200522011126 0ustar This package was debianized by Cédric Delfosse on Sat, 30 Aug 2003 21:27:41 +0200. It was downloaded from http://pyro.sourceforge.net Upstream Author: Irmen de Jong Copyright: Copyright (c) 2002 by Irmen de Jong License: Pyro is copyrighted under the MIT license. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This file has different copyright notice: This file 'wxnsc.py' is (c) Jan Finell - finell@users.sourceforge.net debian/watch0000644000000000000000000000011711444200522010210 0ustar version=3 opts=filenamemangle=s/P/p/ \ http://sf.net/pyro/Pyro-(.*)\.tar\.gz debian/pyro.10000644000000000000000000000214111444200522010231 0ustar .TH pyro 1 "2004-10-04" "python remote objects" .SH NAME pyro \- python remote objects (Debian package's way) .SH SYNOPSIS .B pyro-ns .RI [ options ] .BR start name server. .BR .B pyro-rns .RI [ options ] .BR same as pyro-ns but will restart if server quits or crashes. .BR .B pyro-nsd .RI [ options ] .BR same as pyro-ns but starts as unix daemon that forks to background. .BR .B pyro-nsc .RI [ options ] command [ args... ] .BR name server control tool. .BR .B pyro-es .RI [ options ] .BR start event server. .BR .B pyro-esd .RI [ options ] .BR same as pyro-es but starts as unix daemon that forks to background. .BR .B pyro-genguid .BR a simple GUID generator. .BR .SH DESCRIPTION Python Remote Objects is a full-python distributed objects system. This manual page was created for Debian were the utilities got renamed to avoid name-clashes. .SH LICENCE Pyro is copyrighted under the MIT license. .SH SEE ALSO file:///usr/share/doc/pyro/html/ from the pyro-doc package. http://pyro.sourceforge.net/ the home web site. .SH AUTHOR Nicolas Chauvat debian/changelog0000644000000000000000000001760011663337276011062 0ustar pyro (1:3.14-1.1) unstable; urgency=low * Non-maintainer upload. * Update to depend on python-wxgtk2.8 rather than python-wxgtk2.6 - should be a low risk change, as with default alternatives 2.8 will already get used if installed, and 2.8 has twice as many installs according to popcon. (Closes: #645566) * Fix typos in package description - 'WxWindows' -> 'wxWidgets'; 'graphicals' -> 'graphical'; 'build in on' -> 'built on'. -- Olly Betts Thu, 24 Nov 2011 03:48:43 +0000 pyro (1:3.14-1) unstable; urgency=high * New upstream release - /usr/bin/pyro-rns was removed by upstream * SECURITY UPDATE: arbitrary file overwriting via symlink (Closes: #631912, LP: #830742) - store pidfile in /var/run instead of /tmp - Pyro/ext/daemonizer.py changed default location to /var/run - Pyro/ext/daemonizer.py added command-line parameter (--pidfile=...) to override default pidfile location - default location for pidfile is tunable via /etc/default/pyro-nsd - CVE-2011-2765 -- Gustavo Goretkin Sun, 21 Aug 2011 16:04:00 -0400 pyro (1:3.9.1-2) unstable; urgency=low [Carl Chenet] * revert to 3.9.1-1 package because of the development status of the 4.1 package is unsuitable for stable use DPMT svn #8557 revision (Closes: #589172) * added debian/source * added debian/source/format * package is now 3.0 (quilt) source format * debian/control - Bump Standards-Version to 3.9.1 [Jakub Wilk] * Add ‘XS-Python-Version: >= 2.5’ to prevent bytecompilation with python2.4 (closes: #589053). -- Carl Chenet Tue, 14 Sep 2010 01:04:28 +0200 pyro (4.1-1) unstable; urgency=low * New upstream release * debian/control - changed Maintainer to DPMT team - changed Uploaders to Bernd Zeimetz and Carl Chenet - bump Standards-Version to 3.9.0 - removed xslt and docbook-xsl from Build-Depends - removed pyro-doc package - removed pyro-gui package - removed the Suggests field for pyro package - added Recommands field with pyro-examples in it * debian/pyro.install - installing to /usr/share/pyshared/Pyro * debian/pyro-examples - installing to /usr/share/pyro/examples * debian/rules - using a rules.tiny with overrides * debian/watch - updated to look for pyro 4.X * removed debian/pyro.docs (no more needed) * removed debian/pyro-gui.install (no more gui) * removed debian/pyro.pyro-nsd.default (no more executables) * removed debian/pyro.1 (no more executables) * removed debian/NEWS.Debian (too old) * removed debian/setup.cfg (no more needed) * removed debian/pyro-doc.install (no more pyro-doc for now) * removed debian/pyro.pyro-nsd.init (no more executables) * removed debian/pyro.pyro-nsd.init (no more pyro-doc for now) * removed debian/pyro-gui.1.xml (no more gui) * removed debian/pyro.link (no more executables) -- Carl Chenet Fri, 02 Jul 2010 01:16:23 +0200 pyro (3.9.1-1) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Bernd Zeimetz ] * New upstream release. * debian/patches/usr-bin-env-location.dpatch: - Dropping patch, applied usptream. * debian/control, debian/rules: - Dropping dpatch build-dep and include, not needed anymore. * Switching to python-support and dh 7. * Bumping Standards-Version to 3.8.1. * Dropping maintainer scripts, dh creates them properly. * Adding missing ${misc:Depends}. * Fix several file permissions in the examples package. * Add symlink to the actual docu in pyro-examples. -- Bernd Zeimetz Mon, 25 May 2009 14:26:23 +0200 pyro (3.7-2) unstable; urgency=medium [ Bernd Zeimetz ] * debian/control: - Adding Homepage field, removing pseudo-field from description - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now) - Updating my email address. [ Sandro Tosi ] * debian/control - uniforming Vcs-Browser field - bump Standards-Version to 3.7.3 - bump versioned build-dep on python-central to at least 0.6 * debian/copyright - converted to UTF-8 - renamed copyright section to license - indented upstream author and license with 4 spaces - added copyright notice * debian/pyro-doc.doc-base - updated section - removed empty tailing lines * debian/pyro-gui.install - removed python-central directory (moved to debian/rules) * debian/pyro.install - removed python-central directory (moved to debian/rules) * debian/rules - updated due to new python-central directories structure (Closes: #472039) - integrate files under python-central directory into dh_install call - moved dh_install calls to install target -- Bernd Zeimetz Sun, 23 Mar 2008 12:58:43 +0100 pyro (3.7-1) unstable; urgency=low * Adopting the package in the name of the Python Modules Team (Closes: #439048) - Thanks to Alexandre Fayolle and Jérémy Bobbio for the previous NMUs (Closes: #216731, #377680, #391808) * New upstream version * debian/watch: - Adding file * debian/control: - Reflecting maintainer change - Adding XS-Vcs-Svn and XS-Vcs-Browser fields - Moving python to Build-Depends because it's used in the clean target - Adding dpatch to Build-Depends - Putting pyro-doc into the doc Section * debian/semantic.cache: - Removing file, not needed for packaging pyro * debian/setup.cfg: - Adding file to configure upstream's very special setup.py * debian/rules: - Fixing build process to use debian/setup.cfg - Adding dpatch targets/include * debian/README.Debian: - Removing file, explanation not needed anymore * debian/NEWS.Debian: - Adding file, explaining upstream's change in the script names * debian/patches: - Adding patch to cleanup/fix shebangs -- Bernd Zeimetz Sat, 01 Sep 2007 23:12:52 +0200 pyro (3.5-1.2) unstable; urgency=medium * Non-maintainer upload. * Switch to python-wxgkt2.6 instead of python-wxgtk2.4. * Implement better use of pycentral. (Closes: #391808) * Move debhelper from Build-Depends-Indep to Build-Depends as debhelper is used in the clean rule (see policy 7.6). * Update python-central dependency (>= 0.5). * Add LSB header to init script. * Fix pyro-nsd pid file location (was in /tmp, now in /var/run). -- Jérémy Bobbio Sun, 8 Oct 2006 22:33:36 +0200 pyro (3.5-1.1) unstable; urgency=low * NMU * Support multiple Python version (closes: #216731) * Support the new python policy (closes: #377680) * updated standards to 3.7.2 * switched debhelper compatibility mode to 5 -- Alexandre Fayolle Wed, 12 Jul 2006 10:27:11 +0200 pyro (3.5-1) unstable; urgency=low * New upstream release (Closes: Bug#344878) -- Cédric Delfosse Thu, 2 Feb 2006 23:11:47 +0100 pyro (3.4-3) unstable; urgency=low * pyro-gui now depends on python-wxgtk2.4 instead of libwxgtk2.4-python that no more exist. (Closes: Bug#335667) -- Cédric Delfosse Tue, 25 Oct 2005 20:55:59 +0200 pyro (3.4-2) unstable; urgency=low [Thanks to Nicolas Chauvat and Alexandre Fayolle] * Added init.d script (closes: Bug#274842) * A manpage (closes: Bug#274835) -- Cédric Delfosse Mon, 4 Oct 2004 22:05:29 +0200 pyro (3.4-1) unstable; urgency=low * New upstream release -- Cédric Delfosse Sat, 29 May 2004 18:51:50 +0200 pyro (3.3-2) unstable; urgency=low * Put graphical tools in the new pyro-gui binary package (closes: Bug#213169) -- Cédric Delfosse Sat, 4 Oct 2003 18:01:41 +0200 pyro (3.3-1) unstable; urgency=low * Initial Release (closes: Bug#178690) -- Cédric Delfosse Sat, 30 Aug 2003 21:27:41 +0200