Empaquetage minimal de rougail

This commit is contained in:
Benjamin Bohard 2020-03-31 10:35:02 +02:00
parent 5c3ab2ae17
commit 0b98f2ff6f
16 changed files with 11 additions and 7814 deletions

View file

@ -1,24 +0,0 @@
################################
# Makefile pour creole
################################
SOURCE=creole
EOLE_VERSION=2.7
EOLE_RELEASE=2.7.0
################################
# Début de zone à ne pas éditer
################################
include eole.mk
include apps.mk
################################
# Fin de zone à ne pas éditer
################################
# Makefile rules dedicated to application
# if exists
ifneq (, $(strip $(wildcard $(SOURCE).mk)))
include $(SOURCE).mk
endif

64
apps.mk
View file

@ -1,64 +0,0 @@
#
# NE PAS EDITER CE FICHIER
#
# Voir Makefile
##########################
# Application web envole #
##########################
ifneq (, $(filter oui web, $(PKGAPPS)))
#
# Sanity check
#
ifeq (, $(filter-out X.X, $(strip $(VERSION))))
$(error $$(VERSION) variable has incorrect value '$(VERSION)')
endif
# Where to store web application files
WEB_PATH := $(DESTDIR)/var/www/html
# Envole
sharenvole_PROG_DIR := $(DESTDIR)/usr/share/envole/$(SOURCE)
src_$(SOURCE)-$(VERSION)_REC_DIR := $(WEB_PATH)/$(SOURCE)
src_plugins-$(VERSION)_REC_DIR := $(WEB_PATH)/$(SOURCE)/plugin
src_lang-$(VERSION)_REC_DIR := $(WEB_PATH)/$(SOURCE)/lang
endif
##########################
# Application EOLE flask #
##########################
ifneq (, $(filter flask, $(PKGAPPS)))
#
# Sanity check
#
ifeq (, $(filter-out XXX, $(strip $(FLASK_MODULE))))
$(error $$(FLASK_MODULE) variable has incorrect value '$(FLASK_MODULE)')
endif
ifeq (, $(strip $(wildcard src/$(FLASK_MODULE).conf)))
$(error missing eoleflask configuration file 'src/$(FLASK_MODULE).conf')
endif
# Everything is related to mount point
APPS_MOUNT_POINT := $(shell sed -ne 's|^"MOUNT_POINT"[[:space:]]*:[[:space:]]*"/\([^"]*\)",|\1|p' \
src/$(FLASK_MODULE).conf)
ifeq (, $(strip $(APPS_MOUNT_POINT)))
$(error no "MOUNT_POINT" in eoleflask configuration file 'src/$(FLASK_MODULE).conf')
endif
# eole-flask configuration
src_DATA_DIR := $(DESTDIR)/etc/eole/flask/available
# Where to store flask application files
FLASK_PATH := $(eole_DIR)/flask/$(APPS_MOUNT_POINT)
# static files
src_$(FLASK_MODULE)_static_REC_DIR := $(FLASK_PATH)/static
src_$(FLASK_MODULE)_templates_REC_DIR := $(FLASK_PATH)/templates
src_$(FLASK_MODULE)_instance_REC_DIR := $(FLASK_PATH)/resources
endif

View file

@ -1,15 +0,0 @@
# creole specific rules
schedule_PROG_DIR := $(eole_DIR)/schedule
upgrade_REC_DIR := $(eole_DIR)/upgrade
bin_PROG_DIR := $(DESTDIR)/usr/bin
sbin_PROG_DIR := $(DESTDIR)/usr/sbin
data_REC_DIR := $(DESTDIR)/usr/share/creole
fr.man8_DATA_DIR := $(DESTDIR)/usr/share/man/fr.UTF-8/man8
en.man8_DATA_DIR := $(DESTDIR)/usr/share/man/man8
motd_PROG_DIR := $(DESTDIR)/etc/update-motd.d
local_DATA_DIR := $(DESTDIR)/usr/share/eole/creole/dicos/local
install-files::
# To inform user about coding changes
$(INSTALL_DATA) deprecated/FonctionsEoleNg $(eole_DIR)

200
eole.mk
View file

