This ebuild adds support for 2 new USE flags and 2 new virtual packages: kerberos4 depends on virtual/kerberos4 kerberos5 depends on virtual/kerberos5 I'll check in updated ebuilds for app-crypt/kth-krb (kerberos 4) and app-crypt/heimdal (kerberos5), followed by numerous kerberos-enabled ebuilds (openssh, openafs, samba, etc.). The package now installs in /usr/krb5/* rather than /usr. Two new symbolic links (/usr/kerberos4 and /usr/kerberos5) are created which allow other ebuilds to find the kerberos headers and libraries. This ebuild sets them both to /usr/krb5, while kth-krb will set /usr/kerberos4 to /usr/athena and heimdal will set /usr/kerberos5 to /usr/heimdal. The idea is that other ebuilds can find the required headers without having to care which package provides them (i.e., ./configure --with-krb5=/usr/kerberos5 will work if either krb5 or heimdal is installed).
Created attachment 1382 [details] Updated ebuild to enable kerberos4/kerberos5 flags
Created attachment 1383 [details] Conf file for krb5 (krb5/file/krb5.confd)
Created attachment 1384 [details] Environment file for krb5 (krb5/files/krb5.envd)
Created attachment 1385 [details] init.d file for krb5 (krb5/files/krb5.initd)
Dave: Is it possible to move the /usr/krb{x} directory into /usr/include/ and /usr/lib respectively?
Created attachment 5791 [details] krb5-1.2.6-r1.ebuild Hi. I edited krb5-1.2.6.ebuild to support the additions listed here. Changes to dave's ebuild include: no /usr/krb5, config files to /etc. When no /usr/krb5, no krb5.envd also. BTW. You might wish to check the ebuild first, it's my first one.
Created attachment 5792 [details] fixed krb5-1.2.6-r1.ebuild Spotted a mistake.
Created attachment 5794 [details] kdc.conf to krb5-1.2.6-r1.ebuild
Created attachment 5795 [details] krb5.conf to krb5-1.2.6-r1.ebuild
Created attachment 5797 [details] krb5.initd to krb5-1.2.6-r1.ebuild
So, now only krb5.confd is the same. This package supports krb4, so it could be something like mit-krb?
I placed the new ebuild to http://kapsi.net/~grypt/my_ebuilds/krb5/ See the ChangeLog for changes.
URL does not work at this time.
i'm not sure if this is related to the work going on here, but i thought i'd ask: i'm running gentoo 1.4_rc1, with ACCEPT_KEYWORDS="~x86" (i have a deathwish ^_~). i have app-crypt/krb5 installed. currently, my 'emerge -u world' is trying to pull in app-crypt/heimdal to satisfy dev-libs/cyrus-sasl's dependency on virtual/krb5. but app-crypt/krb5 should be satisfying this dependency, at least from my interpretation of the line PROVIDES="virtual/krb5" in krb5-1.2.6-r1.ebuild. does this have something to do with the new USE keywords being introduced, or should i file a separate bug?
brian: heimdal is being pulled in because it is the current profile definition: /usr/portage/profiles/some-profile/virtuals... I will change this shortly.
committed packages.
Created attachment 6849 [details, diff] -r2 to -r3 diff Hiya. There seems to be a few errors in the mit-krb5 ebuild in portage. There was a typo at the last einfo. The "inherit eutils" was removed, so epatch didn't work. The patching section had invalid pathnames also.
Do you think that krb5-1.2.2-gentoo.diff is neccesary at this time, since this seems to build fine without it?
thanks... committed