Summary: Enhanced CTorrent - BitTorrent client written in the C++
Summary(pl.UTF-8): Enhanced CTorrent - Klient BitTorrenta napisany w C++
Name: ctorrent
-%define _base_version 1.3.4
-%define _dnh_version dnh2.2
-Version: %{_base_version}_%{_dnh_version}
-Release: 1
+Version: 3.3.2
+Release: 4
License: GPL
Group: Applications/Networking
-Source0: http://www.rahul.net/dholmes/ctorrent/ctorrent-%{_base_version}-%{_dnh_version}.tar.gz
-# Source0-md5: 76484082d3d44d7d1fbc9f2e0e33440f
-#URL: http://ctorrent.sourceforge.net/
+Source0: http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh%{version}.tar.gz
+# Source0-md5: 59b23dd05ff70791cd6449effa7fc3b6
+Patch0: %{name}-m4.patch
+Patch1: ctorrent-CVE-2009-1759.patch
URL: http://www.rahul.net/dholmes/ctorrent/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
używa się sieci BitTorrent.
%prep
-%setup -q -n %{name}-%{_dnh_version}
+%setup -q -n %{name}-dnh%{version}
+%patch0 -p1
+%patch1 -p0
%build
%{__aclocal}
%files
%defattr(644,root,root,755)
-%doc AUTHORS NEWS README
+%doc AUTHORS NEWS README UserGuide README-DNH.TXT ChangeLog
%attr(755,root,root) %{_bindir}/ctorrent