mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
- Added a proper Makefile.PL to SCST::SCST so now we have a also a
proper man page. - Renamed Changes to ChangeLog - Updated README to include instructions for installing the perl module. - Renamed SCST perl module directory tp scst-0.7.4 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@447 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Changes since 1.0.0
|
||||
|
||||
- Added a proper Makefile.PL to SCST::SCST so now we have a also a
|
||||
proper man page.
|
||||
- Renamed Changes to ChangeLog
|
||||
- Updated README to include instructions for installing the perl module.
|
||||
- Renamed SCST perl module directory tp scst-0.7.4
|
||||
|
||||
Changes since 1.0.0 RC1
|
||||
|
||||
- Updated SCST/SCST.pm to add one more option mapping NV -> NV_CACHE.
|
||||
+20
-6
@@ -1,14 +1,28 @@
|
||||
all:
|
||||
VERSION = 0.7.4
|
||||
TOOL = scstadmin
|
||||
|
||||
all: perl-module
|
||||
|
||||
install:
|
||||
install -m 755 $(TOOL) /usr/local/sbin
|
||||
install -m 755 init.d/scst /etc/init.d
|
||||
install -m 755 scstadmin /usr/local/sbin
|
||||
mkdir -p /usr/local/lib/site_perl/SCST
|
||||
install -m 644 SCST/SCST.pm /usr/local/lib/site_perl/SCST/SCST.pm
|
||||
$(MAKE) -C scst-$(VERSION) install
|
||||
|
||||
uninstall:
|
||||
-rm -f /etc/init.d/scst
|
||||
-rm -f /usr/local/sbin/scstadmin
|
||||
-rm -rf /usr/local/lib/site_perl/SCST
|
||||
-rm -f /usr/local/sbin/$(TOOL)
|
||||
$(MAKE) -C scst-$(VERSION) uninstall
|
||||
|
||||
perl-module:
|
||||
@cd ./scst-$(VERSION); \
|
||||
perl Makefile.PL;
|
||||
$(MAKE) -C scst-$(VERSION)
|
||||
|
||||
clean:
|
||||
$(MAKE) -C scst-$(VERSION) clean
|
||||
|
||||
distclean:
|
||||
$(MAKE) -C scst-$(VERSION) clean
|
||||
-rm -f scst-$(VERSION)/Makefile.old
|
||||
|
||||
.PHONY: all install uninstall
|
||||
|
||||
+15
-5
@@ -7,9 +7,7 @@ The perl module SCST::SCST is very generic and tries to handle error checking as
|
||||
|
||||
The init script was written for debian but should work on most distributions.
|
||||
|
||||
SCST This is the SCST Perl module required by scstadmin and scst_db.
|
||||
Copy the SCST directory to your perl5 lib directory:
|
||||
#> cp -r SCST /usr/lib/perl5/
|
||||
scst-0.7.4 This is the SCST Perl module required by scstadmin and scst_db.
|
||||
|
||||
scstadmin Script which can accept operations on a command line or from
|
||||
a configuration file. See scst.conf. For command help,
|
||||
@@ -28,7 +26,19 @@ The init script was written for debian but should work on most distributions.
|
||||
init.d/scst Init script to start SCST on boot which uses scstadmin.
|
||||
|
||||
|
||||
Installation:
|
||||
=============
|
||||
|
||||
Installation is simple.
|
||||
|
||||
#> make
|
||||
#> make install
|
||||
|
||||
This installs scstadmin, the init.d script and the perl module.
|
||||
|
||||
|
||||
Getting Started:
|
||||
================
|
||||
|
||||
The scstadmin script is much more functional than scst_db at this point but uses a
|
||||
standard text-based config file. The original thought behind scst_db was to write
|
||||
@@ -38,13 +48,13 @@ client app would then connect to that port.
|
||||
Copy scst.conf to /etc and edit it to your liking. if you have an existing configuration
|
||||
then have scstadmin write it out to a config file for you:
|
||||
|
||||
#> scstadmin -WriteConfig /etc/scst.conf
|
||||
#> scstadmin -WriteConfig /etc/scst.conf
|
||||
|
||||
When removing devices, users or groups from the config file keep in mind that
|
||||
"scstadmin -config" will NOT remove those configurations from the running system unless
|
||||
you use the -ForceConfig flag. Also, using the init script to reload the configuration
|
||||
|
||||
#> /etc/init.d/scst reload-config
|
||||
#> /etc/init.d/scst reload-config
|
||||
|
||||
will also not remove configurations from a running system.
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
lib/SCST/SCST.pm
|
||||
Makefile.PL
|
||||
MANIFEST This list of files
|
||||
README
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/perl -w
|
||||
#
|
||||
# Makefile for the SCST-SCST perl module
|
||||
#
|
||||
|
||||
use ExtUtils::MakeMaker;
|
||||
|
||||
WriteMakefile(
|
||||
'NAME' => 'SCST-SCST',
|
||||
'VERSION_FROM' => 'lib/SCST/SCST.pm',
|
||||
'AUTHOR' => 'Mark R. Buechler <Mark.Buechler@gmail.com>',
|
||||
'PREREQ_PM' => {},
|
||||
);
|
||||
@@ -0,0 +1,16 @@
|
||||
SCST-SCST is a perl module for querying and configuring SCST.
|
||||
|
||||
|
||||
AVAILABILITY
|
||||
|
||||
Currently SCST-SCST ships with SCST itself available from
|
||||
http://scst.sourceforge.net.
|
||||
|
||||
|
||||
INSTALLATION
|
||||
|
||||
Install SCST-SCST as you would any other perl module:
|
||||
|
||||
perl Makefile.PL
|
||||
make
|
||||
make install
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user