diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6a12a5c --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +# FreeBSD Ports Makefile For 'tconfpy' +# $Id: Makefile,v 1.1 2003/07/01 18:21:39 tundra Exp $ + +all: # Do nothing - this is a python script that needs no build + +install: + ${BSD_INSTALL_SCRIPT} tconfpy.py ${PREFIX}/bin + ${BSD_INSTALL_MAN} tconfpy.1.gz ${PREFIX}/man/man1 diff --git a/mktconfpy b/mktconfpy new file mode 100755 index 0000000..bc3abd9 --- /dev/null +++ b/mktconfpy @@ -0,0 +1,57 @@ +#!/bin/sh +# Build a release of tconfpy +# $Id: mktconfpy,v 1.1 2003/07/01 18:21:39 tundra Exp $ + +COLOR= +#COLOR=--color +PROGFILE="tconfpy.py" +SUPPFILES="Makefile tconfpy.1 tconfpy-license.txt" +DOCFILES="tconfpy.html tconfpy.ps tconfpy.pdf tconfpy.py.ps READ-1ST.txt WHATSNEW.txt tconfpy.txt" + +# Check Command Line Args + +DIR="tconfpy-"$1 + +if [ $# -ne 1 ] + then + echo "usage: mktconfpy version-number" + exit +fi + +# Create Working Directory + +mkdir $DIR + +# Extract Files From RCS + +co -r$1 $PROGFILE +chmod 755 $PROGFILE +co $SUPPFILES +co $DOCFILES + +# Pretty Print The Source Code + +enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow $COLOR -ptconfpy.py.ps tconfpy.py + +# Build Documentation + +rman -fHTML -l tconfpy tconfpy.1 > tconfpy.html +groff -man -Tps tconfpy.1 >tconfpy.ps +gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=tconfpy.pdf tconfpy.ps +groff -man -Tascii tconfpy.1 | col -xb >tconfpy.txt +chmod 644 $DOCFILES *txt +gzip *.1 + +# Build And Save The Release + +mv $PROGFILE $SUPPFILES $DOCFILES $DIR +mv *.gz $DIR +rlog $PROGFILE >$DIR/CHANGELOG.txt +flip -vm $DIR/*txt +tar -czvf $DIR.tar.gz $DIR +mv $DIR.tar.gz Releases + +# Remove Working Directory +rm -rf $DIR + + diff --git a/tconfpy-license.txt b/tconfpy-license.txt new file mode 100644 index 0000000..f0b3855 --- /dev/null +++ b/tconfpy-license.txt @@ -0,0 +1,105 @@ +$Id: tconfpy-license.txt,v 1.1 2003/07/01 18:21:39 tundra Exp $ + +In order to use, study, modify, or copy 'tconfpy', 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 'tconfpy'. By +using, studying, modifying, or copying 'tconfpy', you are agreeing +to all the terms of the 'tconfpy' LICENSE below in their entirety. + + + 'tconfpy' LICENSE AGREEMENT + + +1) DEFINITIONS + +Throughout this Agreement, the term 'tconfpy' is used to mean: + +Anything included in the 'tconfpy' 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 'tconfpy' software distribution + in any way. + + b) Reads the 'tconfpy' documentation. + + c) Reads or studies the 'tconfpy' program source code or + supporting files. + + d) Makes use of any part of the 'tconfpy' software distribution + for any purpose. + + e) Duplicates and/or distributes the 'tconfpy' software distribution. + + +2) OWNERSHIP + +'tconfpy' Is Copyright (c) 2003 TundraWare Inc. All Rights Reserved. + + +3) TERMS + +Permission is hereby granted to the User for the duplication and use +of 'tconfpy' so long as ALL the following conditions are met: + + a) There is no license fee for NON-COMMERCIAL use of + 'tconfpy'. This means that the program may be used at no + cost in personal applications, legally recognized non-profit + organizations, legally recognized educational institutions, + and government organizations. Voluntary donations from such + users are accepted and encouraged. A donation of $5 US per + user is recommended and information on how to contribute can + be obtained by contacting tconfpy@tundraware.com. + + Use of 'tconfpy' in FOR-PROFIT organizations, including + government contractors, requires a payment of $5 US per user. + For information on how to submit payment, please contact + tconfpy@tundraware.com + + + b) The User of 'tconfpy' 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 'tconfpy' 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 'tconfpy' 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 + 'tconfpy'. + + e) If duplicated and/or distributed, no fee beyond reasonable + duplication charges may be charged for 'tconfpy'. No + commercial use of 'tconfpy' which involves any + remuneration beyond these duplication charges is permitted. + + f) Any distributed copies of 'tconfpy' 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 'tconfpy', 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 'tconfpy'.