summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2004-08-06 19:59:49 +0000
committerCaleb Tennis <caleb@gentoo.org>2004-08-06 19:59:49 +0000
commitc42c06aeb37d6a91b15f548adbdd8632691ce30f (patch)
treea2e8d873e520bcca1b34afe1ba8618279e5516c5 /kde-base/kdebase
parentFix Manifest (Manifest recommit) (diff)
downloadgentoo-2-c42c06aeb37d6a91b15f548adbdd8632691ce30f.tar.gz
gentoo-2-c42c06aeb37d6a91b15f548adbdd8632691ce30f.tar.bz2
gentoo-2-c42c06aeb37d6a91b15f548adbdd8632691ce30f.zip
Add agents.sh files to startup and shutdown
Diffstat (limited to 'kde-base/kdebase')
-rw-r--r--kde-base/kdebase/ChangeLog6
-rw-r--r--kde-base/kdebase/files/agent-shutdown.sh13
-rw-r--r--kde-base/kdebase/files/agent-startup.sh13
-rw-r--r--kde-base/kdebase/kdebase-3.3.0_rc1.ebuild8
4 files changed, 38 insertions, 2 deletions
diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog
index 89b2ed92e591..bcd0b245e187 100644
--- a/kde-base/kdebase/ChangeLog
+++ b/kde-base/kdebase/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/kdebase
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.139 2004/08/06 15:23:25 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.140 2004/08/06 19:59:49 caleb Exp $
+
+ 06 Aug 2004; Caleb Tennis <caleb@gentoo.org> kdebase-3.3.0_rc1.ebuild,
+ files/agent-shutdown.sh, files/agent-startup.sh:
+ Add agents.sh files to startup and shutdown
*kdebase-3.2.3-r1 (06 Aug 2004)
diff --git a/kde-base/kdebase/files/agent-shutdown.sh b/kde-base/kdebase/files/agent-shutdown.sh
new file mode 100644
index 000000000000..c2095806c68a
--- /dev/null
+++ b/kde-base/kdebase/files/agent-shutdown.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Customized agents shutdown file
+#
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent -k)"
+#fi
+#
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -k)"
+#fi
+#
+
diff --git a/kde-base/kdebase/files/agent-startup.sh b/kde-base/kdebase/files/agent-startup.sh
new file mode 100644
index 000000000000..bf788b003549
--- /dev/null
+++ b/kde-base/kdebase/files/agent-startup.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Customized agents startup file
+#
+#if [ -x /usr/bin/gpg-agent ]; then
+# eval "$(/usr/bin/gpg-agent --daemon)"
+#fi
+#
+#if [ -x /usr/bin/ssh-agent ]; then
+# eval "$(/usr/bin/ssh-agent -s)"
+#fi
+#
+
diff --git a/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild b/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild
index 84fb62cf496d..2b67f3ee74b4 100644
--- a/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild
+++ b/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild,v 1.1 2004/08/06 15:11:47 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.3.0_rc1.ebuild,v 1.2 2004/08/06 19:59:49 caleb Exp $
inherit kde-dist eutils
@@ -66,6 +66,12 @@ src_install() {
rm startkde.orig
chmod a+x startkde
+ # startup and shutdown scripts
+ dodir ${KDEDIR}/env
+ dodir ${KDEDIR}/shutdown
+ cp -a ${FILESDIR}/agent-startup.sh ${D}/${KDEDIR}/env
+ cp -a ${FILESDIR}/agent-shutdown.sh ${D}/${KDEDIR}/shutdown
+
# kcontrol modules
cd ${D}/${KDEDIR}/etc/xdg/menus
ln -s default_kde-settings.menu kde-settings.menu