Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55279 - sys-auth/pam_skey-1.1.4 (new ebuild)
Summary: sys-auth/pam_skey-1.1.4 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://freshmeat.net/projects/pam_skey/
Whiteboard:
Keywords: EBUILD, InVCS
: 36499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-26 15:03 UTC by Ulrich Müller
Modified: 2008-01-16 07:26 UTC (History)
8 users (show)

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


Attachments
pam_skey-1.1.3.ebuild (pam_skey-1.1.3.ebuild,592 bytes, text/plain)
2004-06-26 15:05 UTC, Ulrich Müller
Details
pam_skey-1.1.3.ebuild (pam_skey-1.1.3.ebuild,614 bytes, text/plain)
2004-06-28 00:26 UTC, Ulrich Müller
Details
pam_skey-1.1.3-r1.ebuild (pam_skey-1.1.3-r1.ebuild,822 bytes, text/plain)
2005-02-24 22:19 UTC, Dani Church
Details
files/pam_skey-system-auth.pam.d (pam_skey-system-auth.pam.d,777 bytes, text/plain)
2005-02-24 22:21 UTC, Dani Church
Details
pam_skey-1.1.3-r1.ebuild (pam_skey-1.1.3-r1.ebuild,820 bytes, text/plain)
2006-03-05 06:03 UTC, Jakub Moc (RETIRED)
Details
files/pam_skey-system-auth.pam.d (pam_skey-system-auth.pam.d,494 bytes, text/plain)
2006-03-05 06:04 UTC, Jakub Moc (RETIRED)
Details
pam_skey-1.1.4-gentoo.patch (pam_skey-1.1.4-gentoo.patch,55.57 KB, patch)
2006-03-06 01:33 UTC, Ulrich Müller
Details | Diff
pam_skey-1.1.4-gentoo.patch (take 2) (pam_skey-1.1.4-gentoo.patch,55.07 KB, patch)
2006-03-06 03:13 UTC, Ulrich Müller
Details | Diff
pam_skey-1.1.4 ebuild (pam_skey-1.1.4.ebuild,838 bytes, text/plain)
2006-06-25 05:34 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2004-06-26 15:03:32 UTC
Hello,

this is pam_skey-1.1.3.ebuild, providing a PAM module for interfacing the S/Key library.

I suggest sys-libs/pam_skey where the main PAM libraries are located, too.

Uli

Reproducible: Always
Steps to Reproduce:
Comment 1 Ulrich Müller gentoo-dev 2004-06-26 15:05:59 UTC
Created attachment 34238 [details]
pam_skey-1.1.3.ebuild
Comment 2 Ulrich Müller gentoo-dev 2004-06-28 00:26:32 UTC
Created attachment 34321 [details]
pam_skey-1.1.3.ebuild

Added "dodoc README INSTALL" to src_install().
Comment 3 Ulrich Müller gentoo-dev 2004-09-25 13:11:05 UTC
When bug 65343 is fixed, this will no longer be needed (at least for sshd).
Comment 4 Dani Church 2005-02-24 22:19:37 UTC
Created attachment 52094 [details]
pam_skey-1.1.3-r1.ebuild

Updated SRC_URI to a live copy of the source.  Added my own gentoo-r1 patch
(URL is live).	Add src_unpack, updated src_compile (--libdir should have been
specified, not --exec_prefix) and src_install to fit with the new patch.

My gentoo-r1 patch is a major rewrite of the pam_skey authentication code; it
makes the module more compliant with PAM standards.  See the README and INSTALL
files included with the patch.
Comment 5 Dani Church 2005-02-24 22:21:01 UTC
Created attachment 52095 [details]
files/pam_skey-system-auth.pam.d

This is the replacement pam.d/system-auth config file that pam_skey-1.1.3-r1
uses.
Comment 6 Ulrich Müller gentoo-dev 2005-02-24 23:10:29 UTC
I just want to note that bug 36499 and this one concern the same thing,
so one of them should be resolved as a duplicate.
Comment 7 Dani Church 2005-02-24 23:15:09 UTC
I noticed that as well; I added the update to this one because (a) this bug is more recent, so hopefully it has more active people watching it, and (b) the ebuild file with this bug was cleaner.

