Update of /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4439

Added Files:
        bittornado.info bittornado.patch bittorrent.info 
        bittorrent.patch 
Log Message:
from 10.3

--- NEW FILE: bittorrent.info ---
Package: bittorrent
Version: 3.4.2
Revision: 24
Depends: python23
BuildDepends: python23
Source: mirror:sourceforge:bittorrent/BitTorrent-%v.zip
Source-MD5: 6ad4e128ddc82f8ebef6fbef59872f0d
SourceDirectory: BitTorrent-%v
PatchScript: <<
  #!/bin/sh
  patch -p1 < %a/%n.patch
  perl -pi -e 's|\#\!/usr/bin/env python|\#\!%p/bin/python2.3|' *.py
<<
CompileScript: cd www-doc/ && for i in *.uu; do uudecode $i; done
InstallScript: <<
  #!/bin/sh -e

  python2.3 ./setup.py install --prefix=%i

  # .bittorrent for alternatives
  ( cd %i/bin && \
    for i in btdownloadgui btdownloadheadless bttrack btmakemetafile 
btlaunchmany btdownloadcurses btlaunchmanycurses btreannounce btrename 
btshowmetainfo btcompletedir btcompletedirgui; \
    do mv $i.py $i.bittorrent; \
  done )

  rm %i/lib/python2.3/site-packages/BitTorrent/*.pyc
  
  # Install manpages
  mkdir -p %i/share/man/man1
  cp debian/*.1 %i/share/man/man1

  (cd %i/share/man/man1 && \
    for i in btdownloadgui btdownloadheadless btdownloadcurses; \
    do ln -s %p/share/man/man1/bittorrent-downloader.bittorrent.1 
$i.bittorrent.1
  done )

  (cd %i/share/man/man1 && \
    for i in btlaunchmany btlaunchmanycurses; \
    do ln -s %p/share/man/man1/bittorrent-multi-downloader.bittorrent.1 
$i.bittorrent.1
  done )

<<
DocFiles: README.txt credits.txt www-doc/*.{html,png} LICENSE.txt 
debian/changelog
Description: Scatter-gather network file transfer
DescDetail: <<
  BitTorrent is a tool for distributing files. It's extremely
  easy to use - downloads are started by clicking on hyperlinks.
  Whenever more than one person is downloading at once
  they send pieces of the file(s) to each other, thus relieving
  the central server's bandwidth burden. Even with many
  simultaneous downloads, the upload burden on the central server
  remains quite small, since each new downloader introduces new
  upload capacity.

  This package contains the tools which are used for console-only
  downloading.  If you want the GUI interface, install the
  bittorrent-gui package.
<<

Splitoff: <<
  Package: %N-gui
  Depends: wxpython-py23, python23, %N (>= %v-24)
  Files: bin/*gui* share/man/man1/*gui*.1
  DocFiles: LICENSE.txt debian/changelog
  Description: Scatter-gather network file transfer (GUI files)
  DescDetail: <<
    BitTorrent is a tool for distributing files. It's extremely
    easy to use - downloads are started by clicking on hyperlinks.
    Whenever more than one person is downloading at once
    they send pieces of the file(s) to each other, thus relieving
    the central server's bandwidth burden. Even with many
    simultaneous downloads, the upload burden on the central server
    remains quite small, since each new downloader introduces new
    upload capacity.

    This package contains the GUI interface to downloading.
  <<

  PostInstScript: <<
    # postinst script for bittorrent
  case "$1" in
    configure)
      for i in btcompletedirgui btdownloadgui ; do
        update-alternatives \
          --install %p/bin/$i $i %p/bin/$i.bittorrent 120 \
          --slave %p/share/man/man1/$i.1 $i.1 %p/share/man/man1/$i.bittorrent.1
      done
    ;;
    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedirgui btdownloadgui ; do
                update-alternatives \
                --install %p/bin/$i $i %p/bin/$i.bittorrent 120 \
                --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittorrent.1
        done
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
  esac
  <<
  PreRmScript: <<

    case "$1" in
      remove|upgrade|deconfigure)
        for i in btcompletedirgui btdownloadgui ; do
                update-alternatives --remove $i %p/bin/$i.bittorrent
        done
        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
   esac
  <<
<<

DescPort: <<
Get the debian patch, apply and then make changes specific to fink 
(@FINKPREFIX@)
Helpful to keep a diff from clean source+debian patches -> final diff
<<

PostInstScript: <<
  case "$1" in
    configure)

        for i in btcompletedir btdownloadcurses btdownloadheadless btlaunchmany 
btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack 
; do
                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittorrent 120 \
                  --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittorrent.1
    done
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittorrent 120 \
                  --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittorrent.1
    done
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
<<

PreRmScript: <<
case "$1" in
    remove|upgrade|deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                update-alternatives --remove $i %p/bin/$i.bittorrent
        done

        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
<<
License: BSD
Maintainer: Hisashi Todd Fujinaka <[EMAIL PROTECTED]>
Homepage: Homepage: http://bitconjurer.org/BitTorrent

--- NEW FILE: bittornado.patch ---
--- bittornado-0.3.10.orig/debian/control
+++ bittornado-0.3.10/debian/control
@@ -0,0 +1,55 @@
+Source: bittornado
+Section: net
+Priority: optional
+Maintainer: Micah Anderson <[EMAIL PROTECTED]>
+Build-Depends-Indep: debhelper (>> 4.1.67), python, python-dev (>= 2.1), 
python-dev (<< 2.4), dpatch
+Standards-Version: 3.6.1.0
+
+Package: bittornado
+Architecture: all
+Depends: ${python:Depends}
+Conflicts: bittorrent (<= 3.4.2-2)
+Replaces: bittorrent
+Suggests: bittornado-gui
+Recommends: mime-support
+Description: bittorrent client with enhanced curses interface
+ bittorrent is a tool for distributing files.  Whenever more than one
[...3549 lines suppressed...]
+.SH SEE ALSO
+.BR bittorrent-downloader (1),
+.BR btmakemetafile (1).
+.br
+.SH AUTHOR
+This manual page was written by Micah Anderson <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
+
--- bittornado-0.3.10.orig/debian/README.Debian
+++ bittornado-0.3.10/debian/README.Debian
@@ -0,0 +1,9 @@
+
+bittornado
+----------
+
+If you want the gui componants of bittornado, install the package
+bittornado-gui.
+
+-- Micah Anderson <[EMAIL PROTECTED]> Wed Jun 16 18:04:55 CDT 2004
+

--- NEW FILE: bittorrent.patch ---
--- bittorrent-3.4.2.orig/BitTorrent/RawServer.py
+++ bittorrent-3.4.2/BitTorrent/RawServer.py
@@ -129,6 +129,10 @@
             handler = self.handler
         sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
         sock.setblocking(0)
+        try:
+            sock.setsockopt(socket.IPPROTO_IP, socket.IP_TOS, 32)
+        except:
+            pass
         sock.bind((self.bindaddr, 0))
         try:
             sock.connect_ex(dns)
--- bittorrent-3.4.2.orig/BitTorrent/Storage.py
+++ bittorrent-3.4.2/BitTorrent/Storage.py
@@ -88,7 +88,7 @@
             h.seek(begin)
             h.write(s[total: total + end - begin])
             total += end - begin
[...2367 lines suppressed...]
+M"IY'[EMAIL PROTECTED]:-=UXEH))[EMAIL PROTECTED](.6ZVLDO3,.]TJD>Z>E<,S'
+M"(QR'9QF;[EMAIL PROTECTED](^CKOLV\^<K5O&ANP^0VG5(,R4MK_^,Z@'$,U
+M`R%?92!2)MJEM,Y8I#J%KAP3L,C1=?:[G<!D][`<0S4#4>N52+4[TZ/GGQP+
+M<-/F6%/KHP_5YAB*#&0DKXW5UKQMPC$`5W(*SUBU]2O5>%`&0K':1V<@Y+`,
+MA/+V6[C/<-CRYL""WA3K;^[?Z68XO*Z28UQG/KM']/;<66!77BUX4^"ZJKRL
+MV/N8-/J+B8)8S"HE%,SE:[PV_=TO99__ENJJ]KG7","BQ%!3=X.^U^<8(V<@
+M(-IW(,$VL#+C%+\1L+#*(>_2,5IX%3E&=]\]U;RN>W`&,L3;T_<6!+:M77K*
+M,L$;``LWS[_M?DQ[I!QCY`SD(?/ZH#;]H^`JT:B!1557'X5?N2,=EF.,.@/!
+M:P%[+WNGKC:J$HX2N"ZQ//-=NZ/WE!+Q*L>0JF0@:[EMAIL PROTECTED]<TTFLV>9GE
+M]L)1O841;0G)NUW:]D2AP\H<`[Z(7E=$[S/U7I7\1`*!#:ZV%[OCDW+7C.(M
+M3.7)6".]=_([F1RC3U497O<,1*KR#(3^3QFM\/\FIQ\MU<L+K1K\FEG-.XFZ
+M<TE70^.W9MXUN/1X8^W&NT?O=A[KA/)Y[<;.O9U0H(:V/Z_]?`3OM=I9_WUT
+MQ_1C%L;6I46QY<%5E<(1@)&P.-<QN+P\Q2RK\<R"$^E9C=../7AP[$%C5N,#
+MRGBP25%4*E_C39\V>]JT!2?L;A<]<G7@)%7%?:O^1T;R)B1<*3CW<UQU\#:'
+M^&4I3BNFKBA:,;5PZJ-";#PJ?(3++T54P395.9)W:F%1T0JGV)1PUZN<8,?$
+M7,%*89,:X*8FX9J5`O/*+;D_Y^[Q=ZRN]N]-<DSJ3>J%HC1Z$Q4EZ0^\-Z#2
+MO[?7O]K?/M'?WG%SW,[EMAIL PROTECTED];K&#Y4W+1._]9D`G@">
+;`)X`'O7QO]BVR,66=S/3`````$E%3D2N0F""
+`
+end

--- NEW FILE: bittornado.info ---
Package: bittornado
Version: 0.3.10
Revision: 11
Depends: python23
BuildDepends: python23
Source: http://www.bittornado.com/download/BitTornado-%v.tar.gz
Source-MD5: 356213bc5964377a21cd9c56cd130c0d
SourceDirectory: BitTornado-CVS
PatchScript: <<
  #!/bin/sh
  patch -p1 < %a/%n.patch
  for patch in $(ls debian/patches/*.dpatch); do
    patch -p1 < $patch
  done
  perl -pi -e 's|\#\!/usr/bin/env python|\#\!%p/bin/python2.3|' *.py
<<
CompileScript: apt-get moo || true
InstallScript: <<
  python2.3 ./setup.py install --prefix=%i
  install -d %i/share/mimelnk/application
  install -D -m644 debian/bittornado.desktop 
%i/share/applications/bittornado.desktop
  install -D -m644 debian/bittornado.xpm %i/share/pixmaps/bittornado.xpm
  chmod 755 %i/lib/python2.3/site-packages/BitTornado/launchmanycore.py
  cp %i/bin/btmakemetafile.py %i/lib/python2.3/site-packages/BitTornado
  cp %i/bin/btcompletedir.py %i/lib/python2.3/site-packages/BitTornado

  # Remove the .py from the end of each of these and add .bittornado
  # so that the alternatives system can work
  ( cd %i/bin && \
    for i in btdownloadgui btdownloadheadless bttrack btmakemetafile \
       btlaunchmany btcompletedir btcompletedirgui \
       btdownloadcurses btlaunchmanycurses btreannounce btrename \
       btshowmetainfo; \
    do mv $i.py $i.bittornado; done )

  # Remove the .py from the end of each of these, the following are not
  # included in bittorrent, so they are not renamed to having the
  # suffix of .bittornado
  ( cd %i/bin && \
    for i in btcopyannounce btsethttpseeds btmaketorrentgui; \
    do mv $i.py $i; done )

  # Install manpages
  mkdir -p %i/share/man/man1
  cp debian/*.1 %i/share/man/man1
<<
DocFiles: LICENSE.txt MANIFEST.in README.txt ipranges.portugal.txt docs/FAQ.txt 
docs/IMPORTANT-multitracker-readme.txt docs/README-Psyco.txt docs/credits.txt 
docs/multitracker-spec.txt docs/webseed-spec.txt debian/NEWS 
debian/README.Debian debian/changelog
Description: bittorrent client with enhanced curses interface
DescDetail: <<
  bittorrent is a tool for distributing files.  Whenever more than one
  person is downloading at once they send pieces of the file(s) to each
  other, thus relieving the central server's bandwidth burden. Even with
  many simultaneous downloads, the upload burden on the central server
  remains quite small, since each new downloader introduces new upload
  capacity.

  BitTornado is the next generation bittorrent client built on
  the original BitTorrent. This client features an enhanced
  console/curses mode, lots of new features under the hood, and is
  generally one of the most advanced clients out there. Get this if you
  need to limit your bandwidth, or you want more control of your
  torrents. It does everything the original bittorrent does, plus more...

  This package only contains the curses interfaces, install the package
  bittornado-gui to get the GUI components
<<

Splitoff: <<
  Package: %N-gui
  Depends: wxpython-py23, python23, bittornado (>= %v-10)
  Files: bin/*gui* share/pixmaps share/man/man1/*gui*.1 share/applications
  DocFiles: debian/copyright debian/NEWS debian/changelog
  Description: bittorrent client with enhanced GUI interface
  DescDetail: <<
    bittorrent is a tool for distributing files. It's extremely easy to
    use - downloads are started by clicking on hyperlinks. Whenever more
    than one person is downloading at once they send pieces of the
    file(s) to each other, thus relieving the central server's bandwidth
    burden. Even with many simultaneous downloads, the upload burden on
    the central server remains quite small, since each new downloader
    introduces new upload capacity.

    BitTornado is the next generation bittorrent client built on
    the original BitTorrent. This client features an enhanced GUI, lots
    of new features under the hood, and is generally one of the most
    advanced clients out there. Get this if you need to limit your
    bandwidth, or you want more control of your torrents. It does
    everything the original bittorrent does, plus more...
  <<

  PostInstScript: <<
    # postinst script for bittorrent
  case "$1" in
    configure)

      for i in btcompletedirgui btdownloadgui ; do
        update-alternatives \
          --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
          --slave %p/share/man/man1/$i.1 $i.1 %p/share/man/man1/$i.bittornado.1
      done

    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedirgui btdownloadgui ; do
                update-alternatives \
                --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittornado.1
        done

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1

    ;;

  esac
  <<
  PreRmScript: <<
    case "$1" in
        remove|upgrade|deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do
        update-alternatives --remove $i %p/bin/$i.bittornado
    done

        ;;

    failed-upgrade)

        ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

  <<
<<

DescPort: <<
Get the debian patch, apply and then make changes specific to fink 
(@FINKPREFIX@)
Helpful to keep a diff from clean source+debian patches -> final diff
<<

PostInstScript: <<
  case "$1" in
    configure)

        for i in btcompletedir btdownloadcurses btdownloadheadless btlaunchmany 
btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack 
; do
                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                  --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittornado.1
    done
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                  --slave %p/share/man/man1/$i.1 $i.1 
%p/share/man/man1/$i.bittornado.1
    done

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
<<

PreRmScript: <<

case "$1" in
    remove|upgrade|deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                update-alternatives --remove $i %p/bin/$i.bittornado
        done

        ;;

    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
<<
License: BSD
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://www.bittornado.com/



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to