Fix for to the startup service problem on upgrade.

Fix for circular dependency between CASA and Gnome Keyring.
Fix for yast grey out button.
This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-05-22 21:14:34 +00:00
parent a601b19764
commit 0e2f327e7c
22 changed files with 339 additions and 190 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Monday May 22 14:01:31 MST 2006 - cmashayekhi@novell.com
- Fixed dependency cycle between CASA <-> gnome-keyring.
- Bug 176736. Fixed micasad startup/shutdown process to clean up
open files on shutdown and upgrade.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 11 18:33:25 MST 2006 - jnorman@novell.com Wed May 11 18:33:25 MST 2006 - jnorman@novell.com
- Bug 174093. Set our process name to CASAManager so gnome-keyring - Bug 174093. Set our process name to CASAManager so gnome-keyring

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
# Adding CASA pam entries to pam files. # Adding CASA pam entries to pam files.
rm -f *.rpmsave
for file in "/etc/pam.d/login" "/etc/pam.d/sshd" "/etc/pam.d/xdm" "/etc/pam.d/gdm" "/etc/pam.d/kdm" for file in "/etc/pam.d/login" "/etc/pam.d/sshd" "/etc/pam.d/xdm" "/etc/pam.d/gdm" "/etc/pam.d/kdm"
do do
if [ -f $file ] if [ -f $file ]

View File

@ -0,0 +1,18 @@
#!/bin/bash
set -x
#
CFG=`rpm -qa |grep -i ^casa-[1-9]`
if [ "$CFG" != "" ]
then
PAM=`find /etc/pam.d -exec grep -i casa \{\} \;`
if [ "$PAM" != "" ]
then
exit 0
else
exit 1
fi
else
exit 1
fi

View File

@ -11,10 +11,8 @@
# Short-Description: miCASA daemon # Short-Description: miCASA daemon
# Description: miCASA daemon # Description: miCASA daemon
### END INIT INFO ### END INIT INFO
MICASAD_BIN=/usr/sbin/micasad.sh
MICASAD_PID=/var/run/micasad.pid
MICASAD_MONO=/usr/bin/mono
MICASAD_BIN=/usr/sbin/micasad.sh
test -x $MICASAD_BIN || exit 5 test -x $MICASAD_BIN || exit 5
. /etc/rc.status . /etc/rc.status
@ -31,16 +29,39 @@ test -x $MICASAD_BIN || exit 5
# First reset status of this service # First reset status of this service
rc_reset rc_reset
function pid_exists()
{
test -f /var/run/micasad.pid 2> /dev/null
}
function process_running()
{
kill -0 `cat /var/run/micasad.pid` 2> /dev/null
}
function is_running()
{
pid_exists && process_running
}
case "$1" in case "$1" in
start) start)
echo "Starting miCASA daemon" if ! is_running; then \
/sbin/startproc -f $MICASAD_BIN echo -n "Starting miCASA daemon"
$MICASAD_BIN
fi
# Remember status and be verbose # Remember status and be verbose
rc_status -v rc_status -v
;; ;;
stop) stop)
echo "Shutting down micasad " if is_running; then \
killproc -p $MICASAD_PID -TERM $MICASAD_MONO echo -n "Shutting down miCASA daemon"
#killproc -TERM $MICASAD_BIN
pid=`cat /var/run/micasad.pid` >/dev/null 2>&1
kill -s TERM $pid >/dev/null 2>&1
fi
# Remember status and be verbose # Remember status and be verbose
rc_status -v rc_status -v
@ -87,8 +108,12 @@ case "$1" in
rc_status rc_status
;; ;;
status) status)
echo "Checking micasad service ..." echo -n "Checking miCASA daemon"
checkproc -p $MICASAD_PID $MICASAD_BIN if pid_exists && ! process_running 2> /dev/null; then \
rc_failed 1
elif ! pid_exists && ! process_running 2> /dev/null; then \
rc_failed 3
fi
rc_status -v rc_status -v
;; ;;

View File

@ -0,0 +1,39 @@
#include <unistd.h>
#include <fcntl.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
main(int argc, char *argv[])
{
int no_fds = 0;
int fd = -1;
int rc = 0;
pid_t sid;
/*
* Fork a child process
* Exit parent
* Change directory to "/"
* Redirect stdin, stdout, stderr to "/dev/null"
*/
rc = daemon (0, 0);
if ( rc < 0 )
{
exit(EXIT_FAILURE);
}
/* Create a new session */
setsid();
/* Set the file mode creation mask */
umask(022);
/* Close the associated standard file descriptors */
close(STDIN_FILENO);
close(STDOUT_FILENO);
close(STDERR_FILENO);
/* Start micasad */
return execv ("/usr/bin/mono", argv);
}

View File

@ -8,4 +8,4 @@ fi
export MONO_PATH=/usr/lib$ARCH_LIB/ export MONO_PATH=/usr/lib$ARCH_LIB/
mono /usr/bin/micasad.exe exec /usr/sbin/micasad-init /usr/bin/micasad.exe

View File

