rpms/mktorrent/devel import.log, NONE, 1.1 index.html, NONE, 1.1 mktorrent.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

stevetraylen stevetraylen at fedoraproject.org
Sat Apr 24 05:55:46 UTC 2010


Author: stevetraylen

Update of /cvs/pkgs/rpms/mktorrent/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv18637/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log index.html mktorrent.spec 
Log Message:
Import #580849



--- NEW FILE import.log ---
mktorrent-1_0-3_fc12:HEAD:mktorrent-1.0-3.fc12.src.rpm:1272088479


--- NEW FILE index.html ---
<!DOCTYPE html
	PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="bittorrent,torrent,linux,file,commandline,cli,make,create" />
    <title>mktorrent - Create BitTorrent metainfo files from command line</title>
  </head>

  <body>
    <h1>mktorrent</h1>
    <p>
      mktorrent is a simple command line utility to create BitTorrent metainfo
      files.<br />
      It has been tested on Linux, OSX, MinGW, OpenBSD and SunOS, but should
      work on many other POSIX compliant operating systems.
    </p>

    <h3>Download</h3>
    <p>
      The latest release is version 1.0. Source code is available below.
    </p>
    <ul>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-1.0.tar.gz"
            >mktorrent-1.0.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.7.tar.gz"
            >mktorrent-0.7.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.6.tar.gz"
            >mktorrent-0.6.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.5.tar.gz"
            >mktorrent-0.5.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.4.tar.gz"
            >mktorrent-0.4.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.3.tar.gz"
            >mktorrent-0.3.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.2.tar.gz"
            >mktorrent-0.2.tar.gz</a></li>
      <li><a href="http://downloads.sourceforge.net/mktorrent/mktorrent-0.1.tar.gz"
            >mktorrent-0.1.tar.gz</a></li>
    </ul>
    <p>
      The latest development sources are also available at
      <a href="https://github.com/esmil/mktorrent/tree">github</a>.
    </p>

    <h3>Features of the latest release</h3>
    <ul>
      <li>Creates a BitTorrent metainfo file from a file or directory in a
          simple and fast way.</li>
      <li>Supports multiple trackers.</li>
      <li>Can add a custom comment to the metainfo file.</li>
      <li>Can add the private flag to dissalow DHT and Peer Exchange.</li>
      <li>Can add web seed URLs.</li>
      <li>
        Hashing can be done multi threaded and supports
        multiple CPUs.
      </li>
    </ul>

    <h3>Non-features of latest release</h3>
    <ul>
      <li>
        No explicit support for converting filenames to UTF-8.
        Reads and writes file names and comments exactly
	as reported by the OS.
      </li>
    </ul>

    <h3>Building mktorrent</h3>
    <h4>Basics</h4>
    <p>
      Get the source code from the links above, extract the files,
      enter the directory and run <code>make</code> to build the program.
      However, see the recommend build one-liners below.
    </p>
    <p>
      To install the program to <code>/usr/bin</code> do
      <code>make PREFIX=/usr install</code> as root.
    </p>
    <h4>Options</h4>
    <p>
      For portability reasons lots of useful features of mktorrent aren't
      enabled by default. They are all documented in the Makefile.
      To enable features either edit the Makefile or add the options when you
      invoke <code>make</code>.
    </p>
    <h4>OpenSSL</h4>
    <p>
      mktorrent can optionally use the SHA1 algorithm in the
      <a href="http://www.openssl.org/">OpenSSL</a> library
      instead of compiling its own.
      Most systems have this library installed already,
      but on some systems (notably Ubuntu and other Debian derivatives)
      you'll also need the development package in order to build the program.
      Usually it will be called something like "openssl-dev" or "libssl-dev".
    </p>
    <h4>Recommended build one-liners</h4>
    <dl>
      <dt>32bit Linux</dt>
      <dd><code>make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1 USE_LARGE_FILES=1</code></dd>
      <dt>64bit Linux</dt>
      <dd><code>make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1</code></dd>
      <dt>OSX</dt>
      <dd><code>make USE_PTHREADS=1 USE_OPENSSL=1 USE_LONG_OPTIONS=1</code></dd>
    </dl>
    <p>
      These only apply to the latest release. If it doesn't work (and you're sure
      you have the OpenSSL headers installed) or you successfully compiled
      mktorrent on some other OS, please let me know.
    </p>

    <h3>Changelog</h3>
    <p>1.0</p>
    <ul>
      <li>Add an exception to the license to allow distributions to link
          mktorrent to the OpenSSL library.</li>
      <li>Otherwise mostly a re-release of 0.7</li>
    </ul>
    <p>0.7</p>
    <ul>
      <li>
        Added proper support for large files on certain 32bit OS's.<br />
        Finally mktorrent properly handles files larger than 2Gb on 32bit Linux.
      </li>
      <li>Fixes for use on Windows under MinGW/Cygwin.</li>
    </ul>
    <p>0.6</p>
    <ul>
      <li>Added support for multiple web seeds.</li>
      <li>Raised allowable piece size.</li>
      <li>
        Only add the announce-list entry if there are more than one tracker.<br />
        Thanks to Vladimir Vučićević for reporting.
      </li>
      <li>
        Include public domain SHA1 implementation
        to make the OpenSSL dependency optional.
      </li>
      <li>
        Lots of portability improvements.
        Now compiles on Linux, MinGW, OpenBSD, OSX, SunOS
        and probably many more.<br />
        A big thanks to Edwin Amsler for reporting and testing.
      </li>
      <li>
        Rewrote multi threaded hashing to optimise CPU usage on
        multi processor machines.
      </li>
    </ul>
    <p>0.5</p>
    <ul>
      <li>Added support for multiple trackers.</li>
      <li>Added support for web seed (thanks to Justin Camerer).</li>
      <li>Better error messages.</li>
    </ul>
    <p>0.4</p>
    <ul>
      <li>Added support for the private flag.</li>
    </ul>
    <p>0.3</p>
    <ul>
      <li>Fixed bug concerning files longer than 2^32 bytes.</li>
      <li>Fixed command line parameters.</li>
    </ul>
    <p>0.2</p>
    <ul>
      <li>Added support for single file torrents.</li>
      <li>Support for long options can now be disabled at compile time.</li>
    </ul>
    <p>0.1</p>
    <ul>
      <li>Initial release.</li>
    </ul>
    <h3>License</h3>
    <p>
      mktorrent is free software. It is distributed under the terms of the
      <a href="http://www.fsf.org/licensing/licenses/gpl.html"
        >GNU General Public License</a>.
    </p>
    <h3>Contact</h3>
    <p>
      Please send bug reports, patches, feature requests, praise and general gossip
      about the program to <a href="mailto:esmil at users.sourceforge.net">esmil at users.sourceforge.net</a>.
    </p>
    <p>
      <a href="http://validator.w3.org/check?uri=referer"><img
        src="http://www.w3.org/Icons/valid-xhtml10"
        alt="Valid XHTML 1.0!" height="31" width="88" /></a>
      <a href="http://sourceforge.net/projects/mktorrent"><img
        src="http://sflogo.sourceforge.net/sflogo.php?group_id=190356&amp;type=1"
        width="88" height="31" alt="SourceForge.net Logo" /></a>
    </p>
  </body>
