sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config
- From: bugzilla-daemon AT metalab.unc.edu
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config
- Date: Sun, 9 Feb 2003 16:42:28 -0500
http://bugs.sourcemage.org/show_bug.cgi?id=2474
------- Additional Comments From eric_s AT gmx.de 2003-02-09 16:42 -------
here is a diff to cast, which uses the $SECURITY_LOG variable to display the
contents of a SECURITY file, which is in a spells directory, ans asks if the
spell should still be cast'ed
Please apply, so we can start adding SECURITY descriptions to spells
--- cast.orig 2003-02-09 22:46:29.000000000 +0100
+++ cast 2003-02-09 22:46:18.000000000 +0100
@@ -89,7 +89,19 @@
}
+run_security() {
+ debug "cast" "Starting run_security() on $SPELL"
+ if [ -f $SCRIPT_DIRECTORY/SECURITY ]; then
+ echo "${SPELL_COLOR} $SPELL: ${DEFAULT_COLOR}"
+ cat $SCRIPT_DIRECTORY/SECURITY
+ cat $SCRIPT_DIRECTORY/SECURITY > $SECURITY_LOG
+ if query "Do you still want to cast ${SPELL_COLOR} $SPELL
${DEFAULT_COLOR}?" n; then
+ return 1
+ fi
+ fi
+ return 0
+}
prepare_spell_config() {
@@ -935,6 +947,7 @@
cast_spell() { (
debug "cast" "Casting spell [$SPELL]"
run_details &&
+ run_security &&
run_conflicts &&
debug "DB" "cast_spell run_conflicts done" &&
satisfy_depends &&
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config,
bugzilla-daemon, 02/09/2003
- <Possible follow-up(s)>
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
- [SM-Sorcery-Bugs] [Bug 2474] security log variable in /etc/sorcery/config, bugzilla-daemon, 02/09/2003
Archive powered by MHonArc 2.6.24.