@ -5,10 +5,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: yast2-CASA 1.6.515\n" "Project-Id-Version: yast2-CASA 1.6.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-05-05 15:48-0600\n" "POT-Creation-Date: 2006-05-22 10:27-0600\n"
"PO-Revision-Date: 2006-05-05 15:48-0600\n" "PO-Revision-Date: 2006-05-22 10:27-0600\n"
"Last-Translator: Cameron Mashayekhi <root@alborz.provo.novell.com>\n" "Last-Translator: Cameron Mashayekhi <root@alborz.provo.novell.com>\n"
"Language-Team: English <en@translate.freefriends.org>\n" "Language-Team: English <en@translate.freefriends.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -137,7 +137,7 @@ msgstr "Configuration summary ..."
#. NovellCasa configure1 dialog caption #. NovellCasa configure1 dialog caption
#. NovellCasa configure2 dialog caption #. NovellCasa configure2 dialog caption
#. Initialization dialog caption #. Initialization dialog caption
#: src/complex.ycp:87 src/dialogs.ycp:47 src/dialogs.ycp:84 #: src/complex.ycp:93 src/dialogs.ycp:47 src/dialogs.ycp:84
#: src/wizards.ycp:163 #: src/wizards.ycp:163
msgid "CASA Configuration" msgid "CASA Configuration"
msgstr "CASA Configuration" msgstr "CASA Configuration"
@ -145,20 +145,20 @@ msgstr "CASA Configuration"
#. Frame label #. Frame label
#. term contents = Wizard_hw::DetectedContent(_("CASA to Configure"), #. term contents = Wizard_hw::DetectedContent(_("CASA to Configure"),
#. unconfigured, false, configured); #. unconfigured, false, configured);
#: src/complex.ycp:98 #: src/complex.ycp:104
msgid " CASA Configuration Wizard Pages " msgid " CASA Configuration Wizard Pages "
msgstr " CASA Configuration Wizard Pages " msgstr " CASA Configuration Wizard Pages "
#: src/complex.ycp:102 #: src/complex.ycp:108
msgid "&Configure CASA" msgid "&Configure CASA"
msgstr "&Configure CASA" msgstr "&Configure CASA"
#: src/complex.ycp:105 #: src/complex.ycp:111
msgid "&Unconfigure CASA" msgid "&Unconfigure CASA"
msgstr "&Unconfigure CASA" msgstr "&Unconfigure CASA"
#. CASA overview dialog caption #. CASA overview dialog caption
#: src/complex.ycp:207 #: src/complex.ycp:250
msgid "CASA Overview" msgid "CASA Overview"
msgstr "CASA Overview" msgstr "CASA Overview"
@ -168,11 +168,11 @@ msgstr "CASA Overview"
#. `header(_("Number"), _("CASA")), #. `header(_("Number"), _("CASA")),
#. overview, nil, nil, nil, nil ); #. overview, nil, nil, nil, nil );
#. contents = Wizard_hw::SpacingAround(contents, 1.5, 1.5, 1.0, 1.0); #. contents = Wizard_hw::SpacingAround(contents, 1.5, 1.5, 1.0, 1.0);
#: src/complex.ycp:219 #: src/complex.ycp:262
msgid "CASA Configuration Wizard Pages" msgid "CASA Configuration Wizard Pages"
msgstr "CASA Configuration Wizard Pages" msgstr "CASA Configuration Wizard Pages"
#: src/complex.ycp:223 #: src/complex.ycp:266
msgid "Re&start Wizard" msgid "Re&start Wizard"
msgstr "Re&start Wizard" msgstr "Re&start Wizard"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2006-05-05 15:48-0600\n" "POT-Creation-Date: 2006-05-22 10:27-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -137,7 +137,7 @@ msgstr ""
#. NovellCasa configure1 dialog caption #. NovellCasa configure1 dialog caption
#. NovellCasa configure2 dialog caption #. NovellCasa configure2 dialog caption
#. Initialization dialog caption #. Initialization dialog caption
#: src/complex.ycp:87 src/dialogs.ycp:47 src/dialogs.ycp:84 #: src/complex.ycp:93 src/dialogs.ycp:47 src/dialogs.ycp:84
#: src/wizards.ycp:163 #: src/wizards.ycp:163
msgid "CASA Configuration" msgid "CASA Configuration"
msgstr "" msgstr ""
@ -145,20 +145,20 @@ msgstr ""
#. Frame label #. Frame label
#. term contents = Wizard_hw::DetectedContent(_("CASA to Configure"), #. term contents = Wizard_hw::DetectedContent(_("CASA to Configure"),
#. unconfigured, false, configured); #. unconfigured, false, configured);
#: src/complex.ycp:98 #: src/complex.ycp:104
msgid " CASA Configuration Wizard Pages " msgid " CASA Configuration Wizard Pages "
msgstr "" msgstr ""
#: src/complex.ycp:102 #: src/complex.ycp:108
msgid "&Configure CASA" msgid "&Configure CASA"
msgstr "" msgstr ""
#: src/complex.ycp:105 #: src/complex.ycp:111
msgid "&Unconfigure CASA" msgid "&Unconfigure CASA"
msgstr "" msgstr ""
#. CASA overview dialog caption #. CASA overview dialog caption
#: src/complex.ycp:207 #: src/complex.ycp:250
msgid "CASA Overview" msgid "CASA Overview"
msgstr "" msgstr ""
@ -168,11 +168,11 @@ msgstr ""
#. `header(_("Number"), _("CASA")), #. `header(_("Number"), _("CASA")),
#. overview, nil, nil, nil, nil ); #. overview, nil, nil, nil, nil );
#. contents = Wizard_hw::SpacingAround(contents, 1.5, 1.5, 1.0, 1.0); #. contents = Wizard_hw::SpacingAround(contents, 1.5, 1.5, 1.0, 1.0);
#: src/complex.ycp:219 #: src/complex.ycp:262
msgid "CASA Configuration Wizard Pages" msgid "CASA Configuration Wizard Pages"
msgstr "" msgstr ""
#: src/complex.ycp:223 #: src/complex.ycp:266
msgid "Re&start Wizard" msgid "Re&start Wizard"
msgstr "" msgstr ""

View File

