Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25907 - openssh ebuild does not honor USE=afs
Summary: openssh ebuild does not honor USE=afs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 22916
Blocks:
  Show dependency tree
 
Reported: 2003-08-04 14:04 UTC by Sascha Silbe
Modified: 2003-08-08 04:19 UTC (History)
0 users

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


Attachments
Adding support for USE=afs to openssh-3.6.1_p2.ebuild (openssh-3.6.1_p2.ebuild.patch,643 bytes, patch)
2003-08-05 15:07 UTC, Sascha Silbe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Silbe 2003-08-04 14:04:53 UTC
OpenSSH has AFS support, but the ebuild does not enable it.
The following configure flags need to be given:
--with-afs
--with-kerberos4

The following dependancies need to be added:
app-crypt/kth-krb
net-fs/openafs

app-crypt/kth-krb-1.2.1, as currently in portage, does not compile, so I'm making this bug dependant on #22916 after entering it.

You should also consider splitting up the USE flag "kerberos" into "kerberos4" and "kerberos5" since they are totally different protocols and sometimes even mutually exclusive.



Reproducible: Always
Steps to Reproduce:




Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21-cube-2 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/vice/etc /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/afs/modload /etc/make.globals /etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 foomaticdb libg++ mad gtkhtml gdbm berkdb libwww gtk cdr -3dfx 3dnow -aalib acl afs -alsa apm -arts avi -bonobo crypt -cups dga -directfb doc dvd encode -esd -evo -fbcon -ggi gif -gnome -gnome-libs -gphoto2 -gpm guile hbci -icc -icc-pgo imap imlib ipv6 -java jpeg kde kerberos lcms ldap -matrox maildir mbox mikmod mmx monitor -motif mozilla mpeg -mule mysql nas ncurses nls -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib -perl png -pnp postgres python qt qtmt quicktime readline -ruby samba -sasl sdl slang -slp -snmp socks5 spell ssl -static -svga -tcltk -tcpd tetex tiff truetype -voodoo3 X xml xml2 -xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Sascha Silbe 2003-08-05 15:06:39 UTC
Well, should have inspected the ebuild more thoroughly, Kerberos 4 support is already there if KTH_KRB is set. I wonder why you use an environment variable that's only documented in this ebuild instead of a USE variable, though.

Anyway, I've made a patch with the necessary changes. It works fine on my system (apart from the problems OpenSSH itself has with AFS support).

Comment 2 Sascha Silbe 2003-08-05 15:07:29 UTC
Created attachment 15569 [details, diff]
Adding support for USE=afs to openssh-3.6.1_p2.ebuild
Comment 3 Daniel Ahlberg (RETIRED) gentoo-dev 2003-08-08 04:19:59 UTC
fixed in -r2