Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547556 - net-misc/openconnect-7.06 should depend on virtual/krb5
Summary: net-misc/openconnect-7.06 should depend on virtual/krb5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Schultz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 490872
  Show dependency tree
 
Reported: 2015-04-24 08:14 UTC by Dennis Schridde
Modified: 2015-04-27 19:02 UTC (History)
2 users (show)

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


Attachments
openconnect-7.06.ebuild (openconnect-7.06.ebuild,4.28 KB, text/plain)
2015-04-27 15:26 UTC, Matthew Schultz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2015-04-24 08:14:40 UTC
net-misc/openconnect-7.06 does not require app-crypt/mit-krb5 and also builds with app-crypt/heimdal-1.5.3-r2, thus I suggest that it should DEPEND on virtual/krb5 instead.

1. emerge -C app-crypt/mit-krb5
2. echo app-crypt/mit-krb5 > /etc/portage/package.mask
3. emerge -1 virtual/krb5
4. echo app-crypt/mit-krb5-1.13 > /etc/portage/profile/package.provided
5. USE=gssapi emerge -1 openconnect
6. Observe that net-misc/openconnect-7.06 builds fine:
checking for x86_64-pc-linux-gnu-krb5-config... /usr/bin/x86_64-pc-linux-gnu-krb5-config
checking whether /usr/bin/x86_64-pc-linux-gnu-krb5-config supports gssapi... yes
checking gssapi/gssapi.h usability... yes
checking gssapi/gssapi.h presence... yes
checking for gssapi/gssapi.h... yes
checking GSSAPI compilation with "-L/usr/lib64 -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lhcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -ldl -lresolv"... yes

Reproducible: Always
Comment 1 Matthew Schultz 2015-04-27 15:26:02 UTC
Created attachment 402112 [details]
openconnect-7.06.ebuild

Modified depend to depend on virtual/krb5 instead of app-crypt/krb5 since openconnect can build with either krb5 or heimdal.
Comment 2 Mike Gilbert gentoo-dev 2015-04-27 19:02:09 UTC
+  27 Apr 2015; Mike Gilbert <floppym@gentoo.org> -openconnect-5.01.ebuild,
+  -openconnect-5.02.ebuild, -openconnect-5.03.ebuild,
+  -openconnect-5.99-r1.ebuild, -openconnect-5.99.ebuild,
+  -openconnect-7.01.ebuild, -openconnect-7.04.ebuild, -openconnect-7.05.ebuild,
+  openconnect-6.00.ebuild, openconnect-7.02.ebuild, openconnect-7.06.ebuild:
+  Use krb5 virtual, bug 547556. Remove old.