@ -73,7 +73,7 @@ CREATE_PKGCONFIG_NOARCH_FALSE =
CREATE_PKGCONFIG_NOARCH_TRUE = # CREATE_PKGCONFIG_NOARCH_TRUE = #
CREATE_PKGCONFIG_TRUE = # CREATE_PKGCONFIG_TRUE = #
CYGPATH_W = echo CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.515\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.515\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.515\" DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://bugs.opensuse.org/\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\"
ECHO_C = ECHO_C =
ECHO_N = -n ECHO_N = -n
ECHO_T = ECHO_T =
@ -88,11 +88,11 @@ LTLIBOBJS =
MAINTAINER = casa <casa@novell.com> MAINTAINER = casa <casa@novell.com>
MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo
PACKAGE = yast2-CASA PACKAGE = yast2-CASA
PACKAGE_BUGREPORT = http://www.suse.de/feedback PACKAGE_BUGREPORT = http://bugs.opensuse.org/
PACKAGE_NAME = yast2-CASA PACKAGE_NAME = yast2-CASA
PACKAGE_STRING = yast2-CASA 1.6.515 PACKAGE_STRING = yast2-CASA 1.6.0
PACKAGE_TARNAME = yast2-CASA PACKAGE_TARNAME = yast2-CASA
PACKAGE_VERSION = 1.6.515 PACKAGE_VERSION = 1.6.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig
RPMNAME = yast2-CASA RPMNAME = yast2-CASA
@ -104,7 +104,7 @@ STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
VERSION = 1.6.515 VERSION = 1.6.0
XGETTEXT = /usr/bin/xgettext XGETTEXT = /usr/bin/xgettext
YCPC = /usr/bin/ycpc YCPC = /usr/bin/ycpc
YCPDOC = /usr/lib/YaST2/bin/ycpdoc YCPDOC = /usr/lib/YaST2/bin/ycpdoc

View File

