summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-04-22 14:03:19 +0000
committerEray Aslan <eras@gentoo.org>2011-04-22 14:03:19 +0000
commit5cf8af64b662bf3bd87f77f223f8b3bd90f29157 (patch)
treea648d3efbb080ac7adfd95c6b57e549b7bcb7e3c /app-crypt
parentAdd dev-lang/ruby to DEPEND. Fix bug #364233. (diff)
downloadgentoo-2-5cf8af64b662bf3bd87f77f223f8b3bd90f29157.tar.gz
gentoo-2-5cf8af64b662bf3bd87f77f223f8b3bd90f29157.tar.bz2
gentoo-2-5cf8af64b662bf3bd87f77f223f8b3bd90f29157.zip
Add init script for kpropd - bug #364073. Drop old.
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/mit-krb5/ChangeLog8
-rw-r--r--app-crypt/mit-krb5/files/mit-krb5kpropd.initd27
-rw-r--r--app-crypt/mit-krb5/mit-krb5-1.9-r4.ebuild (renamed from app-crypt/mit-krb5/mit-krb5-1.9-r2.ebuild)4
3 files changed, 37 insertions, 2 deletions
diff --git a/app-crypt/mit-krb5/ChangeLog b/app-crypt/mit-krb5/ChangeLog
index de1c84fc8bca..99bc04518797 100644
--- a/app-crypt/mit-krb5/ChangeLog
+++ b/app-crypt/mit-krb5/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/mit-krb5
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.275 2011/04/15 21:40:34 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/ChangeLog,v 1.276 2011/04/22 14:03:18 eras Exp $
+
+*mit-krb5-1.9-r4 (22 Apr 2011)
+
+ 22 Apr 2011; Eray Aslan <eras@gentoo.org> +files/mit-krb5kpropd.initd,
+ -mit-krb5-1.9-r2.ebuild, +mit-krb5-1.9-r4.ebuild:
+ Add init script for kpropd - bug #364073. Drop old.
15 Apr 2011; Christoph Mende <angelos@gentoo.org> mit-krb5-1.8.3-r5.ebuild:
Stable on amd64 wrt bug #363507
diff --git a/app-crypt/mit-krb5/files/mit-krb5kpropd.initd b/app-crypt/mit-krb5/files/mit-krb5kpropd.initd
new file mode 100644
index 000000000000..432484d8ef59
--- /dev/null
+++ b/app-crypt/mit-krb5/files/mit-krb5kpropd.initd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+
+#---------------------------------------------------------------------------
+# This script starts/stops the MIT Kerberos 5 kpropd
+#---------------------------------------------------------------------------
+
+daemon="MIT Kerberos 5 kpropd"
+exec="/usr/sbin/kpropd"
+
+opts="start stop restart"
+
+depend() {
+ need net
+ use mit-krb5kdc mit-krb5kadmind
+}
+
+start() {
+ ebegin "Starting $daemon"
+ start-stop-daemon --start --quiet --exec ${exec} -- -S 1>&2
+ eend $? "Error starting $daemon"
+}
+
+stop() {
+ ebegin "Stopping $daemon"
+ start-stop-daemon --stop --quiet --oknodo --exec ${exec} 1>&2
+ eend $? "Error stopping $daemon"
+}
diff --git a/app-crypt/mit-krb5/mit-krb5-1.9-r2.ebuild b/app-crypt/mit-krb5/mit-krb5-1.9-r4.ebuild
index 018455a79045..cbeb899da9be 100644
--- a/app-crypt/mit-krb5/mit-krb5-1.9-r2.ebuild
+++ b/app-crypt/mit-krb5/mit-krb5-1.9-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9-r2.ebuild,v 1.1 2011/03/16 09:38:52 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.9-r4.ebuild,v 1.1 2011/04/22 14:03:18 eras Exp $
EAPI=3
@@ -39,6 +39,7 @@ src_prepare() {
epatch "${FILESDIR}/CVE-2010-4022.patch"
epatch "${FILESDIR}/CVE-2011-0281.0282.0283.patch"
epatch "${FILESDIR}/CVE-2011-0284.patch"
+ epatch "${FILESDIR}/CVE-2011-0285.patch"
}
src_configure() {
@@ -92,6 +93,7 @@ src_install() {
newinitd "${FILESDIR}"/mit-krb5kadmind.initd mit-krb5kadmind || die
newinitd "${FILESDIR}"/mit-krb5kdc.initd mit-krb5kdc || die
+ newinitd "${FILESDIR}"/mit-krb5kpropd.initd mit-krb5kpropd || die
insinto /etc
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example