Commit e2c1ac0d authored by T(A)ILS developers's avatar T(A)ILS developers
Browse files

Merge branch 'testing'

parents 518c639c 56b04f00
......@@ -165,7 +165,7 @@ AMNESIA_VERSION="`dpkg-parsechangelog | sed -n 's/^Version: //p'`"
AMNESIA_FULL_VERSION="${AMNESIA_VERSION} - ${AMNESIA_TODAY}"
# Developpers' data used by git-dch, debcommit and friends in the release script
AMNESIA_DEV_FULLNAME="amnesia"
AMNESIA_DEV_FULLNAME='T(A)ILS developers'
AMNESIA_DEV_EMAIL="amnesia@boum.org"
AMNESIA_DEV_KEYID="BE2CD9C1"
......
This diff is collapsed.
......@@ -26,6 +26,14 @@ Package: firmware-linux
Pin: release a=lenny-backports
Pin-Priority: 999
Package: firmware-linux-nonfree
Pin: release a=lenny-backports
Pin-Priority: 999
Package: firmware-ralink
Pin: release a=lenny-backports
Pin-Priority: 999
Package: firmware-realtek
Pin: release a=lenny-backports
Pin-Priority: 999
......@@ -55,7 +63,7 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: libdatetime-format-dateparse-perl
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: libetpan13
......@@ -123,7 +131,7 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: live-build
Pin: origin live.debian.net
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: live-config
......@@ -135,11 +143,11 @@ Pin: origin live.debian.net
Pin-Priority: 999
Package: live-helper
Pin: origin live.debian.net
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: live-initramfs
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: monkeysphere
......@@ -147,7 +155,7 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: msva-perl
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: network-manager
......@@ -159,11 +167,11 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: python-central
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: python-pyinotify
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: python-support
......@@ -171,27 +179,27 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: rt2860-source
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: squashfs-tools
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: syslinux
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: syslinux-common
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: ttf-arphic-uming
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: virt-what
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: virtualbox-ose-guest-utils
......@@ -207,15 +215,15 @@ Pin: release a=lenny-backports
Pin-Priority: 999
Package: xul-ext-firegpg
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: xul-ext-monkeysphere
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Package: xul-ext-torbutton
Pin: release a=testing
Pin: release o=Debian,a=testing
Pin-Priority: 999
Explanation: weirdness in chroot_apt install-binary
......
......@@ -26,6 +26,11 @@
# as the htp user all operations but the actual setting of time, which
# has to be done as root.
# Run only when the interface is not "lo":
if [[ $1 = "lo" ]]; then
exit 0
fi
# Run whenever an interface gets "up", not otherwise:
if [[ $2 != "up" ]]; then
exit 0
......
......@@ -8,31 +8,34 @@ Localize ()
LANGUAGE="`echo ${LANG} | head -c 2`"
### Nautilus wipe script
if [ ! -d "/home/${LIVE_USERNAME}/.gnome2/nautilus-scripts/" ] ; then
mkdir -p "/home/${LIVE_USERNAME}/.gnome2/nautilus-scripts/"
fi
### Nautilus wipe script
case "${LANGUAGE}" in
es)
NAME="Eliminar_de_forma_segura"
;;
fr)
NAME="Effacer_definitivement"
NAME="Supprimer_en_ecrasant_les_donnees"
;;
*)
NAME="Securely_erase"
;;
esac
ln -s "/usr/local/bin/nautilus-wipe" "/home/${LIVE_USERNAME}/.gnome2/nautilus-scripts/${NAME}"
if [ -x "/usr/local/bin/nautilus-wipe.${LANGUAGE}" ]; then
TARGET="/usr/local/bin/nautilus-wipe.${LANGUAGE}"
else
TARGET="/usr/local/bin/nautilus-wipe"
fi
ln -s "${TARGET}" "/home/${LIVE_USERNAME}/.gnome2/nautilus-scripts/${NAME}"
### Nautilus sfill script
case "${LANGUAGE}" in
fr)
NAME="Ecraser_l_espace_libre_de_cette_partition"
;;
*)
NAME="Securely_erase_free_space_on_this_partition"
;;
esac
ln -s "/usr/local/bin/nautilus-sfill" "/home/${LIVE_USERNAME}/.gnome2/nautilus-scripts/${NAME}"
### Scroogle
......
#!/bin/sh
test -z "$PWD" && exit 1
mkdir -p "$PWD/SFILL"
trap "rm -rf $PWD/SFILL" EXIT
. gettext.sh
TEXTDOMAIN=nautilus-sfill
export TEXTDOMAIN
title="`gettext \"Securely erase free space\"`"
{ (echo 0
MAX=4000000
FREE="$(df -P "$PWD" | awk '/\// { print $4 }')"
if [ "$FREE" -gt "$MAX" ]; then
for n in $(seq 0 $((90 / ($FREE / $MAX))) 90); do
echo "$n"
FILE="$PWD/SFILL/$FREE.$n.$$"
echo "# `eval_gettext \"Erasing \\\$FILE\"`"
dd if=/dev/zero of="$FILE" seek="$MAX" bs=1k count=1
shred -n 3 "$FILE"
done
echo 90
fi
echo "# `eval_gettext \"Erasing left free space\"`"
RESULT=$(gksu --description "sfill" "sh -c '
sfill -l -l \"$PWD/SFILL\" &&
sfill -l -l \"$PWD/SFILL\" &&
sfill -l -l \"$PWD/SFILL\" || echo ERROR")
test "$RESULT" = "ERROR" && exit 1
rm -rf "$PWD/SFILL"
echo 100
echo "# `eval_gettext \"Free space was successfully erased.\"`"
) || {
echo "# `eval_gettext \"An error happened.\"`"
zenity --error \
--text "`gettext \"An error happened while erasing free space.\"`" \
--title "$title"
} ; } | zenity --progress --title "$title"
#!/bin/bash
. gettext.sh
TEXTDOMAIN=nautilus-wipe
export TEXTDOMAIN
files="${*}"
title="`gettext \"Securely erase files\"`"
if zenity --question \
--text "Are you sure you want to securely erase ${*}?" \
--title "Securely erase files"; then
--text "`eval_ngettext \"Are you sure you want to securely erase \\\${files}?\" \"Are you sure you want to securely erase \\\${files}?\" $#`" \
--title "$title"; then
srm -rf "$@" && \
zenity --info --text "${*} was successfully erased." \
--title "Securely erase files" ||
zenity --info --text "`eval_ngettext \"\\\${files} was successfully erased.\" \"\\\${files} were successfully erased.\" $#`" \
--title "$title" ||
zenity --error \
--text "An error happened while erasing ${*}." \
--title "Securely erase files"
--text "`eval_gettext \"An error happened while erasing \\\${files}.\"`" \
--title "$title"
fi
#!/bin/bash
if zenity --question \
--text "Êtes vous sûr de vouloir supprimer ${*} en écrasant son contenu ?" \
--title "Supprimer en écrasant les données"; then
srm -rf "$@" && \
zenity --info --text "${*} a bien été supprimé." \
--title "Supprimer en écrasant les données" ||
zenity --error \
--text "Une erreur est survenue durant l'effacement de ${*}." \
--title "Supprimer en écrasant les données"
fi
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:11
msgid "Securely erase free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:20
#, sh-format
msgid "Erasing $FILE"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:26
#, sh-format
msgid "Erasing left free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:34
#, sh-format
msgid "Free space was successfully erased."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:36
#, sh-format
msgid "An error happened."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:38
msgid "An error happened while erasing free space."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:8
msgid "Securely erase files"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:11
#, sh-format
msgid "Are you sure you want to securely erase ${files}?"
msgid_plural "Are you sure you want to securely erase ${files}?"
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:14
#, sh-format
msgid "${files} was successfully erased."
msgid_plural "${files} were successfully erased."
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:17
#, sh-format
msgid "An error happened while erasing ${files}."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:11
msgid "Securely erase free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:20
#, sh-format
msgid "Erasing $FILE"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:26
#, sh-format
msgid "Erasing left free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:34
#, sh-format
msgid "Free space was successfully erased."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:36
#, sh-format
msgid "An error happened."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:38
msgid "An error happened while erasing free space."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:8
msgid "Securely erase files"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:11
#, sh-format
msgid "Are you sure you want to securely erase ${files}?"
msgid_plural "Are you sure you want to securely erase ${files}?"
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:14
#, sh-format
msgid "${files} was successfully erased."
msgid_plural "${files} were successfully erased."
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:17
#, sh-format
msgid "An error happened while erasing ${files}."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:11
msgid "Securely erase free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:20
#, sh-format
msgid "Erasing $FILE"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:26
#, sh-format
msgid "Erasing left free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:34
#, sh-format
msgid "Free space was successfully erased."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:36
#, sh-format
msgid "An error happened."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:38
msgid "An error happened while erasing free space."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:52+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:8
msgid "Securely erase files"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:11
#, sh-format
msgid "Are you sure you want to securely erase ${files}?"
msgid_plural "Are you sure you want to securely erase ${files}?"
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:14
#, sh-format
msgid "${files} was successfully erased."
msgid_plural "${files} were successfully erased."
msgstr[0] ""
msgstr[1] ""
#: config/chroot_local-includes/usr/local/bin/nautilus-wipe:17
#, sh-format
msgid "An error happened while erasing ${files}."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-10-16 19:29+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:11
msgid "Securely erase free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:20
#, sh-format
msgid "Erasing $FILE"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:26
#, sh-format
msgid "Erasing left free space"
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:34
#, sh-format
msgid "Free space was successfully erased."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:36
#, sh-format
msgid "An error happened."
msgstr ""
#: config/chroot_local-includes/usr/local/bin/nautilus-sfill:38
msgid "An error happened while erasing free space."
msgstr ""
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"