Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 185050
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ali Polatel (RETIRED) <hawking@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pam_chroot-ebuild.patch Ebuild patch patch Diego E. 'Flameeyes' Pettenò 2007-07-12 09:35 0000 1.17 KB Details | Diff
pam_chroot-0.9.1-makefile.patch pam_chroot-0.9.1-makefile.patch patch Diego E. 'Flameeyes' Pettenò 2007-07-12 09:36 0000 534 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 185050 depends on: Show dependency tree
Bug 185050 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-12 09:35 0000
Hi Ali :)

As I'm gonna need pam_chroot to get some extra keyword and probably some stable
marking before marking pam 0.99 stable, I've checked pam_chroot for minor QA
issues.

The attached patch makes it respect LDFLAGS (and link with --as-needed) and
respects LD too.
I sincerely wonder if it would be simpler to build it manually in the ebuild,
but anyway this works :)

Thanks for the help!
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2007-07-12 09:35:57 0000 -------
Created an attachment (id=124620) [details]
Ebuild patch

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2007-07-12 09:36:20 0000 -------
Created an attachment (id=124622) [details]
pam_chroot-0.9.1-makefile.patch

------- Comment #3 From Ali Polatel (RETIRED) 2007-07-12 20:39:11 0000 -------
(In reply to comment #0)
> Hi Ali :)
> 
> As I'm gonna need pam_chroot to get some extra keyword and probably some stable
> marking before marking pam 0.99 stable, I've checked pam_chroot for minor QA
> issues.
> 

hrm this sounds serious :p

> The attached patch makes it respect LDFLAGS (and link with --as-needed) and
> respects LD too.

I've modified the patch a bit and committed it. Here is what I've done:
- Added back -W* flags to CFLAGS. If upstream put them there they are there for
a reason and it's of crucial importance to detect if a pam module has problems
at compile time imo.
- Moved -x and --shared and removed LDFLAGS declaration so we won't need to
export LDFLAGS and just pass it to emake which looks more appropriate.

> I sincerely wonder if it would be simpler to build it manually in the ebuild,
> but anyway this works :)

Hehe, right :) I'll send your patch upstream, hopefully we'll get a nicer
Makefile with the next version.

> Thanks for the help!
> Diego
> 

Sure, feel free to poke me at IRC or reopen this one if I did anything wrong.

Ali

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug