Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646272 - sys-auth/pam_ssh: /etc/portage/patches/sys-auth/pam_ssh/my.patch is not applied
Summary: sys-auth/pam_ssh: /etc/portage/patches/sys-auth/pam_ssh/my.patch is not applied
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-01 06:21 UTC by Thomas Bettler
Modified: 2019-04-29 22:21 UTC (History)
1 user (show)

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


Attachments
/etc/portage/patches/sys-auth/pam_ssh/my.patch (my.patch,2.83 KB, patch)
2018-02-01 06:23 UTC, Thomas Bettler
Details | Diff
sys-auth/pam_ssh-1.98.ebuild adopted to EAPI=6 (pam_ssh-1.98.ebuild,1.13 KB, text/plain)
2018-02-01 06:33 UTC, Thomas Bettler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bettler 2018-02-01 06:21:56 UTC
I can't say why exactly but realize /etc/portage/patches/sys-auth/pam_ssh/my.patch isn't applied - while all the others at /etc/portage/patches/* are.

Probably this is due to '_' char in PN? Or why else?

Reproducible: Always

Steps to Reproduce:
1. copy my.patch to /etc/portage/patches/sys-auth/pam_ssh/
2.$ ebuild /usr/portage/sys-auth/pam_ssh/pam_ssh-1.98.ebuild prepare
Actual Results:  
>>> Unpacking source...                                                                                                                                                                                                                                                                          
>>> Unpacking pam_ssh-1.98.tar.bz2 to /var/tmp/portage/sys-auth/pam_ssh-1.98/work                                                                                                                                                                                                                
>>> Source unpacked in /var/tmp/portage/sys-auth/pam_ssh-1.98/work                                                                                                                                                                                                                               
>>> Preparing source in /var/tmp/portage/sys-auth/pam_ssh-1.98/work/pam_ssh-1.98 ...                                                                                                                                                                                                             
>>> Source prepared.                                                                                                                                                                                                                                                                             


Expected Results:  
...
>>> Preparing source in /var/tmp/portage/sys-auth/pam_ssh-1.98/work/pam_ssh-1.98 ...                                                                                                                                                                                                             
 * Applying user patches from /etc/portage/patches//sys-auth/pam_ssh ...
 *   my.patch ...                                                                                                                                                                                                                                                            
 * Done with patching
>>> Source prepared.
Comment 1 Thomas Bettler 2018-02-01 06:23:39 UTC
Created attachment 517342 [details, diff]
/etc/portage/patches/sys-auth/pam_ssh/my.patch
Comment 2 Zac Medico gentoo-dev 2018-02-01 06:27:08 UTC
The ebuild would have to use EAPI=6 or call the epatch_user function.
Comment 3 Thomas Bettler 2018-02-01 06:33:41 UTC
Created attachment 517344 [details]
sys-auth/pam_ssh-1.98.ebuild adopted to EAPI=6

indeed this works.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-04-29 22:21:05 UTC
>=2.2 are EAPI-7 based.