@ -1,8 +1,8 @@
@%:@! /bin/sh @%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.515. @%:@ Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.0.
@%:@ @%:@
@%:@ Report bugs to <http://www.suse.de/feedback>. @%:@ Report bugs to <http://bugs.opensuse.org/>.
@%:@ @%:@
@%:@ Copyright (C) 2003 Free Software Foundation, Inc. @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
@%:@ This configure script is free software; the Free Software Foundation @%:@ This configure script is free software; the Free Software Foundation
@ -269,9 +269,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='yast2-CASA' PACKAGE_NAME='yast2-CASA'
PACKAGE_TARNAME='yast2-CASA' PACKAGE_TARNAME='yast2-CASA'
PACKAGE_VERSION='1.6.515' PACKAGE_VERSION='1.6.0'
PACKAGE_STRING='yast2-CASA 1.6.515' PACKAGE_STRING='yast2-CASA 1.6.0'
PACKAGE_BUGREPORT='http://www.suse.de/feedback' PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME" ac_unique_file="RPMNAME"
ac_default_prefix=/usr ac_default_prefix=/usr
@ -728,7 +728,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures yast2-CASA 1.6.515 to adapt to many kinds of systems. \`configure' configures yast2-CASA 1.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -795,7 +795,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of yast2-CASA 1.6.515:";; short | recursive ) echo "Configuration of yast2-CASA 1.6.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -812,7 +812,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to <http://www.suse.de/feedback>. Report bugs to <http://bugs.opensuse.org/>.
_ACEOF _ACEOF
fi fi
@ -908,7 +908,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
yast2-CASA configure 1.6.515 yast2-CASA configure 1.6.0
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@ -922,7 +922,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by yast2-CASA $as_me 1.6.515, which was It was created by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@ -1652,7 +1652,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='yast2-CASA' PACKAGE='yast2-CASA'
VERSION='1.6.515' VERSION='1.6.0'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -1863,7 +1863,7 @@ echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
VERSION="1.6.515" VERSION="1.6.0"
RPMNAME="yast2-CASA" RPMNAME="yast2-CASA"
MAINTAINER="casa <casa@novell.com>" MAINTAINER="casa <casa@novell.com>"
@ -2693,7 +2693,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by yast2-CASA $as_me 1.6.515, which was This file was extended by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -2748,7 +2748,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
yast2-CASA config.status 1.6.515 yast2-CASA config.status 1.6.0
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -1,8 +1,8 @@
@%:@! /bin/sh @%:@! /bin/sh
@%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.515. @%:@ Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.0.
@%:@ @%:@
@%:@ Report bugs to <http://www.suse.de/feedback>. @%:@ Report bugs to <http://bugs.opensuse.org/>.
@%:@ @%:@
@%:@ Copyright (C) 2003 Free Software Foundation, Inc. @%:@ Copyright (C) 2003 Free Software Foundation, Inc.
@%:@ This configure script is free software; the Free Software Foundation @%:@ This configure script is free software; the Free Software Foundation
@ -269,9 +269,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='yast2-CASA' PACKAGE_NAME='yast2-CASA'
PACKAGE_TARNAME='yast2-CASA' PACKAGE_TARNAME='yast2-CASA'
PACKAGE_VERSION='1.6.515' PACKAGE_VERSION='1.6.0'
PACKAGE_STRING='yast2-CASA 1.6.515' PACKAGE_STRING='yast2-CASA 1.6.0'
PACKAGE_BUGREPORT='http://www.suse.de/feedback' PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME" ac_unique_file="RPMNAME"
ac_default_prefix=/usr ac_default_prefix=/usr
@ -728,7 +728,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures yast2-CASA 1.6.515 to adapt to many kinds of systems. \`configure' configures yast2-CASA 1.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -795,7 +795,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of yast2-CASA 1.6.515:";; short | recursive ) echo "Configuration of yast2-CASA 1.6.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -812,7 +812,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to <http://www.suse.de/feedback>. Report bugs to <http://bugs.opensuse.org/>.
_ACEOF _ACEOF
fi fi
@ -908,7 +908,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
yast2-CASA configure 1.6.515 yast2-CASA configure 1.6.0
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@ -922,7 +922,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by yast2-CASA $as_me 1.6.515, which was It was created by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@ -1652,7 +1652,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='yast2-CASA' PACKAGE='yast2-CASA'
VERSION='1.6.515' VERSION='1.6.0'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -1863,7 +1863,7 @@ echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
VERSION="1.6.515" VERSION="1.6.0"
RPMNAME="yast2-CASA" RPMNAME="yast2-CASA"
MAINTAINER="casa <casa@novell.com>" MAINTAINER="casa <casa@novell.com>"
@ -2693,7 +2693,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by yast2-CASA $as_me 1.6.515, which was This file was extended by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -2748,7 +2748,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
yast2-CASA config.status 1.6.515 yast2-CASA config.status 1.6.0
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -480,7 +480,7 @@ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
AC_SUBST([am__tar]) AC_SUBST([am__tar])
AC_SUBST([am__untar]) AC_SUBST([am__untar])
]) ])
m4trace:configure.in:6: -1- AC_INIT([yast2-CASA], [1.6.515], [http://www.suse.de/feedback], [yast2-CASA]) m4trace:configure.in:6: -1- AC_INIT([yast2-CASA], [1.6.0], [http://bugs.opensuse.org/], [yast2-CASA])
m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_]) m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])

View File

@ -1,4 +1,4 @@
m4trace:configure.in:6: -1- AC_INIT([yast2-CASA], [1.6.515], [http://www.suse.de/feedback], [yast2-CASA]) m4trace:configure.in:6: -1- AC_INIT([yast2-CASA], [1.6.0], [http://bugs.opensuse.org/], [yast2-CASA])
m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_]) m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])

View File

@ -1,7 +1,7 @@
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by yast2-CASA configure 1.6.515, which was It was created by yast2-CASA configure 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure $ ./configure
@ -12,9 +12,9 @@ generated by GNU Autoconf 2.59. Invocation command line was
hostname = alborz hostname = alborz
uname -m = x86_64 uname -m = x86_64
uname -r = 2.6.16-20-smp uname -r = 2.6.16.11-7-smp
uname -s = Linux uname -s = Linux
uname -v = #1 SMP Mon Apr 10 04:51:13 UTC 2006 uname -v = #1 SMP Wed Apr 26 06:58:16 UTC 2006
/usr/bin/uname -p = unknown /usr/bin/uname -p = unknown
/bin/uname -X = unknown /bin/uname -X = unknown
@ -100,7 +100,7 @@ configure:2429: creating ./config.status
## Running config.status. ## ## Running config.status. ##
## ---------------------- ## ## ---------------------- ##
This file was extended by yast2-CASA config.status 1.6.515, which was This file was extended by yast2-CASA config.status 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = CONFIG_FILES =
@ -158,7 +158,7 @@ CREATE_PKGCONFIG_NOARCH_FALSE=''
CREATE_PKGCONFIG_NOARCH_TRUE='#' CREATE_PKGCONFIG_NOARCH_TRUE='#'
CREATE_PKGCONFIG_TRUE='#' CREATE_PKGCONFIG_TRUE='#'
CYGPATH_W='echo' CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.515\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.515\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.515\" ' DEFS='-DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://bugs.opensuse.org/\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\" '
ECHO_C='' ECHO_C=''
ECHO_N='-n' ECHO_N='-n'
ECHO_T='' ECHO_T=''
@ -173,11 +173,11 @@ LTLIBOBJS=''
MAINTAINER='casa <casa@novell.com>' MAINTAINER='casa <casa@novell.com>'
MAKEINFO='${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo' MAKEINFO='${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo'
PACKAGE='yast2-CASA' PACKAGE='yast2-CASA'
PACKAGE_BUGREPORT='http://www.suse.de/feedback' PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
PACKAGE_NAME='yast2-CASA' PACKAGE_NAME='yast2-CASA'
PACKAGE_STRING='yast2-CASA 1.6.515' PACKAGE_STRING='yast2-CASA 1.6.0'
PACKAGE_TARNAME='yast2-CASA' PACKAGE_TARNAME='yast2-CASA'
PACKAGE_VERSION='1.6.515' PACKAGE_VERSION='1.6.0'
PATH_SEPARATOR=':' PATH_SEPARATOR=':'
PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig' PKG_CONFIG_PATH='/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig'
RPMNAME='yast2-CASA' RPMNAME='yast2-CASA'
@ -189,7 +189,7 @@ STYLESHEET_HTML='/usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl'
STYLESHEET_PDF='/usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl' STYLESHEET_PDF='/usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl'
STYLESHEET_YCPDOC='/usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl' STYLESHEET_YCPDOC='/usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl'
STYLESHEET_YDOC='/usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl' STYLESHEET_YDOC='/usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl'
VERSION='1.6.515' VERSION='1.6.0'
XGETTEXT='/usr/bin/xgettext' XGETTEXT='/usr/bin/xgettext'
YCPC='/usr/bin/ycpc' YCPC='/usr/bin/ycpc'
YCPDOC='/usr/lib/YaST2/bin/ycpdoc' YCPDOC='/usr/lib/YaST2/bin/ycpdoc'
@ -257,11 +257,11 @@ ystartupdir='${prefix}/lib/YaST2'
## ----------- ## ## ----------- ##
#define PACKAGE "yast2-CASA" #define PACKAGE "yast2-CASA"
#define PACKAGE_BUGREPORT "http://www.suse.de/feedback" #define PACKAGE_BUGREPORT "http://bugs.opensuse.org/"
#define PACKAGE_NAME "yast2-CASA" #define PACKAGE_NAME "yast2-CASA"
#define PACKAGE_STRING "yast2-CASA 1.6.515" #define PACKAGE_STRING "yast2-CASA 1.6.0"
#define PACKAGE_TARNAME "yast2-CASA" #define PACKAGE_TARNAME "yast2-CASA"
#define PACKAGE_VERSION "1.6.515" #define PACKAGE_VERSION "1.6.0"
#define VERSION "1.6.515" #define VERSION "1.6.0"
configure: exit 0 configure: exit 0

View File

@ -259,7 +259,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by yast2-CASA $as_me 1.6.515, which was This file was extended by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -292,7 +292,7 @@ $config_files
Report bugs to <bug-autoconf@gnu.org>." Report bugs to <bug-autoconf@gnu.org>."
ac_cs_version="\ ac_cs_version="\
yast2-CASA config.status 1.6.515 yast2-CASA config.status 1.6.0
configured by ./configure, generated by GNU Autoconf 2.59, configured by ./configure, generated by GNU Autoconf 2.59,
with options \" 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig'\" with options \" 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig'\"
@ -439,9 +439,9 @@ s,@SHELL@,/bin/sh,;t t
s,@PATH_SEPARATOR@,:,;t t s,@PATH_SEPARATOR@,:,;t t
s,@PACKAGE_NAME@,yast2-CASA,;t t s,@PACKAGE_NAME@,yast2-CASA,;t t
s,@PACKAGE_TARNAME@,yast2-CASA,;t t s,@PACKAGE_TARNAME@,yast2-CASA,;t t
s,@PACKAGE_VERSION@,1.6.515,;t t s,@PACKAGE_VERSION@,1.6.0,;t t
s,@PACKAGE_STRING@,yast2-CASA 1.6.515,;t t s,@PACKAGE_STRING@,yast2-CASA 1.6.0,;t t
s,@PACKAGE_BUGREPORT@,http://www.suse.de/feedback,;t t s,@PACKAGE_BUGREPORT@,http://bugs.opensuse.org/,;t t
s,@exec_prefix@,${prefix},;t t s,@exec_prefix@,${prefix},;t t
s,@prefix@,/usr,;t t s,@prefix@,/usr,;t t
s,@program_transform_name@,s,x,x,,;t t s,@program_transform_name@,s,x,x,,;t t
@ -460,7 +460,7 @@ s,@mandir@,${prefix}/share/man,;t t
s,@build_alias@,,;t t s,@build_alias@,,;t t
s,@host_alias@,,;t t s,@host_alias@,,;t t
s,@target_alias@,,;t t s,@target_alias@,,;t t
s,@DEFS@,-DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.515\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.515\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.515\" ,;t t s,@DEFS@,-DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://bugs.opensuse.org/\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\" ,;t t
s,@ECHO_C@,,;t t s,@ECHO_C@,,;t t
s,@ECHO_N@,-n,;t t s,@ECHO_N@,-n,;t t
s,@ECHO_T@,,;t t s,@ECHO_T@,,;t t
@ -482,7 +482,7 @@ s,@INSTALL_SCRIPT@,${INSTALL},;t t
s,@INSTALL_DATA@,${INSTALL} -m 644,;t t s,@INSTALL_DATA@,${INSTALL} -m 644,;t t
s,@CYGPATH_W@,echo,;t t s,@CYGPATH_W@,echo,;t t
s,@PACKAGE@,yast2-CASA,;t t s,@PACKAGE@,yast2-CASA,;t t
s,@VERSION@,1.6.515,;t t s,@VERSION@,1.6.0,;t t
s,@ACLOCAL@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run aclocal-1.9,;t t s,@ACLOCAL@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run aclocal-1.9,;t t
s,@AUTOCONF@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run autoconf,;t t s,@AUTOCONF@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run autoconf,;t t
s,@AUTOMAKE@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run automake-1.9,;t t s,@AUTOMAKE@,${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run automake-1.9,;t t

28
casa-yast/configure vendored
View File

@ -1,8 +1,8 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.515. # Generated by GNU Autoconf 2.59 for yast2-CASA 1.6.0.
# #
# Report bugs to <http://www.suse.de/feedback>. # Report bugs to <http://bugs.opensuse.org/>.
# #
# Copyright (C) 2003 Free Software Foundation, Inc. # Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation # This configure script is free software; the Free Software Foundation
@ -269,9 +269,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='yast2-CASA' PACKAGE_NAME='yast2-CASA'
PACKAGE_TARNAME='yast2-CASA' PACKAGE_TARNAME='yast2-CASA'
PACKAGE_VERSION='1.6.515' PACKAGE_VERSION='1.6.0'
PACKAGE_STRING='yast2-CASA 1.6.515' PACKAGE_STRING='yast2-CASA 1.6.0'
PACKAGE_BUGREPORT='http://www.suse.de/feedback' PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME" ac_unique_file="RPMNAME"
ac_default_prefix=/usr ac_default_prefix=/usr
@ -728,7 +728,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures yast2-CASA 1.6.515 to adapt to many kinds of systems. \`configure' configures yast2-CASA 1.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@ -795,7 +795,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of yast2-CASA 1.6.515:";; short | recursive ) echo "Configuration of yast2-CASA 1.6.0:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@ -812,7 +812,7 @@ Some influential environment variables:
Use these variables to override the choices made by `configure' or to help Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations. it to find libraries and programs with nonstandard names/locations.
Report bugs to <http://www.suse.de/feedback>. Report bugs to <http://bugs.opensuse.org/>.
_ACEOF _ACEOF
fi fi
@ -908,7 +908,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
yast2-CASA configure 1.6.515 yast2-CASA configure 1.6.0
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@ -922,7 +922,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by yast2-CASA $as_me 1.6.515, which was It was created by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@ -1652,7 +1652,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE='yast2-CASA' PACKAGE='yast2-CASA'
VERSION='1.6.515' VERSION='1.6.0'
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@ -1863,7 +1863,7 @@ echo "${ECHO_T}$am_cv_prog_tar_ustar" >&6
VERSION="1.6.515" VERSION="1.6.0"
RPMNAME="yast2-CASA" RPMNAME="yast2-CASA"
MAINTAINER="casa <casa@novell.com>" MAINTAINER="casa <casa@novell.com>"
@ -2693,7 +2693,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by yast2-CASA $as_me 1.6.515, which was This file was extended by yast2-CASA $as_me 1.6.0, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@ -2748,7 +2748,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
yast2-CASA config.status 1.6.515 yast2-CASA config.status 1.6.0
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -1,9 +1,9 @@
dnl configure.in for yast2-CASA dnl configure.in for yast2-CASA
dnl dnl
dnl -- This file is generated by y2autoconf 2.13.17 - DO NOT EDIT! -- dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
dnl (edit configure.in.in instead) dnl (edit configure.in.in instead)
AC_INIT(yast2-CASA, 1.6.515, http://www.suse.de/feedback, yast2-CASA) AC_INIT(yast2-CASA, 1.6.0, http://bugs.opensuse.org/, yast2-CASA)
dnl Check for presence of file 'RPMNAME' dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME]) AC_CONFIG_SRCDIR([RPMNAME])
@ -17,7 +17,7 @@ AC_PREFIX_DEFAULT(/usr)
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables dnl Important YaST2 variables
VERSION="1.6.515" VERSION="1.6.0"
RPMNAME="yast2-CASA" RPMNAME="yast2-CASA"
MAINTAINER="casa <casa@novell.com>" MAINTAINER="casa <casa@novell.com>"

