Bug 265898. Added CLI (CASAUtil) for cypress.

This commit is contained in:
Jim Norman 2007-04-18 17:29:50 +00:00
parent 069e1313ae
commit d60bfb3c54
4 changed files with 21 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 18 11:27:08 MDT 2007 - jnorman@novell.com
- Bug 265898. Added a CLI for cypress for management of
service credentials.
-------------------------------------------------------------------
Tue Apr 10 14:20:38 MDT 2007 - jnorman@novell.com

11
CASA/cli/CASAUtil Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64
else
ARCH_LIB=
fi
export MONO_PATH=/usr/lib$ARCH_LIB/
mono /usr/bin/CASAUtil.exe $1 $2 $3 $4 $5 $6 $7 $8 $9

View File

@ -30,7 +30,7 @@ endif
SUBDIRS =
DIST_SUBDIRS =
EXTRA_DIST = $(CSFILES) CASAUtil.* h
EXTRA_DIST = $(CSFILES) CASAUtil*
#EXTRA_DIST = $(CSFILES) help/en help/en/*.htm help/en/*.gif \
# images/*.png images/*.ico images/*.glade* \

View File

@ -17,7 +17,7 @@
Name: @PACKAGE@
URL: http://www.novell.com/products
BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel java2-devel-packages kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
BuildRequires: gcc-c++ glade-sharp2 glib-sharp2 glib2-devel gtk-sharp2 gtk-sharp2-gapi gtk2-devel kdelibs3-devel krb5-devel libgssapi libstdc++-devel mono-devel pam-devel pkgconfig qt3-devel
%define prefix /usr/share/doc/packages
%define bin_prefix /usr
License: LGPL
@ -121,6 +121,7 @@ install -m 755 %{binsource}/%{cfg}/CASAManager.exe %{buildroot}%{bin_prefix}/bin
install -m 755 %{binsource}/%{cfg}/CASAUtil.exe %{buildroot}%{bin_prefix}/bin
install -m 755 gui/CASAManager.sh %{buildroot}%{bin_prefix}/bin
install -m 755 gui/CASAManager.exe.config %{buildroot}%{bin_prefix}/bin
install -m 755 cli/CASAUtil %{buildroot}%{bin_prefix}/bin
install -m 644 gui/images/* %{buildroot}%{prefix}/CASA/images
install -m 644 gui/help/en/* %{buildroot}%{prefix}/CASA/help/en
install -m 755 micasad/startup/micasad %{buildroot}/etc/init.d
@ -236,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/CASA/doc/Readme.txt
%{bin_prefix}/bin/CASAUtil.exe
%{bin_prefix}/bin/CASAUtil
%files devel
%defattr(-,root,root)