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 #!/bin/sh
# $Id$
# #
# this script does EVERYTHING # this script does EVERYTHING
# all other scripts are only frontends :) # all other scripts are only frontends :)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# $Id$
# #
# this script creates the stunnel certificate for https # 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? You may want to translate the CryptoBox into another language?
Most welcome! Most welcome!

View File

@ -1,7 +1,11 @@
$Id$
Here are some minor fixes that have to be done. Thanks a lot for your Here are some minor fixes that have to be done. Thanks a lot for your
help! help!
slovenian:
################################ slovenian ##################################
- SuccessMessage.InitRunning contains only the first sentence - SuccessMessage.InitRunning contains only the first sentence
- SuccessMessage.ReBoot: add a hint for automatic redirection (3rd sentence) - SuccessMessage.ReBoot: add a hint for automatic redirection (3rd sentence)
- EmptyCryptoPassword: change 'Text' accordingly to English string. - EmptyCryptoPassword: change 'Text' accordingly to English string.
@ -9,4 +13,4 @@ slovenian:
Below are some smaller changes in English sentences. Someone may change it accordingly. Below are some smaller changes in English sentences. Someone may change it accordingly.
- MountFailed: add 'Pleasy try again' to the end of the string. - MountFailed: add 'Pleasy try again' to the end of the string.
- UmountFailed: changed 'Also close all unclean programs' to 'Close all unclean programs'. - UmountFailed: changed 'Also close all unclean programs' to 'Close all unclean programs'.
- InitRunning: changed 'You may configure it now. You may activate the encrypted filesystem in a few minutes.' to 'You may configure it now and activate the encrypted filesystem in a few minutes.' - InitRunning: changed 'You may configure it now. You may activate the encrypted filesystem in a few minutes.' to 'You may configure it now and activate the encrypted filesystem in a few minutes.'

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?cs if:Data.Redirect ?> <?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> <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 ?> <?cs /if ?>
@ -23,5 +25,7 @@ Data.Status.IP=<?cs var:Data.Status.IP ?>
Data.Status.Mounted=<?cs var:Data.Status.Mounted ?> Data.Status.Mounted=<?cs var:Data.Status.Mounted ?>
CBOX-STATUS-end --> CBOX-STATUS-end -->
<!-- $Revision$ -->
</body> </body>
</html> </html>

View File

@ -1,3 +1,5 @@
<!-- $Id$ -->
<?xml version="1.0" encoding="utf-8"?> <?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"> <!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"> <html xmlns="http://www.w3.org/1999/xhtml">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
# $Id$
# #
# managing our work at the cryptobox # managing our work at the cryptobox
# #
@ -88,19 +89,9 @@ function configure_cb()
echo "Copying files to the box ..." echo "Copying files to the box ..."
[ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR" [ -e "$TMP_DIR" ] && rm -rf "$TMP_DIR"
cp -dr "$TEMPLATE_DIR/." "$TMP_DIR" svn export --force "$TEMPLATE_DIR/." "$IMAGE_DIR"
rm -rf `find "$TMP_DIR" -type d -name ".svn"`
cp -dr "$TMP_DIR/." "$IMAGE_DIR"
rm -rf "$TMP_DIR"
echo "Configuring the cryptobox ..." 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 chroot "$IMAGE_DIR" "$CHROOT_START" /usr/lib/cryptobox/configure-cryptobox.sh normal
# source local configure scripts # 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() function blanknburn_cdrw()
{ {
cdrecord -v dev=$CDWRITER blank=fast cdrecord -v dev=$CDWRITER blank=fast

View File

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