Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147361

Summary: app-crypt/gnupg-1.9.21 - fix dependencies
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: New packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 148402, 148405    
Bug Blocks:    
Attachments: gnupg-1.9.21.ebuild.diff
gnupg-1.9.21.ebuild.diff

Description Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-12 12:41:48 UTC
bug#109600 made me review gnupg dependencies.

I've removed opensc dependency. It is not required.

Added pcsc-lite and openct dependencies and appropriate use flags.
These use flags should be added as local.

Added also pinentry dependency if X.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-12 12:42:34 UTC
Created attachment 96820 [details, diff]
gnupg-1.9.21.ebuild.diff
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-13 13:25:59 UTC
Created attachment 96898 [details, diff]
gnupg-1.9.21.ebuild.diff

Also removed perl dependency which is not required.
Also removed zlib since it is on system.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-09-19 14:26:27 UTC
(In reply to comment #2)
> Created an attachment (id=96898) [edit]
> gnupg-1.9.21.ebuild.diff
> 
> Also removed perl dependency which is not required.
> Also removed zlib since it is on system.
> 

Great start.
can USE=openct or pcsc-lite control the build process to use the dependency?
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-19 21:22:12 UTC
(In reply to comment #3)
> Great start.
> can USE=openct or pcsc-lite control the build process to use the dependency?

As far as I've investigated, Werner done all using dynamic invocation, copying the include files of openct and pcsc-lite into his code.

So there is no conditional compilation... If the components are there, they can be used. 

The only think I can do is to add --disable-scdaemon if none of them available... But it has side effect... People will not be able to install a different scd, such as the the one I am working on, which will enable user to use standard smartcards using gnupg.

Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-09-22 23:52:58 UTC
added to gnupg-1.9.21-r1. Thanks Alon
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 02:22:25 UTC
Hello Daniel,

Please remove the:
    smartcard? ( >=dev-libs/opensc-0.8.0 )

From dependency... opensc is not required at all for gnupg.

Why zlib and perl needs to be on dependencies?
emerge --emptytree --pretend system

Have both?
Comment 7 Daniel Black (RETIRED) gentoo-dev 2006-09-24 02:55:03 UTC
(In reply to comment #6)
> Hello Daniel,
> 
> Please remove the:
>     smartcard? ( >=dev-libs/opensc-0.8.0 )
> 
> From dependency... opensc is not required at all for gnupg.
> 
> Why zlib and perl needs to be on dependencies?
> emerge --emptytree --pretend system
> 
> Have both?
> 

k - done - thanks.