diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..deedc65 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +# FreeBSD Ports Makefile For 'tsshbatch' +# $Id: Makefile,v 1.100 2011/06/17 17:02:16 tundra Exp $ + +all: # Just need to create the compiled image + @python -OOOO -c"import py_compile;py_compile.compile('tsshbatch.py')" + +install: + ${BSD_INSTALL_SCRIPT} tsshbatch.py ${PREFIX}/bin + ${BSD_INSTALL_MAN} tsshbatch.1.gz ${PREFIX}/man/man1 diff --git a/WHATSNEW.txt b/WHATSNEW.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/WHATSNEW.txt @@ -0,0 +1 @@ + diff --git a/makefile b/makefile new file mode 100644 index 0000000..e29619b --- /dev/null +++ b/makefile @@ -0,0 +1,149 @@ +# Build a release of 'tsshbatch' using 'make' +# $Id: makefile,v 1.100 2011/06/17 17:02:16 tundra Exp $ +# Requires a modern 'make' like GNU. + + +# Uncomment One Of The Following For Early Releases + +#EARLY = Alpha +#EARLY = Beta +#EARLY = RC1 + +##### +# Definitions Relevant To This Program +##### + +PROGNAME = tsshbatch + +PORTNAME = ${PROGNAME} + +PROGFILES = ${PROGNAME}.py + +DOCSOURCES = ${PROGNAME}.rst ${PROGNAME}-license.txt CHANGELOG.txt Makefile \ + WHATSNEW.txt setup.py + +DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps \ + ${PROGNAME}.1.gz + + +##### +# Nothing Should Need To Change Below This Line +##### + + +DIR = ${PORTNAME}-${VERSION} +HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)" +HEADER2 = "----------------------------------------------------------------------" +TARBALL = ${DIR}.tar.gz +TMPFILE = tmpfile +VERSION = $(shell rlog -v ${PROGNAME}.py | cut -f 2 -d " ")${EARLY} + + +##### +# Pattern Rules +##### + +### +# Old Rules +### + +# %.1.gz: %.1 +# @gzip $< + +# %.1: %.txt +# @cp $< $@ + +# %.txt: %.1 +# @groff -man -Tascii $< | col -xb >$@ + +# %.html: %.1 +# @manserver $< >$@ + +#%.dvi: %.latex +# latex $< + +#%.ps: %.1 +# @groff -man -Tps $< >$@ + +#%.1: %.rst +# @rst2man.py $< >$@ + + +### +# Man & html Output +### + +%.html: %.rst + @rst2html $< >$@ + +%.1: %.html + @w3m -dump $< >$@ + +%.1.gz: %.1 + @gzip $< + + +### +# LaTeX, PostScript, & PDF Output +### + +%.latex: %.rst + rst2latex --stylesheet=parskip $< >$@ + +%.pdf: %.latex + @pdflatex $< $@ + @pdflatex $< $@ + @pdflatex $< $@ + +%.ps: %.pdf + @pdftops $< >$@ + + +### +# Pretty Print Programs & Scripts +### + +%.py.ps: %.py + @enscript -Epython --color -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< + +%.sh.ps: % + @enscript -Esh --color -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< + + +##### +# Actual Build Rules +##### + + +CHANGELOG.txt: + @rlog ${PROGNAME}.py >CHANGELOG.txt + +WHATSNEW.txt: + @co -l $@ + @printf "%s\n%s\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE} + @mv ${TMPFILE} $@ + @emacs -nw $@ + @ci -m${HEADER1} $@ + @co $@ + +clean: + @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${DOCSOURCES} ${TARBALL} ${TMPFILE} \ + *~ *.1 *.aux *.core *.dvi *.latex *.log *.out *.toc + +docs: ${DOCSOURCES} ${DOCFILES} + @chmod 644 ${DOCFILES} ${DOCSOURCES} + @chmod 644 *.gz *.txt + @flip -u *txt + +progs: ${PROGFILES} + chmod 755 ${PROGFILES} + +release: docs progs + @mkdir ${DIR} + @for f in `for f in ${DOCFILES} ${PROGFILES} ${DOCSOURCES};do echo $$f;done | sort`; do mv -v $$f ${DIR};done + @tar -czvf ${TARBALL} ${DIR} + @rm -rf ${DIR} + @mv ${DIR}.tar.gz Releases + +version: + @echo ${VERSION} diff --git a/tsshbatch-license.txt b/tsshbatch-license.txt new file mode 100644 index 0000000..f8f5f15 --- /dev/null +++ b/tsshbatch-license.txt @@ -0,0 +1,106 @@ +$Id: tsshbatch-license.txt,v 1.100 2011/06/17 17:02:16 tundra Exp $ + +In order to use, study, modify, or copy 'tsshbatch', you must read +and agree to all the licensing terms below. If you do not agree with +or do not understand *ANYTHING* you see in this document, you are NOT +granted a license to use, study, modify, or copy 'tsshbatch'. By +using, studying, modifying, or copying 'tsshbatch', you are agreeing +to all the terms of the 'tsshbatch' LICENSE below in their entirety. + + + 'tsshbatch' LICENSE AGREEMENT + + +1) DEFINITIONS + +Throughout this Agreement, the term 'tsshbatch' is used to mean: + +Anything included in the 'tsshbatch' software distribution package +from TundraWare Inc. This includes scripts, programs, documentation, +license text and all other files provided in that original software +distribution package. + +Throughout this Agreement the term "User" is used to mean any person +who is enagaged in any of the following activities: + + a) Uses any files found in the 'tsshbatch' software distribution + in any way. + + b) Reads the 'tsshbatch' documentation. + + c) Reads or studies the 'tsshbatch' program source code or + supporting files. + + d) Makes use of any part of the 'tsshbatch' software distribution + for any purpose. + + e) Duplicates and/or distributes the 'tsshbatch' software distribution. + + +2) OWNERSHIP + +'tsshbatch' Is Copyright (c) 2011 TundraWare Inc. All Rights Reserved. + + +3) TERMS + +Permission is hereby granted to the User for the duplication and use +of 'tsshbatch' so long as ALL the following conditions are met: + + a) There is no license fee for PERSONAL NON-COMMERCIAL use of + 'tsshbatch'. This means use by an individual for personal + applications only, with no remuneration of any kind, direct or + indirect, from the use of 'tsshbatch'. Voluntary donations + from such users are accepted and encouraged. A donation of + $0 US per user is recommended. Information on how to + contribute can be obtained by contacting + tsshbatch@tundraware.com. + + Use of 'tsshbatch' in ANY OTHER SITUATION, including + for-profit organizations, non-profit organizations, + educational institutions, and government organizations, + requires payment of a licensing fee. Contact + tsshbatch@tundraware.com for current pricing information. + + + b) The User of 'tsshbatch' understands and agrees that this is + EXPERIMENTAL SOFTWARE which is provided "AS-IS" with no + warranties expressed or implied by TundraWare Inc. + + c) The User acknowledges 'tsshbatch' has NOT been tested for: + + i) Correct operation + + ii) Freedom from unintended consequences + + iii) Any operation or condition which might cause damage, + compromise, or disruption to the User's or other: + hardware, software, networks, or data, or which might + cause any breach of system security of such systems, + software, and networks. + + d) By using 'tsshbatch' in any way, the User does so at their + own risk and agrees to hold TundraWare Inc. harmless for any + damage, direct or indirect, that this software may or does + cause to the User's computational environment, including, but + not limited to, the User's or others' hardware, software, + network, or data. THE USER FURTHER AGREES TO HOLD TUNDRAWARE + INC. HARMLESS FOR ANY ECONOMIC DAMAGE OR ANY OTHER ADVERSE + CONSEQUENCE, DIRECT OR INDIRECT, CAUSED BY THE USE OF + 'tsshbatch'. + + e) If duplicated and/or distributed, no fee beyond reasonable + duplication charges may be charged for 'tsshbatch'. No + commercial use of 'tsshbatch' which involves any + remuneration beyond these duplication charges is permitted. + + f) Any distributed copies of 'tsshbatch' must include all the + originally provided software, documentation, and licensing + information in their original distribution format and + packaging without any modifications. + +By using any part or all of 'tsshbatch', you are agreeing to be +bound by this license. + +IF YOU DO NOT UNDERSTAND, OR CANNOT ABIDE BY ANY OF THESE CONDITIONS, +DO NOT USE 'tsshbatch'. diff --git a/tsshbatch.rst b/tsshbatch.rst new file mode 100644 index 0000000..d743af4 --- /dev/null +++ b/tsshbatch.rst @@ -0,0 +1,63 @@ +NAME +---- + +**tsshbatch** - Short Description + +SYNOPSIS +-------- + +tsshbatch.py [-hv] + +DESCRIPTION +----------- + +Long description + +OPTIONS +------- + + -h Print help information. + -v Print detailed program version information and exit. + +OTHER +----- + +You must have a reasonably current version of Python installed. + +BUGS AND MISFEATURES +-------------------- + +None known as of this release. + +COPYRIGHT AND LICENSING +----------------------- + +**tsshbatch** is Copyright (c) 2011 TundraWare Inc. + +For terms of use, see the ``tsshbatch-license.txt`` file in the +program distribution. If you install **tsshbatch** on a FreeBSD +system using the 'ports' mechanism, you will also find this file in +``/usr/local/share/doc/tsshbatch``. + +AUTHOR +------ + +:: + + Tim Daneliuk + tsshbatch@tundraware.com + + +DOCUMENT REVISION INFORMATION +----------------------------- + +:: + + $Id: tsshbatch.rst,v 1.100 2011/06/17 17:02:16 tundra Exp $ + +You can find the latest version of this program at: + + http://www.tundraware.com/Software/tsshbatch + + +