In any case, the important part of my update isn't the ebuild at all, but the patch that it refers to.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-08-26 08:24:56 UTC
*** Bug 36499 has been marked as a duplicate of this bug. ***
Comment 9 Ulrich Müller gentoo-dev 2005-08-26 08:33:47 UTC
HOMEPAGE is no longer valid and should be changed to
http://freshmeat.net/projects/pam_skey/

Version 1.1.4 is out since some time (only minuscule changes, though).
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 06:03:23 UTC
Created attachment 81391 [details]
pam_skey-1.1.3-r1.ebuild

slightly modified ebuild (homepage, inherit pam eclass, deps)
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 06:04:38 UTC
Created attachment 81392 [details]
files/pam_skey-system-auth.pam.d

files/pam_skey-system-auth.pam.d - slightly modified to match current pam version
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-03-05 06:06:44 UTC
Tested this w/ openssh-4.2_p1-r1, works nicely. I also tried to redo the patches for 1.1.4 but the two big ones are too much work, don't have time for that. :/
Comment 13 Dani Church 2006-03-05 07:38:01 UTC
I've looked through the changes from pam_skey-1.1.3 to pam_skey-1.1.4, and the only code changes are bugfixes to bugs that don't exist in my code.  Since my patch involved a rewrite of the entirety of pam_skey.c (and removing pam_skey_access.c) the codebase is completely different.  My recommendation is to keep pam_skey-1.1.3-r1 as the current version of the ebuild, as making a 1.1.4-r1 patch and ebuild would provide no further benefits.
Comment 14 Ulrich Müller gentoo-dev 2006-03-06 01:27:35 UTC
Apart from changes related to the new autoconf version, the differences between 1.1.3 and 1.1.4 are small. So it really is not a big issue to base the patch on 1.1.4. See attachment.

Dany, did you consider sending your patch to Upstream? Or is it too Gentoo specific?
Comment 15 Ulrich Müller gentoo-dev 2006-03-06 01:33:10 UTC
Created attachment 81492 [details, diff]
pam_skey-1.1.4-gentoo.patch
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 03:02:31 UTC
(In reply to comment #14)
> Dany, did you consider sending your patch to Upstream? Or is it too Gentoo
> specific?

Indeed, good idea... 

(In reply to comment #15)
> Created an attachment (id=81492) [edit]
> pam_skey-1.1.4-gentoo.patch

I'll give a try as soon as I have time, thanks. 
Comment 17 Ulrich Müller gentoo-dev 2006-03-06 03:13:44 UTC
Created attachment 81505 [details, diff]
pam_skey-1.1.4-gentoo.patch (take 2)

Took out unnecessary hunk for REALEASENOTES.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 03:28:44 UTC
(In reply to comment #17)

Works fine w/ openssh and sudo.
Comment 19 Dani Church 2006-03-06 10:20:16 UTC
I considered sending in the patch; the only reason I didn't was because I made a number of assumptions while writing my code; I don't know how portable it would be to other systems (Linux using a different skey library, *BSD).  That's why I took out many of the configure defines.

So, yes, the new code is in general suitable for any PAM system; however, it might need work to make it portable.
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 02:38:00 UTC
This is now in our Project Sunrise overlay:

svn co http://overlays.gentoo.org/svn/proj/sunrise

Enjoy!
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-06-25 05:34:12 UTC
Created attachment 90101 [details]
pam_skey-1.1.4 ebuild
Comment 22 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-07-07 20:57:41 UTC
*Pretty please* remove this from sunrise, installing a new system-auth file is a no-go situation, and will most likely create _more_ problems for the PAM team (that is: me alone).
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2007-07-07 21:10:48 UTC
(In reply to comment #22)

Done.
Comment 24 Ulrich Müller gentoo-dev 2007-07-07 21:42:22 UTC
Actually, it isn't removed but fixed.
<http://overlays.gentoo.org/proj/sunrise/changeset/4196>
Comment 25 Ulrich Müller gentoo-dev 2008-01-16 07:20:49 UTC
Committed to Portage tree, thanks everybody.

*pam_skey-1.1.4 (16 Jan 2008)

  16 Jan 2008; Ulrich Mueller <ulm@gentoo.org> +metadata.xml,
  +pam_skey-1.1.4.ebuild:
  Import from Sunrise overlay. Original ebuild and patch contributed by
  Dani Church <dani.church@gmail.com>, Jakub Moc <jakub@gentoo.org> and me,
  bug 55279.