Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3480 - Update adds support for kerberos4 & kerberos5 USE flags
Summary: Update adds support for kerberos4 & kerberos5 USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-07 10:44 UTC by Dave Love
Modified: 2002-12-30 16:01 UTC (History)
1 user (show)

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


Attachments
Updated ebuild to enable kerberos4/kerberos5 flags (krb5-1.2.5-r1.ebuild,1.20 KB, text/plain)
2002-06-07 10:47 UTC, Dave Love
Details
Conf file for krb5 (krb5/file/krb5.confd) (krb5.confd,233 bytes, text/plain)
2002-06-07 10:48 UTC, Dave Love
Details
Environment file for krb5 (krb5/files/krb5.envd) (krb5.envd,100 bytes, text/plain)
2002-06-07 10:49 UTC, Dave Love
Details
init.d file for krb5 (krb5/files/krb5.initd) (krb5.initd,1.47 KB, text/plain)
2002-06-07 10:49 UTC, Dave Love
Details
krb5-1.2.6-r1.ebuild (krb5-1.2.6-r1.ebuild,1.77 KB, text/plain)
2002-11-19 12:08 UTC, Martti Rannanjärvi
Details
fixed krb5-1.2.6-r1.ebuild (krb5-1.2.6-r1.ebuild,1.71 KB, text/plain)
2002-11-19 12:10 UTC, Martti Rannanjärvi
Details
kdc.conf to krb5-1.2.6-r1.ebuild (kdc.conf,513 bytes, text/plain)
2002-11-19 12:12 UTC, Martti Rannanjärvi
Details
krb5.conf to krb5-1.2.6-r1.ebuild (krb5.conf,541 bytes, text/plain)
2002-11-19 12:13 UTC, Martti Rannanjärvi
Details
krb5.initd to krb5-1.2.6-r1.ebuild (krb5.initd,1.45 KB, text/plain)
2002-11-19 12:15 UTC, Martti Rannanjärvi
Details
-r2 to -r3 diff (mit-krb5-1.2.6-r3.diff,1.21 KB, patch)
2002-12-30 09:40 UTC, Martti Rannanjärvi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Love 2002-06-07 10:44:39 UTC
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).
Comment 1 Dave Love 2002-06-07 10:47:22 UTC
Created attachment 1382 [details]
Updated ebuild to enable kerberos4/kerberos5 flags
Comment 2 Dave Love 2002-06-07 10:48:26 UTC
Created attachment 1383 [details]
Conf file for krb5 (krb5/file/krb5.confd)
Comment 3 Dave Love 2002-06-07 10:49:11 UTC
Created attachment 1384 [details]
Environment file for krb5 (krb5/files/krb5.envd)
Comment 4 Dave Love 2002-06-07 10:49:40 UTC
Created attachment 1385 [details]
init.d file for krb5 (krb5/files/krb5.initd)
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2002-11-03 14:36:22 UTC
Dave: Is it possible to move the /usr/krb{x} directory into /usr/include/ and
/usr/lib respectively?  
Comment 6 Martti Rannanjärvi 2002-11-19 12:08:23 UTC
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.
Comment 7 Martti Rannanjärvi 2002-11-19 12:10:32 UTC
Created attachment 5792 [details]
fixed  krb5-1.2.6-r1.ebuild

Spotted a mistake.
Comment 8 Martti Rannanjärvi 2002-11-19 12:12:57 UTC
Created attachment 5794 [details]
kdc.conf to krb5-1.2.6-r1.ebuild
Comment 9 Martti Rannanjärvi 2002-11-19 12:13:58 UTC
Created attachment 5795 [details]
krb5.conf to krb5-1.2.6-r1.ebuild
Comment 10 Martti Rannanjärvi 2002-11-19 12:15:59 UTC
Created attachment 5797 [details]
krb5.initd to krb5-1.2.6-r1.ebuild
Comment 11 Martti Rannanjärvi 2002-11-19 12:19:28 UTC
So, now only krb5.confd is the same.

This package supports krb4, so it could be something like mit-krb?
Comment 12 Martti Rannanjärvi 2002-12-06 15:51:19 UTC
I placed the new ebuild to http://kapsi.net/~grypt/my_ebuilds/krb5/
See the ChangeLog for changes.
Comment 13 Ryan Phillips (RETIRED) gentoo-dev 2002-12-11 17:16:06 UTC
URL does not work at this time.
Comment 14 brian tarricone 2002-12-23 20:03:32 UTC
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?
Comment 15 Ryan Phillips (RETIRED) gentoo-dev 2002-12-27 12:51:51 UTC
brian: heimdal is being pulled in because it is the current profile definition:
/usr/portage/profiles/some-profile/virtuals... I will change this shortly.
Comment 16 Ryan Phillips (RETIRED) gentoo-dev 2002-12-27 13:10:25 UTC
committed packages.
Comment 17 Martti Rannanjärvi 2002-12-30 09:40:38 UTC
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.
Comment 18 Martti Rannanjärvi 2002-12-30 10:13:27 UTC
Do you think that krb5-1.2.2-gentoo.diff is neccesary at this time, since this
seems to build fine without it?
Comment 19 Ryan Phillips (RETIRED) gentoo-dev 2002-12-30 16:01:14 UTC
thanks... committed