Summary: | sys-auth/pam_usb removal request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Samuli Suominen (RETIRED) <ssuominen> |
Component: | Current packages | Assignee: | Petteri Räty (RETIRED) <betelgeuse> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, joost.ruis, pam-bugs+disabled, scox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 313389 |
Description
Samuli Suominen (RETIRED)
![]() Well the upstream author has posted on the mailing list in February so I wouldn't say the project is inactive. Andrea: Is pam_usb actively developed? Presumably the intent here is to get you to migrate away from hal. The package is gone. Maybe bug 249110 would be replacement? pam_usb is slowly but actively developed. I'm currently migrating the codebase away from HAL with a new UDisks based engine. (In reply to comment #3) > pam_usb is slowly but actively developed. I'm currently migrating the codebase > away from HAL with a new UDisks based engine. I've just restored pam_usb back to tree with 0.5.0's release. The only question I have is... Why it's still using the deprecated `pmount` instead of `udisks --mount` ? (In reply to comment #4) > (In reply to comment #3) > > pam_usb is slowly but actively developed. I'm currently migrating the codebase > > away from HAL with a new UDisks based engine. > > I've just restored pam_usb back to tree with 0.5.0's release. The only > question I have is... Why it's still using the deprecated `pmount` instead of > `udisks --mount` ? One thing at a time :) I wanted to get rid of HAL ASAP, so I pushed the release as soon as the code base was moved to UDisks. pmount will go away by 0.5.1. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > pam_usb is slowly but actively developed. I'm currently migrating the codebase > > > away from HAL with a new UDisks based engine. > > > > I've just restored pam_usb back to tree with 0.5.0's release. The only > > question I have is... Why it's still using the deprecated `pmount` instead of > > `udisks --mount` ? > > One thing at a time :) I wanted to get rid of HAL ASAP, so I pushed the release > as soon as the code base was moved to UDisks. pmount will go away by 0.5.1. And one more minor thing, we had this patch to support "openpam" for 0.4.2 and it never made upstream it seems: --- src/pam.c +++ src/pam.c @@ -16,8 +16,12 @@ */ #define PAM_SM_AUTH + +#include <stdlib.h> +#include <string.h> + #include <security/pam_modules.h> -#include <security/_pam_macros.h> +#include <security/pam_appl.h> #include "version.h" #include "conf.h" Still applies to 0.5.0 http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-auth/pam_usb/files/pam_usb-0.4.2-openpam.patch?hideattic=0&view=log ^ The original patch. I added string.h for strcmp() > --- src/pam.c > +++ src/pam.c > @@ -16,8 +16,12 @@ > */ > > #define PAM_SM_AUTH > + > +#include <stdlib.h> > +#include <string.h> > + > #include <security/pam_modules.h> > -#include <security/_pam_macros.h> > +#include <security/pam_appl.h> > > #include "version.h" > #include "conf.h" > > Still applies to 0.5.0 Thank Samuli, I don't remember seeing this one. I'll make sure to include it for 0.5.1. Or feel free to send it on github. Either way is fine by me. (In reply to comment #7) > http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-auth/pam_usb/files/pam_usb-0.4.2-openpam.patch?hideattic=0&view=log > > ^ The original patch. I added string.h for strcmp() > > > --- src/pam.c > > +++ src/pam.c > > @@ -16,8 +16,12 @@ > > */ > > > > #define PAM_SM_AUTH > > + > > +#include <stdlib.h> > > +#include <string.h> > > + > > #include <security/pam_modules.h> > > -#include <security/_pam_macros.h> > > +#include <security/pam_appl.h> > > > > #include "version.h" > > #include "conf.h" > > > > Still applies to 0.5.0 |