summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-09-01 02:59:03 +0000
committerWilliam Hubbs <williamh@gentoo.org>2011-09-01 02:59:03 +0000
commit1384db2b6ef9727a4cb507a239f71c0945a20850 (patch)
tree82ba434f740388369c45b5bccc8237b61464b3c3 /sys-apps/openrc
parentVersion bump for beta channel release. (diff)
downloadgentoo-2-1384db2b6ef9727a4cb507a239f71c0945a20850.tar.gz
gentoo-2-1384db2b6ef9727a4cb507a239f71c0945a20850.tar.bz2
gentoo-2-1384db2b6ef9727a4cb507a239f71c0945a20850.zip
Make start-stop-daemon use system-services PAM stack.
This closes bug #365149. (Portage version: 2.2.0_alpha51/cvs/Linux i686)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/ChangeLog7
-rw-r--r--sys-apps/openrc/files/start-stop-daemon.pam2
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild7
3 files changed, 13 insertions, 3 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
index 4c9e4d386305..3b13c5973d16 100644
--- a/sys-apps/openrc/ChangeLog
+++ b/sys-apps/openrc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/openrc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.164 2011/07/12 18:30:17 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.165 2011/09/01 02:59:02 williamh Exp $
+
+ 01 Sep 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild,
+ +files/start-stop-daemon.pam:
+ Make start-stop-daemon use system-services PAM stack.
+ This closes bug #365149.
12 Jul 2011; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
libexecdir should use "lib" instead of "$(get_libdir)"
diff --git a/sys-apps/openrc/files/start-stop-daemon.pam b/sys-apps/openrc/files/start-stop-daemon.pam
new file mode 100644
index 000000000000..2127f6a70d57
--- /dev/null
+++ b/sys-apps/openrc/files/start-stop-daemon.pam
@@ -0,0 +1,2 @@
+account required pam_permit.so
+session include system-services
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 34183fb51439..b60133f71c03 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.85 2011/07/12 18:30:17 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.86 2011/09/01 02:59:02 williamh Exp $
EAPI=4
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git"
[[ ${PV} == "9999" ]] && SCM_ECLASS="git-2"
-inherit eutils flag-o-matic multilib toolchain-funcs ${SCM_ECLASS}
+inherit eutils flag-o-matic multilib pam toolchain-funcs ${SCM_ECLASS}
unset SCM_ECLASS
DESCRIPTION="OpenRC manages the services, startup and shutdown of a host"
@@ -134,6 +134,9 @@ src_install() {
# Support for logfile rotation
insinto /etc/logrotate.d
newins "${FILESDIR}"/openrc.logrotate openrc
+
+ # install the gentoo pam.d file
+ newpamd "${FILESDIR}"/start-stop-daemon.pam start-stop-daemon
}
add_boot_init() {