Kaydet (Commit) 26799dff authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

Sistemde sorun cıktı yedek alıyoruz

üst 79dfef89
......@@ -81,7 +81,7 @@ def dohtml(*sourceFiles, **kw):
for source in sourceFileGlob:
if os.path.isfile(source) and os.path.splitext(source)[1] in allowed_extensions:
system('install -m0644 "{0}" {1}'.format(source, destionationDirectory))
system('install -m 0644 "{0}" {1}'.format(source, destionationDirectory))
if os.path.isdir(source) and os.path.basename(source) not in disallowed_directories:
eraser = os.path.split(source)[0]
for root, dirs, files in os.walk(source):
......@@ -89,7 +89,7 @@ def dohtml(*sourceFiles, **kw):
for sourcename in files:
if os.path.splitext(sourcename)[1] in allowed_extensions:
makedirs(join_path(destionationDirectory, newRoot))
system('install -m0644 {0} {1}'.format(join_path(root, sourcename), join_path(destionationDirectory, newRoot, sourcename)))
system('install -m 0644 {0} {1}'.format(join_path(root, sourcename), join_path(destionationDirectory, newRoot, sourcename)))
def doinfo(*sourceFiles):
'''inserts the into files in the list of files into /usr/share/info'''
......@@ -149,7 +149,7 @@ def doman(*sourceFiles):
manPDIR = join_path(manDIR, '/man{}'.format(pageDirectory))
makedirs(manPDIR)
if not compressed:
system('install -m0644 {0} {1}'.format(source, manPDIR))
system('install -m 0644 {0} {1}'.format(source, manPDIR))
else:
uncompress(compressed, targetDir=manPDIR)
......
......@@ -54,7 +54,7 @@ def executable_insinto(destinationDirectory, *sourceFiles):
for source in sourceFileGlob:
# FIXME: use an internal install routine for these
system('install -m0755 -o root -g root {0} {1}'.format(source, destinationDirectory))
system('install -m 0755 -o root -g root {0} {1}'.format(source, destinationDirectory))
def readable_insinto(destinationDirectory, *sourceFiles):
'''inserts file list into destinationDirectory'''
......@@ -71,7 +71,7 @@ def readable_insinto(destinationDirectory, *sourceFiles):
raise FileError(_("No file matched pattern \"{}\".").format(sourceFile))
for source in sourceFileGlob:
system('install -m0644 "{0}" {1}'.format(source, destinationDirectory))
system('install -m 0644 "{0}" {1}'.format(source, destinationDirectory))
def lib_insinto(sourceFile, destinationDirectory, permission = 0o644):
'''inserts a library fileinto destinationDirectory with given permission'''
......@@ -85,4 +85,4 @@ def lib_insinto(sourceFile, destinationDirectory, permission = 0o644):
if os.path.islink(sourceFile):
os.symlink(os.path.realpath(sourceFile), os.path.join(destinationDirectory, sourceFile))
else:
system('install -m0{0} {1} {2}'.format(permission, sourceFile, destinationDirectory))
system('install -m 0{0} {1} {2}'.format(permission, sourceFile, destinationDirectory))
......@@ -726,7 +726,7 @@ class Builder:
ctx.ui.info(_("Sandbox enabled build..."))
# Configure allowed paths from sandbox.conf
valid_paths = [self.pkg_dir()]
valid_paths = [bytes(self.pkg_dir().encode('utf-8'))]
conf_file = ctx.const.sandbox_conf
if os.path.exists(conf_file):
for line in open(conf_file):
......@@ -734,7 +734,7 @@ class Builder:
if len(line) > 0 and not line.startswith("#"):
if line.startswith("~"):
line = os.environ["HOME"] + line[1:]
valid_paths.append(line)
valid_paths.append(line.encode('utf-8'))
# Extra path for ccache when needed
if ctx.config.values.build.buildhelper == "ccache":
......@@ -742,7 +742,7 @@ class Builder:
"/root/.ccache"))
ret = catbox.run(self.actionLocals[func],
bytes(valid_paths.encode('utf-8')),
valid_paths,
logger=self.log_sandbox_violation)
# Retcode can be 0 while there is a sanbox violation, so only
# look for violations to correctly handle it
......
This diff is collapsed.
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: INARYLinux\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-29 18:39+0300\n"
"POT-Creation-Date: 2018-01-30 22:31+0300\n"
"PO-Revision-Date: 2013-01-04 21:08+0000\n"
"Last-Translator: circass <erdincgultekin@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -4028,6 +4028,91 @@ msgstr "Invalid delta package name: {}"
msgid "Invalid version string: '{}'"
msgstr "Invalid version string: {}"
#, fuzzy
#~ msgid "Cleaning files database folder... "
#~ msgstr "Cleaning build directory..."
#~ msgid "long integer"
#~ msgstr "long integer"
#~ msgid "{} option requires an argument"
#~ msgstr "{} option requires an argument"
#~ msgid "INARY package"
#~ msgstr "INARY package"
#~ msgid "Not removing conflicted file : {}"
#~ msgstr "Not removing conflicted file : {}"
#~ msgid "Date: {} {}"
#~ msgstr "Date: {} {}"
#~ msgid "{} [{}]"
#~ msgstr "{} [{}]"
#~ msgid "Urlgrabber needs to be installed to run this command"
#~ msgstr "Urlgrabber needs to be installed to run this command"
#~ msgid "No user named {} found on the system"
#~ msgstr "No user named {} found on the system"
#~ msgid "No group named {} found on the system"
#~ msgstr "No group named {} found on the system"
#~ msgid "String {} has invalid XML"
#~ msgstr "String {} has invalid XML"
#~ msgid "Unable to read file {}: {}"
#~ msgstr "Unable to read file {}: {}"
#, fuzzy
#~ msgid "Safety switch forces the downgrade of following packages:"
#~ msgstr "Safety switch forces the upgrade of following packages:"
#, fuzzy
#~ msgid "Downgrade is not possible."
#~ msgstr "Upgrade is not possible."
#, fuzzy
#~ msgid "The following packages will be downgraded:"
#~ msgstr "The following packages will be upgraded:"
#, fuzzy
#~ msgid "No packages to downgrade."
#~ msgstr "No packages to upgrade."
#, fuzzy
#~ msgid "Package {0.name} is already at the first release {0.release}."
#~ msgstr "Package {} is already at the latest release {}."
#, fuzzy
#~ msgid "When downgrading system, ignore packages and components whose basenames match any pattern contained in file."
#~ msgstr "When upgrading system, ignore packages and components whose basenames match any pattern contained in file."
#, fuzzy
#~ msgid "When downgrading system, ignore packages and components whose basenames match pattern."
#~ msgstr "When upgrading system, ignore packages and components whose basenames match pattern."
#, fuzzy
#~ msgid "Fetch downgrades but do not install."
#~ msgstr "Fetch upgrades but do not install."
#, fuzzy
#~ msgid "Name of the to be downgraded packages' repository"
#~ msgstr "Name of the to be upgraded packages' repository"
#, fuzzy
#~ msgid "Downgrade component's and recursive components' packages"
#~ msgstr "Upgrade component's and recursive components' packages"
#, fuzzy
#~ msgid "Security related package downgrades only"
#~ msgstr "Security related package upgrades only"
#, fuzzy
#~ msgid "downgrade options"
#~ msgstr "upgrade options"
#, fuzzy
#~ msgid ""
#~ "Downgrade INARY packages\n"
......@@ -4063,88 +4148,3 @@ msgstr "Invalid version string: {}"
#~ "\n"
#~ "You can also specify components instead of package names, which will be\n"
#~ "expanded to package names.\n"
#, fuzzy
#~ msgid "downgrade options"
#~ msgstr "upgrade options"
#, fuzzy
#~ msgid "Security related package downgrades only"
#~ msgstr "Security related package upgrades only"
#, fuzzy
#~ msgid "Downgrade component's and recursive components' packages"
#~ msgstr "Upgrade component's and recursive components' packages"
#, fuzzy
#~ msgid "Name of the to be downgraded packages' repository"
#~ msgstr "Name of the to be upgraded packages' repository"
#, fuzzy
#~ msgid "Fetch downgrades but do not install."
#~ msgstr "Fetch upgrades but do not install."
#, fuzzy
#~ msgid "When downgrading system, ignore packages and components whose basenames match pattern."
#~ msgstr "When upgrading system, ignore packages and components whose basenames match pattern."
#, fuzzy
#~ msgid "When downgrading system, ignore packages and components whose basenames match any pattern contained in file."
#~ msgstr "When upgrading system, ignore packages and components whose basenames match any pattern contained in file."
#, fuzzy
#~ msgid "Package {0.name} is already at the first release {0.release}."
#~ msgstr "Package {} is already at the latest release {}."
#, fuzzy
#~ msgid "No packages to downgrade."
#~ msgstr "No packages to upgrade."
#, fuzzy
#~ msgid "The following packages will be downgraded:"
#~ msgstr "The following packages will be upgraded:"
#, fuzzy
#~ msgid "Downgrade is not possible."
#~ msgstr "Upgrade is not possible."
#, fuzzy
#~ msgid "Safety switch forces the downgrade of following packages:"
#~ msgstr "Safety switch forces the upgrade of following packages:"
#~ msgid "Unable to read file {}: {}"
#~ msgstr "Unable to read file {}: {}"
#~ msgid "String {} has invalid XML"
#~ msgstr "String {} has invalid XML"
#~ msgid "No group named {} found on the system"
#~ msgstr "No group named {} found on the system"
#~ msgid "No user named {} found on the system"
#~ msgstr "No user named {} found on the system"
#~ msgid "Urlgrabber needs to be installed to run this command"
#~ msgstr "Urlgrabber needs to be installed to run this command"
#~ msgid "{} [{}]"
#~ msgstr "{} [{}]"
#~ msgid "Date: {} {}"
#~ msgstr "Date: {} {}"
#~ msgid "Not removing conflicted file : {}"
#~ msgstr "Not removing conflicted file : {}"
#~ msgid "INARY package"
#~ msgstr "INARY package"
#~ msgid "{} option requires an argument"
#~ msgstr "{} option requires an argument"
#~ msgid "long integer"
#~ msgstr "long integer"
#, fuzzy
#~ msgid "Cleaning files database folder... "
#~ msgstr "Cleaning build directory..."
This diff is collapsed.
This diff is collapsed.
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: inary\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-29 18:39+0300\n"
"POT-Creation-Date: 2018-01-30 22:31+0300\n"
"PO-Revision-Date: 2011-06-11 23:13+0100\n"
"Last-Translator: Ivica Kolić <ikoli@yahoo.com>\n"
"Language-Team: Croatian <ikoli@yahoo.com>\n"
......@@ -3749,6 +3749,64 @@ msgstr "Neispravano ime delta paketa: {}"
msgid "Invalid version string: '{}'"
msgstr ""
#, fuzzy
#~ msgid "Cleaning files database folder... "
#~ msgstr "Obnovi bazu podataka datoteka"
#, fuzzy
#~ msgid "Name: {}, version: {}, release: {}\n"
#~ msgstr "Ime:{}, verzija{}, izdanje:%s\n"
#~ msgid "{} option requires an argument"
#~ msgstr "{} opcija zahtijeva argument"
#~ msgid "INARY package"
#~ msgstr "INARY paket"
#~ msgid "Not removing conflicted file : {}"
#~ msgstr "Ne uklanjanje sporne datoteke: {}"
#~ msgid "Date: {} {}"
#~ msgstr "Datum: {} {}"
#~ msgid "{} [{}]"
#~ msgstr "{} [{}]"
#~ msgid "Unable to read file {}: {}"
#~ msgstr "Nije moguće čitati datoteku {}: {}"
#, fuzzy
#~ msgid "Downgrade is not possible."
#~ msgstr "Nadogradnja nije moguća."
#, fuzzy
#~ msgid "The following packages will be downgraded:"
#~ msgstr "Slijedeći paketi će biti nadograđeni:"
#, fuzzy
#~ msgid "No packages to downgrade."
#~ msgstr "Nema paketa za nadogradnju"
#, fuzzy
#~ msgid "Package {0.name} is already at the first release {0.release}."
#~ msgstr "Paket {0.name} je već najnovije izdanje {0.release}."
#, fuzzy
#~ msgid "Name of the to be downgraded packages' repository"
#~ msgstr "Ime nadograđenog repozitorija paketa"
#, fuzzy
#~ msgid "Downgrade component's and recursive components' packages"
#~ msgstr "Nadogradnja komponente i rekurzivne pakete komponente "
#, fuzzy
#~ msgid "Security related package downgrades only"
#~ msgstr "Nadogradi samo pakete vezane za sigurnost "
#, fuzzy
#~ msgid "downgrade options"
#~ msgstr "opcije nadogradnje"
#, fuzzy
#~ msgid ""
#~ "Downgrade INARY packages\n"
......@@ -3777,61 +3835,3 @@ msgstr ""
#~ "\n"
#~ "Također možete odrediti komponente umjesto imena paketa, koje će biti\n"
#~ "proširene na imena paketa.\n"
#, fuzzy
#~ msgid "downgrade options"
#~ msgstr "opcije nadogradnje"
#, fuzzy
#~ msgid "Security related package downgrades only"
#~ msgstr "Nadogradi samo pakete vezane za sigurnost "
#, fuzzy
#~ msgid "Downgrade component's and recursive components' packages"
#~ msgstr "Nadogradnja komponente i rekurzivne pakete komponente "
#, fuzzy
#~ msgid "Name of the to be downgraded packages' repository"
#~ msgstr "Ime nadograđenog repozitorija paketa"
#, fuzzy
#~ msgid "Package {0.name} is already at the first release {0.release}."
#~ msgstr "Paket {0.name} je već najnovije izdanje {0.release}."
#, fuzzy
#~ msgid "No packages to downgrade."
#~ msgstr "Nema paketa za nadogradnju"
#, fuzzy
#~ msgid "The following packages will be downgraded:"
#~ msgstr "Slijedeći paketi će biti nadograđeni:"
#, fuzzy
#~ msgid "Downgrade is not possible."
#~ msgstr "Nadogradnja nije moguća."
#~ msgid "Unable to read file {}: {}"
#~ msgstr "Nije moguće čitati datoteku {}: {}"
#~ msgid "{} [{}]"
#~ msgstr "{} [{}]"
#~ msgid "Date: {} {}"
#~ msgstr "Datum: {} {}"
#~ msgid "Not removing conflicted file : {}"
#~ msgstr "Ne uklanjanje sporne datoteke: {}"
#~ msgid "INARY package"
#~ msgstr "INARY paket"
#~ msgid "{} option requires an argument"
#~ msgstr "{} opcija zahtijeva argument"
#, fuzzy
#~ msgid "Name: {}, version: {}, release: {}\n"
#~ msgstr "Ime:{}, verzija{}, izdanje:%s\n"
#, fuzzy
#~ msgid "Cleaning files database folder... "
#~ msgstr "Obnovi bazu podataka datoteka"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: INARYLinux\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-29 18:39+0300\n"
"POT-Creation-Date: 2018-01-30 22:31+0300\n"
"PO-Revision-Date: 2014-02-26 16:34+0000\n"
"Last-Translator: obsoleteman <tulliana@gmail.com>\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/INARYLinux/language/pt_BR/)\n"
......@@ -3550,8 +3550,8 @@ msgstr ""
msgid "Invalid version string: '{}'"
msgstr ""
#~ msgid "{} option requires an argument"
#~ msgstr "{} opção requer um argumento"
#~ msgid "long integer"
#~ msgstr "totalidade longo"
#~ msgid "{} option requires an argument"
#~ msgstr "{} opção requer um argumento"
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-29 18:39+0300\n"
"POT-Creation-Date: 2018-01-30 22:31+0300\n"
"PO-Revision-Date: 2011-02-04 12:21+0300\n"
"Last-Translator: Korostil Daniel <ted.korostiled@gmail.com>\n"
"Language-Team: translation@linux.org.ua\n"
......@@ -3559,8 +3559,8 @@ msgstr ""
msgid "Invalid version string: '{}'"
msgstr ""
#~ msgid "{} option requires an argument"
#~ msgstr "параметр {} потребує аргумент"
#~ msgid "long integer"
#~ msgstr "довге ціле число"
#~ msgid "{} option requires an argument"
#~ msgstr "параметр {} потребує аргумент"
......@@ -17,7 +17,7 @@ import glob
import sys
import inspect
import tempfile
from setuptools import setup, Extension
from setuptools import setup
from distutils.cmd import Command
from distutils.command.build import build
from distutils.command.install import install
......@@ -96,7 +96,7 @@ class BuildPo(build):
class Install(install):
def run(self):
install.run(self)
self.installi18n()
#self.installi18n()
self.installdoc()
self.generateConfigFile()
......@@ -194,8 +194,7 @@ setup(name="inary",
'inary.db',
'inary.operations',
'inary.sxml',
'inary.scenarioapi',
'inary.system_literals'],
'inary.scenarioapi'],
scripts = ['inary-cli',
'scripts/lsinary',
'scripts/uninary',
......@@ -206,10 +205,6 @@ setup(name="inary",
'build_po' : BuildPo,
'install' : Install,
'uninstall' : Uninstall},
ext_modules = [Extension('inary.system_literals.csapi',
sources=['inary/system_literals/csapi.c'],
libraries=[]),
],
data_files =datas
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment