- Added distribution production package.
This commit is contained in:
parent
92342683f5
commit
937fe6f6e4
80
dist/makedist.sh
vendored
Executable file
80
dist/makedist.sh
vendored
Executable file
@ -0,0 +1,80 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# makedist.sh
|
||||||
|
#
|
||||||
|
# Make a Scyther distribution of the most recent revision.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# A distribution is a directory
|
||||||
|
#
|
||||||
|
# scyther/
|
||||||
|
# - readme.txt file with some indications from this
|
||||||
|
# directory.
|
||||||
|
# demo/
|
||||||
|
# - demo files
|
||||||
|
# SPORE/
|
||||||
|
# - spore files
|
||||||
|
# scyther/
|
||||||
|
# - scyther executable
|
||||||
|
#
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Parameters
|
||||||
|
|
||||||
|
ARCHIVE=scyther.tgz
|
||||||
|
|
||||||
|
# Creates a temporary subdirectory here.
|
||||||
|
TMPDIR=/tmp/scytherdist
|
||||||
|
WORKNAME=scyther
|
||||||
|
|
||||||
|
# Repository
|
||||||
|
SVNROOT=https://svn.win.tue.nl/repos/ecss/trunk/protocols/spdl
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Derived things
|
||||||
|
|
||||||
|
WORKDIR=$TMPDIR/$WORKNAME
|
||||||
|
CURDIR=$PWD
|
||||||
|
DEST=$PWD/$ARCHIVE
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Init
|
||||||
|
|
||||||
|
# Remove old remnants and create a new directory
|
||||||
|
rm -f $DEST
|
||||||
|
rm -rf $TMPDIR
|
||||||
|
mkdir $TMPDIR
|
||||||
|
|
||||||
|
# Create scyther/
|
||||||
|
mkdir $WORKDIR
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Collect required data and set up
|
||||||
|
|
||||||
|
|
||||||
|
# Fill
|
||||||
|
svn export $SVNROOT/SPORE $WORKDIR/SPORE
|
||||||
|
svn export $SVNROOT/demo $WORKDIR/demo
|
||||||
|
svn export $SVNROOT/scyther $WORKDIR/scyther
|
||||||
|
|
||||||
|
# Readme
|
||||||
|
cp readme.txt $WORKDIR
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Collected all needed data, finish up
|
||||||
|
|
||||||
|
# Compress
|
||||||
|
cd $TMPDIR
|
||||||
|
tar zcvf $DEST $WORKNAME
|
||||||
|
|
||||||
|
# Remove garbage
|
||||||
|
rm -rf $TMPDIR
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
# Done.
|
54
dist/readme.txt
vendored
Normal file
54
dist/readme.txt
vendored
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Scyther
|
||||||
|
|
||||||
|
a verification tool for security protocols
|
||||||
|
by Cas Cremers
|
||||||
|
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Note: This is a 1.0beta release, and therefore the usual warnings apply.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
1. More information
|
||||||
|
========================================================================
|
||||||
|
|
||||||
|
For more information, see:
|
||||||
|
|
||||||
|
http://www.win.tue.nl/~ccremers/scyther
|
||||||
|
|
||||||
|
|
||||||
|
2. Starting out
|
||||||
|
========================================================================
|
||||||
|
|
||||||
|
To start, run the scyther executable (scyther/scyther) with the --help
|
||||||
|
switch, or try
|
||||||
|
|
||||||
|
$ scyther/scyther demo/ns3.spdl
|
||||||
|
|
||||||
|
For graphical output, you need:
|
||||||
|
|
||||||
|
- a pdf viewer (xpdf is assumed)
|
||||||
|
- the GraphViz package (for the 'dot' executable).
|
||||||
|
|
||||||
|
Add the paths 'scyther/' and 'demo/' to your path environment variable
|
||||||
|
(something like 'export PATH=$PATH:$PWD/demo'), and try
|
||||||
|
|
||||||
|
$ scytherview demo/nsl3.spdl
|
||||||
|
|
||||||
|
|
||||||
|
3. Citing Scyther
|
||||||
|
===========================
|
||||||
|
|
||||||
|
For now, there is no official journal paper to cite yet, but you can use
|
||||||
|
the following information:
|
||||||
|
|
||||||
|
@misc{wwwscyther,
|
||||||
|
Author = "C.J.F. Cremers",
|
||||||
|
Title = "Scyther security protocol verification tool: documentation",
|
||||||
|
Note = "\url{http://www.win.tue.nl/~ccremers/scyther}",
|
||||||
|
url = "http://www.win.tue.nl/~ccremers/scyther"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user