@ -1,200 +0,0 @@
#
# NE PAS EDITER CE FICHIER
#
# Utiliser <appli>.mk à inclure à la fin de Makefile
#################
# Sanity checks #
#################
ifeq (, $(DESTDIR))
$(warning $$(DESTDIR) is empty, installation will be done in /)
endif
ifeq (, $(filter-out XXX-XXX, $(strip $(SOURCE))))
$(error $$(SOURCE) variable has incorrect value '$(SOURCE)')
endif
#########################
# Variables definitions #
#########################
INSTALL := install
INSTALL_DATA := install -m 644
INSTALL_PROGRAM := install -m 755
INSTALL_DIRECTORY := install -m 755 -d
INSTALL_RECURSIVE := cp -dr --no-preserve=ownership
# Base
eole_DIR := $(DESTDIR)/usr/share/eole
ifeq ($(strip $(EOLE_VERSION)), 2.3)
diagnose_PROG_DIR := $(eole_DIR)/diagnose/module
else
diagnose_PROG_DIR := $(eole_DIR)/diagnose/
endif
# Creole
creole_DIR := $(eole_DIR)/creole
dicos_DATA_DIR := $(creole_DIR)/dicos
tmpl_DATA_DIR := $(creole_DIR)/distrib
pretemplate_PROG_DIR := $(eole_DIR)/pretemplate
posttemplate_PROG_DIR := $(eole_DIR)/posttemplate
postservice_PROG_DIR := $(eole_DIR)/postservice
firewall_DATA_DIR := $(eole_DIR)/firewall
bareos_restore_DATA_DIR := $(eole_DIR)/bareos/restore
bareos_fichier_DATA_DIR := $(DESTDIR)/etc/bareos/bareosfichiers.d
schedule_scripts_PROG_DIR := $(eole_DIR)/schedule/scripts
extra_REC_DIR := $(creole_DIR)/extra
# Zéphir
zephir_DATA_DIR := $(DESTDIR)/usr/share/zephir
zephir_configs_DATA_DIR := $(zephir_DATA_DIR)/monitor/configs
zephir_srv_DATA_DIR := $(zephir_configs_DATA_DIR)/services
# SSO
sso_DATA_DIR := $(DESTDIR)/usr/share/sso
sso_filtres_DATA_DIR := $(sso_DATA_DIR)/app_filters
sso_user-info_DATA_DIR := $(sso_DATA_DIR)/user_infos
# EAD
ead_DATA_DIR := $(DESTDIR)/usr/share/ead2/backend/config
ead_actions_DATA_DIR := $(ead_DATA_DIR)/actions
ead_perms_DATA_DIR := $(ead_DATA_DIR)/perms
ead_roles_DATA_DIR := $(ead_DATA_DIR)/roles
# Program libraries goes under /usr/lib/<PROGRAM>/
lib_$(SOURCE)_DATA_DIR := $(DESTDIR)/usr/lib/$(SOURCE)
# Scripts Eole
scripts_PROG_DIR := $(eole_DIR)/sbin
lib_eole_DATA_DIR := $(DESTDIR)/usr/lib/eole
# LDAP
ldap_passwords_DATA_DIR := $(eole_DIR)/annuaire/password_files
# LXC
lxc_DATA_DIR := $(eole_DIR)/lxc
lxc_fstab_DATA_DIR := $(lxc_DATA_DIR)/fstab
lxc_hosts_DATA_DIR := $(lxc_DATA_DIR)/hosts
# SQL
sql_DATA_DIR := $(eole_DIR)/mysql/$(SOURCE)
sql_gen_DATA_DIR := $(sql_DATA_DIR)/gen
sql_updates_DATA_DIR := $(sql_DATA_DIR)/updates
sql_conf_gen_DATA_DIR := $(eole_DIR)/applications/gen
sql_conf_passwords_DATA_DIR := $(eole_DIR)/applications/passwords
sql_conf_updates_DATA_DIR := $(eole_DIR)/applications/updates/$(SOURCE)
# Certifs
certs_DATA_DIR := $(eole_DIR)/certs
# Logrotate
logrotate_DATA_DIR := $(DESTDIR)/etc/logrotate.d
# Python modules
ifneq ($(DESTDIR),)
PYTHON_OPTS := --root $(DESTDIR)
endif
# Translation
TRANSLATION_SRC := translation
TRANSLATION_DEST := $(DESTDIR)/usr/share/locale
PO_FILES = $(wildcard $(TRANSLATION_SRC)/*/*.po)
MO_FOLDERS = $(addprefix $(TRANSLATION_DEST), $(addsuffix LC_MESSAGES,$(subst $(TRANSLATION_SRC),,$(dir $(PO_FILES)))))
#############################################
# Common directories and files installation #
#############################################
all:
$(MO_FOLDERS):
$(INSTALL_DIRECTORY) $@
$(PO_FILES): $(MO_FOLDERS)
msgfmt -o $(TRANSLATION_DEST)$(subst $(TRANSLATION_SRC),,$(addsuffix LC_MESSAGES,$(dir $@)))/$(notdir $(@:.po=.mo)) $@
install-lang: $(PO_FILES)
install:: install-dirs install-files install-lang
# $1 = command to run
# $2 = source directory
# $3 = destination directory
define fc_install_file
if [ -d $2 ]; then \
for file in `ls -1 $2/`; do \
$1 $2/$$file $3 || true; \
done; \
fi
endef
##
## Directory creation
##
# use % to catch local name in $*
# data, program and recursive directory require a corresponding
# directory in local sources
%_DATA_DIR %_PROG_DIR %REC_DIR:
test ! -d $(subst _,/,$*) || $(INSTALL_DIRECTORY) $($@)
# Create the directory referenced by the variable without a local one.
%_DIR:
$(INSTALL_DIRECTORY) $($@)
##
## Install files present directly under data, program and recursive directories
##
# $* : name of variable
# $($*): value of variable
%-instdata:
$(call fc_install_file, $(INSTALL_DATA), $(subst _,/,$(subst _DATA_DIR,,$*)), $($*))
%-instprog:
$(call fc_install_file, $(INSTALL_PROGRAM), $(subst _,/,$(subst _PROG_DIR,,$*)), $($*))
%-instrec:
$(call fc_install_file, $(INSTALL_RECURSIVE), $(subst _,/,$(subst _REC_DIR,,$*)), $($*))
# Use second expansion as variables may be created in included
# Makefiles
.SECONDEXPANSION:
# List of all directories
installdirs_LIST = $(foreach V, $(filter %_DIR, $(.VARIABLES)), \
$(if $(filter file, $(origin $(V))), \
$(V)))
# List of data directories
installdata_LIST = $(filter %_DATA_DIR, $(installdirs_LIST))
# List of program directories
installprog_LIST = $(filter %_PROG_DIR, $(installdirs_LIST))
# List of recursive directories
installrec_LIST = $(filter %_REC_DIR, $(installdirs_LIST))
# Expand directories to create as dependency
# Use double-colon to permit user to define additionnal install-dirs
install-dirs:: $$(installdirs_LIST)
# Expand files to install as dependency
# Use double-colon to permit user to define additionnal install-files
install-files:: install-data-files install-prog-files install-rec-dirs
install-data-files: $$(patsubst %,%-instdata,$$(installdata_LIST))
install-prog-files: $$(patsubst %,%-instprog,$$(installprog_LIST))
install-rec-dirs: $$(patsubst %,%-instrec,$$(installrec_LIST))
# Installation of python modules
ifeq ($(shell test -f setup.py && echo 0), 0)
install-files::
python3 setup.py install --no-compile --install-layout=deb $(PYTHON_OPTS)
endif
.PHONY: install install-dirs install-files install-data-files install-prog-files install-rec-dirs

View file

@ -1,44 +0,0 @@
#!/bin/bash
# Création du fichier .pot et mise à jour des fichiers .po à partir des informations du fichier po_list
if [[ -e po_list ]]; then
while read p; do
project=$(echo $p |awk '{print $1}')
files=$(echo $p |cut -f 1 -d " " --complement)
if [[ ! -d translation/fr ]]; then
mkdir -p translation/fr
fi
if [[ ! -d translation/en ]]; then
mkdir -p translation/en
fi
# Création des fichiers po minimum (fr et en) si nécessaire.
xgettext -L Python --keyword=_:1,2 --from-code=UTF-8 --force-po -F --copyright-holder="projet EOLE" --package-name=$project --msgid-bugs-address=eole@ac-dijon.fr --foreign-user -d $project -o translation/$project.pot $files
sed -i -e 's/\("Content-Type: text\/plain; charset=\).*\(\\n"\)/\1UTF-8\2/g' translation/$project.pot
# Mise à jour des fichiers po présents sous ./translation
for po_file in $(find translation -name $project.po); do
msgmerge -U $po_file translation/$project.pot
done
if [[ ! -e translation/fr/${project}.po ]]; then
msginit -i translation/${project}.pot -o translation/fr/${project}.po -l fr_FR
sed -i -e "s/\\(\"PO-Revision-Date: \\).*\\(\\\\n\"\\)/\\1$(date '+%Y-%m-%d %H:%M%z')\\2/g" \
-e 's/\("Language-Team: \).*\(\\n"\)/\1Équipe EOLE <eole@ac-dijon.fr>\2/g' \
-e 's/\("Content-Type: text\/plain; charset=\).*\(\\n"\)/\1UTF-8\2/g' \
translation/fr/${project}.po
fi
# Le fichier po "en" est écrasé.
msgen -o translation/en/$project.po translation/$project.pot
sed -i -e 's/\("Last-Translator: \).*\(\\n"\)/\1Équipe EOLE <eole@ac-dijon.fr>\2/g' \
-e "s/\\(\"PO-Revision-Date: \\).*\\(\\\\n\"\\)/\\1$(date '+%Y-%m-%d %H:%M%z')\\2/g" \
-e 's/\("Language-Team: \).*\(\\n"\)/\1Équipe EOLE <eole@ac-dijon.fr>\2/g' \
-e 's/\("Language: \).*\(\\n"\)/\1en\2/g' \
-e 's/\("Content-Type: text\/plain; charset=\).*\(\\n"\)/\1UTF-8\2/g' \
-e 's/\("Plural-Forms: \).*/\1nplurals=2; plural=(n > 1);\\n"/' \
-e '1,5 d' \
translation/en/${project}.po
done < po_list
fi

View file

@ -1,24 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import os, glob
BASE_DIR = 'share/'
DOC_DIR = os.path.join(BASE_DIR, 'doc/creole')
# documentation
doc = [(DOC_DIR, glob.glob('doc/*.html') + glob.glob('doc/*.txt')),
(os.path.join(DOC_DIR, 'api'), glob.glob('doc/api/*.html') + glob.glob('doc/api/*.css')),
]
from setuptools import setup, find_packages
setup(
author='Équipe EOLE',
author_email='eole@ac-dijon.fr',
name='creole',
version='2.7.0',
description='Eole configuration tools',
url='http://www.eole.orion.education.fr',
packages=['creole', 'creole.lint', 'creole.valid'],
data_files=doc
author='Cadoles',
author_email='contact@cadoles.com',
name='rougail',
version='0.1',
description='Configuration templating engine',
url='https://forge.cadoles.com/Infra/rougail',
packages=find_packages('src'),
package_dir={"": "src"},
include_package_data=True,
package_data={"": ["data/*.dtd"]}
)

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,66 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: eole-schedule\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2017-12-11 10:20+0100\n"
"PO-Revision-Date: 2017-12-11 10:20+0100\n"
"Last-Translator: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language-Team: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: schedule/schedule:69
msgid "Starting {}"
msgstr "Starting {}"
#: schedule/schedule:106
msgid "Error detected\n"
msgstr "Error detected\n"
#: schedule/schedule:107
msgid "{} exited with error return code"
msgstr "{} exited with error return code"
#: schedule/schedule:110
msgid "{} finished"
msgstr "{} finished"
#: schedule/schedule:126
msgid "Job already running, cancelling"
msgstr "Job already running, cancelling"
#: schedule/schedule:140
msgid "bareos is set for this day, cancelled"
msgstr "bareos is set for this day, cancelled"
#: schedule/schedule:156
#, python-brace-format
msgid "Unknown job: {0}"
msgstr "Unknown job: {0}"
#: schedule/schedule:186
#, python-brace-format
msgid "Too many arguments: {0}"
msgstr "Too many arguments: {0}"
#: schedule/schedule:195
#, python-brace-format
msgid "Not enough arguments: {0}"
msgstr "Not enough arguments: {0}"
#: schedule/schedule:199
#, python-brace-format
msgid "Second argument must be pre or post: {0}"
msgstr "Second argument must be pre or post: {0}"
#: schedule/schedule:210
#, python-brace-format
msgid "Too many arguments for cron: {0}"
msgstr "Too many arguments for cron: {0}"
#: schedule/schedule:215
#, python-brace-format
msgid "Unknown schedule type : {0}"
msgstr "Unknown schedule type : {0}"

View file

@ -1,252 +0,0 @@
msgid ""
msgstr ""
"Project-Id-Version: update-manager\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2017-12-11 10:20+0100\n"
"PO-Revision-Date: 2017-12-11 10:20+0100\n"
"Last-Translator: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language-Team: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: upgrade/Upgrade-Auto:63
msgid "Upgrade to a newer major version is not available"
msgstr "Upgrade to a newer major version is not available"
#: upgrade/Upgrade-Auto:64
msgid "Use Maj-Release script to upgrade to next minoir version"
msgstr "Use Maj-Release script to upgrade to next minoir version"
#: upgrade/Upgrade-Auto:98
msgid ""
"Available choices:\n"
"{}\n"
msgstr ""
"Available choices:\n"
"{}\n"
#: upgrade/Upgrade-Auto:103
msgid "Automatically selected first choice: {}\n"
msgstr "Automatically selected first choice: {}\n"
#: upgrade/Upgrade-Auto:107
msgid ""
"\n"
"[1]: "
msgstr ""
"\n"
"[1]: "
#: upgrade/Upgrade-Auto:110 upgrade/Upgrade-Auto:594
msgid ""
"\n"
"Upgrade aborted by user"
msgstr ""
"\n"
"Upgrade aborted by user"
#: upgrade/Upgrade-Auto:122
msgid "Choice {} not available\n"
msgstr "Choice {} not available\n"
#: upgrade/Upgrade-Auto:126 upgrade/Upgrade-Auto:495
msgid "Upgrade cancelled by user"
msgstr "Upgrade cancelled by user"
#: upgrade/Upgrade-Auto:129
msgid "Invalid input: {}\n"
msgstr "Invalid input: {}\n"
#: upgrade/Upgrade-Auto:240
#, python-brace-format
msgid "Verifying ISO image {iso}"
msgstr "Verifying ISO image {iso}"
#: upgrade/Upgrade-Auto:243
msgid "Download SHA256SUMS file"
msgstr "Download SHA256SUMS file"
#: upgrade/Upgrade-Auto:247
msgid "Download SHA256SUMS.gpg file"
msgstr "Download SHA256SUMS.gpg file"
#: upgrade/Upgrade-Auto:250
msgid "Check SHA256SUMS file signature"
msgstr "Check SHA256SUMS file signature"
#: upgrade/Upgrade-Auto:258
msgid "Check ISO SHA256..."
msgstr "Check ISO SHA256..."
#: upgrade/Upgrade-Auto:275
msgid "OK"
msgstr "OK"
#: upgrade/Upgrade-Auto:278
msgid "Error"
msgstr "Error"
#: upgrade/Upgrade-Auto:302
#, python-brace-format
msgid "Error downloading {file} with wget from {url}"
msgstr "Error downloading {file} with wget from {url}"
#: upgrade/Upgrade-Auto:313
msgid "Error downloading the image with zsync"
msgstr "Error downloading the image with zsync"
#: upgrade/Upgrade-Auto:351
#, python-brace-format
msgid "Unable to umount {cdrom}"
msgstr "Unable to umount {cdrom}"
#: upgrade/Upgrade-Auto:383
#, python-brace-format
msgid "Downloading ISO image for {release}"
msgstr "Downloading ISO image for {release}"
#: upgrade/Upgrade-Auto:402
msgid "No CDROM found"
msgstr "No CDROM found"
#: upgrade/Upgrade-Auto:406
#, python-brace-format
msgid "No such file: {iso}"
msgstr "No such file: {iso}"
#: upgrade/Upgrade-Auto:408
#, python-brace-format
msgid "Unreadable file: {iso}"
msgstr "Unreadable file: {iso}"
#: upgrade/Upgrade-Auto:414
#, python-brace-format
msgid "Copying {source} to {iso}"
msgstr "Copying {source} to {iso}"
#: upgrade/Upgrade-Auto:423
#, python-brace-format
msgid "Error checking ISO after copy, remove {iso}"
msgstr "Error checking ISO after copy, remove {iso}"
#: upgrade/Upgrade-Auto:436
#, python-brace-format
msgid "Error checking ISO image after download, remove {iso}"
msgstr "Error checking ISO image after download, remove {iso}"
#: upgrade/Upgrade-Auto:444
msgid "EOLE distribution upgrade tool."
msgstr "EOLE distribution upgrade tool."
#: upgrade/Upgrade-Auto:447
msgid "Target release number"
msgstr "Target release number"
#: upgrade/Upgrade-Auto:450
msgid "Only download the ISO image"
msgstr "Only download the ISO image"
#: upgrade/Upgrade-Auto:453
msgid "Path to an ISO image"
msgstr "Path to an ISO image"
#: upgrade/Upgrade-Auto:456
msgid "Use CDROM device instead of downloading ISO image"
msgstr "Use CDROM device instead of downloading ISO image"
#: upgrade/Upgrade-Auto:459
msgid "Pass limit rate to wget. “0” to disable."
msgstr "Pass limit rate to wget. “0” to disable."
#: upgrade/Upgrade-Auto:462
msgid "Do not ask confirmation"
msgstr "Do not ask confirmation"
#: upgrade/Upgrade-Auto:472
msgid "This script will upgrade this server to a new release"
msgstr "This script will upgrade this server to a new release"
#: upgrade/Upgrade-Auto:473
msgid "Modifications will be irreversible."
msgstr "Modifications will be irreversible."
#: upgrade/Upgrade-Auto:475
msgid "Starting Upgrade-Auto ({})"
msgstr "Starting Upgrade-Auto ({})"
#: upgrade/Upgrade-Auto:480
#, python-brace-format
msgid "Invalid release {version} use: {values}"
msgstr "Invalid release {version} use: {values}"
#: upgrade/Upgrade-Auto:487
msgid "Choose which version you want to upgrade to\n"
msgstr "Choose which version you want to upgrade to\n"
#: upgrade/Upgrade-Auto:488
msgid "Which version do you want to upgrade to (or 'q' to quit)?"
msgstr "Which version do you want to upgrade to (or 'q' to quit)?"
#: upgrade/Upgrade-Auto:493
msgid "Do you really want to upgrade to version {}?"
msgstr "Do you really want to upgrade to version {}?"
#: upgrade/Upgrade-Auto:504
msgid "Check update status"
msgstr "Check update status"
#: upgrade/Upgrade-Auto:513
msgid "Some packages are not up-to-date!"
msgstr "Some packages are not up-to-date!"
#: upgrade/Upgrade-Auto:516
msgid "Update this server (Maj-Auto) before another attempt to upgrade"
msgstr "Update this server (Maj-Auto) before another attempt to upgrade"
#: upgrade/Upgrade-Auto:519
msgid "Server is up-to-date"
msgstr "Server is up-to-date"
#: upgrade/Upgrade-Auto:522
msgid ""
"In order to upgrade, most recent kernel endorsed for this release must be "
"used"
msgstr ""
"In order to upgrade, most recent kernel endorsed for this release must be "
"used"
#: upgrade/Upgrade-Auto:527
msgid "This server uses most recent kernel"
msgstr "This server uses most recent kernel"
#: upgrade/Upgrade-Auto:532
msgid "Download only detected, stop"
msgstr "Download only detected, stop"
#: upgrade/Upgrade-Auto:537
msgid "Copying upgrade scripts"
msgstr "Copying upgrade scripts"
#: upgrade/Upgrade-Auto:539
#, python-brace-format
msgid "Directory {0} already exists"
msgstr "Directory {0} already exists"
#: upgrade/Upgrade-Auto:547
msgid "Configuring upgrade"
msgstr "Configuring upgrade"
#: upgrade/Upgrade-Auto:563
msgid "Module specific commands"
msgstr "Module specific commands"
#: upgrade/Upgrade-Auto:566
#, python-brace-format
msgid "Error {0}"
msgstr "Error {0}"
#: upgrade/Upgrade-Auto:586
msgid "Upgrading server"
msgstr "Upgrading server"

View file

@ -1,71 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: eole-schedule\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2017-12-11 10:20+0100\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=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: schedule/schedule:69
msgid "Starting {}"
msgstr ""
#: schedule/schedule:106
msgid "Error detected\n"
msgstr ""
#: schedule/schedule:107
msgid "{} exited with error return code"
msgstr ""
#: schedule/schedule:110
msgid "{} finished"
msgstr ""
#: schedule/schedule:126
msgid "Job already running, cancelling"
msgstr ""
#: schedule/schedule:140
msgid "bareos is set for this day, cancelled"
msgstr ""
#: schedule/schedule:156
#, python-brace-format
msgid "Unknown job: {0}"
msgstr ""
#: schedule/schedule:186
#, python-brace-format
msgid "Too many arguments: {0}"
msgstr ""
#: schedule/schedule:195
#, python-brace-format
msgid "Not enough arguments: {0}"
msgstr ""
#: schedule/schedule:199
#, python-brace-format
msgid "Second argument must be pre or post: {0}"
msgstr ""
#: schedule/schedule:210
#, python-brace-format
msgid "Too many arguments for cron: {0}"
msgstr ""
#: schedule/schedule:215
#, python-brace-format
msgid "Unknown schedule type : {0}"
msgstr ""

File diff suppressed because it is too large Load diff

View file

@ -1,72 +0,0 @@
# French translations for eole-schedule package
# Traductions françaises du paquet eole-schedule.
# This file is put in the public domain.
# Benjamin Bohard <bbohard@cadoles.com>, 2015.
#
msgid ""
msgstr ""
"Project-Id-Version: eole-schedule\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2017-06-22 10:30+0200\n"
"PO-Revision-Date: 2015-12-02 10:28+0100\n"
"Last-Translator: Benjamin Bohard <bbohard@cadoles.com>\n"
"Language-Team: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: schedule/schedule:69
msgid "Starting {}"
msgstr "Démarrage de {}"
#: schedule/schedule:106
msgid "Error detected\n"
msgstr "Une erreur a été détectée\n"
#: schedule/schedule:107
msgid "{} exited with error return code"
msgstr "Sortie de {} avec un code d'erreur"
#: schedule/schedule:110
msgid "{} finished"
msgstr "{} accompli"
#: schedule/schedule:126
msgid "Job already running, cancelling"
msgstr "Tâche déjà en cours, annulation"
#: schedule/schedule:140
msgid "bareos is set for this day, cancelled"
msgstr "Une tâche bareos est programmée pour ce jour, annulation"
#: schedule/schedule:156
#, python-brace-format
msgid "Unknown job: {0}"
msgstr "Tâche inconnue : {0}"
#: schedule/schedule:186
#, python-brace-format
msgid "Too many arguments: {0}"
msgstr "Trop d'arguments : {0}"
#: schedule/schedule:195
#, python-brace-format
msgid "Not enough arguments: {0}"
msgstr "Pas assez d'arguments : {0}"
#: schedule/schedule:199
#, python-brace-format
msgid "Second argument must be pre or post: {0}"
msgstr "Le second argument doit être pre ou post : {0}"
#: schedule/schedule:210
#, python-brace-format
msgid "Too many arguments for cron: {0}"
msgstr "Trop d'arguments pour cron : {0}"
#: schedule/schedule:215
#, python-brace-format
msgid "Unknown schedule type : {0}"
msgstr "Type de schedule inconnu : {0}"

View file

@ -1,275 +0,0 @@
# French translations for update-manager package
# Traductions françaises du paquet update-manager.
# This file is put in the public domain.
# Benjamin Bohard <bbohard@cadoles.com>, 2015.
#
msgid ""
msgstr ""
"Project-Id-Version: update-manager\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2016-04-08 17:19+0200\n"
"PO-Revision-Date: 2016-01-26 14:35+0100\n"
"Last-Translator: Benjamin Bohard <bbohard@cadoles.com>\n"
"Language-Team: Équipe EOLE <eole@ac-dijon.fr>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: upgrade/Upgrade-Auto:63
msgid "Upgrade to a newer major version is not available"
msgstr ""
"La mise à niveau vers une nouvelle version majeure n'est pas disponible"
#: upgrade/Upgrade-Auto:64
msgid "Use Maj-Release script to upgrade to next minoir version"
msgstr ""
"Utilisez la commande Maj-Release pour changer de sous-version du serveur "
"EOLE."
#: upgrade/Upgrade-Auto:98
msgid ""
"Available choices:\n"
"{}\n"
msgstr ""
"Choix disponibles :\n"
"{}\n"
#: upgrade/Upgrade-Auto:103
msgid "Automatically selected first choice: {}\n"
msgstr "Premier choix sélectionné automatiquement : {}\n"
#: upgrade/Upgrade-Auto:107
msgid ""
"\n"
"[1]: "
msgstr ""
"\n"
"[1] : "
#: upgrade/Upgrade-Auto:110 upgrade/Upgrade-Auto:594
msgid ""
"\n"
"Upgrade aborted by user"
msgstr ""
"\n"
"Migration interrompue par l'utilisateur"
#: upgrade/Upgrade-Auto:122
msgid "Choice {} not available\n"
msgstr "Choix {} non disponible\n"
#: upgrade/Upgrade-Auto:126 upgrade/Upgrade-Auto:495
msgid "Upgrade cancelled by user"
msgstr "Migration annulée par l'utilisateur"
#: upgrade/Upgrade-Auto:129
msgid "Invalid input: {}\n"
msgstr "Saisie invalide : {}\n"
#: upgrade/Upgrade-Auto:240
#, python-brace-format
msgid "Verifying ISO image {iso}"
msgstr "Vérification de l'image ISO {iso}"
#: upgrade/Upgrade-Auto:243
msgid "Download SHA256SUMS file"
msgstr "Téléchargement du fichier SHA256SUMS"
#: upgrade/Upgrade-Auto:247
msgid "Download SHA256SUMS.gpg file"
msgstr "Téléchargement du fichier SHA256SUMS.gpg"
#: upgrade/Upgrade-Auto:250
msgid "Check SHA256SUMS file signature"
msgstr "Vérification de la signature du fichier SHA256SUMS"
#: upgrade/Upgrade-Auto:258
msgid "Check ISO SHA256..."
msgstr "Vérification de l'empreinte SHA256 de l'iso"
#: upgrade/Upgrade-Auto:275
msgid "OK"
msgstr "OK"
#: upgrade/Upgrade-Auto:278
msgid "Error"
msgstr "Erreur"
#: upgrade/Upgrade-Auto:302
#, python-brace-format
msgid "Error downloading {file} with wget from {url}"
msgstr "Erreur lors du téléchargement de {file} avec wget depuis {url}"
#: upgrade/Upgrade-Auto:313
msgid "Error downloading the image with zsync"
msgstr "Erreur lors du téléchargement de l'image avec zsync"
#: upgrade/Upgrade-Auto:351
#, python-brace-format
msgid "Unable to umount {cdrom}"
msgstr "Démontage de {cdrom} impossible"
#: upgrade/Upgrade-Auto:383
#, python-brace-format
msgid "Downloading ISO image for {release}"
msgstr "Téléchargement de l'image ISO pour {release}"
#: upgrade/Upgrade-Auto:402
msgid "No CDROM found"
msgstr "Aucun CDROM trouvé"
#: upgrade/Upgrade-Auto:406
#, python-brace-format
msgid "No such file: {iso}"
msgstr "Aucun fichier de ce nom : {iso}"
#: upgrade/Upgrade-Auto:408
#, python-brace-format
msgid "Unreadable file: {iso}"
msgstr "fichier illisible : {iso}"
#: upgrade/Upgrade-Auto:414
#, python-brace-format
msgid "Copying {source} to {iso}"
msgstr "Copie de {source} vers {iso}"
#: upgrade/Upgrade-Auto:423
#, python-brace-format
msgid "Error checking ISO after copy, remove {iso}"
msgstr ""
"Erreur lors de la vérification de l'ISO après copie ; suppression de {iso}"
#: upgrade/Upgrade-Auto:436
#, python-brace-format
msgid "Error checking ISO image after download, remove {iso}"
msgstr ""
"Erreur lors de la vérification de l'image ISO après le téléchargement ; "
"suppression de {iso}"
#: upgrade/Upgrade-Auto:444
msgid "EOLE distribution upgrade tool."
msgstr "Outil de montée de version de la distribution EOLE."
#: upgrade/Upgrade-Auto:447
msgid "Target release number"
msgstr "Numéro de la version cible"
#: upgrade/Upgrade-Auto:450
msgid "Only download the ISO image"
msgstr "Téléchargement de l'image ISO uniquement"
#: upgrade/Upgrade-Auto:453
msgid "Path to an ISO image"
msgstr "Chemin vers une image ISO"
#: upgrade/Upgrade-Auto:456
msgid "Use CDROM device instead of downloading ISO image"
msgstr "Utiliser le périphérique CDROM plutôt que de télécharger l'image ISO"
#: upgrade/Upgrade-Auto:459
msgid "Pass limit rate to wget. “0” to disable."
msgstr ""
"Fournir une limite de taux de transfert à wget. Utiliser « 0 » pour "
"désactiver."
#: upgrade/Upgrade-Auto:462
msgid "Do not ask confirmation"
msgstr "Ne pas demander de confirmation"
#: upgrade/Upgrade-Auto:472
msgid "This script will upgrade this server to a new release"
msgstr ""
"Ce script va effectuer la migration vers une nouvelle version de la "
"distribution"
#: upgrade/Upgrade-Auto:473
msgid "Modifications will be irreversible."
msgstr "Les modifications ne sont pas réversibles"
#: upgrade/Upgrade-Auto:475
msgid "Starting Upgrade-Auto ({})"
msgstr "Démarrage d'Upgrade-Auto ({})"
#: upgrade/Upgrade-Auto:480
#, python-brace-format
msgid "Invalid release {version} use: {values}"
msgstr "Version {version} invalide, utiliser {values}"
#: upgrade/Upgrade-Auto:487
msgid "Choose which version you want to upgrade to\n"
msgstr "Choisir la version vers laquelle migrer\n"
#: upgrade/Upgrade-Auto:488
msgid "Which version do you want to upgrade to (or 'q' to quit)?"
msgstr "Vers quelle version choisissez-vous de migrer (ou 'q' pour quitter) ?"
#: upgrade/Upgrade-Auto:493
msgid "Do you really want to upgrade to version {}?"
msgstr "Voulez-vous vraiment migrer vers la version {} ?"
#: upgrade/Upgrade-Auto:504
msgid "Check update status"
msgstr "Vérification de l'état de mise à jour"
#: upgrade/Upgrade-Auto:513
msgid "Some packages are not up-to-date!"
msgstr "Des paquets ne sont pas à jour !"
#: upgrade/Upgrade-Auto:516
msgid "Update this server (Maj-Auto) before another attempt to upgrade"
msgstr "Effectuez une mise à jour (Maj-Auto) avant de relancer ce script"
#: upgrade/Upgrade-Auto:519
msgid "Server is up-to-date"
msgstr "Le serveur est à jour"
#: upgrade/Upgrade-Auto:522
msgid ""
"In order to upgrade, most recent kernel endorsed for this release must be "
"used"
msgstr ""
"Pour cette opération, vous devez impérativement être sur le dernier noyau "
"disponible pour cette version !"
#: upgrade/Upgrade-Auto:527
msgid "This server uses most recent kernel"
msgstr "Le serveur utilise le dernier noyau"
#: upgrade/Upgrade-Auto:532
msgid "Download only detected, stop"
msgstr "Arrêt : téléchargement demandé uniquement"
#: upgrade/Upgrade-Auto:537
msgid "Copying upgrade scripts"
msgstr "Copie des scripts de migration"
#: upgrade/Upgrade-Auto:539
#, python-brace-format
msgid "Directory {0} already exists"
msgstr "Le répertoire {0} existe déjà"
#: upgrade/Upgrade-Auto:547
msgid "Configuring upgrade"
msgstr "Configuration de la migration"
#: upgrade/Upgrade-Auto:563
msgid "Module specific commands"
msgstr "Instructions préalables spécifiques au module"
#: upgrade/Upgrade-Auto:566
#, python-brace-format
msgid "Error {0}"
msgstr "Erreur {0}"
#: upgrade/Upgrade-Auto:586
msgid "Upgrading server"
msgstr "Migration du serveur"
#~ msgid ""
#~ "Select target version:\n"
#~ "{}\n"
#~ msgstr ""
#~ "Sélectionner la version cible :\n"
#~ "{}\n"

View file

@ -1,249 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: update-manager\n"
"Report-Msgid-Bugs-To: eole@ac-dijon.fr\n"
"POT-Creation-Date: 2017-12-11 10:20+0100\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=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: upgrade/Upgrade-Auto:63
msgid "Upgrade to a newer major version is not available"
msgstr ""
#: upgrade/Upgrade-Auto:64
msgid "Use Maj-Release script to upgrade to next minoir version"
msgstr ""
#: upgrade/Upgrade-Auto:98
msgid ""
"Available choices:\n"
"{}\n"
msgstr ""
#: upgrade/Upgrade-Auto:103
msgid "Automatically selected first choice: {}\n"
msgstr ""
#: upgrade/Upgrade-Auto:107
msgid ""
"\n"
"[1]: "
msgstr ""
#: upgrade/Upgrade-Auto:110 upgrade/Upgrade-Auto:594
msgid ""
"\n"
"Upgrade aborted by user"
msgstr ""
#: upgrade/Upgrade-Auto:122
msgid "Choice {} not available\n"
msgstr ""
#: upgrade/Upgrade-Auto:126 upgrade/Upgrade-Auto:495
msgid "Upgrade cancelled by user"
msgstr ""
#: upgrade/Upgrade-Auto:129
msgid "Invalid input: {}\n"
msgstr ""
#: upgrade/Upgrade-Auto:240
#, python-brace-format
msgid "Verifying ISO image {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:243
msgid "Download SHA256SUMS file"
msgstr ""
#: upgrade/Upgrade-Auto:247
msgid "Download SHA256SUMS.gpg file"
msgstr ""
#: upgrade/Upgrade-Auto:250
msgid "Check SHA256SUMS file signature"
msgstr ""
#: upgrade/Upgrade-Auto:258
msgid "Check ISO SHA256..."
msgstr ""
#: upgrade/Upgrade-Auto:275
msgid "OK"
msgstr ""
#: upgrade/Upgrade-Auto:278
msgid "Error"
msgstr ""
#: upgrade/Upgrade-Auto:302
#, python-brace-format
msgid "Error downloading {file} with wget from {url}"
msgstr ""
#: upgrade/Upgrade-Auto:313
msgid "Error downloading the image with zsync"
msgstr ""
#: upgrade/Upgrade-Auto:351
#, python-brace-format
msgid "Unable to umount {cdrom}"
msgstr ""
#: upgrade/Upgrade-Auto:383
#, python-brace-format
msgid "Downloading ISO image for {release}"
msgstr ""
#: upgrade/Upgrade-Auto:402
msgid "No CDROM found"
msgstr ""
#: upgrade/Upgrade-Auto:406
#, python-brace-format
msgid "No such file: {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:408
#, python-brace-format
msgid "Unreadable file: {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:414
#, python-brace-format
msgid "Copying {source} to {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:423
#, python-brace-format
msgid "Error checking ISO after copy, remove {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:436
#, python-brace-format
msgid "Error checking ISO image after download, remove {iso}"
msgstr ""
#: upgrade/Upgrade-Auto:444
msgid "EOLE distribution upgrade tool."
msgstr ""
#: upgrade/Upgrade-Auto:447
msgid "Target release number"
msgstr ""
#: upgrade/Upgrade-Auto:450
msgid "Only download the ISO image"
msgstr ""
#: upgrade/Upgrade-Auto:453
msgid "Path to an ISO image"
msgstr ""
#: upgrade/Upgrade-Auto:456
msgid "Use CDROM device instead of downloading ISO image"
msgstr ""
#: upgrade/Upgrade-Auto:459
msgid "Pass limit rate to wget. “0” to disable."
msgstr ""
#: upgrade/Upgrade-Auto:462
msgid "Do not ask confirmation"
msgstr ""
#: upgrade/Upgrade-Auto:472
msgid "This script will upgrade this server to a new release"
msgstr ""
#: upgrade/Upgrade-Auto:473
msgid "Modifications will be irreversible."
msgstr ""
#: upgrade/Upgrade-Auto:475
msgid "Starting Upgrade-Auto ({})"
msgstr ""
#: upgrade/Upgrade-Auto:480
#, python-brace-format
msgid "Invalid release {version} use: {values}"
msgstr ""
#: upgrade/Upgrade-Auto:487
msgid "Choose which version you want to upgrade to\n"
msgstr ""
#: upgrade/Upgrade-Auto:488
msgid "Which version do you want to upgrade to (or 'q' to quit)?"
msgstr ""
#: upgrade/Upgrade-Auto:493
msgid "Do you really want to upgrade to version {}?"
msgstr ""
#: upgrade/Upgrade-Auto:504
msgid "Check update status"
msgstr ""
#: upgrade/Upgrade-Auto:513
msgid "Some packages are not up-to-date!"
msgstr ""
#: upgrade/Upgrade-Auto:516
msgid "Update this server (Maj-Auto) before another attempt to upgrade"
msgstr ""
#: upgrade/Upgrade-Auto:519
msgid "Server is up-to-date"
msgstr ""
#: upgrade/Upgrade-Auto:522
msgid ""
"In order to upgrade, most recent kernel endorsed for this release must be "
"used"
msgstr ""
#: upgrade/Upgrade-Auto:527
msgid "This server uses most recent kernel"
msgstr ""
#: upgrade/Upgrade-Auto:532
msgid "Download only detected, stop"
msgstr ""
#: upgrade/Upgrade-Auto:537
msgid "Copying upgrade scripts"
msgstr ""
#: upgrade/Upgrade-Auto:539
#, python-brace-format
msgid "Directory {0} already exists"
msgstr ""
#: upgrade/Upgrade-Auto:547
msgid "Configuring upgrade"
msgstr ""
#: upgrade/Upgrade-Auto:563
msgid "Module specific commands"
msgstr ""
#: upgrade/Upgrade-Auto:566
#, python-brace-format
msgid "Error {0}"
msgstr ""
#: upgrade/Upgrade-Auto:586
msgid "Upgrading server"
msgstr ""