Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272489 - net-nntp/nzbget-0.6.0 (New version)
Summary: net-nntp/nzbget-0.6.0 (New version)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-03 19:51 UTC by Klaus Birkelund Jensen
Modified: 2009-06-07 19:33 UTC (History)
1 user (show)

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


Attachments
nzbget-0.6.0.ebuild (nzbget-0.6.0.ebuild,2.32 KB, text/plain)
2009-06-03 19:52 UTC, Klaus Birkelund Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Birkelund Jensen 2009-06-03 19:51:10 UTC
Hi,

Based on nzbget-0.5.1.ebuild I've made an ebuild for the 0.6.0 version. This version introduces ssl by using either gnutls or openssl. I've updated the use flags accordingly.

I've also updated the ebuild to EAPI 2 and moved user creation and permissions setup around a bit.
Comment 1 Klaus Birkelund Jensen 2009-06-03 19:52:50 UTC
Created attachment 193439 [details]
nzbget-0.6.0.ebuild
Comment 2 Sven Wegener gentoo-dev 2009-06-06 08:54:48 UTC
thanks, commited with a few changes.

- user creation moved to preinst. pkg_setup also gets called for package-only builds, but we only need the user at runtime, hence we can defer the creation.

- ssl logic replaced with

$(use_enable ssl tls) \
--with-tlslib=$(use gnutls && echo GnuTLS || echo OpenSSL) \

yes, with --disable-tls we still pass --with-tllsib, but it gets ignored and this makes the ebuild logic simpler.

- please don't drop keyword when version bumping

- virtual/libstdc++ is mainly needed for binary-only ebuilds that require an older version of libstdc++
Comment 3 Klaus Birkelund Jensen 2009-06-07 19:33:23 UTC
Okay - thanks for the tips :)