YaST modules rename from novell-casa to CASA.

This commit is contained in:
Cameron (Kamran) Mashayekhi 2006-04-18 22:12:38 +00:00
parent d47212b28d
commit dcccf58835
23 changed files with 690 additions and 160 deletions

View File

@ -2,7 +2,7 @@
# agents/Makefile. Generated from Makefile.in by configure. # agents/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc. # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -14,15 +14,15 @@
# Makefile.am for novell-casa/agents # Makefile.am for CASA/agents
srcdir = . srcdir = .
top_srcdir = .. top_srcdir = ..
pkgdatadir = $(datadir)/yast2-novell-casa pkgdatadir = $(datadir)/yast2-CASA
pkglibdir = $(libdir)/yast2-novell-casa pkglibdir = $(libdir)/yast2-CASA
pkgincludedir = $(includedir)/yast2-novell-casa pkgincludedir = $(includedir)/yast2-CASA
top_builddir = .. top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p INSTALL = /usr/bin/install -c -p
@ -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-novell-casa\" -DPACKAGE_TARNAME=\"yast2-novell-casa\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-novell-casa\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-novell-casa\" -DVERSION=\"1.6.0\" DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\"
ECHO_C = ECHO_C =
ECHO_N = -n ECHO_N = -n
ECHO_T = ECHO_T =
@ -87,15 +87,15 @@ LN_S = ln -s
LTLIBOBJS = LTLIBOBJS =
MAINTAINER = casa <casa@novell.com> MAINTAINER = casa <casa@novell.com>
MAKEINFO = ${SHELL} /home/nds_cm/dev/yast/casa-yast/missing --run makeinfo MAKEINFO = ${SHELL} /home/nds_cm/dev/yast/casa-yast/missing --run makeinfo
PACKAGE = yast2-novell-casa PACKAGE = yast2-CASA
PACKAGE_BUGREPORT = http://www.suse.de/feedback PACKAGE_BUGREPORT = http://www.suse.de/feedback
PACKAGE_NAME = yast2-novell-casa PACKAGE_NAME = yast2-CASA
PACKAGE_STRING = yast2-novell-casa 1.6.0 PACKAGE_STRING = yast2-CASA 1.6.0
PACKAGE_TARNAME = yast2-novell-casa PACKAGE_TARNAME = yast2-CASA
PACKAGE_VERSION = 1.6.0 PACKAGE_VERSION = 1.6.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
PKG_CONFIG_PATH = PKG_CONFIG_PATH =
RPMNAME = yast2-novell-casa RPMNAME = yast2-CASA
SET_MAKE = SET_MAKE =
SHELL = /bin/sh SHELL = /bin/sh
STRIP = STRIP =
@ -123,7 +123,7 @@ build_vendor = suse
clientdir = ${prefix}/share/YaST2/clients clientdir = ${prefix}/share/YaST2/clients
datadir = ${prefix}/share datadir = ${prefix}/share
desktopdir = ${prefix}/share/applications/YaST2 desktopdir = ${prefix}/share/applications/YaST2
docdir = ${prefix}/share/doc/packages/yast2-novell-casa docdir = ${prefix}/share/doc/packages/yast2-CASA
exec_prefix = ${prefix} exec_prefix = ${prefix}
execcompdir = ${prefix}/lib/YaST2 execcompdir = ${prefix}/lib/YaST2
fillupdir = /var/adm/fillup-templates fillupdir = /var/adm/fillup-templates

View File

@ -1,4 +1,4 @@
# Makefile.am for novell-casa/agents # Makefile.am for CASA/agents
agent_SCRIPTS = agent_SCRIPTS =

View File

@ -2,7 +2,7 @@
# @configure_input@ # @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc. # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -14,7 +14,7 @@
@SET_MAKE@ @SET_MAKE@
# Makefile.am for novell-casa/agents # Makefile.am for CASA/agents
srcdir = @srcdir@ srcdir = @srcdir@

View File

