Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131903 - [bump] net-p2p/ctorrent-1.3.4-r3 (using dnh2 patchset)
Summary: [bump] net-p2p/ctorrent-1.3.4-r3 (using dnh2 patchset)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo net-p2p team
URL: http://www.rahul.net/dholmes/ctorrent/
Whiteboard:
Keywords:
: 112352 (view as bug list)
Depends on:
Blocks: as-needed 131914
  Show dependency tree
 
Reported: 2006-05-01 06:57 UTC by TGL
Modified: 2006-05-01 07:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ctorrent-1.3.4-r3.ebuild (ctorrent-1.3.4-r3.ebuild,770 bytes, text/plain)
2006-05-01 06:58 UTC, TGL
Details
files/ctorrent-1.3.4-dnh2-vfat.patch (ctorrent-1.3.4-dnh2-vfat.patch,442 bytes, patch)
2006-05-01 06:58 UTC, TGL
Details | Diff
files/ctorrent-1.3.4-dnh2-SHA.patch (ctorrent-1.3.4-dnh2-SHA.patch,1.97 KB, patch)
2006-05-01 06:59 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2006-05-01 06:57:15 UTC
I'd like to proposed a bump of ctorrent to use the most recent dnh patchset (-dnh2). It brings numerous improvements/fixes (see the ChangeLog in the patch itself).

In addition to bumping the patch version, i've made the following changes to the ebuild:
 - inherit autotools and call eautoreconf (since autotools files are changed)
 - dodoc the -dnh's README and ChangeLog
 - added an hotfix from -dnh's upstream for a crash when using a vfat filesystem
 - made some changes to detection of the lib providing SHA1 functions, to allow compilation with LDFLAGS="-Wl,--as-needed". The point is that libssl is not seen as a provider of the SHA1 function in this setup, because they actually are from libcrypto. But it is still the libcrypto from OpenSSL (hence requiring an "#include <openssl/sha.h>"), and not a standalone one (which was triggering an "#include <sha.h>" with the current configure script).
Comment 1 TGL 2006-05-01 06:58:01 UTC
Created attachment 85928 [details]
ctorrent-1.3.4-r3.ebuild

Bumped ebuild.
Comment 2 TGL 2006-05-01 06:58:28 UTC
Created attachment 85929 [details, diff]
files/ctorrent-1.3.4-dnh2-vfat.patch

The vfat hotfix.
Comment 3 TGL 2006-05-01 06:59:30 UTC
Created attachment 85930 [details, diff]
files/ctorrent-1.3.4-dnh2-SHA.patch

The changes required for good libcrypto detection and usage with --as-needed.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 07:00:25 UTC

*** This bug has been marked as a duplicate of 112352 ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 07:01:35 UTC
Sigh... the other way round. /me stabs bugzilla for dying over and over again.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-01 07:01:49 UTC
*** Bug 112352 has been marked as a duplicate of this bug. ***
Comment 7 TGL 2006-05-01 07:07:25 UTC
Linking to bug #129413 since the -r2 ebuild doesn't compile here with --as-needed.
Comment 8 Jon Hood (RETIRED) gentoo-dev 2006-05-01 07:59:12 UTC
Now in portage, thanks for the patches :)