View File

@ -92,7 +92,7 @@ CREATE_PKGCONFIG_NOARCH_FALSE =
CREATE_PKGCONFIG_NOARCH_TRUE = # CREATE_PKGCONFIG_NOARCH_TRUE = #
CREATE_PKGCONFIG_TRUE = # CREATE_PKGCONFIG_TRUE = #
CYGPATH_W = echo CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.515\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.515\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.515\" DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://bugs.opensuse.org/\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\"
ECHO_C = ECHO_C =
ECHO_N = -n ECHO_N = -n
ECHO_T = ECHO_T =
@ -107,11 +107,11 @@ LTLIBOBJS =
MAINTAINER = casa <casa@novell.com> MAINTAINER = casa <casa@novell.com>
MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo
PACKAGE = yast2-CASA PACKAGE = yast2-CASA
PACKAGE_BUGREPORT = http://www.suse.de/feedback PACKAGE_BUGREPORT = http://bugs.opensuse.org/
PACKAGE_NAME = yast2-CASA PACKAGE_NAME = yast2-CASA
PACKAGE_STRING = yast2-CASA 1.6.515 PACKAGE_STRING = yast2-CASA 1.6.0
PACKAGE_TARNAME = yast2-CASA PACKAGE_TARNAME = yast2-CASA
PACKAGE_VERSION = 1.6.515 PACKAGE_VERSION = 1.6.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig
RPMNAME = yast2-CASA RPMNAME = yast2-CASA
@ -123,7 +123,7 @@ STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
VERSION = 1.6.515 VERSION = 1.6.0
XGETTEXT = /usr/bin/xgettext XGETTEXT = /usr/bin/xgettext
YCPC = /usr/bin/ycpc YCPC = /usr/bin/ycpc
YCPDOC = /usr/lib/YaST2/bin/ycpdoc YCPDOC = /usr/lib/YaST2/bin/ycpdoc

