debian/0000775000000000000000000000000013246044500007166 5ustar debian/rules0000775000000000000000000002346412263107675010272 0ustar #! /usr/bin/make -f SHELL = /bin/bash # all versions PYVERS := $(shell pyversions -vs) VER := $(shell /usr/bin/python -c 'import sys; print sys.version[:3]') PY3VERS := $(shell py3versions -vs) VER3 := $(shell /usr/bin/python3 -c 'import sys; print(sys.version[:3])') DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') twversion := $(subst twisted-,,$(notdir $(CURDIR))) include /usr/share/python/python.mk ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS))) with_docs=yes endif with_docs= build: build-stamp build-arch: build-stamp build-indep: build-stamp build-indep: build-stamp build-doc build-stamp: $(PYVERS:%=build-python%) # $(PY3VERS:%=build3-python%) touch $@ build-python%: python$* setup.py build python$*-dbg setup.py build touch $@ build-2to3: rm -rf py3 mkdir -p py3 cp -a CREDITS ChangeLog.Old LICENSE NEWS README bin doc setup.py twisted \ py3/. 2to3 --write --nobackups py3 touch $@ build3-python%: build-2to3 cd py3 && python$* setup.py build cd py3 && python$*-dbg setup.py build touch $@ build-doc: ifeq ($(with_docs),yes) -pydoctor --html-write-function-pages --add-package twisted endif clean: rm -rf *-stamp build-python* build tmp rm -rf build3-python* build-2to3 rm -rf apidocs py3 rm -rf $(addprefix debian/,$(packages)) debian/files debian/substvars rm -rf _trial_temp test.log rm -rf Twisted.egg-info rm -f twisted/plugins/dropin.cache find . -name "*.pyc" |xargs -r rm dh_clean install: build-stamp install-prereq $(PYVERS:%=install-python%) install-nover #install: build-stamp install-prereq $(PYVERS:%=install-python%) $(PY3VERS:%=install3-python%) install-nover install-prereq: build-stamp dh_testdir dh_testroot dh_prep install-python%: install-prereq : # python-twisted-core python$* setup.py install --root=debian/python-twisted-core --install-layout=deb -find debian/python-twisted-core -name '*.py[co]' | xargs rm -f rm -rf debian/python-twisted-core$(call py_libdir,$*)/twisted/topfiles rm -rf debian/python-twisted-core$(call py_libdir,$*)/Twisted-$(twversion).egg-info python$* twisted/topfiles/setup.py install --root=tmp --install-layout=deb cp tmp$(call py_libdir,$*)/Twisted_Core-$(twversion).egg-info debian/python-twisted-core$(call py_libdir,$*)/ : # We don't release the Twisted Pair package, as it's not developed anymore rm -rf debian/python-twisted-core$(call py_libdir,$*)/twisted/pair : # python-twisted-* source files for i in conch lore mail names news runner web words; do \ dh_movefiles -ppython-twisted-$$i -Xtopfiles \ --sourcedir=debian/python-twisted-core \ $(call py_libdir,$*)/twisted/$$i/ \ $(call py_libdir,$*)/twisted/plugins/twisted_$$i.py; \ rm -rf debian/python-twisted-core$(call py_libdir,$*)/twisted/$$i/ ; \ PYTHONPATH=$(CURDIR) python$* twisted/$$i/topfiles/setup.py install --root=tmp --install-layout=deb ; \ cp tmp$(call py_libdir,$*)/Twisted_$${i^}-$(twversion).egg-info debian/python-twisted-$$i$(call py_libdir,$*)/ ; \ done : # python-twisted-* scripts for i in conch lore mail; do \ for j in `ls bin/$${i}`; do \ dh_movefiles -ppython-twisted-$$i \ --sourcedir=debian/python-twisted-core \ /usr/bin/$$j; \ done; \ done : # python-twisted mkdir -p debian/python-twisted/$(call py_libdir,$*) sed 's/@twversion@/$(twversion)/' debian/Twisted.egg-info.in \ > debian/python-twisted/$(call py_libdir,$*)/Twisted-$(twversion).egg-info : # python-twisted-bin dh_movefiles -ppython-twisted-bin \ --sourcedir=debian/python-twisted-core \ $(call py_libdir,$*)/twisted/python/sendmsg.so \ $(call py_libdir,$*)/twisted/test/raiser.so : # python-twisted-bin-dbg python$*-dbg setup.py install --root=debian/python-twisted-bin-dbg --no-compile --install-layout=deb find debian/python-twisted-bin-dbg ! -type d ! -name '*_d.so' | xargs rm -f find debian/python-twisted-bin-dbg -depth -empty -exec rmdir {} \; : # python-twisted-runner dh_movefiles -ppython-twisted-runner-dbg \ --sourcedir=debian/python-twisted-bin-dbg \ $(call py_libdir,$*)/twisted/runner/portmap_d.so : # Replace all '#!' calls to python with /usr/bin/python : # and make them executable for i in `find debian/python-twisted-* -mindepth 3 -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done install3-python%: install-prereq : # python3-twisted-core cd py3 && python$* setup.py install \ --root=$(CURDIR)/debian/python3-twisted-core --install-layout=deb -find debian/python3-twisted-core -name '*.py[co]' | xargs rm -f -find debian/python3-twisted-core -name '__pycache__' | xargs rm -rf rm -rf debian/python3-twisted-core/usr/lib/python$*/*-packages/twisted/python/pymodules : # python3-twisted-bin ifeq ($(DEB_HOST_ARCH_OS), linux) dh_movefiles -ppython3-twisted-bin \ --sourcedir=debian/python3-twisted-core \ $(call py_libdir,$*)/twisted/python/sendmsg.cpython-$(subst .,,$*)m.so \ $(call py_libdir,$*)/twisted/test/raiser.cpython-$(subst .,,$*)m.so else dh_movefiles -ppython3-twisted-bin \ --sourcedir=debian/python3-twisted-core \ $(call py_libdir,$*)/twisted/python/sendmsg.cpython-$(subst .,,$*)m.so \ $(call py_libdir,$*)/twisted/test/raiser.cpython-$(subst .,,$*)m.so endif ifeq (0,1) : # python3-twisted mkdir -p debian/python-twisted/$(call py_libdir,$*) sed 's/@twversion@/$(twversion)/' debian/Twisted.egg-info.in \ > debian/python-twisted/$(call py_libdir,$*)/Twisted-$(twversion).egg-info endif : # Replace all '#!' calls to python with /usr/bin/python3 : # and make them executable for i in `find debian/python3-twisted-* -mindepth 3 -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ $$i > $$i.temp; \ if cmp --quiet $$i $$i.temp; then \ rm -f $$i.temp; \ else \ mv -f $$i.temp $$i; \ chmod 755 $$i; \ echo "fixed interpreter: $$i"; \ fi; \ done : # python-twisted-bin-dbg cd py3 && python$*-dbg setup.py install \ --root=$(CURDIR)/debian/python3-twisted-bin-dbg --no-compile --install-layout=deb find debian/python3-twisted-bin-dbg ! -type d ! -name '*.so' | xargs rm -f find debian/python3-twisted-bin-dbg -depth -empty -exec rmdir {} \; install-nover: : # man pages for i in conch core lore mail; do \ mkdir -p debian/python-twisted-$$i/usr/share/man/man1; \ for j in doc/$$i/man/*.1; do \ cp -p $$j debian/python-twisted-$$i/usr/share/man/man1/; \ done; \ done : # python-twisted-conch mv debian/python-twisted-conch/usr/bin/cftp \ debian/python-twisted-conch/usr/bin/conchftp mv debian/python-twisted-conch/usr/share/man/man1/cftp.1 \ debian/python-twisted-conch/usr/share/man/man1/conchftp.1 : # twisted-doc mkdir -p debian/twisted-doc/usr/share/doc/twisted-doc cp -a doc/core/* debian/twisted-doc/usr/share/doc/twisted-doc/ -find debian/twisted-doc -type d -name man | xargs rm -rf ifeq (0,1) for i in debian/python3-twisted-core/usr/bin/*; do \ mv $$i $${i}3; \ done mkdir -p debian/python3-twisted-core/usr/share/man/man1 for i in doc/man/{manhole,*tap*,trial,twistd,pyhtmlizer}.1; do \ i2=$$(basename $$i .1)3.1; \ cp -p $$i debian/python3-twisted-core/usr/share/man/man1/$$i2; \ done endif binary-indep: build-indep install dh_testdir dh_testroot dh_installchangelogs -i dh_installdocs -i ifeq ($(with_docs),yes) cp -ua apidocs debian/twisted-doc/usr/share/doc/twisted-doc/ # Replace links to Twisted website API doc by links to the local doc. We # need to compute path to the API which goes up enough in the folder # hierarchy to access the doc. for i in $$(cd debian/twisted-doc/usr/share/doc/twisted-doc/ && \ grep -rl "http://twistedmatrix.com/documents/$(twversion)/api/" .); do \ path="$$(echo $$i | sed "s:[^/]::g" | sed "s:/:../:g" | cut -c 4-)apidocs/"; \ sed -i "s:http\://twistedmatrix.com/documents/$(twversion)/api/:$$path:g" \ debian/twisted-doc/usr/share/doc/twisted-doc/$$i; \ done endif dh_installmenu -i dh_compress -i -X.py dh_fixperms -i dh_python2 -i dh_installdeb -i dh_gencontrol -ppython-twisted-core -ppython-twisted-lore -ppython-twisted-mail \ -ppython-twisted-names -ppython-twisted-news -ppython-twisted-web \ -ppython-twisted-words -ptwisted-doc -ppython-twisted # Add the epoch to python-twisted-conch, for upgrades dh_gencontrol -ppython-twisted-conch -- -v1:$(DEBVERS) dh_md5sums -i dh_builddeb -ppython-twisted-core -ppython-twisted-lore -ppython-twisted-mail \ -ppython-twisted-names -ppython-twisted-news -ppython-twisted-web \ -ppython-twisted-words -ptwisted-doc -ppython-twisted dh_builddeb -ppython-twisted-conch binary-arch: build-arch install dh_testdir dh_testroot dh_installchangelogs -a dh_installdocs -a dh_installmenu -a dh_strip -ppython-twisted-bin --dbg-package=python-twisted-bin-dbg rm -rf debian/python-twisted-bin-dbg/usr/share/doc/python-twisted-bin-dbg ln -s python-twisted-bin \ debian/python-twisted-bin-dbg/usr/share/doc/python-twisted-bin-dbg dh_strip -ppython-twisted-runner --dbg-package=python-twisted-runner-dbg rm -rf debian/python-twisted-runner-dbg/usr/share/doc/python-twisted-runner-dbg ln -s python-twisted-runner \ debian/python-twisted-runner-dbg/usr/share/doc/python-twisted-runner-dbg ifeq (0,1) dh_strip -ppython3-twisted-bin --dbg-package=python3-twisted-bin-dbg rm -rf debian/python3-twisted-bin-dbg/usr/share/doc/python3-twisted-bin-dbg ln -s python3-twisted-bin \ debian/python3-twisted-bin-dbg/usr/share/doc/python3-twisted-bin-dbg endif dh_compress -a -X.py dh_fixperms -a dh_python2 -a # dh_python3 -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install install-nover install-prereq debian/source/0000775000000000000000000000000012236516702010474 5ustar debian/source/format0000664000000000000000000000001412236516702011702 0ustar 3.0 (quilt) debian/python-twisted-words.docs0000664000000000000000000000013712236516702014205 0ustar twisted/words/topfiles/NEWS twisted/words/topfiles/README doc/words/examples/ doc/words/howto/ debian/watch0000664000000000000000000000013312236516702010222 0ustar version=3 http://twistedmatrix.com/Releases/Twisted/(\d\d\.\d)/Twisted-([\d\.]*)\.tar\.bz2 debian/python-twisted-runner.docs0000664000000000000000000000007412236516702014360 0ustar twisted/runner/topfiles/NEWS twisted/runner/topfiles/README debian/control0000664000000000000000000002164012263107035010575 0ustar Source: twisted Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Matthias Klose Uploaders: Free Ekanayaka Build-Depends: debhelper (>=7.0.50~), python-all-dev (>= 2.6.6-3~), python-all-dbg, python-zope.interface-dbg, patch, python3-all-dev (>= 3.3), python3-all-dbg, python3-zope.interface-dbg #Build-Depends-Indep: python-pydoctor XS-Python-Version: all Standards-Version: 3.9.5 Package: python-twisted-bin Architecture: any Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Suggests: python-twisted-bin-dbg Description: Event-based framework for internet applications It includes a web server, a telnet server, a multiplayer RPG engine, a generic client and server for remote object access, and APIs for creating new protocols. Package: python-twisted-bin-dbg Priority: extra Section: debug Architecture: any Depends: python-twisted-bin (= ${binary:Version}), python-zope.interface-dbg, python-dbg, ${shlibs:Depends}, ${misc:Depends} Description: Event-based framework for internet applications (debug extension) It includes a web server, a telnet server, a multiplayer RPG engine, a generic client and server for remote object access, and APIs for creating new protocols. . This package contains the extension built for the Python debug interpreter. Package: python-twisted-core Architecture: all Depends: python-twisted-bin (>= ${source:Version}), python-zope.interface (>= 3.6), python (>= 2.5), ${python:Depends}, ${misc:Depends} Suggests: python-tk, python-gtk2, python-glade2, python-qt3, python-wxgtk2.8 Recommends: python-openssl, python-pam, python-serial Provides: ${python:Provides} Description: Event-based framework for internet applications It includes a web server, a telnet server, a multiplayer RPG engine, a generic client and server for remote object access, and APIs for creating new protocols. Package: python-twisted-conch Architecture: all Depends: python-twisted-core (>= ${source:Version}), python-crypto (>= 2.0.1+dfsg1-1.1), python-pyasn1, ${python:Depends}, ${misc:Depends} Provides: conch, ${python:Provides} Description: Twisted SSH Implementation A client/server implementation of the SSH protocol, using the twisted framework. Package: python-twisted-lore Architecture: all Depends: python-twisted-web (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Description: Documentation generator with HTML and LaTeX support Twisted Lore is a documentation generator. Package: python-twisted-mail Architecture: all Depends: python-twisted-core (>= ${source:Version}), python-openssl, ${python:Depends}, ${misc:Depends} Recommends: python-twisted-names Description: SMTP, IMAP and POP protocol implementation Twisted Mail contains high-level, efficient protocol implementations for both clients and servers of SMTP, POP3, and IMAP4. Additionally, it contains an "out of the box" combination SMTP/POP3 virtual-hosting mail server. Also included is a read/write Maildir implementation and a basic Mail Exchange calculator (depends on Twisted Names). Package: python-twisted-names Architecture: all Depends: python-twisted-core (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Description: DNS protocol implementation with client and server Twisted Names is both a domain name server as well as a client resolver library. Twisted Names comes with an "out of the box" nameserver which can read most BIND-syntax zone files as well as a simple Python-based configuration format. Twisted Names can act as an authoritative server, perform zone transfers from a master to act as a secondary, act as a caching nameserver, or any combination of these. Twisted Names' client resolver library provides functions to query for all commonly used record types as well as a replacement for the blocking gethostbyname() function provided by the Python stdlib socket module. Package: python-twisted-news Architecture: all Depends: python-twisted-core (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Description: NNTP protocol implementation with client and server Twisted News provides a very basic NNTP server, as well as an NNTP client protocol implementation. Two messages storage systems are supported: the DB-API 2.0 backend stores and indexes messages in any compatible SQL database; the Twisted dirdbm backend uses serialized Python objects stored directly on the filesystem for message storage. Twisted News also has very rudamentary support for moderated groups. Package: python-twisted-runner Architecture: any Depends: python-twisted-core (>= ${source:Version}), ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${python:Provides} Suggests: python-twisted-runner-dbg Description: Process management, including an inetd server Twisted Runner has process management, including an inetd replacement. Package: python-twisted-runner-dbg Section: debug Priority: extra Architecture: any Depends: python-twisted-runner (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends} Description: Process management, including an inetd server (debug extension) Twisted Runner has process management, including an inetd replacement. . This package contains the extension built for the python debug interpreter. Package: python-twisted-web Architecture: all Depends: python-twisted-core (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Description: HTTP protocol implementation together with clients and servers Twisted web is a web server, and also provides basic HTTP client support. You may want to check out Nevow, a templating toolkit designed for twisted.web, and Twisted Web2, the next generation Twisted web server. Package: python-twisted-words Architecture: all Depends: python-twisted-core (>= ${source:Version}), python-openssl, ${python:Depends}, ${misc:Depends} Description: Chat and Instant Messaging Twisted Words includes: - Low-level protocol implementations of OSCAR (AIM and ICQ), IRC, MSN, TOC (AIM). - Jabber libraries. - Prototypes of chat server and client frameworks built on top of the protocols. #Package: python3-twisted-core #Architecture: all #Depends: ${python3:Depends}, python3 (>= 3.3), python3-twisted-bin (>= ${source:Version}), python3-zope.interface (>= 3.6), ${misc:Depends} #Suggests: python3-tk, python3-gtk2, python3-glade2, python3-qt4, python3-wxgtk2.8 #Recommends: python3-openssl, python3-pam, python3-serial #Provides: ${python:Provides} #Description: Event-based framework for internet applications # It includes a web server, a telnet server, a multiplayer RPG engine, a # generic client and server for remote object access, and APIs for creating # new protocols. #Package: python3-twisted-bin #Architecture: any #Depends: ${python3:Depends}, ${shlibs:Depends}, ${misc:Depends} #Provides: ${python:Provides} #Suggests: python3-twisted-bin-dbg #Description: Event-based framework for internet applications # It includes a web server, a telnet server, a multiplayer RPG engine, a # generic client and server for remote object access, and APIs for creating # new protocols. #Package: python3-twisted-bin-dbg #Priority: extra #Section: debug #Architecture: any #Depends: python3-zope.interface-dbg, python3-twisted-bin (= ${binary:Version}), python3-dbg, ${shlibs:Depends}, ${misc:Depends} #Description: Event-based framework for internet applications (debug extension) # It includes a web server, a telnet server, a multiplayer RPG engine, a # generic client and server for remote object access, and APIs for creating # new protocols. # . # This package contains the extension built for the Python debug interpreter. Package: twisted-doc Section: doc Priority: extra Architecture: all Depends: ${misc:Depends} Suggests: python-twisted Recommends: www-browser | postscript-viewer | pdf-viewer Description: Official documentation of Twisted This contains various HOWTOs and overviews in various formats . Twisted is an event-based framework for internet applications. It includes a web server, a telnet server, a multiplayer RPG engine, a generic client and server for remote object access, and APIs for creating new protocols. Package: python-twisted Architecture: all Priority: extra Depends: python-twisted-core (>= ${source:Version}), python-twisted-conch (>= 1:${source:Version}), python-twisted-mail (>= ${source:Version}), python-twisted-lore (>= ${source:Version}), python-twisted-names (>= ${source:Version}), python-twisted-news (>= ${source:Version}), python-twisted-runner (>= ${source:Version}), python-twisted-web (>= ${source:Version}), python-twisted-words (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Event-based framework for internet applications (dependency package) This is a dependency package that depends on the twisted core library and all the libraries split out to separate packages starting with Twisted-2.0.1. debian/python-twisted-news.docs0000664000000000000000000000007012236516702014017 0ustar twisted/news/topfiles/NEWS twisted/news/topfiles/README debian/python-twisted-names.docs0000664000000000000000000000013712236516702014152 0ustar twisted/names/topfiles/NEWS twisted/names/topfiles/README doc/names/examples/ doc/names/howto/ debian/python3-twisted-core.postinst0000664000000000000000000000076312263107035015015 0ustar #! /bin/sh set -e #DEBHELPER# rebuild_cache() { # remove all cache files, then rebuild for the installed python versions rm -f /usr/lib/python3/*-packages/twisted/plugins/dropin.cache for p in $(py3versions -i); do $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' \ >/dev/null 2>&1 || true done } case "$1" in triggered) if [ "$2" = twisted-plugins-cache ]; then rebuild_cache fi ;; configure) rebuild_cache ;; esac exit 0 debian/copyright0000664000000000000000000001024012236516702011124 0ustar This package was debianized by Moshe Zadka on Sat, 21 Jul 2001 09:35:33 +0300, updated for 2.0 by Matthias Klose It was downloaded from http://www.twistedmatrix.com Copyright (c) 2005 Allen Short Andrew Bennetts Benjamin Bruheim Bob Ippolito Christopher Armstrong Donovan Preston Eric Mangold Itamar Shtull-Trauring James Knight Jason A. Mobarak Jonathan Lange Jonathan D. Simms Jp Calderone Juergen Hermann Kevin Turner Mary Gardiner Matthew Lefkowitz Massachusetts Institute of Technology Moshe Zadka Paul Swartz Pavel Pergamenshchik Sean Riley Travis B. Hartwell except as noted at the end of this file. 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. Copyright Exceptions: The source includes in twisted/python/pymodules some files from the Python 2.3 upstream tarball (not included in the binary packages). The Python 2.3 license follows: PSF LICENSE AGREEMENT FOR PYTHON 2.3 ------------------------------------ 1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 2.3 software in source or binary form and its associated documentation. 2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 2.3 alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001, 2002, 2003 Python Software Foundation; All Rights Reserved" are retained in Python 2.3 alone or in any derivative version prepared by Licensee. 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 2.3 or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python 2.3. 4. PSF is making Python 2.3 available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.3 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2.3 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.3, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 8. By copying, installing or otherwise using Python 2.3, Licensee agrees to be bound by the terms and conditions of this License Agreement. debian/python-twisted.preinst0000664000000000000000000000017012236516702013602 0ustar #! /bin/sh -e if [ ! -h /usr/share/doc/python-twisted ]; then rm -rf /usr/share/doc/python-twisted fi #DEBHELPER# debian/python-twisted-web.docs0000664000000000000000000000012712236516702013623 0ustar twisted/web/topfiles/NEWS twisted/web/topfiles/README doc/web/examples/ doc/web/howto/ debian/twisted-doc.doc-base0000664000000000000000000000053412236516702013023 0ustar Document: twisted-howto Title: The Twisted Book Author: The Twisted Team Abstract: This book describes how to use Twisted for any use -- from bringing up a simple web site to coding distributed applications Section: Programming/Python Format: HTML Index: /usr/share/doc/twisted-doc/howto/index.html Files: /usr/share/doc/twisted-doc/howto/*.html debian/python-twisted.menu0000664000000000000000000000051012236516702013060 0ustar ?package(python-twisted,python-gtk2):\ needs="x11"\ section="Applications/Network/Communication"\ title="Manhole Twisted Client"\ command="/usr/bin/manhole" ?package(python-twisted,python-tk):\ needs="x11"\ section="Applications/Network/Communication"\ title="Twisted Application Generator"\ command="/usr/bin/tkmktap" debian/python-twisted-core.postrm0000664000000000000000000000044712236516702014377 0ustar #! /bin/sh set -e case "$1" in remove|purge) find /usr/lib/python[23].*/*-packages/twisted/plugins \ -name dropin.cache 2>/dev/null | xargs -r rm -f for d in /usr/lib/python[23].*/*-packages/twisted/plugins; do rmdir $d 2>/dev/null || true done ;; esac #DEBHELPER# exit 0 debian/compat0000664000000000000000000000000212236516702010372 0ustar 7 debian/python-twisted-mail.docs0000664000000000000000000000013712236516702013771 0ustar twisted/mail/topfiles/NEWS twisted/mail/topfiles/README doc/mail/examples/ doc/mail/tutorial/ debian/Twisted.egg-info.in0000664000000000000000000000063612236516702012646 0ustar Metadata-Version: 1.0 Name: Twisted Version: @twversion@ Summary: An asynchronous networking framework written in Python Home-page: http://twistedmatrix.com/ Author: Glyph Lefkowitz Author-email: glyph@twistedmatrix.com License: MIT Description: An extensible framework for Python programming, with special focus on event-based network programming and multiprotocol integration. Platform: UNKNOWN debian/python-twisted-conch.docs0000664000000000000000000000013712236516702014141 0ustar twisted/conch/topfiles/NEWS twisted/conch/topfiles/README doc/conch/examples/ doc/conch/howto/ debian/python-twisted-core.postinst0000664000000000000000000000076412263107035014733 0ustar #! /bin/sh set -e #DEBHELPER# rebuild_cache() { # remove all cache files, then rebuild for the installed python versions rm -f /usr/lib/python2.?/*-packages/twisted/plugins/dropin.cache for p in $(pyversions -i); do $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' \ >/dev/null 2>&1 || true done } case "$1" in triggered) if [ "$2" = twisted-plugins-cache ]; then rebuild_cache fi ;; configure) rebuild_cache ;; esac exit 0 debian/python-twisted-lore.docs0000664000000000000000000000013312236516702014004 0ustar twisted/lore/topfiles/NEWS twisted/lore/topfiles/README doc/lore/examples/ doc/lore/howto/ debian/patches/0000775000000000000000000000000013246044441010621 5ustar debian/patches/series0000664000000000000000000000014613246044441012037 0ustar tap2deb.diff #python3.diff #python3_modules.diff lp1102685.diff lp1098127.diff CVE-2016-1000111.patch debian/patches/python3_modules.diff0000664000000000000000000000371012263107035014605 0ustar Description: Port Py_InitModule* calls to PyModule_Create for python3. Author: Adam Conrad Forwarded: no --- twisted-12.3.0.orig/twisted/python/_initgroups.c +++ twisted-12.3.0/twisted/python/_initgroups.c @@ -58,9 +58,27 @@ static PyMethodDef InitgroupsMethods[] = #endif /* defined(__unix__) || defined(unix) */ +#if PY_MAJOR_VERSION >= 3 +static struct PyModuleDef moduledef = { + PyModuleDef_HEAD_INIT, + "_initgroups", /* m_name */ + NULL, /* m_doc */ + -1, /* m_size */ + InitgroupsMethods, /* m_methods */ + NULL, /* m_reload */ + NULL, /* m_traverse */ + NULL, /* m_clear */ + NULL, /* m_free */ +}; +#endif + void init_initgroups(void) { +#if PY_MAJOR_VERSION >= 3 + PyModule_Create(&moduledef); +#else Py_InitModule("_initgroups", InitgroupsMethods); +#endif } --- twisted-12.3.0.orig/twisted/python/sendmsg.c +++ twisted-12.3.0/twisted/python/sendmsg.c @@ -116,6 +116,19 @@ static PyMethodDef sendmsg_methods[] = { {NULL, NULL, 0, NULL} }; +#if PY_MAJOR_VERSION >= 3 +static struct PyModuleDef moduledef = { + PyModuleDef_HEAD_INIT, + "sendmsg", /* m_name */ + sendmsg_doc, /* m_doc */ + -1, /* m_size */ + sendmsg_methods, /* m_methods */ + NULL, /* m_reload */ + NULL, /* m_traverse */ + NULL, /* m_clear */ + NULL, /* m_free */ +}; +#endif PyMODINIT_FUNC initsendmsg(void) { PyObject *module; @@ -123,7 +136,11 @@ PyMODINIT_FUNC initsendmsg(void) { sendmsg_socket_error = NULL; /* Make sure that this has a known value before doing anything that might exit. */ +#if PY_MAJOR_VERSION >= 3 + module = PyModule_Create(&moduledef); +#else module = Py_InitModule3("sendmsg", sendmsg_methods, sendmsg_doc); +#endif if (!module) { return; debian/patches/lp1102685.diff0000664000000000000000000000270112263107035012632 0ustar Description: Use pygtkcompat directly and fall back to gi.pygtkcompat Bug: https://twistedmatrix.com/trac/ticket/6280 Author: Rodney Dawes === modified file 'twisted/internet/gireactor.py' --- old/twisted/internet/gireactor.py 2013-01-16 17:44:26 +0000 +++ new/twisted/internet/gireactor.py 2013-01-23 17:13:29 +0000 @@ -37,9 +37,12 @@ else: from twisted.python.modules import theSystemPath _pygtkcompatPresent = True try: - theSystemPath["gi.pygtkcompat"] + theSystemPath["pygtkcompat"] except KeyError: - _pygtkcompatPresent = False + try: + theSystemPath["gi.pygtkcompat"] + except KeyError: + _pygtkcompatPresent = False # Modules that we want to ensure aren't imported if we're on older versions of @@ -75,8 +78,11 @@ else: # Newer version of gi, so we can try to initialize compatibility layer; if # real pygtk was already imported we'll get ImportError at this point # rather than segfault, so unconditional import is fine. - import gi.pygtkcompat - gi.pygtkcompat.enable() + try: + import pygtkcompat + except ImportError: + from gi import pygtkcompat + pygtkcompat.enable() # At this point importing gobject will get you gi version, and importing # e.g. gtk will either fail in non-segfaulty way or use gi version if user # does gi.pygtkcompat.enable_gtk(). So, no need to prevent imports of debian/patches/lp1098127.diff0000664000000000000000000000216612263107035012644 0ustar Description: Use new io_add_watch api on new versions of pygobject. Bug: https://twistedmatrix.com/trac/ticket/6369 Author: Rodney Dawes === modified file 'twisted/internet/_glibbase.py' Index: b/twisted/internet/_glibbase.py =================================================================== --- a/twisted/internet/_glibbase.py +++ b/twisted/internet/_glibbase.py @@ -157,9 +157,17 @@ else: fileno = source wrapper = callback - return self._glib.io_add_watch( - fileno, condition, wrapper, - priority=self._glib.PRIORITY_DEFAULT_IDLE) + try: + from gi import version_info as gi_version + except ImportError: + gi_version = (2, 32, 0) + if gi_version < (3, 7, 3): + return self._glib.io_add_watch( + fileno, condition, wrapper, + priority=self._glib.PRIORITY_DEFAULT_IDLE) + else: + return self._glib.io_add_watch( + fileno, self._glib.PRIORITY_DEFAULT, condition, wrapper) def _ioEventCallback(self, source, condition): debian/patches/CVE-2016-1000111.patch0000664000000000000000000000731013246044420013444 0ustar Backported of: From e155c8c9e3dc72a7a47608e4dbd729577c552de2 Mon Sep 17 00:00:00 2001 From: "Amber Brown (HawkOwl)" Date: Wed, 10 Aug 2016 20:03:11 +0800 Subject: [PATCH] fix the implementation --- twisted/web/test/test_cgi.py | 42 ++++++++++++++++++++++++++++++++++++++-- twisted/web/topfiles/8623.bugfix | 1 + twisted/web/twcgi.py | 6 +++--- 3 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 twisted/web/topfiles/8623.bugfix diff --git a/twisted/web/test/test_cgi.py b/twisted/web/test/test_cgi.py index db63211..08f8005 100755 --- a/twisted/web/test/test_cgi.py +++ b/twisted/web/test/test_cgi.py @@ -5,13 +5,17 @@ Tests for L{twisted.web.twcgi}. """ -import sys, os +import sys +import os +import json + +from io import BytesIO from twisted.trial import unittest from twisted.internet import reactor, interfaces, error from twisted.python import util, failure from twisted.web.http import NOT_FOUND, INTERNAL_SERVER_ERROR -from twisted.web import client, twcgi, server, resource +from twisted.web import client, twcgi, server, resource, http_headers from twisted.web.test._util import _render from twisted.web.test.test_web import DummyRequest @@ -67,6 +71,15 @@ print print "cgi output" ''' +HEADER_OUTPUT_CGI = '''\ +import json +import os +print("") +print("") +vals = {x:y for x,y in os.environ.items() if x.startswith("HTTP_")} +print(json.dumps(vals)) +''' + class PythonScript(twcgi.FilteredScript): filter = sys.executable @@ -147,6 +160,31 @@ class CGI(unittest.TestCase): factory.deferred.addCallback(checkResponse) return factory.deferred + def test_noProxyPassthrough(self): + """ + The CGI script is never called with the Proxy header passed through. + """ + cgiFilename = self.writeCGI(HEADER_OUTPUT_CGI) + + portnum = self.startServer(cgiFilename) + url = "http://localhost:%d/cgi" % (portnum,) + + agent = client.Agent(reactor) + + headers = http_headers.Headers({"Proxy": ["foo"], + "X-Innocent-Header": ["bar"]}) + d = agent.request("GET", url, headers=headers) + + def checkResponse(response): + headers = json.loads(response) + self.assertEqual( + set(headers.keys()), + {"HTTP_HOST", "HTTP_CONNECTION", "HTTP_X_INNOCENT_HEADER"}) + + d.addCallback(client.readBody) + d.addCallback(checkResponse) + return d + def test_duplicateHeaderCGI(self): """ diff --git a/twisted/web/topfiles/8623.bugfix b/twisted/web/topfiles/8623.bugfix new file mode 100644 index 0000000..b8aaac6 --- /dev/null +++ b/twisted/web/topfiles/8623.bugfix @@ -0,0 +1 @@ +twisted.web.twcgi.CGIScript will now not pass the "Proxy" header to CGI scripts, as a mitigation to CVE-2016-1000111. diff --git a/twisted/web/twcgi.py b/twisted/web/twcgi.py index 5ab580d..1959162 100644 --- a/twisted/web/twcgi.py +++ b/twisted/web/twcgi.py @@ -110,13 +110,13 @@ class CGIScript(resource.Resource): env['QUERY_STRING'] = '' qargs = [] - # Propogate HTTP headers + # Propagate HTTP headers for title, header in request.getAllHeaders().items(): envname = string.upper(string.replace(title, '-', '_')) - if title not in ('content-type', 'content-length'): + if title not in ('content-type', 'content-length', 'proxy'): envname = "HTTP_" + envname env[envname] = header - # Propogate our environment + # Propagate our environment for key, value in os.environ.items(): if key not in env: env[key] = value -- 2.7.4 debian/patches/python3.diff0000664000000000000000000000170212263107035013054 0ustar Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ import sys if sys.version_info < (2, 6): - print >>sys.stderr, "You must use at least Python 2.6 for Twisted" + print("You must use at least Python 2.6 for Twisted", sys.stderr) sys.exit(3) if os.path.exists('twisted'): Index: b/twisted/python/dist.py =================================================================== --- a/twisted/python/dist.py +++ b/twisted/python/dist.py @@ -313,8 +313,8 @@ for specialExclusion in ['.svn', '_preamble.py', '_preamble.pyc']: if specialExclusion in thingies: thingies.remove(specialExclusion) - return filter(os.path.isfile, - [os.path.join(scriptdir, x) for x in thingies]) + return list(filter(os.path.isfile, + [os.path.join(scriptdir, x) for x in thingies])) ## Helpers and distutil tweaks debian/patches/tap2deb.diff0000664000000000000000000000406212263103606012773 0ustar Index: b/twisted/scripts/tap2deb.py =================================================================== --- a/twisted/scripts/tap2deb.py +++ b/twisted/scripts/tap2deb.py @@ -119,7 +119,7 @@ [ -r /etc/default/%(debFile)s ] && . /etc/default/%(debFile)s -test -x /usr/bin/twistd%(pythonVersion)s || exit 0 +test -x /usr/bin/twistd || exit 0 test -r $file || exit 0 test -r /usr/share/%(debFile)s/package-installed || exit 0 @@ -127,7 +127,7 @@ case "$1" in start) echo -n "Starting %(debFile)s: twistd" - start-stop-daemon --start --quiet --exec /usr/bin/twistd%(pythonVersion)s -- \ + start-stop-daemon --start --quiet --exec /usr/bin/twistd -- \ --pidfile=$pidfile \ --rundir=$rundir \ --%(twistdOption)s=$file \ @@ -167,12 +167,14 @@ #!/bin/sh update-rc.d %(debFile)s defaults >/dev/null invoke-rc.d %(debFile)s start +#DEBHELPER# ''' % vars()) debianDir.child('prerm').setContent( '''\ #!/bin/sh invoke-rc.d %(debFile)s stop +#DEBHELPER# ''' % vars()) debianDir.child('postrm').setContent( @@ -181,6 +183,7 @@ if [ "$1" = purge ]; then update-rc.d %(debFile)s remove >/dev/null fi +#DEBHELPER# ''' % vars()) debianDir.child('changelog').setContent( @@ -199,12 +202,14 @@ Section: net Priority: extra Maintainer: %(maintainer)s -Build-Depends-Indep: debhelper -Standards-Version: 3.5.6 +Build-Depends-Indep: debhelper, python (>= 2.6.5-7) +Standards-Version: 3.8.4 +XS-Python-Version: current Package: %(debFile)s Architecture: all -Depends: python%(pythonVersion)s-twisted +Depends: ${python:Depends}, python-twisted-core +XB-Python-Version: ${python:Versions} Description: %(description)s %(longDescription)s ''' % vars()) @@ -237,7 +242,7 @@ '''\ #!/usr/bin/make -f -export DH_COMPAT=1 +export DH_COMPAT=5 build: build-stamp build-stamp: @@ -274,9 +279,9 @@ dh_strip dh_compress dh_installchangelogs + dh_python2 dh_fixperms dh_installdeb - dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb debian/changelog0000664000000000000000000006171713246044500011054 0ustar twisted (13.2.0-1ubuntu1.2) trusty-security; urgency=medium * SECURITY UPDATE: HTTProxy issue - debian/patches/CVE-2016-1000111.patch: fix implementation in twisted/web/twcgi.py and add some test in twisted/web/test/test_cgi.py. - CVE-2016-1000111 -- Leonidas S. Barbosa Thu, 01 Mar 2018 15:40:36 -0300 twisted (13.2.0-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Keep the preliminary python3 support, but don't enable it. - Try to use plain pygtkcompat and fall back to gi.pygtkcompat, to avoid a DeprecationWarning, and a crash. - Use new io_add_watch api on new versions of pygobject. -- Matthias Klose Wed, 08 Jan 2014 00:19:41 +0100 twisted (13.2.0-1) unstable; urgency=medium * New upstream release. -- Matthias Klose Tue, 07 Jan 2014 23:52:50 +0100 twisted (13.1.0-1) unstable; urgency=low * New upstream release * Migrate to single-source -- Free Ekanayaka Fri, 04 Oct 2013 14:20:11 +0200 twisted (13.0.0-1ubuntu1) saucy; urgency=low * Merge with Debian; remaining changes: - Keep the preliminary python3 support, but don't enable it. - Try to use plain pygtkcompat and fall back to gi.pygtkcompat, to avoid a DeprecationWarning, and a crash. - Use new io_add_watch api on new versions of pygobject. - Point html documentation to the generated api docs. -- Matthias Klose Thu, 20 Jun 2013 13:30:20 +0200 twisted (13.0.0-1) unstable; urgency=low * New upstream release -- Free Ekanayaka Wed, 05 Jun 2013 20:48:54 +0200 twisted (12.3.0-1ubuntu6) raring; urgency=low * Stop building the python3 packages (will be built from a separate source until the python3 support is complete). -- Matthias Klose Thu, 04 Apr 2013 10:14:52 +0200 twisted (12.3.0-1ubuntu5) raring; urgency=low * debian/patches/lp1098127.diff: - Use new io_add_watch api on new versions of pygobject. (LP: #1098127) -- Rodney Dawes Thu, 14 Mar 2013 17:24:59 -0400 twisted (12.3.0-1ubuntu4) raring; urgency=low * debian/patches/lp1102685.diff: - Try to use plain pygtkcompat and fall back to gi.pygtkcompat, to avoid a DeprecationWarning, and a crash. (LP: #1102685) -- Rodney Dawes Wed, 23 Jan 2013 12:19:06 -0500 twisted (12.3.0-1ubuntu3) raring; urgency=low * Explicitly call 2to3 to build the py3k source. -- Matthias Klose Wed, 23 Jan 2013 11:41:25 +0100 twisted (12.3.0-1ubuntu2) raring; urgency=low * Port Py_InitModule* calls to PyModule_Create for python3. -- Adam Conrad Mon, 21 Jan 2013 13:43:44 -0700 twisted (12.3.0-1ubuntu1) raring; urgency=low * Build python3 packages. * Add '3' as the suffix for the binaries using python3. -- Matthias Klose Wed, 16 Jan 2013 17:44:26 +0100 twisted (12.3.0-1) experimental; urgency=low * New upstream release * Bump python-zope.interface dependency to 3.6 * Bump Standards-Version to 3.9.4 * Install _initgroups.so only on Python <= 2.6 * Drop packaging tweaks for Python < 2.6 -- Free Ekanayaka Wed, 02 Jan 2013 15:15:18 +0100 twisted (12.2.0-1) experimental; urgency=low * New upstream version * Drop the _epoll.so C extension, as Twisted now supports only Python >= 2.6 and there's stdlib support for epoll since 2.6 * Add sendmsg.so C extension to python-twisted-bin -- Free Ekanayaka Tue, 11 Sep 2012 10:06:25 +0200 twisted (12.0.0-1) sid; urgency=low * New upstream version. * Add watch file * Bump Standards-Version -- Free Ekanayaka Tue, 17 Apr 2012 15:36:37 +0200 twisted (11.1.0-1) unstable; urgency=low * New upstream version. * Drop suggestions on python-wxgtk2.6 and python-profiler. * Fix lintian warnings. -- Matthias Klose Wed, 21 Dec 2011 12:29:38 +0100 twisted (11.0.0-2) unstable; urgency=low * python-twisted depends on version >= 11.0 of other packages. -- Matthias Klose Fri, 22 Apr 2011 12:02:59 +0200 twisted (11.0.0-1) unstable; urgency=low * New upstream version. -- Matthias Klose Sun, 17 Apr 2011 20:11:48 +0200 twisted (10.2.0-1) unstable; urgency=low * New upstream version. -- Matthias Klose Thu, 24 Feb 2011 04:47:56 +0100 twisted (10.1.0-3) unstable; urgency=low * Tighten build dependency to build with a fixed dh_python2. Closes: #592410. -- Matthias Klose Wed, 18 Aug 2010 11:42:19 +0200 twisted (10.1.0-2) unstable; urgency=low * Remove all plugin cache files before rebuilding the cache files for the installed python versions. * python-twisted: Depend on the 10.1 versions of the twisted packages. * Remove the plugin cache files when package is removed, not only if it is purged. -- Matthias Klose Sun, 25 Jul 2010 15:56:17 +0200 twisted (10.1.0-1) unstable; urgency=low * New upstream version. * Build using dh_python2 instead of dh_pycentral. -- Matthias Klose Sat, 17 Jul 2010 16:11:21 +0200 twisted (10.0.0-3) unstable; urgency=low * Add a trigger `twisted-plugins-cache' to rebuild the plugins cache. -- Matthias Klose Tue, 30 Mar 2010 17:55:15 +0200 twisted (10.0.0-2) unstable; urgency=low * Include changes from 9.0.0-2 which got skipped * python-twisted depends on version >= 10.0 of other packages -- Free Ekanayaka Tue, 09 Mar 2010 13:32:00 +0100 twisted (10.0.0-1) unstable; urgency=low * New upstream version. * Add myself as uploader. * Bump standards version to 3.8.4 -- Free Ekanayaka Mon, 08 Mar 2010 12:32:45 +0100 twisted (9.0.0-2) unstable; urgency=low * Suppress output on stderr in postrm. Closes: #566395. * Don't recommend twisted-doc-api. Closes: #566913. -- Matthias Klose Wed, 03 Feb 2010 02:14:52 +0100 twisted (9.0.0-1) unstable; urgency=low * python-twisted: Depend on the python-twisted-* 9.0 packages. * python-twisted: Depend on python-zope.interface only. Closes: #557781. -- Matthias Klose Sat, 02 Jan 2010 19:38:17 +0100 twisted (9.0.0-0) unstable; urgency=low * New upstream version. * tap2deb: Use date -R instead of 822-date. Closes: #550565. -- Matthias Klose Sat, 02 Jan 2010 18:46:39 +0100 twisted (8.2.0-3) unstable; urgency=low * Depend on the standalone python-zope.interface{,-dbg} packages. Closes: #543132, #542932. * Remove plugins directory on purge. Closes: #527897. * Fix some lintian warnings. -- Matthias Klose Tue, 25 Aug 2009 20:36:00 +0200 twisted (8.2.0-2) unstable; urgency=low * python-twisted-core: Regenerate the plugin cache as the last action in the postinst. Closes: #521663. LP: #361865. * Avoid md5/sha1 deprecation warnings. LP: #344782. -- Matthias Klose Sat, 18 Apr 2009 13:54:12 +0200 twisted (8.2.0-1) unstable; urgency=low * Upload to unstable. -- Matthias Klose Sat, 21 Feb 2009 12:15:25 +0100 twisted (8.2.0-0.1) unstable; urgency=low * New upstream version. -- Esteve Fernandez Sat, 31 Jan 2009 14:40:47 +0100 twisted (8.1.0-4) unstable; urgency=low * Move the cache update from python-twisted into python-twisted-core. Closes: #500942. Plugins should update the cache on package install (postinst) and removal (postrm remove) by updating the cache. See the postinst script of python-twisted-core how to update the cache. * Fix PortableGtkReactor (now able to run trial test suite with the gtk2 reactor). Closes: #499311. * Don't install twisted/test/generator_failure_tests.py, syntax errors with python2.4. Closes: #492830. * Fix manhole to work with python-gtk2 (>= 2.10). Closes: #469105. * mktap(1) description of options fixed in an earlier version. Closes: #278194. * mktap news fixed in an earlier version. Closes: #278196. * Fix build failure on GNU/kFreeBSD (Petr Salinger). Closes: #490770. -- Matthias Klose Fri, 10 Oct 2008 21:22:21 +0200 twisted (8.1.0-3) unstable; urgency=low * Do not include twisted/plugins/dropin.cache, but generate it on configure, remove it on package removal. Closes: #489976. * twisted plugins have to update that cache on installation and removal. See the python-twisted-core postinst how to do so. -- Matthias Klose Fri, 11 Jul 2008 14:41:43 +0200 twisted (8.1.0-2) unstable; urgency=low * python-twisted-core: Include twisted/plugins/dropin.cache, Closes: #477103. * tap2deb.py: Fix some dependency names and names of binaries. Closes: #440454. LP: #120453. * python-twisted: Tighten dependencies. -- Matthias Klose Tue, 08 Jul 2008 16:34:14 +0200 twisted (8.1.0-1) unstable; urgency=low * New upstream version. * python-twisted: Add an egg-info file. Closes: #477384. -- Matthias Klose Wed, 28 May 2008 23:06:45 +0200 twisted (8.0.1-2) unstable; urgency=low * twisted/scripts/tap2deb.py: Create dependency on python-twisted. -- Matthias Klose Wed, 09 Apr 2008 15:37:36 +0000 twisted (8.0.1-1) unstable; urgency=low * New upstream version. * Disable building the empty twisted-doc-api package. Closes: #313334. -- Matthias Klose Sun, 30 Mar 2008 21:02:28 +0200 twisted (2.5.0-2) unstable; urgency=low * python-twisted-core: Suggest python-wxgtk2.8 as an alternative. -- Matthias Klose Thu, 07 Jun 2007 07:14:49 +0200 twisted (2.5.0-1) unstable; urgency=low * New upstream version, compatible with python2.5. * Merge from Ubuntu: - Build a python-twisted-dbg package. - Bump debhelper compatibility to v5. - Tighten dependencies of the python-twisted package. -- Matthias Klose Sun, 20 May 2007 19:29:53 +0200 twisted (2.4.0-3) unstable; urgency=medium * twisted/python/versions.py: Update to work with subversion 1.4. Closes: #405141. * python-twisted-core: Don't suggest python-wxgtk2.4 anymore. Closes: #391994. -- Matthias Klose Mon, 8 Jan 2007 00:01:04 +0100 twisted (2.4.0-2) unstable; urgency=high * python-twisted-core: Depend on python-twisted-bin. -- Matthias Klose Sun, 9 Jul 2006 12:04:18 +0000 twisted (2.4.0-1) unstable; urgency=low * New upstream version. * Convert packaging to use python-central (closes: #373392). * python-twisted-core: Do not suggest python-glade-1.2 (closes: #368514). * python-twisted.menu: Add python-tk as a required package for tkmtap. -- Matthias Klose Wed, 14 Jun 2006 03:45:29 +0200 twisted (2.2.0-2) unstable; urgency=low * Fix classname in python/dispatch.py (closes: #359225). * Fix spelling errors in man pages (closes: #355227). * Drop conflicts on packages not tested with twisted >= 2.0 (closes: #359179). -- Matthias Klose Fri, 14 Apr 2006 23:25:37 +0000 twisted (2.2.0-1) unstable; urgency=low * New upstream version. -- Matthias Klose Wed, 22 Feb 2006 08:28:04 +0100 twisted (2.1.0-4) unstable; urgency=low * Fix typo in versioned dependencies on *-conch packages (closes: #349627). * Fix location of the core documentation in the doc-base file. Closes: #349627. -- Matthias Klose Thu, 2 Feb 2006 15:39:10 +0000 twisted (2.1.0-3) unstable; urgency=low * Rename python-twisted to python-twisted-core; python-twisted is now a transitional package, depending on python-twisted-core and all twisted modules, which were split out into separate packages. -- Matthias Klose Wed, 25 Jan 2006 17:56:16 +0100 twisted (2.1.0-2) unstable; urgency=low * debian/copyright: Include copyright for python 2.3; some 2.3 files are included in the upstream tarball, but not in the binary packages. -- Matthias Klose Mon, 16 Jan 2006 19:59:05 +0100 twisted (2.1.0-1) unstable; urgency=low * New upstream version. -- Matthias Klose Sun, 15 Jan 2006 22:07:22 +0000 twisted (2.0.1-4) unstable; urgency=low * Fix doc symlinks (closes: #313313). * Remove conflict with supyb, requested by the supyb maintainer. * Suggest python-wxgtk2.4 | python-wxgtk2.6. * Fix man page symlinks (closes: #326021, #314508, #315307, #323551). * Fix location of the tutorial in the doc-base file (closes: #318167). * python-twisted: Add dependency on python-soappy (closes: #317290). -- Matthias Klose Thu, 1 Sep 2005 15:49:29 +0200 twisted (2.0.1-3) unstable; urgency=low * Drop python2.2 packages, build python2.4 packages. -- Matthias Klose Sun, 12 Jun 2005 19:05:59 +0200 twisted (2.0.1-2) unstable; urgency=low * Reupload as -2, -1 is sticking in the NEW queue from a hijack attempt. -- Matthias Klose Sun, 12 Jun 2005 18:41:05 +0200 twisted (2.0.1-1) unstable; urgency=low * New upstream version, built from the sumo tarball. * (Build-)depend on zope-interface. * Explicitely conflict with all current packages depending on python-twisted and python-twisted-conch. Please check for compatibility first. * Do provide menu entries for the default version only. * Empty twisted-doc-api package at the moment. * Use debhelper for the packaging. * Change priority to optional. -- Matthias Klose Sun, 12 Jun 2005 14:52:40 +0200 twisted (1.3.0-8) unstable; urgency=low * Fix the fix in gtk2reactor. -- Matthias Klose Fri, 11 Feb 2005 14:45:43 +0100 twisted (1.3.0-7) unstable; urgency=low * Conditionally import the profile module (closes: #294493). * Add suggestions to the python-profiler package. * Suppress gtk2 user warning in gtk2reactor (closes: #291310). -- Matthias Klose Thu, 10 Feb 2005 13:12:20 +0100 twisted (1.3.0-6) unstable; urgency=medium * Fix two bad mail-related bugs, which are really harmful for the scalemail application (Tommi Virtanen): - insufficient error handling in mail delivery, causing mail loss (fixed by r12036) - unable to send mail from <> (fixed by r12767, which broke receiving mail from <>, which is fixed in r12858). Closes: #289993. -- Matthias Klose Sat, 15 Jan 2005 23:49:03 +0100 twisted (1.3.0-5) unstable; urgency=low * Fix memory leak in _c_urlarg.c (closes: #284818). * python2.3-twisted: Add python-glade-1.2 python-gtk-1.2 suggests. Closes: #283238. -- Matthias Klose Mon, 20 Dec 2004 19:23:11 +0100 twisted (1.3.0-4) unstable; urgency=low * Fix package recommendations. * twisted/xish/domish.py: Add fixes for jabber protocol implementation. Alexandre Fayolle. Closes: #273141. -- Matthias Klose Wed, 6 Oct 2004 08:06:47 +0200 twisted (1.3.0-3) unstable; urgency=medium * twisted-doc-api: Add link to docs (closes: #255888). * twisted-doc: Rename examples/xindex.html (closes: #255887). * twisted-doc: Include the Twisted tutorial (closes: #256598). * Install the PDF version of the Twisted Book, not the PostScript version. * python-twisted: Recommend the python-serial package. * Fix nmea protocol failing when checksums turned off (closes: #243136). * Add support for bool types in Twisted Serialize module (python2.3 only). Closes: #217053. -- Matthias Klose Sun, 29 Aug 2004 15:31:36 +0200 twisted (1.3.0-2) unstable; urgency=low * Fix links in twisted-doc's index.html (closes: #255548). -- Matthias Klose Mon, 21 Jun 2004 22:01:11 +0200 twisted (1.3.0-1) unstable; urgency=low * New upstream version. * Hijacking the package. See http://lists.debian.org/debian-qa/2004/06/msg00070.html. * Fix doc-base file (closes: #220698, #220699). * html files are included as .html, not .xhtml (closes: #192600). * Make package descriptions more verbose (closes: #209816). * Fix some lintian errors. -- Matthias Klose Sat, 19 Jun 2004 00:54:55 +0200 twisted (1.2.0-1.1) unstable; urgency=low * NMU. * Fix suggestions and recommendations: - Make python-pyopenssl, python-pam recommendations. - Make python-tk, python-gtk2, python-glade2, python-qt3, libwxgtk2.4-python suggestions. Closes: #240564. * python-twisted-conch: Depend on python2.3-twisted-conch. * Use Debian's way importing gtk2: - doc/examples/pbgtk2.py - twisted/spread/ui/gtk2util.py * The Debian package provided upstream isn't a big help, as it's just an outdated copy of the Debian package :-( -- Matthias Klose Sat, 17 Apr 2004 14:25:26 +0200 twisted (1.2.0-1) unstable; urgency=low * New upstream version (closes: #211102). -- Matthias Klose Thu, 26 Feb 2004 07:05:22 +0100 twisted (1.1.2-1) unstable; urgency=low * New upstream version -- Moshe Zadka Thu, 18 Feb 2004 12:03:02 -0500 twisted (1.1.1-1) unstable; urgency=low * New upstream version -- Moshe Zadka Thu, 15 Jan 2004 12:03:02 -0500 twisted (1.1.0-1) unstable; urgency=low * New upstream version -- Moshe Zadka Thu, 21 Nov 2003 14:56:54 -0500 twisted (1.0.7-1) unstable; urgency=low * New upstream version -- Moshe Zadka Thu, 17 Sep 2003 00:33:51 -0500 twisted (1.0.6-1) unstable; urgency=low * New upstream version. * NMU (encouraged by maintainer) -- Martin Sjogren Thu, 3 Jul 2003 07:45:27 +0200 twisted (1.0.5-1) unstable; urgency=low * New upstream version * Remove Python 2.1 packages -- upstream no longer supports 2.1 -- Moshe Zadka Thu, 1 May 2003 09:06:49 +0300 twisted (1.0.4-1) unstable; urgency=low * New upstream version -- Moshe Zadka Fri, 18 Apr 2003 03:46:22 +0000 twisted (1.0.3-1) unstable; urgency=low * Split out conch * This allows us to have conch properly depend on python-crypto * Documentation improvements * Installing xhtml versions of everything * Distributing ps and pdf versions of book * doc-base support * Split out doc-api * It's HUGE and many people don't need it (since it is available on the web) -- Moshe Zadka Tue, 12 Nov 2002 02:59:56 -0600 twisted (1.0.0-2) unstable; urgency=low * Put api docs in api/ (Closes: #167196) -- Moshe Zadka Thu, 7 Nov 2002 12:27:37 -0600 twisted (1.0.0-1) unstable; urgency=low * New upstream release -- Moshe Zadka Tue, 22 Oct 2002 06:22:49 -0500 twisted (0.99.2-4) unstable; urgency=low * UGH! Python 2.3 distutils bug is back * Working around it -- Moshe Zadka Wed, 2 Oct 2002 12:07:25 +0000 twisted (0.99.2-3) unstable; urgency=low * Adding "/usr/bin/python" to build dependencies. -- Moshe Zadka Mon, 30 Sep 2002 15:46:56 +0000 twisted (0.99.2-2) unstable; urgency=low * Enabling Python 2.3 support -- Moshe Zadka Fri, 27 Sep 2002 10:49:43 -0500 twisted (0.99.2-1) unstable; urgency=low * New upstream * Fixed build dependencies (Closes: #159258) -- Moshe Zadka Mon, 23 Sep 2002 08:56:05 -0500 twisted (0.99.0-1) unstable; urgency=low * New upstream version. * Packaging changes: * "Twisted" is now a package, to facilitate upgrades from woody (there are verioned depends:) * New package: twisted-quotes -- quotes collected by the Twisted release team -- Moshe Zadka Thu, 29 Aug 2002 08:05:38 -0500 twisted (0.19.0-2) unstable; urgency=low * Gagh, make python2.2-twisted any, not all. -- Moshe Zadka Wed, 31 Jul 2002 02:25:23 -0500 twisted (0.19.0-1) unstable; urgency=low * New upstream release * Debian packaging changes: * split python2.x-twisted into python2.x-twisted and python2.x-twisted-bin * unfortunately, because of distutils mind boggling stupidity, it will do most of the work for building the arch-independant utilities when building the c module * fortunately, twisted will now take up much less room in the archive -- Moshe Zadka Wed, 19 Jun 2002 18:01:50 +0300 twisted (0.18.0-2) unstable; urgency=low * The "Aaaaarrrgghhh, I'm stupid release" * debian/control: python2.1-twisted needs to Conflict:/Replace: twisted too -- Moshe Zadka Tue, 18 Jun 2002 20:22:08 +0300 twisted (0.18.0-1) unstable; urgency=low * New upstream release * Lots of debian changes: * building python2.1-twisted, python2.2-twisted * python-twisted depends on python2.1-twisted * menu support for t-im and manhole enabled * Removed debelper * Added debian/scripts/ directory with helper scripts * This will (hopefully) mean support python2.3 will be easy * Upstream fixed tcp client (Closes: #142789) -- Moshe Zadka Tue, 28 May 2002 12:35:35 +0300 twisted (0.17.3-1) unstable; urgency=low * New upstream release -- Moshe Zadka Fri, 19 Apr 2002 02:55:43 -0500 twisted (0.17.0-1) unstable; urgency=low * New upstream release * Now building two packages -- one for the code, one for the docs + If you want the docs, install twisted-docs too + Feedback is encouraged about whether a 2.2-supporting version is needed -- Moshe Zadka Thu, 14 Mar 2002 07:24:07 +0200 twisted (0.15.5-1) unstable; urgency=low * New upstream release -- Moshe Zadka Fri, 8 Mar 2002 07:14:16 +0200 twisted (0.15.4-1) unstable; urgency=low * New upstream version * Better DNS support -- Moshe Zadka Tue, 5 Mar 2002 13:54:37 +0200 twisted (0.15.3-1) unstable; urgency=low * New upstream release * Fixed stupidproxy bug, where connections weren't closed -- Moshe Zadka Thu, 28 Feb 2002 21:07:28 +0200 twisted (0.15.1-1) unstable; urgency=low * New upstream release -- Moshe Zadka Tue, 12 Feb 2002 20:36:38 +0200 twisted (0.15.0-1) unstable; urgency=low * New upstream release * IM application: many improvements, new GTK+ client * easier to add error callbacks to deferred * SOCKSv4 support * bugs fixed in t.i.tcp * added approveConnection (again ;-) * All non-blocking methods now return deferreds instead of accepting callbacks (hopefully) * low-level protocol changes * New t.web applications and features * Perspective retrieval now async * Enterprise now fixed -- Moshe Zadka Wed, 6 Feb 2002 14:38:38 +0200 twisted (0.13.0-1) unstable; urgency=low * New upstream version * New forum * New config interface * New metrics -- Moshe Zadka Thu, 10 Jan 2002 20:04:30 +0200 twisted (0.12.2-1) unstable; urgency=low * New upstream versions (many bugfixes) -- Moshe Zadka Thu, 29 Nov 2001 08:01:23 +0200 twisted (0.12.1-1) unstable; urgency=low * New upstream version (mainly bugfixes) -- Moshe Zadka Thu, 22 Nov 2001 09:09:14 +0200 twisted (0.12.0-1) unstable; urgency=low * New upstream version * Using Python 2.1 -- Moshe Zadka Wed, 21 Nov 2001 15:17:25 +0200 twisted (0.10.3-1) unstable; urgency=low * New upstream release * twisted.names, resolving internet names * optimizations * works with Jython too -- Moshe Zadka Sun, 30 Sep 2001 23:46:45 +0200 twisted (0.10.2-1) unstable; urgency=low * New upstream release * bug fixes * timeouts for client sockets * Tutorial about plugins * Mail has changed API in an incompatible way -- Moshe Zadka Wed, 12 Sep 2001 23:00:59 +0300 twisted (0.10.1-1) unstable; urgency=low * New upstream release * Massive renaming in prespective broker classes * web proxying * TCP connection forwarding * Lots of new protocols: LDAP, finger and obscure RFCs * --plugin option to twistd * web widgets * twisted.enterprise improved a lot -- Moshe Zadka Fri, 31 Aug 2001 06:49:00 +0300 twisted (0.10.0-1) unstable; urgency=low * New upstream release * Added twisted.tap and twisted.mail to distribution * Added docs about writing new twisted servers * Changed mail API: now, saveMessage gets the SMTP from too * Removed spurious prints from twisted.mail.mail * Possible to relay mail to unknown domains via smart host * tap2deb can create policy compliant Debian packages around .tap's * Fixed debian/rules clean target (closes: Bug#108245) * New arguments to twistd: --python, --no_save * New arguments to mktap: --append * twisted.tcp.Port can now change the size of the backlog from 5 * UDP servers now possible -- Moshe Zadka Thu, 9 Aug 2001 09:37:03 +0300 twisted (0.9.4-1) unstable; urgency=low * Initial Release. (closes: #105843) -- Moshe Zadka Thu, 26 Jul 2001 21:09:53 +0300 debian/python-twisted-core.triggers0000664000000000000000000000003712236516702014674 0ustar interest twisted-plugins-cache debian/python3-twisted-core.triggers0000664000000000000000000000003712263107035014752 0ustar interest twisted-plugins-cache