</html>


--- NEW FILE mktorrent.spec ---
Name:           mktorrent
Version:        1.0
Release:        3%{?dist}
Summary:        Command line utility to create BitTorrent metainfo files

Group:          Applications/File
License:        GPLv2+
URL:            http://mktorrent.sourceforge.net/
Source0:        http://downloads.sourceforge.net/mktorrent/mktorrent-%{version}.tar.gz
Source1:        http://mktorrent.sourceforge.net/index.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  openssl-devel

%description
Command line utility to create BitTorrent metainfo files.
See --help option for mktorrent command for details on usage.

%prep
%setup -q
cp -p %{SOURCE1} mktorrent.html
# Use openssl sha1 routine rather than included one.
rm sha1.c sha1.h

%build
%ifarch alpha ia64 ppc64 s390x sparc64 x86_64
%global largefiles 0
%else
%global largefiles 1
%endif

make %{?_smp_mflags} USE_LARGE_FILES=%{largefiles}  USE_PTHREADS=1 \
       USE_OPENSSL=1 USE_LONG_OPTIONS=1  CFLAGS="%{optflags}"

%install
rm -rf %{buildroot}
make install USE_LARGE_FILES=%{largefiles}  USE_PTHREADS=1 \
       USE_OPENSSL=1 USE_LONG_OPTIONS=1 CFLAGS="%{optflags}" \
       PREFIX=%{buildroot}%{_prefix} INSTALL="install -p"

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/mktorrent
%doc COPYING mktorrent.html

%changelog
* Tue Apr 20 2010 Steve Traylen <steve.traylen at cern.ch> - 1.0-3
- Enable large file support on 32bit.

* Tue Mar 23 2010 Steve Traylen <steve.traylen at cern.ch> - 1.0-2
- Preserve timestamps.

* Tue Mar 23 2010 Steve Traylen <steve.traylen at cern.ch> - 1.0-1
- Initial spec file.



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mktorrent/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	24 Apr 2010 00:42:56 -0000	1.1
+++ .cvsignore	24 Apr 2010 05:55:46 -0000	1.2
@@ -0,0 +1 @@
+mktorrent-1.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mktorrent/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	24 Apr 2010 00:42:56 -0000	1.1
+++ sources	24 Apr 2010 05:55:46 -0000	1.2
@@ -0,0 +1 @@
+0da00209da96a0dc39efbb6eb5b4d8ff  mktorrent-1.0.tar.gz



More information about the scm-commits mailing list