View File

@ -84,7 +84,7 @@ CREATE_PKGCONFIG_NOARCH_FALSE =
CREATE_PKGCONFIG_NOARCH_TRUE = # CREATE_PKGCONFIG_NOARCH_TRUE = #
CREATE_PKGCONFIG_TRUE = # CREATE_PKGCONFIG_TRUE = #
CYGPATH_W = echo CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.515\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.515\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.515\" DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://bugs.opensuse.org/\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\"
ECHO_C = ECHO_C =
ECHO_N = -n ECHO_N = -n
ECHO_T = ECHO_T =
@ -99,11 +99,11 @@ LTLIBOBJS =
MAINTAINER = casa <casa@novell.com> MAINTAINER = casa <casa@novell.com>
MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo MAKEINFO = ${SHELL} /home/cameron/dev/subversion/trunk/casa-yast/missing --run makeinfo
PACKAGE = yast2-CASA PACKAGE = yast2-CASA
PACKAGE_BUGREPORT = http://www.suse.de/feedback PACKAGE_BUGREPORT = http://bugs.opensuse.org/
PACKAGE_NAME = yast2-CASA PACKAGE_NAME = yast2-CASA
PACKAGE_STRING = yast2-CASA 1.6.515 PACKAGE_STRING = yast2-CASA 1.6.0
PACKAGE_TARNAME = yast2-CASA PACKAGE_TARNAME = yast2-CASA
PACKAGE_VERSION = 1.6.515 PACKAGE_VERSION = 1.6.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig PKG_CONFIG_PATH = /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig:/opt/kde3/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/lib64/pkgconfig:/opt/gnome/share/pkgconfig
RPMNAME = yast2-CASA RPMNAME = yast2-CASA
@ -115,7 +115,7 @@ STYLESHEET_HTML = /usr/share/YaST2/data/docbook/stylesheets/customize-html.xsl
STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl STYLESHEET_PDF = /usr/share/YaST2/data/docbook/stylesheets/customize-fo.xsl
STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl STYLESHEET_YCPDOC = /usr/share/YaST2/data/docbook/stylesheets/ycpdoc.xsl
STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl STYLESHEET_YDOC = /usr/share/YaST2/data/docbook/stylesheets/ydoc.xsl
VERSION = 1.6.515 VERSION = 1.6.0
XGETTEXT = /usr/bin/xgettext XGETTEXT = /usr/bin/xgettext
YCPC = /usr/bin/ycpc YCPC = /usr/bin/ycpc
YCPDOC = /usr/lib/YaST2/bin/ycpdoc YCPDOC = /usr/lib/YaST2/bin/ycpdoc

