Blob Blame History Raw
%define dnh dnh3.3.2

Name: ctorrent
Version: 1.3.4
Release: 14.%{dnh}%{?dist}
Summary: Command line BitTorrent client for unix-like environments
Group: Applications/Internet
License: GPLv2+
URL: http://www.rahul.net/dholmes/ctorrent/
Source0: http://downloads.sourceforge.net/sourceforge/dtorrent/%{name}-%{dnh}.tar.gz
# http://sourceforge.net/tracker/download.php?group_id=202532&atid=981959&file_id=325065&aid=2782875
Patch0: %{name}-CVE-2009-1759.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel

%description
Enhanced CTorrent is a BitTorrent client for unix-like environments. High
performance with minimal system resources and dependencies are a priority.

%prep
%setup -q -n %{name}-%{dnh}
%patch0 -p0

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/ctorrent
%doc AUTHORS COPYING ChangeLog NEWS README README-DNH.TXT UserGuide

%changelog
* Sat Aug 22 2009 Tomas Mraz <tmraz@redhat.com> - 1.3.4-14.dnh3.3.2
- rebuilt with new openssl

* Fri Aug 21 2009 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-12.dnh3.3.2
- fixed stack-based buffer overflow (CVE-2009-1759, RHBZ #501813)

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-10.dnh3.3.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Feb 26 2009 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-9.dnh3.3.2
- update to 3.3.2 patch
- improve summary: and description

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.4-8.dnh3.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 1.3.4-7.dnh3.2
- rebuild with new openssl

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.4-6.dnh3.2
- Autorebuild for GCC 4.3

* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.3.4-5
 - Rebuild for deps

* Fri Aug 17 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-4.dnh3.2
- update to latest patchlevel
- update License: tag in accordance with current guidelines
- add UserGuide to docs

* Wed Nov 01 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-3.dnh2.1
- upstream has stopped development, rebase to Enhanced CTorrent, fixes #212307
- add more docs

* Tue Oct 03 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21

* Thu Sep 21 2006 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 1.3.4-1
- update to 1.3.4
- mass rebuild

* Wed May 24 2006 Andrea Veri <bluekuja@ubuntu.com> 1.3.2-3
 - Added openssl-devel to BR
 - Removed libc.so.6 libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1) in BR
 - Description Changed
 - Fixed URL
 
* Sun Feb 1 2004 YuHong <bsdi@sina.com> 1.3.2
 - First Release