added subversion's "Id" and "Revision" tags to most files

removed manual extraction of revision from cbox-build.sh
This commit is contained in:
lars 2005-10-11 23:21:32 +00:00
parent acea0fbc6b
commit fcd86832f1
33 changed files with 59 additions and 22 deletions

View File

@ -0,0 +1 @@
$Revision$

1
cbox-tree.d/etc/issue Normal file
View File

@ -0,0 +1 @@
CryptoBox r$Revision$

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# this script does EVERYTHING
# all other scripts are only frontends :)

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# a simple script to check, if there was no smb traffic for the specified
# number of minutes - then it unmounts the crypto partition

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# FOR DEVELOPMENT ONLY!
#

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# this script is part of the building process of the cryptobox
# the "normal" action is necessary for every cryptobox (development & release)

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# this script is part of the boot process of a developer's cryptobox
#

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# set up the firewall of the cryptobox
#

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# this script creates the stunnel certificate for https
#

View File

@ -1,3 +1,5 @@
$Id$
You may want to translate the CryptoBox into another language?
Most welcome!

View File

@ -1,7 +1,11 @@
$Id$
Here are some minor fixes that have to be done. Thanks a lot for your
help!
slovenian:
################################ slovenian ##################################
- SuccessMessage.InitRunning contains only the first sentence
- SuccessMessage.ReBoot: add a hint for automatic redirection (3rd sentence)
- EmptyCryptoPassword: change 'Text' accordingly to English string.

View File

@ -2,6 +2,8 @@ Lang {
Name = deutsch
Status = $Id$
Title {
Top = Die CryptoBox
Slogan = ... und 1984 war gestern!

View File

@ -2,6 +2,8 @@ Lang {
Name = english
Status = $Id$
Title {
Top = The CryptoBox
Slogan = Privacy for the rest of us.

View File

@ -2,6 +2,8 @@ Lang {
Name = slovenščina
Status = $Id$
Title {
Top = The CryptoBox
Slogan = Privatnost v vsako vas!

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<div id="config">
<h1><?cs var:Lang.Title.Config ?></h1>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<div id="doc">
<?cs include:Settings.DocDir + '/' + Settings.DocLang + '/' + Data.Doc.Page + '.html' ?>

View File

@ -1 +1,3 @@
<!-- $Id$ -->
<!-- what else would you expect here? -->

View File

@ -1 +1,3 @@
<!-- $Id$ -->
<?cs call:error(Data.Error) ?>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?cs if:Data.Redirect ?>
<p class="warning"><a href="<?cs if:Data.Redirect.URL ?><?cs var:Data.Redirect.URL ?><?cs else ?><?cs call:getSelfURL('action=' + Data.Redirect.Action, '') ?><?cs /if ?>"><?cs var:Lang.Text.RedirectNote ?></a></p>
<?cs /if ?>
@ -23,5 +25,7 @@ Data.Status.IP=<?cs var:Data.Status.IP ?>
Data.Status.Mounted=<?cs var:Data.Status.Mounted ?>
CBOX-STATUS-end -->
<!-- $Revision$ -->
</body>
</html>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<h1><?cs var:Lang.Title.Init ?></h1>
<div class="init">

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?cs def:warning(warnname) ?><?cs
each:item = Lang.WarningMessage ?><?cs
if:(name(item) == warnname)

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?cs include:Settings.TemplateDir + '/macros.cs' ?>
<?cs include:Settings.TemplateDir + '/header.cs' ?>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<h1><?cs var:Lang.Title.Mount ?></h1>
<div align="center">

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<!-- mounting possible? -->
<?cs if:((Data.Status.Config == 1) && (Data.Status.InitRunning == 0)) ?>
<?cs if:(Data.Status.Mounted == 1) ?>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<div id="log">
<h1><?cs var:Lang.Title.Log ?></h1>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<h1><?cs var:Lang.Title.ShutDown ?></h1>
<div align="center">

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<h1><?cs var:Lang.Title.Status ?></h1>
<p><?cs if:(Data.Status.Mounted == 1) ?><?cs var:Lang.Text.CryptoIsActive ?>
<?cs else ?><?cs var:Lang.Text.CryptoIsDown ?><?cs /if ?></p>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<h1><?cs var:Lang.Title.Umount ?></h1>
<div align="center">

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# $Id$
#
# web interface of the CryptoBox
#

View File

@ -214,8 +214,6 @@ arch = amd64
# /etc/modules =
/etc/issue = This is the CryptoBox!
/etc/profile = export TERM=vt100
######################################################################

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# managing our work at the cryptobox
#
@ -88,19 +89,9 @@ function configure_cb()
echo "Copying files to the box ..."
[ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR"
cp -dr "$TEMPLATE_DIR/." "$TMP_DIR"
rm -rf `find "$TMP_DIR" -type d -name ".svn"`
cp -dr "$TMP_DIR/." "$IMAGE_DIR"
rm -rf "$TMP_DIR"
svn export --force "$TEMPLATE_DIR/." "$IMAGE_DIR"
echo "Configuring the cryptobox ..."
# "harden" removes /etc/issue ...
if [ -e "$IMAGE_DIR/etc/issue" ]
then sed -i "s/^Version:/Revision:/" "$IMAGE_DIR/etc/issue"
sed -i "s/^Revision:.*/Revision: $(fetch_revision)/" "$IMAGE_DIR/etc/issue"
else echo "Revision: $(fetch_revision)" >"$IMAGE_DIR/etc/issue"
fi
fetch_revision >"$IMAGE_DIR/etc/cryptobox/revision"
chroot "$IMAGE_DIR" "$CHROOT_START" /usr/lib/cryptobox/configure-cryptobox.sh normal
# source local configure scripts
@ -115,13 +106,6 @@ function configure_cb()
}
function fetch_revision()
{
svn -R info 2>&1 | grep ^Revision| cut -f2 -d " " | sort | tail -1 \
|| echo "unknown release"
}
function blanknburn_cdrw()
{
cdrecord -v dev=$CDWRITER blank=fast

View File

@ -1,4 +1,5 @@
#!/bin/sh
# $Id$
#
# managing our work at the cryptobox
#