@ -893,7 +893,7 @@ rpmBuild ()
echo "************************************************************" echo "************************************************************"
echo "[$SCRIPT_NAME] running rpmBuild()" echo "[$SCRIPT_NAME] running rpmBuild()"
# delete the yast2-novell-casa build directory # delete the yast2-CASA build directory
deleteBuildDirectoryContents deleteBuildDirectoryContents
# delete the rpm directory # delete the rpm directory
@ -923,10 +923,10 @@ rpmBuild ()
# this creates the tarball in the package directory # this creates the tarball in the package directory
executeMakePackageLocal executeMakePackageLocal
# create the novell-casa.po file # create the CASA.po file
#createPOFile #createPOFile
# delete the yast2-novell-casa directory in the SOURCES directory # delete the yast2-CASA directory in the SOURCES directory
deleteSourcesDirectoryContents deleteSourcesDirectoryContents
# delete the spec file in the SPECS directory # delete the spec file in the SPECS directory
@ -1016,7 +1016,7 @@ rpmBuild ()
# delete the package directory # delete the package directory
deletePackageDirectory deletePackageDirectory
# delete the yast2-novell-casa directory in the SOURCES directory # delete the yast2-CASA directory in the SOURCES directory
deleteSourcesDirectoryContents deleteSourcesDirectoryContents
# delete the spec file in the SPECS directory # delete the spec file in the SPECS directory
@ -1038,7 +1038,7 @@ rpmBuild ()
# clean the pot and mo files # clean the pot and mo files
cleanPOTFile cleanPOTFile
# delete the yast2-novell-casa build directory # delete the yast2-CASA build directory
deleteBuildDirectoryContents deleteBuildDirectoryContents
} }
@ -1142,7 +1142,7 @@ createTarBall ()
createPOFile () createPOFile ()
{ {
# use the novell-casa.pot file to create the novell-casa.po which is given to localization # use the CASA.pot file to create the CASA.po which is given to localization
cd $START_DIR cd $START_DIR
echo "" echo ""
@ -1172,7 +1172,7 @@ createPOFile ()
createMOFiles () createMOFiles ()
{ {
# use the novell-casa.po files from localization to create the novell-casa.mo files # use the CASA.po files from localization to create the CASA.mo files
cd $START_DIR cd $START_DIR
PO_DIRS="$START_DIR/pofiles/cs PO_DIRS="$START_DIR/pofiles/cs
$START_DIR/pofiles/de $START_DIR/pofiles/de
@ -1230,7 +1230,7 @@ clean ()
# delete the package directory # delete the package directory
deletePackageDirectory deletePackageDirectory
# delete the yast2-novell-casa directory in the SOURCES directory # delete the yast2-CASA directory in the SOURCES directory
deleteSourcesDirectoryContents deleteSourcesDirectoryContents
# delete the spec file in the SPECS directory # delete the spec file in the SPECS directory
@ -1259,7 +1259,7 @@ clean ()
cleanPOTFile cleanPOTFile
cleanMOFiles cleanMOFiles
# delete the yast2-novell-casa build directory # delete the yast2-CASA build directory
deleteBuildDirectoryContents deleteBuildDirectoryContents
# from rpmBuild () # from rpmBuild ()
@ -1280,7 +1280,7 @@ clean ()
cleanPOFile () cleanPOFile ()
{ {
# delete the novell-casa.po file # delete the CASA.po file
cd $START_DIR cd $START_DIR
if [ -e $START_DIR/$PO_FILE ] if [ -e $START_DIR/$PO_FILE ]
@ -1296,7 +1296,7 @@ cleanPOFile ()
cleanPOTFile () cleanPOTFile ()
{ {
# delete the novell-casa.pot file # delete the CASA.pot file
cd $START_DIR cd $START_DIR
if [ -e $START_DIR/$POT_FILE ] if [ -e $START_DIR/$POT_FILE ]
@ -1312,7 +1312,7 @@ cleanPOTFile ()
cleanMOFiles () cleanMOFiles ()
{ {
# delete the novell-casa.mo file # delete the CASA.mo file
cd $START_DIR cd $START_DIR
echo "" echo ""
@ -1452,7 +1452,7 @@ else
ARCH=i586 ARCH=i586
fi fi
PACKAGE_NAME="yast2-novell-casa" PACKAGE_NAME="yast2-CASA"
BUILD_ROOT_SPECS_DIR="$BUILD_ROOT/SPECS" BUILD_ROOT_SPECS_DIR="$BUILD_ROOT/SPECS"
BUILD_ROOT_RPMS_DIR="$BUILD_ROOT/RPMS" BUILD_ROOT_RPMS_DIR="$BUILD_ROOT/RPMS"
BUILD_ROOT_SRPMS_DIR="$BUILD_ROOT/SRPMS" BUILD_ROOT_SRPMS_DIR="$BUILD_ROOT/SRPMS"
@ -1467,9 +1467,9 @@ PACKAGE_DIRECTORY="$START_DIR/package"
SPEC_FILE_DIRECTORY="$START_DIR/spec" SPEC_FILE_DIRECTORY="$START_DIR/spec"
SPEC_FILE="$PACKAGE_NAME.spec" SPEC_FILE="$PACKAGE_NAME.spec"
SPEC_IN_FILE="$PACKAGE_NAME.spec.in" SPEC_IN_FILE="$PACKAGE_NAME.spec.in"
POT_FILE="novell-casa.pot" POT_FILE="CASA.pot"
PO_FILE="novell-casa.po" PO_FILE="CASA.po"
MO_FILE="novell-casa.mo" MO_FILE="CASA.mo"
validateCommandLineParams validateCommandLineParams

View File

@ -0,0 +1,23 @@
[Desktop Entry]
Type=Application
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Security;
X-KDE-ModuleType=Library
X-KDE-RootOnly=true
X-KDE-HasReadOnlyMode=true
X-KDE-Library=yast2
X-SuSE-YaST-Call=CASA
X-SuSE-YaST-Group=Security
X-SuSE-YaST-Argument=
X-SuSE-YaST-RootOnly=true
X-SuSE-YaST-AutoInst=
X-SuSE-YaST-Geometry=
X-SuSE-YaST-SortKey=
X-SuSE-YaST-AutoInstResource=CASA
Icon=CASA
Exec=/sbin/yast2 CASA
Name=Novell CASA
GenericName=Configure CASA

92
casa-yast/src/CASA.ycp Normal file
View File

@ -0,0 +1,92 @@
/**
* File: clients/CASA.ycp
* Package: Configuration of CASA
* Summary: Main file
* Authors: casa <casa@novell.com>
*
*********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* Main file for CASA configuration. Uses all other files.
*/
{
/***
* <h3>Configuration of CASA</h3>
*/
textdomain "CASA";
/* The main () */
y2milestone ("----------------------------------------");
y2milestone ("Novell CASA module started");
import "Progress";
import "Report";
import "Summary";
import "CommandLine";
include "CASA/wizards.ycp";
map cmdline_description = $[
"id" : "CASA",
/* Command line help text for the XCASA module */
"help" : _("Configuration of CASA"),
"guihandler" : NovellCasaSequence,
"initialize" : NovellCasa::Read,
"finish" : NovellCasa::Write,
"actions" : $[
// FIXME TODO: fill the functionality description here
],
"options" : $[
// FIXME TODO: fill the option descriptions here
],
"mapping" : $[
// FIXME TODO: fill the mappings of actions and options here
]
];
/* is this proposal or not? */
boolean propose = false;
list args = WFM::Args();
if(size(args) > 0) {
if(is(WFM::Args(0), path) && WFM::Args(0) == .propose) {
y2milestone("Using PROPOSE mode");
propose = true;
}
}
/* main ui function */
any ret = nil;
if(propose) ret = NovellCasaAutoSequence();
else ret = CommandLine::Run(cmdline_description);
y2debug("ret=%1", ret);
/* Finish */
y2milestone("Novell CASA module finished");
y2milestone("----------------------------------------");
return ret;
/* EOF */
}

117
casa-yast/src/CASA_auto.ycp Normal file
View File

@ -0,0 +1,117 @@
/**
* File: clients/CASA_auto.ycp
* Package: Configuration of CASA
* Summary: Client for autoinstallation
* Authors: casa <casa@novell.com>
*
*********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* This is a client for autoinstallation. It takes its arguments,
* goes through the configuration and return the setting.
* Does not do any changes to the configuration.
*/
/**
* @param function to execute
* @param map/list of CASA settings
* @return map edited settings, Summary or boolean on success depending on called function
* @example map mm = $[ "FAIL_DELAY" : "77" ];
* @example map ret = WFM::CallFunction ("CASA_auto", [ "Summary", mm ]);
*/
{
textdomain "CASA";
y2milestone("----------------------------------------");
y2milestone("Novell CASA auto started");
import "NovellCasa";
include "CASA/wizards.ycp";
any ret = nil;
string func = "";
map param = $[];
/* Check arguments */
if(size(WFM::Args()) > 0 && is(WFM::Args(0), string)) {
func = (string)WFM::Args(0);
if(size(WFM::Args()) > 1 && is(WFM::Args(1), map))
param = (map) WFM::Args(1);
}
y2debug("func=%1", func);
y2debug("param=%1", param);
/* Create a summary*/
if(func == "Summary") {
ret = select(NovellCasa::Summary(), 0, "");
}
/* Reset configuration */
else if (func == "Reset") {
NovellCasa::Import($[]);
ret = $[];
}
/* Change configuration (run AutoSequence) */
else if (func == "Change") {
ret = NovellCasaAutoSequence();
}
/* Import configuration */
else if (func == "Import") {
ret = NovellCasa::Import(param);
}
/* Return actual state */
else if (func == "Export") {
ret = NovellCasa::Export();
}
/* Return needed packages */
else if (func == "Packages") {
ret = NovellCasa::AutoPackages();
}
/* Read current state */
else if (func == "Read") {
import "Progress";
Progress::off();
ret = NovellCasa::Read();
Progress::on();
}
/* Write givven settings */
else if (func == "Write") {
import "Progress";
Progress::off();
// NovellCasa::write_only = true;
ret = NovellCasa::Write();
Progress::on();
}
/* Unknown function */
else {
y2error("Unknown function: %1", func);
ret = false;
}
y2debug("ret=%1", ret);
y2milestone("Novell CASA auto finished");
y2milestone("----------------------------------------");
return ret;
/* EOF */
}

View File

@ -0,0 +1,107 @@
/**
* File: clients/CASA_proposal.ycp
* Package: Configuration of CASA
* Summary: Proposal function dispatcher.
* Authors: casa <casa@novell.com>
*
*********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* Proposal function dispatcher for CASA configuration.
* See source/installation/proposal/proposal-API.txt
*/
{
textdomain "CASA";
import "NovellCasa";
import "Progress";
/* The main () */
y2milestone("----------------------------------------");
y2milestone("Novell CASA proposal started");
string func = (string) WFM::Args(0);
map param = (map) WFM::Args(1);
map ret = $[];
/* create a textual proposal */
if(func == "MakeProposal") {
string proposal = "";
string warning = nil;
symbol warning_level = nil;
boolean force_reset = param["force_reset"]:false;
// if(force_reset || !NovellCasa::proposal_valid) {
// NovellCasa::proposal_valid = true;
// Progress::off();
// NovellCasa::Read();
// }
list sum = NovellCasa::Summary();
// proposal = sum[0]:"";
Progress::on();
ret = $[
// "preformatted_proposal" : proposal,
// "warning_level" : warning_level,
// "warning" : warning,
];
}
/* run the module */
else if(func == "AskUser") {
map stored = NovellCasa::Export();
symbol seq = (symbol) WFM::CallFunction("CASA", [.propose]);
if(seq != `next) NovellCasa::Import(stored);
y2debug("stored=%1",stored);
y2debug("seq=%1",seq);
ret = $[
"workflow_sequence" : seq
];
}
/* create titles */
else if(func == "Description") {
ret = $[
/* Rich text title for NovellCasa in proposals */
"rich_text_title" : _("Novell CASA"),
/* Menu title for NovellCasa in proposals */
"menu_title" : _("&Novell CASA"),
"id" : "CASA",
];
}
/* write the proposal */
else if(func == "Write") {
NovellCasa::Write();
}
/* unknown function */
else {
y2error("unknown function: %1", func);
}
/* Finish */
y2debug("ret=%1",ret);
y2milestone("Novell CASA proposal finished");
y2milestone("----------------------------------------");
return ret;
/* EOF */
}

View File

@ -2,7 +2,7 @@
# src/Makefile. Generated from Makefile.in by configure. # src/Makefile. Generated from Makefile.in by configure.
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc. # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -14,7 +14,7 @@
# Makefile.am for novell-casa/src # Makefile.am for CASA/src
# Makefile.am.common -*- Makefile -*- # Makefile.am.common -*- Makefile -*-
# Generated file, do not edit! # Generated file, do not edit!
@ -22,9 +22,9 @@
srcdir = . srcdir = .
top_srcdir = .. top_srcdir = ..
pkgdatadir = $(datadir)/yast2-novell-casa pkgdatadir = $(datadir)/yast2-CASA
pkglibdir = $(libdir)/yast2-novell-casa pkglibdir = $(libdir)/yast2-CASA
pkgincludedir = $(includedir)/yast2-novell-casa pkgincludedir = $(includedir)/yast2-CASA
top_builddir = .. top_builddir = ..
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c -p INSTALL = /usr/bin/install -c -p
@ -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-novell-casa\" -DPACKAGE_TARNAME=\"yast2-novell-casa\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-novell-casa\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-novell-casa\" -DVERSION=\"1.6.0\" DEFS = -DPACKAGE_NAME=\"yast2-CASA\" -DPACKAGE_TARNAME=\"yast2-CASA\" -DPACKAGE_VERSION=\"1.6.0\" -DPACKAGE_STRING=\"yast2-CASA\ 1.6.0\" -DPACKAGE_BUGREPORT=\"http://www.suse.de/feedback\" -DPACKAGE=\"yast2-CASA\" -DVERSION=\"1.6.0\"
ECHO_C = ECHO_C =
ECHO_N = -n ECHO_N = -n
ECHO_T = ECHO_T =
@ -98,15 +98,15 @@ LN_S = ln -s
LTLIBOBJS = LTLIBOBJS =
MAINTAINER = casa <casa@novell.com> MAINTAINER = casa <casa@novell.com>
MAKEINFO = ${SHELL} /home/nds_cm/dev/yast/casa-yast/missing --run makeinfo MAKEINFO = ${SHELL} /home/nds_cm/dev/yast/casa-yast/missing --run makeinfo
PACKAGE = yast2-novell-casa PACKAGE = yast2-CASA
PACKAGE_BUGREPORT = http://www.suse.de/feedback PACKAGE_BUGREPORT = http://www.suse.de/feedback
PACKAGE_NAME = yast2-novell-casa PACKAGE_NAME = yast2-CASA
PACKAGE_STRING = yast2-novell-casa 1.6.0 PACKAGE_STRING = yast2-CASA 1.6.0
PACKAGE_TARNAME = yast2-novell-casa PACKAGE_TARNAME = yast2-CASA
PACKAGE_VERSION = 1.6.0 PACKAGE_VERSION = 1.6.0
PATH_SEPARATOR = : PATH_SEPARATOR = :
PKG_CONFIG_PATH = PKG_CONFIG_PATH =
RPMNAME = yast2-novell-casa RPMNAME = yast2-CASA
SET_MAKE = SET_MAKE =
SHELL = /bin/sh SHELL = /bin/sh
STRIP = STRIP =
@ -134,7 +134,7 @@ build_vendor = suse
clientdir = ${prefix}/share/YaST2/clients clientdir = ${prefix}/share/YaST2/clients
datadir = ${prefix}/share datadir = ${prefix}/share
desktopdir = ${prefix}/share/applications/YaST2 desktopdir = ${prefix}/share/applications/YaST2
docdir = ${prefix}/share/doc/packages/yast2-novell-casa docdir = ${prefix}/share/doc/packages/yast2-CASA
exec_prefix = ${prefix} exec_prefix = ${prefix}
execcompdir = ${prefix}/lib/YaST2 execcompdir = ${prefix}/lib/YaST2
fillupdir = /var/adm/fillup-templates fillupdir = /var/adm/fillup-templates
@ -175,13 +175,13 @@ themedir = /usr/share/pixmaps
yast2dir = ${prefix}/share/YaST2 yast2dir = ${prefix}/share/YaST2
ybindir = ${prefix}/lib/YaST2/bin ybindir = ${prefix}/lib/YaST2/bin
ydatadir = ${prefix}/share/YaST2/data ydatadir = ${prefix}/share/YaST2/data
yncludedir = ${prefix}/share/YaST2/include/novell-casa yncludedir = ${prefix}/share/YaST2/include/CASA
ystartupdir = ${prefix}/lib/YaST2 ystartupdir = ${prefix}/lib/YaST2
iconsdir = /usr/share/applications iconsdir = /usr/share/applications
client_DATA = \ client_DATA = \
novell-casa.ycp \ CASA.ycp \
novell-casa_auto.ycp \ CASA_auto.ycp \
novell-casa_proposal.ycp CASA_proposal.ycp
ynclude_DATA = \ ynclude_DATA = \
helps.ycp \ helps.ycp \
@ -190,7 +190,7 @@ ynclude_DATA = \
complex.ycp complex.ycp
desktop_DATA = \ desktop_DATA = \
novell-casa.desktop CASA.desktop
module_DATA = \ module_DATA = \
NovellCasa.ycp NovellCasa.ycp

View File

@ -1,14 +1,14 @@
# Makefile.am for novell-casa/src # Makefile.am for CASA/src
yncludedir = @yncludedir@/novell-casa yncludedir = @yncludedir@/CASA
iconsdir = /usr/share/applications iconsdir = /usr/share/applications
themedir = /usr/share/pixmaps themedir = /usr/share/pixmaps
client_DATA = \ client_DATA = \
novell-casa.ycp \ CASA.ycp \
novell-casa_auto.ycp \ CASA_auto.ycp \
novell-casa_proposal.ycp CASA_proposal.ycp
ynclude_DATA = \ ynclude_DATA = \
helps.ycp \ helps.ycp \
@ -17,7 +17,7 @@ ynclude_DATA = \
complex.ycp complex.ycp
desktop_DATA = \ desktop_DATA = \
novell-casa.desktop CASA.desktop
module_DATA = \ module_DATA = \
NovellCasa.ycp NovellCasa.ycp

View File

@ -2,7 +2,7 @@
# @configure_input@ # @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005 Free Software Foundation, Inc. # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it, # gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved. # with or without modifications, as long as this notice is preserved.
@ -14,7 +14,7 @@
@SET_MAKE@ @SET_MAKE@
# Makefile.am for novell-casa/src # Makefile.am for CASA/src
# Makefile.am.common -*- Makefile -*- # Makefile.am.common -*- Makefile -*-
# Generated file, do not edit! # Generated file, do not edit!
@ -175,13 +175,13 @@ themedir = /usr/share/pixmaps
yast2dir = @yast2dir@ yast2dir = @yast2dir@
ybindir = @ybindir@ ybindir = @ybindir@
ydatadir = @ydatadir@ ydatadir = @ydatadir@
yncludedir = @yncludedir@/novell-casa yncludedir = @yncludedir@/CASA
ystartupdir = @ystartupdir@ ystartupdir = @ystartupdir@
iconsdir = /usr/share/applications iconsdir = /usr/share/applications
client_DATA = \ client_DATA = \
novell-casa.ycp \ CASA.ycp \
novell-casa_auto.ycp \ CASA_auto.ycp \
novell-casa_proposal.ycp CASA_proposal.ycp
ynclude_DATA = \ ynclude_DATA = \
helps.ycp \ helps.ycp \
@ -190,7 +190,7 @@ ynclude_DATA = \
complex.ycp complex.ycp
desktop_DATA = \ desktop_DATA = \
novell-casa.desktop CASA.desktop
module_DATA = \ module_DATA = \
NovellCasa.ycp NovellCasa.ycp

View File

@ -1,12 +1,37 @@
#! /usr/bin/perl -w #! /usr/bin/perl -w
# File: modules/NovellCasa.pm # File: modules/NovellCasa.pm
# Package: Configuration of novell-casa # Package: Configuration of CASA
# Summary: NovellCasa settings, input and output functions # Summary: NovellCasa settings, input and output functions
# Authors: casa <casa@novell.com> # Authors: casa <casa@novell.com>
# #
# $Id: NovellCasa.pm,v 1.5 2004/02/11 10:31:12 mvidner Exp $ # $Id: NovellCasa.pm,v 1.5 2004/02/11 10:31:12 mvidner Exp $
#------------------------------------------------------------------------------
# Comments to:
# support@Novell.com
#------------------------------------------------------------------------------
# #
# Representation of the configuration of novell-casa. # Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; version 2.1
# of the License.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com.
#
#
#------------------------------------------------------------------------------
#
# Representation of the configuration of CASA.
# Input and output routines. # Input and output routines.
@ -21,7 +46,7 @@ use Locale::gettext;
use POSIX (); # Needed for setlocale() use POSIX (); # Needed for setlocale()
POSIX::setlocale(LC_MESSAGES, ""); POSIX::setlocale(LC_MESSAGES, "");
textdomain("novell-casa"); textdomain("CASA");
sub _ { sub _ {
return gettext($_[0]); return gettext($_[0]);
@ -59,7 +84,7 @@ sub Modified {
return Boolean($modified); return Boolean($modified);
} }
# Settings: Define all variables needed for configuration of novell-casa # Settings: Define all variables needed for configuration of CASA
# TODO FIXME: Define all the variables necessary to hold # TODO FIXME: Define all the variables necessary to hold
# TODO FIXME: the configuration here (with the appropriate # TODO FIXME: the configuration here (with the appropriate
# TODO FIXME: description) # TODO FIXME: description)
@ -75,14 +100,14 @@ sub Modified {
# my $additional_parameter = 1; # my $additional_parameter = 1;
## ##
# Read all novell-casa settings # Read all CASA settings
# @return true on success # @return true on success
# #
BEGIN { $TYPEINFO{Read} = ["function", "boolean"]; } BEGIN { $TYPEINFO{Read} = ["function", "boolean"]; }
sub Read { sub Read {
# NovellCasa read dialog caption # NovellCasa read dialog caption
my $caption = _("Initializing novell-casa Configuration"); my $caption = _("Initializing CASA Configuration");
# TODO FIXME Set the right number of stages # TODO FIXME Set the right number of stages
my $steps = 4; my $steps = 4;
@ -157,14 +182,14 @@ sub Read {
} }
## ##
# Write all novell-casa settings # Write all CASA settings
# @return true on success # @return true on success
# #
BEGIN { $TYPEINFO{Write} = ["function", "boolean"]; } BEGIN { $TYPEINFO{Write} = ["function", "boolean"]; }
sub Write { sub Write {
# NovellCasa read dialog caption # NovellCasa read dialog caption
my $caption = _("Saving novell-casa Configuration"); my $caption = _("Saving CASA Configuration");
# TODO FIXME And set the right number of stages # TODO FIXME And set the right number of stages
my $steps = 2; my $steps = 2;
@ -216,7 +241,7 @@ sub Write {
} }
## ##
# Get all novell-casa settings from the first parameter # Get all CASA settings from the first parameter
# (For use by autoinstallation.) # (For use by autoinstallation.)
# @param settings The YCP structure to be imported. # @param settings The YCP structure to be imported.
# @return boolean True on success # @return boolean True on success
@ -229,7 +254,7 @@ sub Import {
} }
## ##
# Dump the novell-casa settings to a single map # Dump the CASA settings to a single map
# (For use by autoinstallation.) # (For use by autoinstallation.)
# @return map Dumped settings (later acceptable by Import ()) # @return map Dumped settings (later acceptable by Import ())
# #

View File

@ -1,19 +1,38 @@
/** /**
* File: modules/NovellCasa.ycp * File: modules/NovellCasa.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: NovellCasa settings, input and output functions * Summary: NovellCasa settings, input and output functions
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: NovellCasa.ycp,v 1.13 2004/03/15 13:18:08 mvidner Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
* *
* Representation of the configuration of novell-casa. * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* Representation of the configuration of CASA.
* Input and output routines. * Input and output routines.
*/ */
{ {
module "NovellCasa"; module "NovellCasa";
textdomain "novell-casa"; textdomain "CASA";
import "Progress"; import "Progress";
import "Report"; import "Report";
@ -66,7 +85,7 @@ global boolean Modified() {
return modified; return modified;
} }
// Settings: Define all variables needed for configuration of novell-casa // Settings: Define all variables needed for configuration of CASA
// TODO FIXME: Define all the variables necessary to hold // TODO FIXME: Define all the variables necessary to hold
// TODO FIXME: the configuration here (with the appropriate // TODO FIXME: the configuration here (with the appropriate
// TODO FIXME: description) // TODO FIXME: description)
@ -82,13 +101,13 @@ global boolean Modified() {
// boolean additional_parameter = true; // boolean additional_parameter = true;
/** /**
* Read all novell-casa settings * Read all CASA settings
* @return true on success * @return true on success
*/ */
global boolean Read() { global boolean Read() {
/* NovellCasa read dialog caption */ /* NovellCasa read dialog caption */
string caption = _("Initializing novell-casa Configuration"); string caption = _("Initializing CASA Configuration");
// TODO FIXME Set the right number of stages // TODO FIXME Set the right number of stages
integer steps = 4; integer steps = 4;
@ -157,13 +176,13 @@ global boolean Read() {
} }
/** /**
* Write all novell-casa settings * Write all CASA settings
* @return true on success * @return true on success
*/ */
global boolean Write() { global boolean Write() {
/* NovellCasa read dialog caption */ /* NovellCasa read dialog caption */
string caption = _("Saving novell-casa Configuration"); string caption = _("Saving CASA Configuration");
// TODO FIXME And set the right number of stages // TODO FIXME And set the right number of stages
integer steps = 2; integer steps = 2;
@ -213,7 +232,7 @@ global boolean Write() {
} }
/** /**
* Get all novell-casa settings from the first parameter * Get all CASA settings from the first parameter
* (For use by autoinstallation.) * (For use by autoinstallation.)
* @param settings The YCP structure to be imported. * @param settings The YCP structure to be imported.
* @return boolean True on success * @return boolean True on success
@ -224,7 +243,7 @@ global boolean Import (map settings) {
} }
/** /**
* Dump the novell-casa settings to a single map * Dump the CASA settings to a single map
* (For use by autoinstallation.) * (For use by autoinstallation.)
* @return map Dumped settings (later acceptable by Import ()) * @return map Dumped settings (later acceptable by Import ())
*/ */

View File

@ -1,15 +1,35 @@
/** /**
* File: include/novell-casa/complex.ycp * File: include/CASA/complex.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Dialogs definitions * Summary: Dialogs definitions
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: complex.ycp,v 1.6 2004/02/05 15:16:57 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
import "Label"; import "Label";
import "Popup"; import "Popup";
@ -17,7 +37,7 @@ import "Wizard";
//import "Wizard_hw"; //import "Wizard_hw";
import "NovellCasa"; import "NovellCasa";
include "novell-casa/helps.ycp"; include "CASA/helps.ycp";
/** /**
* Return a modification status * Return a modification status

View File

@ -1,21 +1,41 @@
/** /**
* File: include/novell-casa/dialogs.ycp * File: include/CASA/dialogs.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Dialogs definitions * Summary: Dialogs definitions
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: dialogs.ycp,v 1.6 2004/02/05 11:29:30 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
import "Label"; import "Label";
import "Wizard"; import "Wizard";
import "NovellCasa"; import "NovellCasa";
include "novell-casa/helps.ycp"; include "CASA/helps.ycp";
/** /**
* Configure1 dialog * Configure1 dialog
@ -27,7 +47,7 @@ any Configure1Dialog () {
string caption = _("Novell CASA Configuration"); string caption = _("Novell CASA Configuration");
/* NovellCasa configure1 dialog contents */ /* NovellCasa configure1 dialog contents */
term contents = `Label (_("First part of configuration of novell-casa")); term contents = `Label (_("First part of configuration of CASA"));
Wizard::SetContentsButtons(caption, contents, HELPS["c1"]:"", Wizard::SetContentsButtons(caption, contents, HELPS["c1"]:"",
Label::BackButton(), Label::NextButton()); Label::BackButton(), Label::NextButton());
@ -64,7 +84,7 @@ any Configure2Dialog () {
string caption = _("Novell CASA Configuration"); string caption = _("Novell CASA Configuration");
/* NovellCasa configure2 dialog contents */ /* NovellCasa configure2 dialog contents */
term contents = `Label (_("Second part of configuration of novell-casa")); term contents = `Label (_("Second part of configuration of CASA"));
Wizard::SetContentsButtons(caption, contents, HELPS["c2"]:"", Wizard::SetContentsButtons(caption, contents, HELPS["c2"]:"",
Label::BackButton(), Label::NextButton()); Label::BackButton(), Label::NextButton());

View File

@ -1,15 +1,35 @@
/** /**
* File: include/novell-casa/helps.ycp * File: include/CASA/helps.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Help texts of all the dialogs * Summary: Help texts of all the dialogs
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: helps.ycp,v 1.4 2004/02/05 11:29:30 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
/** /**
* All helps are here * All helps are here

View File

@ -7,20 +7,30 @@
# Comments to: # Comments to:
# support@novell.com # support@novell.com
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Copyright 2005, Novell, Inc.
# #
# This program is distributed in the hope that it will be useful, but # Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; version 2.1
# of the License.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, Novell, Inc.
#
# To contact Novell about this file by physical or electronic mail,
# you may find current contact information at www.novell.com.
#
# #
# This script and its embedded programs are distributed with
# absolutely, positively NO WARRANTY WHATSOEVER, without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. The author and Novell, Inc. take no responsibility for
# the consequences of running this script.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# #
# START_DIR = pwd - the current working directory # START_DIR = pwd - the current working directory
# this is the directory where this script is executed from
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
@ -31,7 +41,7 @@ DATE=`date`
SOURCE22_ICON=CASA_22.png SOURCE22_ICON=CASA_22.png
SOURCE32_ICON=CASA_32.png SOURCE32_ICON=CASA_32.png
SOURCE48_ICON=CASA_48.png SOURCE48_ICON=CASA_48.png
DEST_ICON=novell-casa.png DEST_ICON=CASA.png
determineIfSourceExists () determineIfSourceExists ()
{ {
@ -200,7 +210,7 @@ DIR_48=48x48
ICON_SOURCE="/usr/share/pixmaps" ICON_SOURCE="/usr/share/pixmaps"
APPS_DIR="apps" APPS_DIR="apps"
ICONS_DIR="icons" ICONS_DIR="icons"
ICON_FILE="novell-casa.png" ICON_FILE="CASA.png"
if [ -z "$1" ] if [ -z "$1" ]
then then

View File

@ -6,7 +6,7 @@ X-KDE-ModuleType=Library
X-KDE-RootOnly=true X-KDE-RootOnly=true
X-KDE-HasReadOnlyMode=true X-KDE-HasReadOnlyMode=true
X-KDE-Library=yast2 X-KDE-Library=yast2
X-SuSE-YaST-Call=novell-casa X-SuSE-YaST-Call=CASA
X-SuSE-YaST-Group=Security X-SuSE-YaST-Group=Security
X-SuSE-YaST-Argument= X-SuSE-YaST-Argument=
@ -14,10 +14,10 @@ X-SuSE-YaST-RootOnly=true
X-SuSE-YaST-AutoInst= X-SuSE-YaST-AutoInst=
X-SuSE-YaST-Geometry= X-SuSE-YaST-Geometry=
X-SuSE-YaST-SortKey= X-SuSE-YaST-SortKey=
X-SuSE-YaST-AutoInstResource=novell-casa X-SuSE-YaST-AutoInstResource=CASA
Icon=novell-casa Icon=CASA
Exec=/sbin/yast2 novell-casa Exec=/sbin/yast2 CASA
Name=Novell CASA Name=Novell CASA
GenericName=Configure novell-casa GenericName=Configure CASA

View File

@ -1,21 +1,40 @@
/** /**
* File: clients/novell-casa.ycp * File: clients/CASA.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Main file * Summary: Main file
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: novell-casa.ycp,v 1.9 2004/02/05 15:16:57 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
* *
* Main file for novell-casa configuration. Uses all other files. * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* Main file for CASA configuration. Uses all other files.
*/ */
{ {
/*** /***
* <h3>Configuration of novell-casa</h3> * <h3>Configuration of CASA</h3>
*/ */
textdomain "novell-casa"; textdomain "CASA";
/* The main () */ /* The main () */
y2milestone ("----------------------------------------"); y2milestone ("----------------------------------------");
@ -26,12 +45,12 @@ import "Report";
import "Summary"; import "Summary";
import "CommandLine"; import "CommandLine";
include "novell-casa/wizards.ycp"; include "CASA/wizards.ycp";
map cmdline_description = $[ map cmdline_description = $[
"id" : "novell-casa", "id" : "CASA",
/* Command line help text for the Xnovell-casa module */ /* Command line help text for the XCASA module */
"help" : _("Configuration of novell-casa"), "help" : _("Configuration of CASA"),
"guihandler" : NovellCasaSequence, "guihandler" : NovellCasaSequence,
"initialize" : NovellCasa::Read, "initialize" : NovellCasa::Read,
"finish" : NovellCasa::Write, "finish" : NovellCasa::Write,

View File

@ -1,10 +1,29 @@
/** /**
* File: clients/novell-casa_auto.ycp * File: clients/CASA_auto.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Client for autoinstallation * Summary: Client for autoinstallation
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: novell-casa_auto.ycp,v 1.12 2004/01/28 21:24:07 nashif Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
* *
* This is a client for autoinstallation. It takes its arguments, * This is a client for autoinstallation. It takes its arguments,
* goes through the configuration and return the setting. * goes through the configuration and return the setting.
@ -13,21 +32,21 @@
/** /**
* @param function to execute * @param function to execute
* @param map/list of novell-casa settings * @param map/list of CASA settings
* @return map edited settings, Summary or boolean on success depending on called function * @return map edited settings, Summary or boolean on success depending on called function
* @example map mm = $[ "FAIL_DELAY" : "77" ]; * @example map mm = $[ "FAIL_DELAY" : "77" ];
* @example map ret = WFM::CallFunction ("novell-casa_auto", [ "Summary", mm ]); * @example map ret = WFM::CallFunction ("CASA_auto", [ "Summary", mm ]);
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
y2milestone("----------------------------------------"); y2milestone("----------------------------------------");
y2milestone("Novell CASA auto started"); y2milestone("Novell CASA auto started");
import "NovellCasa"; import "NovellCasa";
include "novell-casa/wizards.ycp"; include "CASA/wizards.ycp";
any ret = nil; any ret = nil;
string func = ""; string func = "";

View File

@ -1,18 +1,37 @@
/** /**
* File: clients/novell-casa_proposal.ycp * File: clients/CASA_proposal.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Proposal function dispatcher. * Summary: Proposal function dispatcher.
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: novell-casa_proposal.ycp,v 1.6 2004/02/05 11:29:30 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
* *
* Proposal function dispatcher for novell-casa configuration. * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
* Proposal function dispatcher for CASA configuration.
* See source/installation/proposal/proposal-API.txt * See source/installation/proposal/proposal-API.txt
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
import "NovellCasa"; import "NovellCasa";
import "Progress"; import "Progress";
@ -50,7 +69,7 @@ if(func == "MakeProposal") {
/* run the module */ /* run the module */
else if(func == "AskUser") { else if(func == "AskUser") {
map stored = NovellCasa::Export(); map stored = NovellCasa::Export();
symbol seq = (symbol) WFM::CallFunction("novell-casa", [.propose]); symbol seq = (symbol) WFM::CallFunction("CASA", [.propose]);
if(seq != `next) NovellCasa::Import(stored); if(seq != `next) NovellCasa::Import(stored);
y2debug("stored=%1",stored); y2debug("stored=%1",stored);
@ -66,7 +85,7 @@ else if(func == "Description") {
"rich_text_title" : _("Novell CASA"), "rich_text_title" : _("Novell CASA"),
/* Menu title for NovellCasa in proposals */ /* Menu title for NovellCasa in proposals */
"menu_title" : _("&Novell CASA"), "menu_title" : _("&Novell CASA"),
"id" : "novell-casa", "id" : "CASA",
]; ];
} }
/* write the proposal */ /* write the proposal */

View File

@ -1,24 +1,44 @@
/** /**
* File: include/novell-casa/wizards.ycp * File: include/CASA/wizards.ycp
* Package: Configuration of novell-casa * Package: Configuration of CASA
* Summary: Wizards definitions * Summary: Wizards definitions
* Authors: casa <casa@novell.com> * Authors: casa <casa@novell.com>
* *
* $Id: wizards.ycp,v 1.6 2004/02/05 11:29:30 msvec Exp $ *********************************************************************
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, Novell, Inc.
*
* To contact Novell about this file by physical or electronic mail,
* you may find current contact information at www.novell.com.
*
*********************************************************************
*
*/ */
{ {
textdomain "novell-casa"; textdomain "CASA";
import "Sequencer"; import "Sequencer";
import "Wizard"; import "Wizard";
include "novell-casa/complex.ycp"; include "CASA/complex.ycp";
include "novell-casa/dialogs.ycp"; include "CASA/dialogs.ycp";
/** /**
* Add a configuration of novell-casa * Add a configuration of CASA
* @return sequence result * @return sequence result
*/ */
any AddSequence() { any AddSequence() {
@ -46,7 +66,7 @@ any AddSequence() {
} }
/** /**
* Main workflow of the novell-casa configuration * Main workflow of the CASA configuration
* @return sequence result * @return sequence result
*/ */
any MainSequence() { any MainSequence() {
@ -96,7 +116,7 @@ any MainSequence() {
} }
/** /**
* Whole configuration of novell-casa * Whole configuration of CASA
* @return sequence result * @return sequence result
*/ */
any NovellCasaSequence() { any NovellCasaSequence() {
@ -124,7 +144,7 @@ any NovellCasaSequence() {
]; ];
Wizard::CreateDialog(); Wizard::CreateDialog();
Wizard::SetDesktopIcon("novell-casa"); Wizard::SetDesktopIcon("CASA");
any ret = Sequencer::Run(aliases, sequence); any ret = Sequencer::Run(aliases, sequence);
@ -133,7 +153,7 @@ any NovellCasaSequence() {
} }
/** /**
* Whole configuration of novell-casa but without reading and writing. * Whole configuration of CASA but without reading and writing.
* For use with autoinstallation. * For use with autoinstallation.
* @return sequence result * @return sequence result
*/ */

View File

@ -1,5 +1,5 @@
# #
# spec file for package yast2-novell-casa (Version 1.6.462) # spec file for package yast2-CASA (Version 1.6.462)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
@ -12,7 +12,7 @@
@HEADER-COMMENT@ @HEADER-COMMENT@
Name: yast2-novell-casa Name: yast2-CASA
BuildRequires: yast2-devel yast2-devtools update-desktop-files BuildRequires: yast2-devel yast2-devtools update-desktop-files
Version: 1.6.462 Version: 1.6.462
Release: 0 Release: 0
@ -45,14 +45,14 @@ chmod 555 $RPM_BUILD_ROOT/usr/share/applications/install_casa_yast_icons
@CLEAN@ @CLEAN@
%post %post
echo "yast2-novell-casa post install script" echo "yast2-CASA post install script"
echo "installing the Novell CASA YaST icon files" echo "installing the Novell CASA YaST icon files"
/usr/share/applications/install_casa_yast_icons install rpm /usr/share/applications/install_casa_yast_icons install rpm
exit 0 exit 0
%preun %preun
if [ "$1" = 0 ]; then if [ "$1" = 0 ]; then
echo "yast2-novell-casa pre uninstall script" echo "yast2-CASA pre uninstall script"
echo "removing the Novell CASA YaST icon files" echo "removing the Novell CASA YaST icon files"
/usr/share/applications/install_casa_yast_icons uninstall rpm /usr/share/applications/install_casa_yast_icons uninstall rpm
fi fi
@ -61,14 +61,14 @@ exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir @yncludedir@/novell-casa %dir @yncludedir@/CASA
/usr/share/applications/install_casa_yast_icons /usr/share/applications/install_casa_yast_icons
/usr/share/pixmaps/CASA_22.png /usr/share/pixmaps/CASA_22.png
/usr/share/pixmaps/CASA_32.png /usr/share/pixmaps/CASA_32.png
/usr/share/pixmaps/CASA_48.png /usr/share/pixmaps/CASA_48.png
@yncludedir@/novell-casa/* @yncludedir@/CASA/*
@clientdir@/novell-casa.ycp @clientdir@/CASA.ycp
@clientdir@/novell-casa_*.ycp @clientdir@/CASA_*.ycp
@moduledir@/NovellCasa.* @moduledir@/Casa.*
@desktopdir@/novell-casa.desktop @desktopdir@/CASA.desktop
%doc @docdir@ %doc @docdir@