pkgsrc/net/libtorrent/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.29 2008/12/03 12:57:40 tron Exp $
DISTNAME= libtorrent-0.12.2
CATEGORIES= net
Update "libtorrent" package to version 0.11.4 and "rtorrent" package to version 0.7.4. Changes since versions 0.11.1 and 0.7.1 respectively: - Added "max_open_http" option that limits the max number of simultaneous http connections. By default set to 32. - Directory structured view of the file list. The '/' key collapses directories, while the right arrow or ^F enters the selected directory. Changing the priority for a directory changes all contained files. - Added "create_link" and "delete_link" options which apply to a download. These must be used with the new "on_*" options, so as to allow you to create symbolic links when starting, stopping, finishing, etc, a torrent. - The "tos" option was parsing the hex value with unit == 0, which caused it to always zero it. - Forgot to check if there were any torrents hashing before starting new non-fast-resume checks, which would cause multiple torrents to be hashed at once. - File progress is now updated when hash_check is called, and no longer cleared on close. This fixes a bug with >100% file progress being reported and optimizes file progress updating for completed torrents. - Disabled IPv6 http requests so the trackers won't think we support it, and enabled curl's support for gzip encodings. - Added 'seeding' view on key 8. - Added "max_{up,down}loads_{div,global}" options. See the man page for more information. - Added support for dvorak keyboard layout. Patch by matled at gmx.net. - The STOPPED request was being canceled when a download was closed with f.ex ^K, moved it so it only happens when the download is removed. - Allow properly quoted and escaped arguments to options. F.ex "schedule = wd,10,10,load_start=~/Foo\ Bar/*.torrent" and "schedule = wd,10,10,load_start="~/Foo Bar/*.torrent"" now works. - Added unlimited setting for max unchoked in ChokeManager and made it the default. Set with 0 as a temporary hack. - Don't resize empty files used for creating directories.
2007-04-20 15:37:57 +02:00
MASTER_SITES= ${HOMEPAGE:=downloads/}
2008-05-25 22:49:39 +02:00
OWNER= tron@NetBSD.org
HOMEPAGE= http://libtorrent.rakshasa.no/
COMMENT= BitTorrent library written in C++ for *nix
2006-11-05 18:31:09 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
2005-09-08 19:55:46 +02:00
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug
GCC_REQD+= 3.3
.include "../../mk/compiler.mk"
# See http://libtorrent.rakshasa.no/ticket/96
.if !empty(CC_VERSION:Mgcc-4.*)
CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
.include "../../security/openssl/buildlink3.mk"
Update "libtorrent" package to version 0.11.4 and "rtorrent" package to version 0.7.4. Changes since versions 0.11.1 and 0.7.1 respectively: - Added "max_open_http" option that limits the max number of simultaneous http connections. By default set to 32. - Directory structured view of the file list. The '/' key collapses directories, while the right arrow or ^F enters the selected directory. Changing the priority for a directory changes all contained files. - Added "create_link" and "delete_link" options which apply to a download. These must be used with the new "on_*" options, so as to allow you to create symbolic links when starting, stopping, finishing, etc, a torrent. - The "tos" option was parsing the hex value with unit == 0, which caused it to always zero it. - Forgot to check if there were any torrents hashing before starting new non-fast-resume checks, which would cause multiple torrents to be hashed at once. - File progress is now updated when hash_check is called, and no longer cleared on close. This fixes a bug with >100% file progress being reported and optimizes file progress updating for completed torrents. - Disabled IPv6 http requests so the trackers won't think we support it, and enabled curl's support for gzip encodings. - Added 'seeding' view on key 8. - Added "max_{up,down}loads_{div,global}" options. See the man page for more information. - Added support for dvorak keyboard layout. Patch by matled at gmx.net. - The STOPPED request was being canceled when a download was closed with f.ex ^K, moved it so it only happens when the download is removed. - Allow properly quoted and escaped arguments to options. F.ex "schedule = wd,10,10,load_start=~/Foo\ Bar/*.torrent" and "schedule = wd,10,10,load_start="~/Foo Bar/*.torrent"" now works. - Added unlimited setting for max unchoked in ChokeManager and made it the default. Set with 0 as a temporary hack. - Don't resize empty files used for creating directories.
2007-04-20 15:37:57 +02:00
.if !exists(${BUILDLINK_PREFIX.openssl}/lib/pkgconfig/openssl.pc)
OPENSSL_CFLAGS= -I${BUILDLINK_PREFIX.openssl}/include
OPENSSL_LIBS= -L${BUILDLINK_PREFIX.openssl}/lib \
-W,-lR${BUILDLINK_PREFIX.openssl}/lib
CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LIBS:Q}
.endif
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"