| 1 | # Copyright 2004 Gentoo Foundation |
1 | # Copyright 2004 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License, v2 or later |
2 | # Distributed under the terms of the GNU General Public License, v2 or later |
| 3 | # Author Diego Pettenò <flameeyes@gentoo.org> |
3 | # Author Diego Pettenò <flameeyes@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.17 2008/06/28 19:57:40 grobian Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/pam.eclass,v 1.18 2009/12/11 20:33:11 vapier Exp $ |
| 5 | # |
5 | # |
| 6 | # This eclass contains functions to install pamd configuration files and |
6 | # This eclass contains functions to install pamd configuration files and |
| 7 | # pam modules. |
7 | # pam modules. |
| 8 | |
8 | |
| 9 | inherit multilib |
9 | inherit multilib |
| … | |
… | |
| 210 | done |
210 | done |
| 211 | } |
211 | } |
| 212 | |
212 | |
| 213 | # Think about it before uncommenting this one, for now run it by hand |
213 | # Think about it before uncommenting this one, for now run it by hand |
| 214 | # pam_pkg_preinst() { |
214 | # pam_pkg_preinst() { |
| 215 | # local shopts=$- |
|
|
| 216 | # set -o noglob # so that bash doen't expand "*" |
215 | # eshopts_push -o noglob # so that bash doen't expand "*" |
| 217 | # |
216 | # |
| 218 | # pam_epam_expand "${D}"/etc/pam.d/* |
217 | # pam_epam_expand "${D}"/etc/pam.d/* |
| 219 | # |
218 | # |
| 220 | # set +o noglob; set -$shopts # reset old shell opts |
219 | # eshopts_pop # reset old shell opts |
| 221 | # } |
220 | # } |