--- transmission-1.75.orig/debian/transmission-daemon.postrm +++ transmission-1.75/debian/transmission-daemon.postrm @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +case "$1" in + remove|purge) + if [ "$1" = "purge" -a -d /var/lib/transmission-daemon/info ]; then + rm -rf /var/lib/transmission-daemon/info/* + fi + getent passwd debian-transmission > /dev/null 2>&1 && deluser --system --quiet debian-transmission + dpkg-statoverride --quiet --remove /var/lib/transmission-daemon/info || true + dpkg-statoverride --quiet --remove /var/lib/transmission-daemon/downloads || true + dpkg-statoverride --quiet --remove /etc/transmission-daemon/settings.json || true + ;; +esac + +#DEBHELPER# --- transmission-1.75.orig/debian/qtr.1 +++ transmission-1.75/debian/qtr.1 @@ -0,0 +1,33 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH QTR "1" "July 2009" "qtr 1.73" "User Commands" +.SH NAME +qtr \- Qt-based bittorrent client +.SH DESCRIPTION +.PP +This manual page was written using help2man for the \fBDebian\fP +distribution because the original program does not have one. +.PP +Transmission 1.73 +http://www.transmissionbt.com/ +A fast and easy BitTorrent client +.SH OPTIONS +.TP +\fB\-h\fR \fB\-\-help\fR +Display this help page and exit +.TP +\fB\-g\fR \fB\-\-config\-dir\fR +Where to look for configuration files +.TP +\fB\-m\fR \fB\-\-minimized\fR +Start minimized in system tray +.TP +\fB\-v\fR \fB\-\-version\fR +Show version number and exit + +.SH "AUTHOR" +.PP +This manual page was written by Leo Antunes for +the \fBDebian\fP 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 3 any +later version published by the Free Software Foundation. --- transmission-1.75.orig/debian/control +++ transmission-1.75/debian/control @@ -0,0 +1,77 @@ +Source: transmission +Section: net +Priority: optional +Maintainer: Leo Costela +Uploaders: Philipp Benner +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7), autotools-dev, libgtk2.0-dev, libevent-dev, + libglib2.0-dev, libnotify-dev, libssl-dev, libcurl4-dev | libcurl-dev, chrpath, python, intltool (>= 0.23), qt4-qmake, libqt4-dev, quilt +Standards-Version: 3.8.3 +Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/transmission/ +Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/transmission/ +Homepage: http://www.transmissionbt.com/ + +Package: transmission +Architecture: all +Depends: transmission-cli (>= ${binary:Version}), transmission-gtk (>= ${binary:Version}), transmission-common (= ${source:Version}) +Description: lightweight BitTorrent client + Transmission is a simple BitTorrent client. It features a very simple, + intuitive interface (gui and command-line) on top on an efficient, + cross-platform back-end. + . + This package installs both CLI and GUI versions of transmission. + +Package: transmission-common +Architecture: all +# because of the usr/share/pixmaps move to -common +Replaces: transmission-gtk (<= 1.73-1) +Description: lightweight BitTorrent client (common files) + Transmission is a simple BitTorrent client. It features a very simple, + intuitive interface (gui and command-line) on top on an efficient, + cross-platform back-end. + . + This package contains the common files for the different transmission versions. + +Package: transmission-cli +Architecture: any +Depends: ${shlibs:Depends}, transmission-common (= ${source:Version}) +Suggests: transmission-daemon (= ${binary:Version}), transmission-gtk (= ${binary:Version}) +Replaces: transmission (<< 0.6.1.dfsg-2), transmission-daemon (<< 1.50-1) +Description: lightweight BitTorrent client (command line interface) + Transmission-cli is a lightweight command-line BitTorrent client. It + features a very simple, intuitive interface on top on an efficient, + cross-platform back-end. + +Package: transmission-gtk +Architecture: any +Depends: ${shlibs:Depends}, transmission-common (= ${source:Version}) +Recommends: xdg-utils +Replaces: transmission (<< 0.6.1.dfsg-2) +Description: lightweight BitTorrent client (GTK interface) + Transmission-gtk is a GTK-based BitTorrent client. It features a + very simple, intuitive interface on top on an efficient, + cross-platform back-end. + +Package: transmission-qt +Architecture: any +Depends: ${shlibs:Depends}, transmission-common (= ${source:Version}) +Recommends: xdg-utils +Description: lightweight BitTorrent client (Qt interface) + QTransmission is a Qt-based BitTorrent client. It features a + very simple, intuitive interface on top on an efficient, + cross-platform back-end. + +Package: transmission-daemon +Architecture: any +Pre-Depends: adduser +Depends: ${shlibs:Depends}, transmission-common (= ${source:Version}), lsb-base (>= 3.0) +Replaces: transmission-cli (<< 1.40-1) +# moving transmission-remote to -cli +Recommends: transmission-cli (>= 1.50-1) +Description: lightweight BitTorrent client (daemon) + Transmission is a simple BitTorrent client. It features a very simple, + intuitive interface (gui and command-line) on top on an efficient, + cross-platform back-end. + . + This package contains the transmission-daemon and the associated control + interface, transmission-remote. --- transmission-1.75.orig/debian/compat +++ transmission-1.75/debian/compat @@ -0,0 +1 @@ +7 --- transmission-1.75.orig/debian/transmission-common.install +++ transmission-1.75/debian/transmission-common.install @@ -0,0 +1,3 @@ +usr/share/transmission/web +usr/share/pixmaps +debian/transmission.xpm usr/share/pixmaps --- transmission-1.75.orig/debian/transmission-qt.manpages +++ transmission-1.75/debian/transmission-qt.manpages @@ -0,0 +1 @@ +debian/qtr.1 --- transmission-1.75.orig/debian/transmission-cli.links +++ transmission-1.75/debian/transmission-cli.links @@ -0,0 +1 @@ +usr/share/doc/transmission-common usr/share/doc/transmission-cli --- transmission-1.75.orig/debian/transmission-qt.desktop +++ transmission-1.75/debian/transmission-qt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=Transmission BitTorrent Client (Qt) +GenericName=BitTorrent Client (Qt) +Comment=Download and share files over BitTorrent +Exec=qtr %F +Icon=transmission +Terminal=false +TryExec=qtr +Type=Application +MimeType=application/x-bittorrent; +Categories=Network;FileTransfer;P2P;Qt; --- transmission-1.75.orig/debian/transmission-daemon.install +++ transmission-1.75/debian/transmission-daemon.install @@ -0,0 +1,3 @@ +usr/bin/transmission-daemon +debian/settings.json etc/transmission-daemon +debian/README.json etc/transmission-daemon --- transmission-1.75.orig/debian/transmission-common.docs +++ transmission-1.75/debian/transmission-common.docs @@ -0,0 +1,2 @@ +README +AUTHORS --- transmission-1.75.orig/debian/settings.json +++ transmission-1.75/debian/settings.json @@ -0,0 +1,18 @@ +{ + "blocklist-enabled": 0, + "download-dir": "\/var\/lib\/transmission-daemon\/downloads", + "download-limit": 100, + "download-limit-enabled": 0, + "encryption": 1, + "max-peers-global": 200, + "peer-port": 51413, + "pex-enabled": 1, + "port-forwarding-enabled": 0, + "rpc-authentication-required": 1, + "rpc-password": "transmission", + "rpc-port": 9091, + "rpc-username": "transmission", + "rpc-whitelist": "127.0.0.1", + "upload-limit": 100, + "upload-limit-enabled": 0 +} --- transmission-1.75.orig/debian/transmission-qt.menu +++ transmission-1.75/debian/transmission-qt.menu @@ -0,0 +1,3 @@ +?package(transmission-qt):needs="X11" section="Applications/Network/File Transfer" \ + title="Transmission BitTorrent Client (Qt)" command="/usr/bin/qtr" \ + icon="/usr/share/pixmaps/transmission.xpm" --- transmission-1.75.orig/debian/transmission-common.examples +++ transmission-1.75/debian/transmission-common.examples @@ -0,0 +1 @@ +debian/examples/checkFinishedTransmissionDownloads.sh --- transmission-1.75.orig/debian/transmission-qt.mime +++ transmission-1.75/debian/transmission-qt.mime @@ -0,0 +1 @@ +application/x-bittorrent; qtr %s; description="Qt-based BitTorrent client"; test=test -n "$DISPLAY" --- transmission-1.75.orig/debian/transmission-gtk.manpages +++ transmission-1.75/debian/transmission-gtk.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/transmission.1 --- transmission-1.75.orig/debian/transmission-gtk.mime +++ transmission-1.75/debian/transmission-gtk.mime @@ -0,0 +1 @@ +application/x-bittorrent; transmission %s; description="GTK-based BitTorrent client"; test=test -n "$DISPLAY" --- transmission-1.75.orig/debian/watch +++ transmission-1.75/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts="uversionmangle=s/(b[0-9]+)$/~\1/" \ +http://download.m0k.org/transmission/files/transmission-(.*)\.tar\.bz2 debian uupdate --- transmission-1.75.orig/debian/transmission-common.README.debian +++ transmission-1.75/debian/transmission-common.README.debian @@ -0,0 +1,14 @@ +Transmission for Debian +-------------------------------------------------------------------------------- + +The upstream bug tracking system can be found at +http://trac.transmissionbt.com/ + +Mime Types +---------- +To make transmission your default torrent client add the following line to +your ~/.mailcap file: + +application/x-bittorrent; transmission %s + + -- Philipp Benner , Wed, 6 Feb 2008 09:07:37 +0100 --- transmission-1.75.orig/debian/transmission-daemon.postinst +++ transmission-1.75/debian/transmission-daemon.postinst @@ -0,0 +1,33 @@ +#!/bin/sh + +set -e + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +case "$1" in + configure|upgrade) + if getent passwd debian-transmission > /dev/null; then + if ! getent group debian-transmission > /dev/null; then + addgroup --system --quiet debian-transmission #fix for missing --group adduser call in 1.40-1 + fi + else + adduser --system --group --no-create-home --quiet debian-transmission + fi + + if ! dpkg-statoverride --list /var/lib/transmission-daemon/info > /dev/null ; then + dpkg-statoverride --quiet --update --add debian-transmission debian-transmission 4750 /var/lib/transmission-daemon/info + fi + + if ! dpkg-statoverride --list /var/lib/transmission-daemon/downloads > /dev/null ; then + dpkg-statoverride --quiet --update --add debian-transmission debian-transmission 4775 /var/lib/transmission-daemon/downloads + fi + + if ! dpkg-statoverride --list /etc/transmission-daemon/settings.json > /dev/null ; then + dpkg-statoverride --quiet --update --add debian-transmission debian-transmission 4750 /etc/transmission-daemon/settings.json + fi + ;; +esac + +#DEBHELPER# + +exit 0; --- transmission-1.75.orig/debian/transmission-qt.install +++ transmission-1.75/debian/transmission-qt.install @@ -0,0 +1,3 @@ +usr/bin/qtr +debian/transmission-qt.desktop usr/share/applications/ +debian/lintian/transmission-qt usr/share/lintian/overrides --- transmission-1.75.orig/debian/transmission-cli.manpages +++ transmission-1.75/debian/transmission-cli.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man1/transmissioncli.1 +debian/tmp/usr/share/man/man1/transmission-remote.1 --- transmission-1.75.orig/debian/transmission-qt.links +++ transmission-1.75/debian/transmission-qt.links @@ -0,0 +1 @@ +usr/share/doc/transmission-common usr/share/doc/transmission-qt --- transmission-1.75.orig/debian/transmission.xpm +++ transmission-1.75/debian/transmission.xpm @@ -0,0 +1,288 @@ +/* XPM */ +static char * transmission_gtk_xpm[] = { +"32 32 253 2", +" c None", +". c #CD5947", +"+ c #D2644B", +"@ c #D66B4E", +"# c #C7573E", +"$ c #A5A5A5", +"% c #9A9A9A", +"& c #828282", +"* c #8B817F", +"= c #C57056", +"- c #CC623E", +"; c #C84E28", +"> c #C6461C", +", c #BD380D", +"' c #981A01", +") c #AB7772", +"! c #B7B7B7", +"~ c #7B7B7B", +"{ c #8B8B8B", +"] c #9C9C9C", +"^ c #B0B0B0", +"/ c #B17867", +"( c #BC2803", +"_ c #BD2400", +": c #AF1A00", +"< c #AA1C00", +"[ c #911800", +"} c #C45948", +"| c #D6785D", +"1 c #CF704C", +"2 c #B4827A", +"3 c #C3C3C3", +"4 c #BCBCBC", +"5 c #CCCCCC", +"6 c #DADADA", +"7 c #CBBEBC", +"8 c #B42001", +"9 c #AE1900", +"0 c #A11500", +"a c #8C1300", +"b c #730C00", +"c c #CD6850", +"d c #D77959", +"e c #CA5C37", +"f c #C94212", +"g c #98230B", +"h c #D6D0D0", +"i c #E6E6E6", +"j c #F1F1F1", +"k c #F8F8F8", +"l c #F5F5F5", +"m c #9C341B", +"n c #9B1700", +"o c #820F00", +"p c #6E0900", +"q c #CC6346", +"r c #CA5B37", +"s c #BA350D", +"t c #BA2500", +"u c #BB2000", +"v c #A01800", +"w c #A67F7D", +"x c #FBFBFB", +"y c #EFEFEF", +"z c #DCDCDC", +"A c #B3B3B3", +"B c #7A342A", +"C c #6B0800", +"D c #600500", +"E c #99402F", +"F c #C44923", +"G c #B92903", +"H c #B62100", +"I c #B81C00", +"J c #B41C00", +"K c #A11800", +"L c #73362E", +"M c #D0D0D0", +"N c #ACACAC", +"O c #929292", +"P c #737373", +"Q c #573736", +"R c #919191", +"S c #BCA1A0", +"T c #AF2904", +"U c #AE1C00", +"V c #B72300", +"W c #A51900", +"X c #A41B00", +"Y c #7F1000", +"Z c #5A1914", +"` c #A6A6A6", +" . c #656565", +".. c #565656", +"+. c #4A4A4A", +"@. c #404040", +"#. c #434343", +"$. c #A1A1A1", +"%. c #9D9D9D", +"&. c #7A1F13", +"*. c #8B1500", +"=. c #7A0D00", +"-. c #710800", +";. c #670800", +">. c #580400", +",. c #4D3332", +"'. c #9E9E9E", +"). c #474747", +"!. c #3A3A3A", +"~. c #353535", +"{. c #383838", +"]. c #676767", +"^. c #808080", +"/. c #545454", +"(. c #454545", +"_. c #696969", +":. c #5E0400", +"<. c #8C8C8C", +"[. c #5F5F5F", +"}. c #313131", +"|. c #333333", +"1. c #414141", +"2. c #5D5D5D", +"3. c #818181", +"4. c #4C4C4C", +"5. c #464646", +"6. c #272727", +"7. c #6D6D6D", +"8. c #888888", +"9. c #525252", +"0. c #858585", +"a. c #767676", +"b. c #424242", +"c. c #3F3F3F", +"d. c #5B5B5B", +"e. c #6F6F6F", +"f. c #9F9F9F", +"g. c #757575", +"h. c #7E7E7E", +"i. c #ABABAB", +"j. c #BFBFBF", +"k. c #4D4D4D", +"l. c #939393", +"m. c #8F8F8F", +"n. c #575757", +"o. c #A3A3A3", +"p. c #C4C4C4", +"q. c #646464", +"r. c #5A5A5A", +"s. c #4F4F4F", +"t. c #707070", +"u. c #838383", +"v. c #7C7C7C", +"w. c #979797", +"x. c #A7A7A7", +"y. c #A0A0A0", +"z. c #C7C7C7", +"A. c #C8C8C8", +"B. c #C0C0C0", +"C. c #2F2F2F", +"D. c #797979", +"E. c #555555", +"F. c #2D2D2D", +"G. c #444444", +"H. c #4E4E4E", +"I. c #949494", +"J. c #C9C9C9", +"K. c #AEAEAE", +"L. c #5C5C5C", +"M. c #999999", +"N. c #909090", +"O. c #959595", +"P. c #CBCBCB", +"Q. c #2B2B2B", +"R. c #151515", +"S. c #CACACA", +"T. c #CDCDCD", +"U. c #141414", +"V. c #0A0A0A", +"W. c #CFCFCF", +"X. c #606060", +"Y. c #777777", +"Z. c #CECECE", +"`. c #AFAFAF", +" + c #686868", +".+ c #5E5E5E", +"++ c #595959", +"@+ c #8A8A8A", +"#+ c #D3D3D3", +"$+ c #DDDDDD", +"%+ c #E8E8E8", +"&+ c #E4E4E4", +"*+ c #262626", +"=+ c #B9B9B9", +"-+ c #323232", +";+ c #D4D4D4", +">+ c #D1D1D1", +",+ c #D7D7D7", +"'+ c #F2F2F2", +")+ c #B2B2B2", +"!+ c #2E2E2E", +"~+ c #191919", +"{+ c #D5D5D5", +"]+ c #D8D8D8", +"^+ c #BDBDBD", +"/+ c #7A7A7A", +"(+ c #515151", +"_+ c #585858", +":+ c #D2D2D2", +"<+ c #DBDBDB", +"[+ c #BEBEBE", +"}+ c #C6C6C6", +"|+ c #C1C1C1", +"1+ c #E7E7E7", +"2+ c #1E1E1E", +"3+ c #DEDEDE", +"4+ c #F7F7F7", +"5+ c #A2A2A2", +"6+ c #FCFCFC", +"7+ c #969696", +"8+ c #B6B6B6", +"9+ c #B5B5B5", +"0+ c #C5C5C5", +"a+ c #787878", +"b+ c #DFDFDF", +"c+ c #ECECEC", +"d+ c #7D7D7D", +"e+ c #626262", +"f+ c #FEFEFE", +"g+ c #FDFDFD", +"h+ c #EEEEEE", +"i+ c #D6D6D6", +"j+ c #BBBBBB", +"k+ c #EDEDED", +"l+ c #848484", +"m+ c #181818", +"n+ c #B1B1B1", +"o+ c #B4B4B4", +"p+ c #989898", +"q+ c #EAEAEA", +"r+ c #FFFFFF", +"s+ c #B8B8B8", +"t+ c #C2C2C2", +"u+ c #E2E2E2", +"v+ c #747474", +"w+ c #343434", +"x+ c #ADADAD", +"y+ c #868686", +"z+ c #BABABA", +"A+ c #8E8E8E", +"B+ c #3D3D3D", +"C+ c #1D1D1D", +"D+ c #111111", +" . + @ # ", +" $ % & * = - ; > , ' ", +" ) ! ~ { ] ^ / ( _ : < [ ", +" } | 1 2 3 4 5 6 7 8 9 0 a b ", +" c d e f g h i j k l m n o p ", +" q r s t u v w x y z A B C D ", +" E F G H I J K L M N O P Q ", +" R S T U V W X Y Z ` ...+.@.#.#.#. ", +" $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(. ", +" _. :. <.[.}.|.1.2.{.3.4.5. ", +" 6.6.7.8.1.4.9.0.{ @.a.+.). ", +" #.b.c.d.e.f.].g.h.i.j.% (.7.k. ", +" b.b...l.m.5.n.$ m.% $.o.3 p.q.q.r.s. ", +" #.#.8.%.t.u.v.P w.` x.$ y.z.A.B.C.D./.E. ", +" F.G.H.$ I.B.J.K.b.L.f.M.N.O.P.P.P.f.Q.v.n. ", +" R.5.k.S.5 5 T.P.U.V.<.v.t.r.S.W.M M X.X.Y.0. ", +" (.).$ Z.M M `.3. +.+++4.E.@+#+$+%+&+*+` o.=+ ", +" -+9.].M ;+;+;+;+>+++L.f.A _.,+'+'+'+)+!+J.)+>+ ", +" ~+.+k.N {+]+]+]+]+4 ^+z.M { 3.{+]+l l 2./+B.B. ", +" (+_+t.:+<+<+<+<+z [+}+|+<...!.,+k k 1+2+A.^ #+ ", +" F.t./.`.<+3+3+&+4+<+x.5+v.{.|.x 6+6+x 7+8+9+0+ ", +" P r.a+#+b+c+6+1+& d+d+e+6.a+f+g+h+i+3 ^ j+A ", +" (.h.q.j+'+f+f+k+|+K.l+k.m+B.j P.4 n+A M o+.. ", +" % p+^ q+r+r+r+r+r+r+k W.S.n+K.A }+p.D. ", +" e+j.^ T.g+r+r+r+r+l T.^ ^ o+j+z.O.#. ", +" Q.s+A 9+%+r+r+l Z.`.)+o+9+z.N L. ", +" D.t+A ! u+P.n+`.^ ^ z.4 v+ ", +" w+^+)+o+i.x+`.A p.0+8.c. ", +" y+j+n+o+A j.3 ] /. ", +" -+j+4 [+z+A+r. ", +" B+[...!.C+ ", +" D+ "}; --- transmission-1.75.orig/debian/transmission-gtk.links +++ transmission-1.75/debian/transmission-gtk.links @@ -0,0 +1 @@ +usr/share/doc/transmission-common usr/share/doc/transmission-gtk --- transmission-1.75.orig/debian/transmission-cli.install +++ transmission-1.75/debian/transmission-cli.install @@ -0,0 +1,2 @@ +usr/bin/transmissioncli +usr/bin/transmission-remote --- transmission-1.75.orig/debian/README.json +++ transmission-1.75/debian/README.json @@ -0,0 +1,6 @@ +Currently transmission overwrites the settings.json configuration file +on exit. This means any changes made manually to the file while +transmission's running will be silently ignored. + +This is a know problem being currently worked on and it's reported here: +http://bugs.debian.org/539936 --- transmission-1.75.orig/debian/transmission.links +++ transmission-1.75/debian/transmission.links @@ -0,0 +1 @@ +usr/share/doc/transmission-common usr/share/doc/transmission --- transmission-1.75.orig/debian/rules +++ transmission-1.75/debian/rules @@ -0,0 +1,177 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall -g + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# DEB_BUILD_OPTIONS +################################################################################ + +# noop +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += --ggdb3 +endif + +# parallel +ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS))) + TRANSMISSION_MAKEFLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) +endif + +# nostrip is handled by dh_strip + +################################################################################ + +config: config-stamp +config-stamp: + dh_testdir + + if [ -r /usr/share/misc/config.sub ] && [ ! -f config.sub.backup ]; then \ + mv -v config.sub config.sub.backup; \ + cp -f /usr/share/misc/config.sub $(CURDIR)/config.sub; \ + fi + + if [ -r /usr/share/misc/config.guess ] && [ ! -f config.guess.backup ]; then \ + mv -v config.guess config.guess.backup; \ + cp -f /usr/share/misc/config.guess $(CURDIR)/config.guess; \ + fi + + touch $@ + +config-clean: + dh_testdir + dh_testroot + + if [ -f config.sub.backup ]; then \ + mv -fv config.sub.backup config.sub; \ + fi + + if [ -f config.guess.backup ]; then \ + mv -fv config.guess.backup config.guess; \ + fi + + $(RM) config-stamp + +configure: patch configure-stamp +#configure: configure-stamp +configure-stamp: + dh_testdir + + ./configure \ + --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr \ + --mandir=/usr/share/man \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs,--as-needed" + + # Qt client + ( cd qt && qmake-qt4 qtr.pro ) + + touch $@ + +build: config build-stamp +build-stamp: configure + dh_testdir + + $(MAKE) $(TRANSMISSION_MAKEFLAGS) + + # Qt client + ( cd qt && $(MAKE) ) + + touch $@ + +distclean: +# # touch config.status to prevent execution of autoconf + [ ! -f Makefile ] || ( touch config.status && $(MAKE) distclean ) + +clean: config-clean distclean unpatch +#clean: config-clean distclean + dh_testdir + dh_testroot + + # QT client + [ ! -f qt/Makefile ] || ( cd qt && $(MAKE) clean ) + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + # Qt client + ( cd qt && INSTALL_ROOT=$(CURDIR)/debian/tmp/usr $(MAKE) install ) + +# # clean RPATH from transmission binary (costela - 2007-10-27) + chrpath -d $(CURDIR)/debian/tmp/usr/bin/transmission + chrpath -d $(CURDIR)/debian/tmp/usr/bin/transmission-daemon + chrpath -d $(CURDIR)/debian/tmp/usr/bin/transmission-remote + chrpath -d $(CURDIR)/debian/tmp/usr/bin/transmissioncli + +UPSTREAM_VERSION=$(shell dpkg-parsechangelog | perl -ne '{ print $$1."\n" if /Version: (.*)-.*/; }') + +transmission-$(UPSTREAM_VERSION).tar.bz2: + [ ! -f transmission-$(UPSTREAM_VERSION).tar.gz ] \ + && wget http://download.m0k.org/transmission/files/transmission-$(UPSTREAM_VERSION).tar.bz2 +transmission-$(UPSTREAM_VERSION): transmission-$(UPSTREAM_VERSION).tar.bz2 + tar -xjf transmission-$(UPSTREAM_VERSION).tar.bz2 +transmission_$(UPSTREAM_VERSION).orig.tar.gz: transmission-$(UPSTREAM_VERSION) + tar -cf - transmission-$(UPSTREAM_VERSION) | gzip -9 > transmission_$(UPSTREAM_VERSION).orig.tar.gz +get-orig-source: transmission_$(UPSTREAM_VERSION).orig.tar.gz + $(RM) transmission-$(UPSTREAM_VERSION).tar.bz2 + $(RM) -r transmission-$(UPSTREAM_VERSION) + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_link -i + dh_installchangelogs -p transmission-common NEWS + dh_installdocs -p transmission-common + dh_installexamples -p transmission-common + dh_install -i -X LICENSE # extra copy in web dir - costela 2008-08-15 + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_link -a + dh_installinit -a + dh_installmenu -a + dh_installman -a + dh_installmime -a + dh_install --list-missing -a + dh_icons -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: config config-clean configure build clean binary-indep binary-arch binary install --- transmission-1.75.orig/debian/transmission-daemon.links +++ transmission-1.75/debian/transmission-daemon.links @@ -0,0 +1,2 @@ +usr/share/doc/transmission-common usr/share/doc/transmission-daemon +etc/transmission-daemon/settings.json var/lib/transmission-daemon/info/settings.json --- transmission-1.75.orig/debian/transmission-daemon.manpages +++ transmission-1.75/debian/transmission-daemon.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/transmission-daemon.1 --- transmission-1.75.orig/debian/transmission-gtk.install +++ transmission-1.75/debian/transmission-gtk.install @@ -0,0 +1,5 @@ +usr/bin/transmission +usr/share/locale +usr/share/applications +usr/share/icons +debian/lintian/transmission-gtk usr/share/lintian/overrides --- transmission-1.75.orig/debian/README.source +++ transmission-1.75/debian/README.source @@ -0,0 +1,2 @@ +This package is managed using quilt, please read: +/usr/share/doc/quilt/README.source --- transmission-1.75.orig/debian/transmission-daemon.init +++ transmission-1.75/debian/transmission-daemon.init @@ -0,0 +1,69 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: transmission-daemon +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start or stop the transmission-daemon. +### END INIT INFO + +NAME=transmission-daemon +DAEMON=/usr/bin/$NAME +USER=debian-transmission +# FIXME: no pidfile support; forks, so --make-pidfile doesn't work either +#PIDFILE=/var/run/$NAME.pid +STOP_TIMEOUT=3 + +[ -x $DAEMON ] || exit 0 + +[ -e /etc/default/$NAME ] && . /etc/default/$NAME + +. /lib/lsb/init-functions + +start_daemon () { + if [ $ENABLE_DAEMON != 1 ]; then + log_progress_msg "(disabled, see /etc/default/${NAME})" + else + start-stop-daemon --start \ + --chuid $USER \ + --exec $DAEMON -- $OPTIONS + fi +} + +case "$1" in + start) + log_daemon_msg "Starting bittorrent daemon" "$NAME" + start_daemon + log_end_msg 0 + ;; + stop) + log_daemon_msg "Stopping bittorrent daemon" "$NAME" + start-stop-daemon --stop --quiet \ + --exec $DAEMON --retry $STOP_TIMEOUT \ + --oknodo + log_end_msg 0 + ;; + reload) + log_daemon_msg "Reloading bittorrent daemon" "$NAME" + start-stop-daemon --stop --quiet \ + --exec $DAEMON \ + --oknodo --signal 1 + log_end_msg 0 + ;; + restart|force-reload) + log_daemon_msg "Restarting bittorrent daemon" "$NAME" + start-stop-daemon --stop --quiet \ + --exec $DAEMON --retry $STOP_TIMEOUT \ + --oknodo + start_daemon + log_end_msg 0 + ;; + *) + echo "Usage: /etc/init.d/$NAME {start|stop|reload|force-reload|restart}" + exit 2 + ;; +esac + +exit 0 + --- transmission-1.75.orig/debian/copyright +++ transmission-1.75/debian/copyright @@ -0,0 +1,146 @@ +This package was downloaded from http://download.m0k.org/transmission/files/ + +Files: * +Copyright: © 2005-2007 Transmission authors and contributors +License: MIT + 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. + +Files: libtransmission/ConvertUTF.* +Copyright: © 2001-2004 Unicode, Inc +Licence: other + Disclaimer + . + This source code is provided as is by Unicode, Inc. No claims are + made as to fitness for any particular purpose. No warranties of any + kind are expressed or implied. The recipient agrees to determine + applicability of information provided. If this file has been + purchased on magnetic or optical media from Unicode, Inc., the + sole remedy for any claim will be exchange of defective media + within 90 days of receipt. + . + Limitations on Rights to Redistribute This Code + . + Unicode, Inc. hereby grants the right to freely use the information + supplied in this file in the creation of products supporting the + Unicode Standard, and to make copies of this file in any form + for internal or external distribution as long as this notice + remains attached. + +Files: libtransmission/JSON_parser.* +Copyright: © 2006 JSON.org +Licence: MIT + 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. + +Files: libtransmission/bencode.*, libtransmission/blocklist.*, + libtransmission/clients.*, libtransmission/crypto.*, + libtransmission/handshake.*, libtransmission/inout.*, + libtransmission/json.*, libtransmission/list.*, + libtransmission/makemeta.*, libtransmission/natpmp.*, + libtransmission/peer-*, libtransmission/platform.*, + libtransmission/port-forwarding.*, libtransmission/ptrarray.*, + libtransmission/publish.*, libtransmission/resume.*, + libtransmission/rpc*, libtransmission/session.*, + libtransmission/stats.*, libtransmission/torrent-ctor.*, + libtransmission/tr-getopt.*, libtransmission/tracker.*, + libtransmission/trevent.*, libtransmission/upnp.*, + gtk/actions.*, gtk/add-dialog.*, gtk/details.*, gtk/hig.*, + gtk/makemeta-ui.*, gtk/msgwin.*, gtk/notify.*, gtk/stats.*, + gtk/torrent-cell-renderer.*, gtk/tr-icon.*, gtk/tr-prefs.*, + gtk/tracker-list.*, + daemon/daemon.c, daemon/remote.c, + wx/* +Copyright: © 2007-2008 Charles Kerr +License: GPL-2 + This file is licensed by the GPL version 2. Works owned by the + Transmission project are granted a special exemption to clause 2(b) + so that the bulk of its code can remain under the MIT license. + This exemption does not extend to derived works not owned by + the Transmission project. + +Files: gtk/sexy-icon-entry.* +Copyright: © 2004-2006 Christian Hammond +Licence: LGPL-2+ + On Debian GNU/Linux systems, the complete text of the GNU Lesser + General Public License can be found in + `/usr/share/common-licenses/LGPL-2'. + +Files: libtransmission/ggets.* +Copyright: © 2002 C. B. Falconer +Licence: PD + attribution appreciated + +Files: third-party/libevent/* +Copyright: © 2002-2004 Niels Provos +License: MIT (3-clause version) + +Files: third-party/libevent/evdns.c +Copyright: © 2006 Adam Langley +License: PD + This software is Public Domain. To view a copy of the public domain dedication, + visit http://creativecommons.org/licenses/publicdomain/ or send a letter to + Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. + . + I ask and expect, but do not require, that all derivative works contain an + attribution similar to: + Parts developed by Adam Langley + +Files: third-party/libevent/evport.* +Copyright: © 2006 Sun Microsystems +License: MIT (3-clause version) + +Files: third-party/libevent/log.c +Copyright: © 2005 Nick Mathewson , + 2000 Dug Song , + 1993 The Regents of the University of California +License: MIT (3-clause version) + +Files: third-party/libevent/strlcpy.* +Copyright: © 1998 Todd C. Miller +License: MIT (3-clause version) + +Files: debian/examples/checkFinishedTransmissionDownloads.sh +Copyright: © 2009 Alexander Galanin +Licence: Public Domain + +Files: debian/* +Copyright: © 2006-2007 Philipp Benner , + Leo "costela" Antunes +License: GPL-2+ + The Debian packaging information is under the GPL, version 2 or later. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL' and the +complete text of the GNU Lesser General Public License can be found in +`/usr/share/common-licenses/LGPL'. --- transmission-1.75.orig/debian/changelog +++ transmission-1.75/debian/changelog @@ -0,0 +1,451 @@ +transmission (1.75-1) unstable; urgency=low + + * new upstream release + - fixes UTF-8 string truncation (closes: #547423) + * debian/watch: mangle the "b[0-9]+" suffix, used sometimes to mark + beta versions. Should avoid DEHS thinking there's a new release. + * debian/lintian: add comments to the overrides + + -- Leo Costela Sun, 20 Sep 2009 22:49:12 +0200 + +transmission (1.74-1) unstable; urgency=low + + * new upstream release + - update miniupnp scripts (closes: #539098) + * debian/patches: drop miniupnp patch (see above: fixed upstream) + * debian/watch: remove old dfsg mangle, check only bz2 (upstream + stopped using gz and is using only bz2/lzma) + * debian/control: bump policy to 3.8.3 (no changes) + * debian/README.source: added to shut lintian up + + -- Leo Costela Wed, 02 Sep 2009 00:58:14 +0200 + +transmission (1.73-5) unstable; urgency=low + + * debian/rules: patch before configure + * debian/patches: add patch to not build libevent, regardless of + linking (really, really closes: #537868) + * debian/changelog: fix dates + + -- Leo Costela Sat, 25 Jul 2009 20:20:23 +0200 + +transmission (1.73-4) unstable; urgency=low + + * debian/patches: oops, hadn't seen the libnatpmp part of the + problem... (really closes: #537868) + + -- Leo Costela Thu, 23 Jul 2009 13:10:47 +0200 + +transmission (1.73-3) unstable; urgency=low + + * debian/patches/series: actually add the patch to make the qt + version use the system-wide libevent. (closes: #537868) + + -- Leo Costela Thu, 23 Jul 2009 11:33:32 +0200 + +transmission (1.73-2) unstable; urgency=low + + * debian/{rules,control,transmission-qt.*}: build Qt client in + transmission-qt (closes: #528074) + + -- Leo Costela Sun, 19 Jul 2009 19:11:05 +0200 + +transmission (1.73-1) unstable; urgency=low + + * New upstream release + - Fix bug where user-configured peer limits could be exceeded + (closes: #535346) + - fix rounding issues (closes: #536677) + - fix creation of torrent files with cli interface (closes: #533609) + * debian/patches: fix build issue by escaping slash in updateminiupnp.sh + * debian/rules: remove deprecated dh_desktop + + -- Leo Costela Sun, 19 Jul 2009 17:37:35 +0200 + +transmission (1.72-1) unstable; urgency=low + + * new upstream release: (closes:#533423) + - Can now sort the file list by priority, download, and completeness + (closes: #517872) + - fixed race condition adding file from browser (closes: #500195) + * debian/control: policy 3.8.2 (no changes) + + -- Leo Costela Wed, 17 Jun 2009 22:47:27 +0200 + +transmission (1.71-1) unstable; urgency=low + + * new upstream release: (closes:#532007) + - uses system-wide libevent, if available (closes: #529372) + - transmission-remote now returns !0 on error (closes: #526703) + - fixed torrent adding in the web interface (closes: #529717) + - fix properties screen (closes: #530669) + - javascript speed fixes (closes: #531162) + * debian/transmission-daemon.default: comment typo (closes: #528253) + + -- Leo Costela Wed, 10 Jun 2009 22:46:01 +0200 + +transmission (1.61-2) unstable; urgency=low + + * debian/patches: remove ipv6.patch, was causing other problems + + -- Leo Costela Sun, 17 May 2009 19:39:51 +0200 + +transmission (1.61-1) unstable; urgency=low + + * new upstream release: fixes potential security hole for web clients + * debian/patches: remove pt_BR.patch, included upstream + + -- Leo Costela Tue, 12 May 2009 12:55:53 +0200 + +transmission (1.60-2) unstable; urgency=low + + * debian/rules: actually add the example script to transmission-common + * debian/copyright: add example script copyright + + -- Leo Costela Sun, 10 May 2009 18:11:55 +0200 + +transmission (1.60-1) unstable; urgency=low + + * new upstream release + * debian/{rules,control}: add quilt support + * debian/patches: + - include fix to pt_BR translation (thanks Flamarion Jorge) + (closes: #525944) + - include fix for ipv6 (thanks Peng tao) (closes: #526256) + * debian/transmission-cli.examples: add email script by Alexander + Galanin (closes: #526876) + * debian/control: bump policy to 3.8.1 (no changes) + + -- Leo Costela Sun, 10 May 2009 14:11:57 +0200 + +transmission (1.52-1) unstable; urgency=low + + * new upstream release + - fixes creation of spurious Downloads dir (closes: #518792) + * debian/control: + - transmission-cli Suggests both transmission and transmission-daemon + * debian/transmission-daemon.default: minor comment correction + + -- Leo Costela Thu, 23 Apr 2009 10:11:34 +0200 + +transmission (1.51-1) unstable; urgency=low + + * new upstream release (closes: #518094) + + -- Leo Costela Thu, 05 Mar 2009 16:31:41 +0100 + +transmission (1.50-1) unstable; urgency=low + + * new upstream release (closes: #510743) + * debian/control, + debian/transmission-cli.install, + debian/transmission-daemon.install: move transmission-remote to + transmission-cli package (closes: #511572) + * debian/control: + - strip the "XS" prefix and use the official DM field name + - changed build-dep on libcurl to "libcurl4-dev | libcurl-dev" + + -- Leo Costela Sun, 22 Feb 2009 14:28:40 +0100 + +transmission (1.40-5) unstable; urgency=low + + * debian/transmission-daemon.{links,install}: fix the conf link + (closes: #508750) + * debian/transmission-daemon.preinst: add workaround for old configs + in /var/lib/transmission-daemon/info + * debian/transmission-daemon.postrm: add cleanup for /var/lib/ dirs on + purge + + -- Leo Costela Sun, 15 Dec 2008 16:46:47 +0100 + +transmission (1.40-4) unstable; urgency=low + + * debian/transmission-daemon.init: add forgotten --retry in restart action + (closes: #508718) + + -- Leo Costela Sun, 14 Dec 2008 18:50:40 +0100 + +transmission (1.40-3) unstable; urgency=low + + * debian/transmission-daemon.postinst: fix copy/paste error (closes: #508310) + + -- Leo Costela Tue, 09 Dec 2008 22:28:24 +0100 + +transmission (1.40-2) unstable; urgency=low + + * debian/transmission-daemon.postinst: add --group to adduser call + and add workaround for the lack of the flag in 1.40-1 (closes: #507766) + * debian/control: make transmission-cli recommend transmission-daemon, + instead of depending + * debian/transmission-daemon.init: add --retry to stop action to avoid + race condition during install + + -- Leo Costela Thu, 04 Dec 2008 13:54:19 +0100 + +transmission (1.40-1) unstable; urgency=low + + * New upstream release (closes: #505846) + - No longer re-download parts unnecessarily (closes: #500971) + - badwidth limit code rewritten (closes: #495693) + * debian/control: + - added transmission-gtk Recommends on xdg-utils (closes: #497978) + - separated transmission-daemon package (closes: #503744) + - added "Replaces: transmission-cli" to daemon package + - added intltool build-dep + - remove "free" from short description (it's in main, that's redundant) + * added initscript for the daemon (closes: #503961) + + -- Leo Costela Sun, 16 Nov 2008 14:54:12 +0100 + +transmission (1.34-1) unstable; urgency=low + + * New upstream release (closes: #499851) + * debian/{rules,control,patches}: removed patch added on last upload (since + I already messed up uploading a new version to unstable, might as well + keep it up-to-date) + + -- Leo Costela Sun, 12 Oct 2008 18:01:20 +0200 + +transmission (1.33-2) unstable; urgency=low + + * debian/rules: add quilt patch support + * debian/control: add build-dep on quilt + * debian/patches/rev_6749.diff: Backport fix for memory leak + (closes: #499828) + + -- Leo Costela Mon, 22 Sep 2008 22:47:32 +0200 + +transmission (1.33-1) unstable; urgency=low + + * New upstream release (Closes: #496325) + + -- Leo Costela Mon, 25 Aug 2008 00:45:34 +0200 + +transmission (1.32-1) unstable; urgency=low + + * New upstream release (Closes: #494438, #487355) + * debian/rules, debian/transmissioncli.{install,manpages}: + - transmission-proxy is no longer shipped + - add --as-needed to LDFLAGS + * debian/transmission-common.install: add web directory + (including upstream jquery since it includes plugins not available + in libjs-jquery) + * debian/copyright: updates from upstream and corrections (many GPL + files had Licence:MIT fields) (thanks Kevin Bortis for the heads-up) + + -- Leo Costela Fri, 15 Aug 2008 19:33:02 +0200 + +transmission (1.22-1) unstable; urgency=low + + * New upstream release (Closes: #486274) + * debian/control: policy 3.8.0 (no changes) + + -- Leo Costela Fri, 20 Jun 2008 11:48:30 +0200 + +transmission (1.21-1) unstable; urgency=low + + * New upstream release (Closes: #482539) + * Leo Costela is now the official maintainer + * Mentioning the upstream bts in README.debian (Closes: #466761) + + -- Philipp Benner Tue, 03 Jun 2008 19:09:22 +0200 + +transmission (1.20-1) unstable; urgency=low + + * new upstream release (closes: #481065): + - add build-dep on libcurl-dev + * debian/transmission-gtk.menu: better describe menu item (closes: #478212) + * debian/control, debian/compat: bump debhelper v7 + * debian/rules: + - some small changes and cleanups for debhelper v7, preparing for a + possible migration to dh + - add dh_icon (from Ubuntu, thanks Fávio Martins) + * debian/transmission-gtk.install: added usr/share/icons (see above) + + -- Leo Costela Fri, 16 May 2008 18:05:32 +0200 + +transmission (1.11-1) unstable; urgency=low + + * new upstream release + + -- Leo Costela Sun, 06 Apr 2008 15:00:37 +0200 + +transmission (1.10-1) unstable; urgency=low + + * new upstream release + + -- Leo Costela Tue, 01 Apr 2008 23:11:06 +0200 + +transmission (1.06-1) unstable; urgency=low + + * new upstream release + + -- Leo Costela Mon, 10 Mar 2008 23:58:46 +0100 + +transmission (1.05-1) unstable; urgency=low + + * new upstream release + + -- Leo Costela Wed, 13 Feb 2008 16:44:52 +0100 + +transmission (1.04-1) unstable; urgency=low + + * new upstream release + + -- Leo Costela Tue, 05 Feb 2008 01:22:33 +0100 + +transmission (1.02-1) unstable; urgency=low + + * New upstream release (Closes: #461237, #461778, #460319). + + -- Philipp Benner Wed, 23 Jan 2008 13:08:22 +0100 + +transmission (1.00-1) unstable; urgency=low + + * New upstream release + (Closes: #458942, #457825, #458202, #452440, #456038, #454802, #458075). + * updated maintainer email + * debian/patches: removed unneeded patches (dealt with DSFG dirs, see below) + * debian/control: + - updated upstream homepage + - add DM-upload:yes + * debian/rules: + - update get-orig-source to not remove dirs, DFSG status resolved + upstream + - don't rename transmissioncli manpage, renamed upstream + + -- Philipp Benner Sat, 05 Jan 2008 09:16:52 +0100 + +transmission (0.96.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #456228). + * Added transmission-gtk.mime (Closes: #454801). + * Fixed typo (Closes: #456036). + + -- Philipp Benner Sat, 15 Dec 2007 20:42:31 +0100 + +transmission (0.95.dfsg-2) unstable; urgency=low + + * add transmission-common package, to avoid duplication on files + * install NEWS as changelog + * rename README.Debian-source to README.debian (for consistency), document + current open bug about licence issues + * registering transmission to handle torrent files (Closes: #454801) + (Philipp Benner) + * improved portability (Philipp Benner) + + -- Leo Costela Thu, 06 Dec 2007 00:46:50 +0100 + +transmission (0.95.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #454127). + * debian/copyright: convert to UTF-8 (Leo "costela" Antunes) + + -- Philipp Benner Wed, 05 Dec 2007 14:37:05 +0100 + +transmission (0.93.dfsg-2) unstable; urgency=low + + * Added missing build-dependency (python). + * debian/control: switching to Homepage, Vcs-Browser and Vcs-Svn official + fields (Leo "costela" Antunes) + + -- Philipp Benner Thu, 22 Nov 2007 12:37:14 +0100 + +transmission (0.93.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #450522, #450778). + * Support for binary-indep target. + + -- Philipp Benner Fri, 16 Nov 2007 18:01:47 +0100 + +transmission (0.91.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #448516). + * Using manpages from source package. + + -- Philipp Benner Mon, 29 Oct 2007 19:53:02 +0100 + +transmission (0.90.dfsg-2) unstable; urgency=low + + * Updated manuals. + * Converted copyright file to machine interpretable format. + * Fixed debian/watch (making file extention group non-capturing) + + -- Philipp Benner Sat, 27 Oct 2007 11:05:46 +0200 + +transmission (0.90.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #447444, #447905). + * debian/watch: check for both gz and bz2 archives (Leo "costela" Antunes) + * debian/*.manpages: copied manpages from 0.82 into debian dir, since + upstream didn't release them this time, for some reason (Leo "costela" + Antunes) + * debian/rules: add $(CURDIR) to 'make install' call and corrected dir + (transmission to tmp), remove RPATH definition from transmission binary + (Leo "costela" Antunes) + * debian/control: add chrpath build-dep + * debian/transmission-cli.*: binary upstream rename from transmissioncli to + transmission-cli (Leo "costela" Antunes) + * debian/transmission-gtk.*: binary upstream rename from transmission-gtk to + transmission (perhaps this will generate some confusion with the package + names) (Leo "costela" Antunes) + + -- Philipp Benner Fri, 26 Oct 2007 16:02:39 +0200 + +transmission (0.82.dfsg-1) unstable; urgency=low + + * New upstream release (Closes: #441886) + * including transmission deamon tools (Closes: #441072) + * updated get-orig-source target + * removed debtags from debian/control + * added homepage tag to debian/conrtol + * removed README.Debian + + -- Philipp Benner Sat, 15 Sep 2007 18:58:42 +0200 + +transmission (0.81.dfsg-1) unstable; urgency=low + + * New upstream release + + -- Leo Costela Fri, 31 Aug 2007 12:38:13 +0200 + +transmission (0.80.dfsg-1) unstable; urgency=low + + * New upstream release (closes: #437512) + * debian/menu: change section from Apps to Applications, according to new + policy + + -- Leo Costela Tue, 21 Aug 2007 01:33:40 +0200 + +transmission (0.72.dfsg-1) unstable; urgency=low + + * new upstream release + + -- Philipp Benner Tue, 1 May 2007 12:23:49 +0200 + +transmission (0.71.dfsg-1) unstable; urgency=low + + * new upstream release (Closes: #419970, #421145) + * transmission-cli and transmission-gtk have to replace old transmission + + package (Closes: #421196) + * making the build process more verbose + * patched the version.sh script to run without excluded directories + * destdir patch for makefiles no longer required + + -- Philipp Benner Fri, 27 Apr 2007 19:37:05 +0200 + +transmission (0.6.1.dfsg-2) unstable; urgency=low + + * new desktop file and xpm icon (Closes: #394464) + * watchfile version mangle for debian version + * distributing command line and gui client in separated binary packages + (Closes: 415140) + + -- Philipp Benner Wed, 4 Apr 2007 14:17:18 +0200 + +transmission (0.6.1.dfsg-1) unstable; urgency=low + + * Initial release (Closes: #358878) + + -- Philipp Benner Tue, 29 Aug 2006 20:50:41 +0200 + --- transmission-1.75.orig/debian/transmission-daemon.default +++ transmission-1.75/debian/transmission-daemon.default @@ -0,0 +1,11 @@ +# defaults for transmission-daemon +# sourced by /etc/init.d/transmission-daemon + +# change to 0 to disable daemon +ENABLE_DAEMON=1 + +# this directory stores some runtime information, like torrent files and config +CONFIG_DIR="/var/lib/transmission-daemon/info" + +# default options for daemon, see transmission-daemon(1) for more options +OPTIONS="--auth --config-dir $CONFIG_DIR" --- transmission-1.75.orig/debian/transmission-daemon.dirs +++ transmission-1.75/debian/transmission-daemon.dirs @@ -0,0 +1,2 @@ +/var/lib/transmission-daemon/info +/var/lib/transmission-daemon/downloads --- transmission-1.75.orig/debian/transmission-daemon.preinst +++ transmission-1.75/debian/transmission-daemon.preinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +test $DEBIAN_SCRIPT_DEBUG && set -v -x + +case "$1" in + configure|upgrade) + # Workaround for conffile messup pre-1.40-5. + # The explicit readlink comparison is necessary because of yet + # another error on my part (forgot the "info" subdir on 1.40-4). + # costela - 2008-12-15 + LIB_SETTINGS=/var/lib/transmission-daemon/info/settings.json + ETC_SETTINGS=/etc/transmission-daemon/settings.json + if [ -f $LIB_SETTINGS -a -L $ETC_SETTINGS -a \( $LIB_SETTINGS -ef $ETC_SETTINGS -o "$(readlink $ETC_SETTINGS)" = "/var/lib/transmission-daemon/settings.json" \) ]; then + rm $ETC_SETTINGS + cp -pf $LIB_SETTINGS $ETC_SETTINGS + fi + ;; +esac + +#DEBHELPER# + +exit 0; --- transmission-1.75.orig/debian/transmission-gtk.menu +++ transmission-1.75/debian/transmission-gtk.menu @@ -0,0 +1,3 @@ +?package(transmission-gtk):needs="X11" section="Applications/Network/File Transfer" \ + title="Transmission BitTorrent Client (GTK)" command="/usr/bin/transmission" \ + icon="/usr/share/pixmaps/transmission.xpm" --- transmission-1.75.orig/debian/lintian/transmission-gtk +++ transmission-1.75/debian/lintian/transmission-gtk @@ -0,0 +1,2 @@ +# the icon is provided in transmission-common +transmission-gtk: menu-icon-missing /usr/share/pixmaps/transmission.xpm --- transmission-1.75.orig/debian/lintian/transmission-qt +++ transmission-1.75/debian/lintian/transmission-qt @@ -0,0 +1,2 @@ +# the icon is provided in transmission-common +transmission-qt: menu-icon-missing /usr/share/pixmaps/transmission.xpm --- transmission-1.75.orig/debian/examples/checkFinishedTransmissionDownloads.sh +++ transmission-1.75/debian/examples/checkFinishedTransmissionDownloads.sh @@ -0,0 +1,121 @@ +#!/bin/sh + +# Script that checks for finished downloads in Transmission and +# sends email to a specified user. +# This code placed into public domain + +# Requires: +# GNU mailutils | bsd-mailx (does not work with heirloom-mailx) +# lockfile-progs +# transmission-cli + +# History: +#---------------------------------------------------------------------------- +# Date | Author | Description | +#---------------------------------------------------------------------------- +# 04 May 2009 | A.Galanin | Creation | +# 04 May 2009 | A.Galanin | Usage moved before locking| +#---------------------------------------------------------------------------- + +# default configuration options +# put it into config file ~/.checkFinishedTransmissionDownloads/config +HOST=localhost +PORT=9091 + +RPC_AUTH=1 +USER=username +PASS=password + +MAILTO=root +FROM=torrent-checker +MAIL_CONTENT="Downloading of \"%s\" has been finished.\nGo to %s to make an approriate action.\n" + +#------------------------------------------------------------------------------ + +# files +FILEPATH="$HOME/.checkFinishedTransmissionDownloads" +CONFIG_FILE="$FILEPATH/config" +NOTIFY_FILE="$FILEPATH/notified" +ALL_FILE="/tmp/checkFinishedTransmissionDownloads.all" +TMP_FILE="/tmp/checkFinishedTransmissionDownloads.tmp" +LOCK_FILE="/tmp/checkFinishedTransmissionDownloads" + +[ -f "$CONFIG_FILE" ] && . "$CONFIG_FILE" + +#------------------------------------------------------------------------------ + +# Call transmission-remote with corresponding parameters +callTransmission () { + if [ "$RPC_AUTH" -eq 0 ] + then + transmission-remote "$HOST":"$PORT" "$@" + else + transmission-remote "$HOST":"$PORT" -N "$TMP_FILE" "$@" + fi +} + +# Remove lock and temporary files, exit with code $1 +exitAndClean () { + kill "$LOCK_PID" + lockfile-remove "$LOCK_FILE" + rm -f "$TMP_FILE" "$ALL_FILE" + + exit "$1" +} + +# initialization +if [ $# != 0 ] +then + echo "$0: check for finished downloads in Transmission" + echo "USAGE: $0" + exit 1 +fi + +lockfile-create "$LOCK_FILE" || (echo "Unable to lock lockfile!"; exitAndClean 2) +lockfile-touch "$LOCK_FILE" & +LOCK_PID="$!" + +trap "exitAndClean 1" HUP INT QUIT KILL + +mkdir -p "$FILEPATH" +touch "$NOTIFY_FILE" "$TMP_FILE" +echo -n > "$ALL_FILE" +chmod 600 "$TMP_FILE" "$ALL_FILE" +# generate netrc file for RPC authorisation +printf "machine %s\nlogin %s\npassword %s\n" "$HOST" "$USER" "$PASS" > "$TMP_FILE" + +# main +callTransmission -l | gawk '{ + if ($1 != "Sum:" && $1 != "ID") { + print $1,$2 + } +}' | while read id percent +do + reply="`callTransmission -t "$id" -i | grep -E '^ Name|^ Hash'`" + + name="`echo "$reply" | grep '^ Name' | cut -c 9-`" + hash="`echo "$reply" | grep '^ Hash' | cut -c 9-`" + + # check that notification is not yet sent + grep -q "$hash" "$NOTIFY_FILE" + if [ $? = 1 -a "$percent" = "100%" ] + then + printf "$MAIL_CONTENT" "$name" "http://$HOST:$PORT/" | \ + mailx $MAILTO -s "Torrents info: $name" -a "From: $FROM" + echo "$hash" >> "$NOTIFY_FILE" + fi + echo "$hash" >> "$ALL_FILE" +done + +# remove deleted torrents from sent notifications list +sort "$NOTIFY_FILE" > "$TMP_FILE" +mv "$TMP_FILE" "$NOTIFY_FILE" + +sort "$ALL_FILE" > "$TMP_FILE" +mv "$TMP_FILE" "$ALL_FILE" + +comm -1 -2 "$NOTIFY_FILE" "$ALL_FILE" > "$TMP_FILE" +mv "$TMP_FILE" "$NOTIFY_FILE" + +exitAndClean 0 + --- transmission-1.75.orig/debian/patches/libnatpmp_freebsd_ftbfs.patch +++ transmission-1.75/debian/patches/libnatpmp_freebsd_ftbfs.patch @@ -0,0 +1,11 @@ +--- transmission/third-party/libnatpmp/getgateway.c ++++ transmission.new/third-party/libnatpmp/getgateway.c +@@ -31,7 +31,7 @@ + #undef USE_SYSCTL_NET_ROUTE + #endif + +-#ifdef BSD ++#if defined(BSD) || defined(__FreeBSD_kernel__) + #undef USE_PROC_NET_ROUTE + #define USE_SOCKET_ROUTE + #undef USE_SYSCTL_NET_ROUTE --- transmission-1.75.orig/debian/patches/qt_client_use_system_libevent.patch +++ transmission-1.75/debian/patches/qt_client_use_system_libevent.patch @@ -0,0 +1,11 @@ +--- transmission/qt/qtr.pro 2009-07-18 03:20:54.000000000 +0200 ++++ transmission.new/qt/qtr.pro 2009-07-19 19:03:54.000000000 +0200 +@@ -17,7 +17,7 @@ + LIBS += $${TRANSMISSION_TOP}/third-party/dht/libdht.a + LIBS += $${TRANSMISSION_TOP}/third-party/miniupnp/libminiupnp.a + LIBS += $${TRANSMISSION_TOP}/third-party/libnatpmp/libnatpmp.a +-LIBS += $${TRANSMISSION_TOP}/third-party/libevent/.libs/libevent.a ++LIBS += -levent + + TRANSLATIONS += transmission_en.ts + --- transmission-1.75.orig/debian/patches/series +++ transmission-1.75/debian/patches/series @@ -0,0 +1,3 @@ +qt_client_use_system_libevent.patch +libnatpmp_freebsd_ftbfs.patch +dont_build_libevent.patch --- transmission-1.75.orig/debian/patches/updateminiupnpcstrings_double_escape_slash.patch +++ transmission-1.75/debian/patches/updateminiupnpcstrings_double_escape_slash.patch @@ -0,0 +1,12 @@ +--- transmission/third-party/miniupnp/updateminiupnpcstrings.sh 2009-07-19 18:29:27.000000000 +0200 ++++ transmission.new/third-party/miniupnp/updateminiupnpcstrings.sh 2009-07-19 18:31:03.000000000 +0200 +@@ -28,6 +28,9 @@ + + echo "Detected OS [$OS_NAME] version [$OS_VERSION]" + ++OS_VERSION=`echo ${OS_VERSION} | sed 's/\//\\\//'` ++echo OS_VERSION="$OS_VERSION" ++ + EXPR="s/OS_STRING \".*\"/OS_STRING \"${OS_NAME}\/${OS_VERSION}\"/" + #echo $EXPR + #echo "Backing up $OUTPUT_FILE to $OUTPUT_FILE.bak." --- transmission-1.75.orig/debian/patches/dont_build_libevent.patch +++ transmission-1.75/debian/patches/dont_build_libevent.patch @@ -0,0 +1,51 @@ +--- transmission/third-party/Makefile.am 2009-07-18 03:21:07.000000000 +0200 ++++ transmission.new/third-party/Makefile.am 2009-07-25 21:03:07.000000000 +0200 +@@ -4,7 +4,7 @@ + DHT_DIR = + endif + +-SUBDIRS = libnatpmp miniupnp libevent $(DHT_DIR) ++SUBDIRS = libnatpmp miniupnp $(DHT_DIR) + + EXTRA_DIST = \ + macosx-libevent-config.h \ +--- transmission/configure 2009-07-18 03:28:54.000000000 +0200 ++++ transmission.new/configure 2009-07-25 21:15:34.000000000 +0200 +@@ -1044,7 +1044,7 @@ + LIBNOTIFY_LIBS + DBUS_GLIB_CFLAGS + DBUS_GLIB_LIBS' +-ac_subdirs_all='third-party/libevent' ++#ac_subdirs_all='third-party/libevent' + + # Initialize some variables set by options. + ac_init_help= +@@ -19714,7 +19714,7 @@ + + + +-subdirs="$subdirs third-party/libevent" ++#subdirs="$subdirs third-party/libevent" + + libevent_source=bundled + { $as_echo "$as_me:$LINENO: checking for evutil_vsnprintf in -levent" >&5 +--- transmission/third-party/Makefile.in 2009-07-25 21:23:42.000000000 +0200 ++++ transmission.new/third-party/Makefile.in 2009-07-25 21:23:26.000000000 +0200 +@@ -64,7 +64,7 @@ + distdir + ETAGS = etags + CTAGS = ctags +-DIST_SUBDIRS = libnatpmp miniupnp libevent dht ++DIST_SUBDIRS = libnatpmp miniupnp dht + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + am__relativize = \ + dir0=`pwd`; \ +@@ -268,7 +268,7 @@ + transmissionlocaledir = @transmissionlocaledir@ + @DHT_FALSE@DHT_DIR = + @DHT_TRUE@DHT_DIR = dht +-SUBDIRS = libnatpmp miniupnp libevent $(DHT_DIR) ++SUBDIRS = libnatpmp miniupnp $(DHT_DIR) + EXTRA_DIST = \ + macosx-libevent-config.h \ + macosx-libevent-event-config.h