Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25598

Modified Files:
        bittorrent.info 
Removed Files:
        bittorrent-nox.info 
Log Message:
"Fixing" bittorrent (really removing cirdan's changes).
New upstream is the real reason for this change.


Index: bittorrent.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/net/bittorrent.info,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- bittorrent.info     19 Mar 2005 21:56:58 -0000      1.15
+++ bittorrent.info     2 Apr 2005 01:00:29 -0000       1.16
@@ -1,50 +1,24 @@
-Package: bittorrent
-Version: 4.0.0
-Revision: 3
-Depends: python24
-BuildDepends: python24
-Conflicts: bittorrent-nox
+Info2: <<
+Package: bittorrent%type_pkg[-x11]
+Version: 4.0.1
+Revision: 1
+Maintainer: Hisashi Todd Fujinaka <[EMAIL PROTECTED]>
+Type: -x11 (boolean)
+Depends: (%type_raw[-x11] = -x11) wxpython-py24, python24
+Conflicts: bittorrent, bittorrent-x11, bittorrent-nox
 Replaces: bittorrent-nox
 Source: http://www.bittorrent.com/dl/BitTorrent-%v.tar.gz
-Source-MD5: 67f449df351b66f408b72b6bd196952f
-SourceDirectory: BitTorrent-%v
+Source-MD5: e890d856d43b3d0af14b28714bc5801a
 PatchScript: <<
-  #!/bin/sh
-  patch -p1 < %a/%n.patch
-  perl -pi -e 's|\#\!/usr/bin/env python|\#\!%p/bin/python2.4|' *.py
-<<
-# CompileScript: cd www-doc/ && for i in *.uu; do uudecode $i; done
-CompileScript: /usr/bin/true
-InstallScript: <<
-  #!/bin/sh -e
-
-  %p/bin/python2.4 ./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.4/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 )
-
+#!/bin/sh
+if [ "%type_raw[-x11]" != "-x11" ]; then
+       sed 's:@PREFIX@:%p:g' <%a/%{n}.patch | patch -p1
+fi
 <<
-DocFiles: README.txt credits.txt LICENSE.txt
-Description: Scatter-gather network file transfer
+CompileScript: echo "No Compile Script"
+InstallScript: python2.4 setup.py install --root=%d
+DocFiles: INSTALL.unix.txt LICENSE.txt README.txt credits.txt
+Description: Tool for distributing files
 DescDetail: <<
   BitTorrent is a tool for distributing files. It's extremely
   easy to use - downloads are started by clicking on hyperlinks.
@@ -59,116 +33,10 @@
   downloading.  If you want the GUI interface, install the
   bittorrent-gui package.
 <<
-
-Splitoff: <<
-  Package: %N-gui
-  Depends: wxpython-py24, python24, %N (>= %v-1)
-  Files: bin/*gui* share/man/man1/*gui*.1
-  DocFiles: LICENSE.txt
-  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 btmaketorrentgui 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 btmaketorrentgui 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|purge)
-        for i in btmaketorrentgui 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 btdownloadcurses btdownloadheadless btlaunchmany 
btlaunchmanycurses btmaketorrent btreannounce btrename btshowmetainfo bttest 
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 btdownloadgui btmaketorrentgui btdownloadcurses 
btdownloadheadless btlaunchmany btlaunchmanycurses btmaketorrent btreannounce 
btrename btshowmetainfo bttest 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
+DescUsage: <<
+Please refer to 'README.txt' and 'FAQ.txt' which can be found in 
+'/sw/share/doc/bittorrent'.
 <<
-
-PreRmScript: <<
-case "$1" in
-    remove|upgrade|deconfigure|purge)
-        for i in btdownloadcurses btdownloadheadless btlaunchmany 
btlaunchmanycurses btmaketorrent btreannounce btrename btshowmetainfo bttest 
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: GPL
+Homepage: http://bitconjurer.org/BitTorrent
 <<
-License: BSD
-Maintainer: H. Todd Fujinaka <[EMAIL PROTECTED]>
-Homepage: Homepage: http://www.bittorrent.com

--- bittorrent-nox.info DELETED ---



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to