View File

@ -43,15 +43,18 @@ include "CASA/helps.ycp";
* Return a modification status * Return a modification status
* @return true if data was modified * @return true if data was modified
*/ */
boolean Modified() { boolean Modified()
{
return NovellCasa::Modified(); return NovellCasa::Modified();
} }
boolean ReallyAbort() { boolean ReallyAbort()
{
return !NovellCasa::Modified() || Popup::ReallyAbort(true); return !NovellCasa::Modified() || Popup::ReallyAbort(true);
} }
boolean PollAbort() { boolean PollAbort()
{
return UI::PollInput() == `abort; return UI::PollInput() == `abort;
} }
@ -59,7 +62,8 @@ boolean PollAbort() {
* Read settings dialog * Read settings dialog
* @return `abort if aborted and `next otherwise * @return `abort if aborted and `next otherwise
*/ */
symbol ReadDialog() { symbol ReadDialog()
{
Wizard::RestoreHelp(HELPS["read"]:""); Wizard::RestoreHelp(HELPS["read"]:"");
// NovellCasa::AbortFunction = PollAbort; // NovellCasa::AbortFunction = PollAbort;
boolean ret = NovellCasa::Read(); boolean ret = NovellCasa::Read();
@ -70,7 +74,8 @@ symbol ReadDialog() {
* Write settings dialog * Write settings dialog
* @return `abort if aborted and `next otherwise * @return `abort if aborted and `next otherwise
*/ */
symbol WriteDialog() { symbol WriteDialog()
{
Wizard::RestoreHelp(HELPS["write"]:""); Wizard::RestoreHelp(HELPS["write"]:"");
// NovellCasa::AbortFunction = PollAbort; // NovellCasa::AbortFunction = PollAbort;
boolean ret = NovellCasa::Write(); boolean ret = NovellCasa::Write();
@ -81,7 +86,8 @@ symbol WriteDialog() {
* Summary dialog * Summary dialog
* @return dialog result * @return dialog result
*/ */
any SummaryDialog() { any SummaryDialog()
{
/* CASA summary dialog caption */ /* CASA summary dialog caption */
string caption = _("CASA Configuration"); string caption = _("CASA Configuration");
@ -110,8 +116,22 @@ any SummaryDialog() {
Wizard::SetContentsButtons(caption, contents, HELPS["summary"]:"", Wizard::SetContentsButtons(caption, contents, HELPS["summary"]:"",
Label::BackButton(), Label::FinishButton()); Label::BackButton(), Label::FinishButton());
integer iConfig_CASAReturn = (integer)SCR::Execute(.target.bash, "/usr/sbin/iscasaconfiged");
if(iConfig_CASAReturn == 0)
{
UI::ChangeWidget(`id(`install_casa_button), `Enabled, false);
}
else
{
UI::ChangeWidget(`id(`uninstall_casa_button), `Enabled, false);
}
any ret = nil; any ret = nil;
while(true) {
while(true)
{
ret = UI::UserInput(); ret = UI::UserInput();
@ -121,27 +141,35 @@ any SummaryDialog() {
else continue; else continue;
} }
/* overview dialog */ /* overview dialog */
else if(ret == `edit_button) { else if(ret == `edit_button)
{
ret = `overview; ret = `overview;
break; break;
} }
/* configure the selected device */ /* configure the selected device */
else if(ret == `configure_button) { else if(ret == `configure_button)
{
// TODO FIXME: check for change of the configuration // TODO FIXME: check for change of the configuration
any selected = UI::QueryWidget(`id(`detected_selbox), `CurrentItem); any selected = UI::QueryWidget(`id(`detected_selbox), `CurrentItem);
if(selected == `other) { if(selected == `other)
{
ret = `other; ret = `other;
} }
else { else
{
ret = `configure; ret = `configure;
} }
break; break;
} }
else if(ret == `next) { else if(ret == `next)
{
break; break;
} }
else if(ret == `install_casa_button) { else if(ret == `install_casa_button)
{
if(iConfig_CASAReturn != 0)
{
// launch the install script here // launch the install script here
y2milestone ("SummaryDialog() launch the install script"); y2milestone ("SummaryDialog() launch the install script");
integer iInstall_CASAReturn = (integer)SCR::Execute(.target.bash, "/usr/sbin/installcasa"); integer iInstall_CASAReturn = (integer)SCR::Execute(.target.bash, "/usr/sbin/installcasa");
@ -163,9 +191,18 @@ any SummaryDialog() {
{ {
Popup::Error(sformat("The install_casa script returned an unknown error: %1",iInstall_CASAReturn)); Popup::Error(sformat("The install_casa script returned an unknown error: %1",iInstall_CASAReturn));
} }
UI::ChangeWidget(`id(`install_casa_button), `Enabled, false);
UI::ChangeWidget(`id(`uninstall_casa_button), `Enabled, false);
}
continue; continue;
} }
else if(ret == `uninstall_casa_button) { else if(ret == `uninstall_casa_button)
{
if(iConfig_CASAReturn == 0)
{
// launch the uninstall script here // launch the uninstall script here
y2milestone ("SummaryDialog() launch the uninstall script"); y2milestone ("SummaryDialog() launch the uninstall script");
integer iUninstall_CASAReturn = (integer)SCR::Execute(.target.bash, "/usr/sbin/uninstallcasa"); integer iUninstall_CASAReturn = (integer)SCR::Execute(.target.bash, "/usr/sbin/uninstallcasa");
@ -186,9 +223,14 @@ any SummaryDialog() {
{ {
Popup::Error(sformat("The uninstall_casa script returned an unknown error: %1",iUninstall_CASAReturn)); Popup::Error(sformat("The uninstall_casa script returned an unknown error: %1",iUninstall_CASAReturn));
} }
UI::ChangeWidget(`id(`uninstall_casa_button), `Enabled, false);
UI::ChangeWidget(`id(`install_casa_button), `Enabled, false);
}
continue; continue;
} }
else { else
{
y2error("unexpected retcode: %1", ret); y2error("unexpected retcode: %1", ret);
continue; continue;
} }
@ -201,7 +243,8 @@ any SummaryDialog() {
* Overview dialog * Overview dialog
* @return dialog result * @return dialog result
*/ */
any OverviewDialog() { any OverviewDialog()
{
/* CASA overview dialog caption */ /* CASA overview dialog caption */
string caption = _("CASA Overview"); string caption = _("CASA Overview");
@ -228,36 +271,42 @@ any OverviewDialog() {
Label::BackButton(), Label::FinishButton()); Label::BackButton(), Label::FinishButton());
any ret = nil; any ret = nil;
while(true) { while(true)
{
ret = UI::UserInput(); ret = UI::UserInput();
/* abort? */ /* abort? */
if(ret == `abort || ret == `cancel) { if(ret == `abort || ret == `cancel)
{
if(ReallyAbort()) break; if(ReallyAbort()) break;
else continue; else continue;
} }
/* add */ /* add */
else if(ret == `add_button) { else if(ret == `add_button)
{
/* FIXME */ /* FIXME */
ret = `add; ret = `add;
break; break;
} }
/* edit */ /* edit */
else if(ret == `edit_button) { else if(ret == `edit_button)
{
/* FIXME */ /* FIXME */
ret = `edit; ret = `edit;
break; break;
} }
/* delete */ /* delete */
else if(ret == `delete_button) { else if(ret == `delete_button)
{
/* FIXME */ /* FIXME */
continue; continue;
} }
else if(ret == `next || ret == `back) { else if(ret == `next || ret == `back)
{
break; break;
} }
else { else
{
y2error("unexpected retcode: %1", ret); y2error("unexpected retcode: %1", ret);
continue; continue;
} }

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 22 14:10:16 MDT 2006 - cmashayekhi@novell.com
- Bug 171136. Fixed to gray out proper button before and
after configuration in yast.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 08 08:43:20 MDT 2006 - cmashayekhi@novell.com Mon May 08 08:43:20 MDT 2006 - cmashayekhi@novell.com

View File

@ -17,7 +17,8 @@
Name: @PACKAGE@ Name: @PACKAGE@
URL: http://www.novell.com/products URL: http://www.novell.com/products
BuildRequires: gcc-c++ glade-sharp glib-sharp glib2-devel gnome-filesystem gnome-keyring-devel gtk-sharp gtk-sharp-gapi gtk2-devel java2-devel-packages mDNSResponder-devel kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel # BuildRequires: gcc-c++ glade-sharp glib-sharp glib2-devel gnome-filesystem gnome-keyring-devel gtk-sharp gtk-sharp-gapi gtk2-devel java2-devel-packages mDNSResponder-devel kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
BuildRequires: gcc-c++ glade-sharp glib-sharp glib2-devel gnome-filesystem gtk-sharp gtk-sharp-gapi gtk2-devel java2-devel-packages mDNSResponder-devel kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
%define prefix /usr/share/doc/packages %define prefix /usr/share/doc/packages
%define bin_prefix /usr %define bin_prefix /usr
License: LGPL License: LGPL
@ -116,6 +117,7 @@ install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.KWallet.dll %{buildroot}%{
install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib} install -m 755 %{_lib}/%{cfg}/Novell.CASA.DataEngines.FireFox.dll %{buildroot}%{bin_prefix}/%{_lib}
install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin install -m 755 %{binsource}/%{cfg}/micasad.exe %{buildroot}%{bin_prefix}/bin
install -m 755 %{binsource}/%{cfg}/micasad-init %{buildroot}%{bin_prefix}/bin
install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin install -m 755 c_gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin
install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin install -m 755 c_gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
@ -127,6 +129,7 @@ install -m 755 c_micasad/startup/casacfgpam %{buildroot}%{bin_prefix}/sbin
install -m 755 c_micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin install -m 755 c_micasad/startup/casaucfgpam %{buildroot}%{bin_prefix}/sbin
install -m 755 c_micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin install -m 755 c_micasad/startup/installcasa %{buildroot}%{bin_prefix}/sbin
install -m 755 c_micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin install -m 755 c_micasad/startup/uninstallcasa %{buildroot}%{bin_prefix}/sbin
install -m 755 c_micasad/startup/iscasaconfiged %{buildroot}%{bin_prefix}/sbin
install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security install -m 755 %{_lib}/%{cfg}/pam_micasa.so %{buildroot}/%{_lib}/security
@ -216,9 +219,11 @@ rm -rf $RPM_BUILD_ROOT
%{bin_prefix}/sbin/casaucfgpam %{bin_prefix}/sbin/casaucfgpam
%{bin_prefix}/sbin/installcasa %{bin_prefix}/sbin/installcasa
%{bin_prefix}/sbin/uninstallcasa %{bin_prefix}/sbin/uninstallcasa
%{bin_prefix}/sbin/iscasaconfiged
%{bin_prefix}/sbin/micasad.sh %{bin_prefix}/sbin/micasad.sh
%{bin_prefix}/bin/micasad.exe %{bin_prefix}/bin/micasad.exe
%{bin_prefix}/bin/micasad-init
%{prefix}/CASA/doc/CASA_Reference_Guide.pdf %{prefix}/CASA/doc/CASA_Reference_Guide.pdf
%{prefix}/CASA/doc/License.txt %{prefix}/CASA/doc/License.txt