add powermanagement and disk utils
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("Makefile", "(?m)^(CC.*)gcc", r"\1%s" % get.CC())
|
||||
pisitools.dosed("Makefile", "(?m)^(LDFLAGS.*)-s", r"\1%s" % get.LDFLAGS())
|
||||
pisitools.dosed("Makefile", "(?m)^(CFLAGS.*)-O2", r"\1%s" % get.CFLAGS())
|
||||
|
||||
def build():
|
||||
autotools.make('STRIP=: CC="%s"' % get.CC())
|
||||
|
||||
def install():
|
||||
pisitools.dosbin("hdparm", "/sbin")
|
||||
pisitools.dosbin("contrib/idectl", "/sbin")
|
||||
|
||||
pisitools.doman("hdparm.8")
|
||||
pisitools.dodoc("hdparm.lsm", "Changelog", "README.acoustic")
|
||||
@@ -0,0 +1,21 @@
|
||||
# /etc/conf.d/hdparm: Config file for hdparm
|
||||
#
|
||||
# Hdparm is a useful system utility for setting (E)IDE hard drive parameters and it can be
|
||||
# used to tweak hard drive performance and to spin down hard drives for power conservation
|
||||
#
|
||||
# For example, for all pata drives you can use this parameter
|
||||
#
|
||||
# all="-d1 -c1"
|
||||
#
|
||||
# If you have a Seagate disk then you may need to use -Z parameter to disable the automatic
|
||||
# power-saving function of certain Seagate drives to prevent them from idling/spinning-down
|
||||
# at inconvenient times
|
||||
#
|
||||
# hda="-d1 -c1 -Z"
|
||||
#
|
||||
# You can use -X parameter to set the IDE transfer mode for newer (E)IDE/ATA drives but you
|
||||
# should select the correct mode. PIO 1-4 (Programmed IO), SDMA 0-2 (Single-word DMA),
|
||||
# MDMA 0-2 (Multi-word DMA) and UDMA 0-5 (Ultra-DMA)
|
||||
#
|
||||
# hda="-d1 -c1 -X udma5"
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hdparm</Name>
|
||||
<Homepage>http://sourceforge.net/projects/hdparm/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Utility to change hard drive performance parameters</Summary>
|
||||
<Description>hdparm has some useful utilities that allows you to get/set hard disk parameters for Linux IDE drives in runtime.</Description>
|
||||
<Archive sha1sum="3ffbcf46237245868a569125a6d5c92a0e07e7ce" type="targz">http://downloads.sourceforge.net/hdparm/hdparm-9.43.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>hdparm</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="config">/etc/conf.d</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/hdparm">hdparm.confd</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>9.43</Version>
|
||||
<Comment>Rebuild for gcc.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-02-02</Date>
|
||||
<Version>9.42</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>hdparm</Name>
|
||||
<Summary xml:lang="tr">Sabit disk parametrelerini değiştirmekte kullanılan araç</Summary>
|
||||
<Description xml:lang="tr">hdparm paketi çalışma anında Linux IDE sürücülerinin parametrelerini almanıza/değiştirmenize olanak sağlayan bazı kullanışlı uygulamaları içerir.</Description>
|
||||
<Description xml:lang="fr">le paquet hdparm dispose d'outils utiles permettant d'obtenir/établir les paramètres de disques durs IDE sous Linux en cours d'éxécution.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README", "LGPL", "blob-examples/SAMSUNG*",
|
||||
"blob-examples/ST*", "blob-examples/Maxtor*",
|
||||
"blob-examples/WDC*", "blob-examples/FUJITSU*",
|
||||
"blob-examples/INTEL*", "blob-examples/TOSHIBA*",
|
||||
"blob-examples/MCC*")
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
From 26f0cc57fcf346753f17e75fb1378f053dcba92c Mon Sep 17 00:00:00 2001
|
||||
From: David Zeuthen <davidz@redhat.com>
|
||||
Date: Wed, 9 Dec 2009 17:14:36 -0500
|
||||
Subject: [PATCH] fix return of uninitialized variable
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
atasmart.c: In function ‘init_smart’:
|
||||
atasmart.c:2556: warning: ‘ret’ may be used uninitialized in this function
|
||||
|
||||
We apparently don't initialize the ret variable in init_smart() -
|
||||
unfortunately
|
||||
|
||||
o this warning is never reported with using -O0 (thanks gcc -
|
||||
see http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings though)
|
||||
|
||||
o we never run into this bug with just skdump(1)
|
||||
|
||||
The bug does show up in the udisks (aka DeviceKit-disks) use of
|
||||
libatasmart and this patch fixes it.
|
||||
|
||||
Signed-off-by: David Zeuthen <davidz@redhat.com>
|
||||
---
|
||||
atasmart.c | 4 ++++
|
||||
1 files changed, 4 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/atasmart.c b/atasmart.c
|
||||
index 3ff0334..cf93819 100644
|
||||
--- a/atasmart.c
|
||||
+++ b/atasmart.c
|
||||
@@ -2564,6 +2564,8 @@ static int init_smart(SkDisk *d) {
|
||||
if (!disk_smart_is_available(d))
|
||||
return 0;
|
||||
|
||||
+ ret = -1;
|
||||
+
|
||||
if (!disk_smart_is_enabled(d)) {
|
||||
if ((ret = disk_smart_enable(d, TRUE)) < 0)
|
||||
goto fail;
|
||||
@@ -2580,6 +2582,8 @@ static int init_smart(SkDisk *d) {
|
||||
|
||||
disk_smart_read_thresholds(d);
|
||||
|
||||
+ ret = 0;
|
||||
+
|
||||
fail:
|
||||
return ret;
|
||||
}
|
||||
--
|
||||
1.6.5.5
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libatasmart</Name>
|
||||
<Homepage>http://git.0pointer.de/?p=libatasmart.git</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2+</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>ATA S.M.A.R.T. Disk Health Monitoring Library</Summary>
|
||||
<Description>A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring.</Description>
|
||||
<Archive sha1sum="0d0745b6bd2e5b9461d15966b5daac6c98302de8" type="tarxz">http://0pointer.de/public/libatasmart-0.19.tar.xz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">libatasmart-uninitialized-var.patch</Patch>
|
||||
</Patches>
|
||||
<BuildDependencies>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libatasmart</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>eudev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin/skdump</Path>
|
||||
<Path fileType="executable">/usr/sbin/sktest</Path>
|
||||
<Path fileType="library">/usr/lib/libatasmart.so*</Path>
|
||||
<Path fileType="data">/usr/share/doc/libatasmart/README</Path>
|
||||
<Path fileType="data">/usr/share/doc/libatasmart/LGPL</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libatasmart-devel</Name>
|
||||
<Summary>Development files for libatasmart</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libatasmart</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/share/vala</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>0.19</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>0.19</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-02</Date>
|
||||
<Version>0.19</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libatasmart</Name>
|
||||
<Summary xml:lang="tr">ATA S.M.A.R.T. disk sağlığı izleme kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libatasmart, ATA S.M.A.R.T. üzerinden disk sağlığını izlemek için kullanılan ufak ve hafif bir kitaplıktır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libatasmart-devel</Name>
|
||||
<Summary xml:lang="tr">libatasmart için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
pisitools.flags.add("-Wno-unused-but-set-variable")
|
||||
autotools.autoreconf()
|
||||
autotools.autoconf()
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-gcc-warnings")
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
pisitools.dosed("libtool", "^(runpath_var=)LD_RUN_PATH", "\\1DIE_RPATH_DIE")
|
||||
|
||||
|
||||
def build():
|
||||
autotools.make("V=1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "NEWS", "README", "THANKS", "TODO")
|
||||
pisitools.dodoc("doc/API", "doc/USER.jp", "doc/FAT")
|
||||
|
||||
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>parted</Name>
|
||||
<Homepage>http://www.gnu.org/software/parted</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3+</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Create, destroy, resize, check, copy partitions and file systems</Summary>
|
||||
<Description>The GNU Parted program allows you to create, destroy, resize, move, and copy hard disk partitions. Parted can be used for creating space for new operating systems, reorganizing disk usage, and copying data to new hard disks.</Description>
|
||||
<Archive sha1sum="78db6ca8dd6082c5367c8446bf6f7ae044091959" type="tarxz">http://ftp.gnu.org.ua/gnu/parted/parted-3.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
<Dependency>device-mapper-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">parted-2.2-hi-major-sd-rh611691.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>parted</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
<Dependency>ncurses</Dependency>
|
||||
<Dependency>device-mapper</Dependency>
|
||||
<Dependency>readline</Dependency>
|
||||
<Dependency>util-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="data">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>parted-devel</Name>
|
||||
<Summary>Development files for parted</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">parted</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-08-09</Date>
|
||||
<Version>3.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>3.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-02</Date>
|
||||
<Version>3.1</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-05</Date>
|
||||
<Version>3.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>parted</Name>
|
||||
<Summary xml:lang="tr">GNU Parted disk bölümlerini oluşturmaya, silmeye, boyutlandırmaya, taşımaya ve kopyalamaya yarayan bir yazılımdır.</Summary>
|
||||
<Summary xml:lang="fr">Crée, supprime, modifie les dimensions, vérifie et copie partitions et systèmes de fichiers.</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>parted-devel</Name>
|
||||
<Summary xml:lang="tr">parted için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--disable-gtk-doc")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README")
|
||||
@@ -0,0 +1,248 @@
|
||||
# Danish translations for udisks.
|
||||
# This file is distributed under the same license as the udisks package.
|
||||
#
|
||||
# Ozan Çağlayan <ozan@pardus.org.tr>, 2011.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: udisks\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2009-12-01 14:36-0500\n"
|
||||
"PO-Revision-Date: 2011-03-28 11:17+0300\n"
|
||||
"Last-Translator: Ozan Çağlayan <ozan@pardus.org.tr>\n"
|
||||
"Language-Team: Turkish <tr@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1;plural=0;\n"
|
||||
"X-Generator: Lokalize 1.2\n"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:1
|
||||
msgid "Authentication is required to cancel a job initiated by another user"
|
||||
msgstr ""
|
||||
"Başka bir kullanıcı tarafından başlatılan bir görevi iptal etmek için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:2
|
||||
msgid "Authentication is required to check the file system on the device"
|
||||
msgstr "Aygıtın üzerindeki dosya sistemini denetlemek için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:3
|
||||
msgid "Authentication is required to configure Linux Software RAID devices"
|
||||
msgstr "Yazılımsal RAID aygıtlarını yapılandırmak için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:4
|
||||
msgid "Authentication is required to configure drive spindown timeout"
|
||||
msgstr ""
|
||||
"Sürücünün dönüş hızının yavaşlama aralığını yapılandırmak için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:5
|
||||
msgid "Authentication is required to detach the drive"
|
||||
msgstr "Sürücüyü ayırmak için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:6
|
||||
msgid "Authentication is required to eject media from the device"
|
||||
msgstr "Ortamı aygıttan çıkartmak için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:7
|
||||
msgid "Authentication is required to inhibit media detection"
|
||||
msgstr "Ortam tanımayı engellemek için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:8
|
||||
msgid "Authentication is required to list open files on a mounted file system"
|
||||
msgstr ""
|
||||
"Bağlı bir dosya sistemindeki açık dosyaların listelenmesi için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:9
|
||||
msgid ""
|
||||
"Authentication is required to lock an encrypted device unlocked by another "
|
||||
"user"
|
||||
msgstr ""
|
||||
"Başka bir kullanıcı tarafından kilidi çözülmüş şifreli bir aygıtın "
|
||||
"kilitlenmesi için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:10
|
||||
msgid "Authentication is required to modify the device"
|
||||
msgstr "Aygıtı değiştirmek için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:11
|
||||
msgid "Authentication is required to mount the device"
|
||||
msgstr "Aygıtı bağlamak için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:12
|
||||
msgid "Authentication is required to refresh ATA SMART data"
|
||||
msgstr "ATA SMART verilerinin tazelenmesi için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:13
|
||||
msgid "Authentication is required to retrieve historical ATA SMART data"
|
||||
msgstr "Eski ATA SMART verilerinin alınması için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:14
|
||||
msgid "Authentication is required to run ATA SMART self tests"
|
||||
msgstr "ATA SMART otomatik testlerinin çalıştırılması için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:15
|
||||
msgid "Authentication is required to unlock an encrypted device"
|
||||
msgstr "Şifrelenmiş bir aygıtın çözülmesi için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:16
|
||||
msgid "Authentication is required to unmount devices mounted by another user"
|
||||
msgstr ""
|
||||
"Başka bir kullanıcı tarafından bağlanan aygıtların ayrılması için yetki gerekiyor"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:17
|
||||
msgid "Cancel a job initiated by another user"
|
||||
msgstr "Başka bir kullanıcı tarafından başlatılan görevi iptal et"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:18
|
||||
msgid "Check file system of a system-internal device"
|
||||
msgstr "Bir iç-sistem aygıtındaki dosya sistemini denetle"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:19
|
||||
msgid "Check file system on a device"
|
||||
msgstr "Bir aygıttaki dosya sistemini denetle"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:20
|
||||
msgid "Configure Linux Software RAID"
|
||||
msgstr "Yazılımsal RAID mekanizmasını yapılandır"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:21
|
||||
msgid "Detach a drive"
|
||||
msgstr "Bir sürücüyü ayır"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:22
|
||||
msgid "Eject media from a device"
|
||||
msgstr "Bir sürücüden ortam çıkart"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:23
|
||||
msgid "Inhibit media detection"
|
||||
msgstr "Ortam algılamasını engelle"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:24
|
||||
msgid "List open files"
|
||||
msgstr "Açık dosyaları listele"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:25
|
||||
msgid "List open files on a system-internal device"
|
||||
msgstr "Bir iç-sistem aygıtındaki açık dosyaları listele"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:26
|
||||
msgid "Lock an encrypted device unlocked by another user"
|
||||
msgstr ""
|
||||
"Başka bir kullanıcı tarafından kilidi çözülmüş bir şifreli aygıtı kilitle"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:27
|
||||
msgid "Modify a device"
|
||||
msgstr "Bir aygıtı değiştir"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:28
|
||||
msgid "Modify a system-internal device"
|
||||
msgstr "Bir iç-sistem aygıtını değiştir"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:29
|
||||
msgid "Mount a device"
|
||||
msgstr "Bir aygıtı bağla"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:30
|
||||
msgid "Mount a system-internal device"
|
||||
msgstr "Bir iç-sistem aygıtını bağla"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:31
|
||||
msgid "Refresh ATA SMART data"
|
||||
msgstr "ATA SMART verilerini tazele"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:32
|
||||
msgid "Retrieve historical ATA SMART data"
|
||||
msgstr "Eski ATA SMART verilerini al"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:33
|
||||
msgid "Run ATA SMART Self Tests"
|
||||
msgstr "ATA SMART Otomatik testlerini çalıştır"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:34
|
||||
msgid "Set drive spindown timeout"
|
||||
msgstr "Sürücünün dönüş hızının yavaşlama aralığını belirle"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:35
|
||||
msgid "Unlock an encrypted device"
|
||||
msgstr "Şifrelenmiş bir aygıtın kilidini çöz"
|
||||
|
||||
#: ../policy/org.freedesktop.udisks.policy.in.h:36
|
||||
msgid "Unmount a device mounted by another user"
|
||||
msgstr "Başka bir kullanıcı tarafından bağlanmış bir aygıtı ayır"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:94
|
||||
msgid "Authentication is required to delete a partition"
|
||||
msgstr "Disk bölümünün silinmesi için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:95
|
||||
msgid "Authentication is required to create a filesystem"
|
||||
msgstr "Dosya sistemi oluşturmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:96
|
||||
msgid "Authentication is required to create a partition"
|
||||
msgstr "Disk bölümü oluşturmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:97
|
||||
msgid "Authentication is required to modify a partition"
|
||||
msgstr "Disk bölümünü düzenlemek için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:98
|
||||
msgid "Authentication is required to create a partition table"
|
||||
msgstr "Disk bölümü tablosu oluşturmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:99
|
||||
msgid "Authentication is required to set the file system label"
|
||||
msgstr "Dosya sistemi etiketini belirlemek için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:100
|
||||
msgid "Authentication is required to stop a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtını durdurmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:101
|
||||
msgid "Authentication is required to check a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtını denetlemek için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:102
|
||||
msgid "Authentication is required to repair a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtını onarmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:103
|
||||
msgid ""
|
||||
"Authentication is required to add a new component to a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtını yeni bir bileşen eklemek için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:104
|
||||
msgid ""
|
||||
"Authentication is required to remove a component from a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtından bir bileşen kaldırmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:105
|
||||
msgid "Authentication is required to start a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtını başlatmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:106
|
||||
msgid "Authentication is required to create a Software RAID device"
|
||||
msgstr "Yazılımsal RAID aygıtı oluşturmak için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:107
|
||||
msgid "Authentication is required to inhibit polling on a drive"
|
||||
msgstr ""
|
||||
"Sürücünü periyodik sorgulanmasının (polling) engellenmesi için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:108
|
||||
msgid "Authentication is required to poll for media"
|
||||
msgstr "Periyodik ortam sorgulaması (polling) için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:109
|
||||
msgid "Authentication is required to inhibit all drive polling"
|
||||
msgstr ""
|
||||
"Tüm sürücülerin periyodik sorgulanmasının (polling) engellenmesi için yetki gerekiyor"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:187
|
||||
msgid "Device"
|
||||
msgstr "Aygıt"
|
||||
|
||||
#: ../src/polkit-action-lookup.c:212
|
||||
msgid "Drive"
|
||||
msgstr "Sürücü"
|
||||
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
--- udisks-2.0.91.orig/src/udiskslinuxfilesystem.c
|
||||
+++ udisks-2.0.91/src/udiskslinuxfilesystem.c
|
||||
@@ -298,7 +298,7 @@ static const gchar *iso9660_allow_gid_se
|
||||
/* ---------------------- udf -------------------- */
|
||||
|
||||
static const gchar *udf_defaults[] = { "uid=", "gid=", "iocharset=utf8", "umask=0077", NULL };
|
||||
-static const gchar *udf_allow[] = { "iocharset=", "umask=", NULL };
|
||||
+static const gchar *udf_allow[] = { "iocharset=", "umask=", "mode=", "dmode=", NULL };
|
||||
static const gchar *udf_allow_uid_self[] = { "uid=", NULL };
|
||||
static const gchar *udf_allow_gid_self[] = { "gid=", NULL };
|
||||
|
||||
@@ -512,7 +512,8 @@ is_mount_option_allowed (const FSMountOp
|
||||
}
|
||||
|
||||
static gchar **
|
||||
-prepend_default_mount_options (const FSMountOptions *fsmo,
|
||||
+prepend_default_mount_options (UDisksBlock *block,
|
||||
+ const FSMountOptions *fsmo,
|
||||
uid_t caller_uid,
|
||||
GVariant *given_options)
|
||||
{
|
||||
@@ -520,6 +521,8 @@ prepend_default_mount_options (const FSM
|
||||
gint n;
|
||||
gchar *s;
|
||||
gid_t gid;
|
||||
+ const gchar *probed_fs_type;
|
||||
+ /* static default options from FSMountOptions */
|
||||
const gchar *option_string;
|
||||
|
||||
options = g_ptr_array_new ();
|
||||
@@ -552,6 +555,17 @@ prepend_default_mount_options (const FSM
|
||||
}
|
||||
}
|
||||
|
||||
+ /* dynamic default options */
|
||||
+ /* some broken DVDs come with 0400 directory permissions, making them
|
||||
+ * unreadable; overwrite readonly UDF media with a 0500 dmode. */
|
||||
+ probed_fs_type = udisks_block_get_id_type(block);
|
||||
+ if (g_strcmp0 (probed_fs_type, "udf") == 0 &&
|
||||
+ udisks_block_get_read_only(block))
|
||||
+ {
|
||||
+ g_ptr_array_add (options, g_strdup("dmode=0500"));
|
||||
+ }
|
||||
+
|
||||
+ /* user supplied options */
|
||||
if (g_variant_lookup (given_options,
|
||||
"options",
|
||||
"&s", &option_string))
|
||||
@@ -709,7 +723,7 @@ calculate_mount_options (UDisksDaemon
|
||||
/* always prepend some reasonable default mount options; these are
|
||||
* chosen here; the user can override them if he wants to
|
||||
*/
|
||||
- options_to_use = prepend_default_mount_options (fsmo, caller_uid, options);
|
||||
+ options_to_use = prepend_default_mount_options (block, fsmo, caller_uid, options);
|
||||
|
||||
/* validate mount options */
|
||||
str = g_string_new ("uhelper=udisks2,nodev,nosuid");
|
||||
@@ -0,0 +1,16 @@
|
||||
This patch was 'rejected' by upstream at least for now. Drop this from next
|
||||
release of UDisks 2.x:
|
||||
|
||||
http://bugs.freedesktop.org/show_bug.cgi?id=36361#c5
|
||||
|
||||
Should be replaced by the udev rules file installed by ntfs-3g package.
|
||||
|
||||
--- src/udiskslinuxfilesystem.c.orig
|
||||
+++ src/udiskslinuxfilesystem.c
|
||||
@@ -164,6 +164,7 @@
|
||||
"vfat",
|
||||
"exfat",
|
||||
"ntfs",
|
||||
+ "ntfs-3g",
|
||||
NULL,
|
||||
};
|
||||
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>udisks2</Name>
|
||||
<Homepage>http://udisks.freedesktop.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Disk Management Service</Summary>
|
||||
<Description>udisks provides a daemon, API and command line tools for managing disk devices attached to the system.</Description>
|
||||
<Archive sha1sum="c6416ac581aec9c413b3b5e311d27543cff443fb" type="tarbz2">http://udisks.freedesktop.org/releases/udisks-2.1.4.tar.bz2</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="po/tr.po">tr.po</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk-doc</Dependency>
|
||||
<Dependency>acl-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>parted-devel</Dependency>
|
||||
<Dependency>libatasmart-devel</Dependency>
|
||||
<Dependency>device-mapper-devel</Dependency>
|
||||
<Dependency>lvm2-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<!--Dependency>sg3_utils-devel</Dependency-->
|
||||
<Dependency>docbook-xsl</Dependency>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>intltool</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">udisks-2.0.91-udf-dvd-fix-dmask.patch</Patch>
|
||||
<Patch level="0">udisks-2.x-ntfs-3g.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>udisks2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>acl</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>polkit</Dependency>
|
||||
<Dependency>eudev</Dependency>
|
||||
<Dependency>lvm2</Dependency>
|
||||
<Dependency>mdadm</Dependency>
|
||||
<Dependency>parted</Dependency>
|
||||
<Dependency>libatasmart</Dependency>
|
||||
<Dependency>device-mapper</Dependency>
|
||||
<Dependency>ntfsprogs</Dependency> <!-- For mkntfs -->
|
||||
<Dependency>dosfstools</Dependency> <!-- For mkfs.vfat -->
|
||||
<!--Dependency>mtools</Dependency--> <!-- For mlabel -->
|
||||
<!--Dependency>xfsprogs</Dependency> < For mkfs.xfs, xfs_admin -->
|
||||
<!--Dependency>sg3_utils</Dependency-->
|
||||
<!--Dependency>smp_utils</Dependency> <For smp_rep_manufacturer -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/udisks2</Path>
|
||||
<Path fileType="config">/etc/dbus-1</Path>
|
||||
<Path fileType="executable">/lib/udev/rules.d</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/bash-completion/completions</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc/</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/polkit-1/</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/var/lib/</Path>
|
||||
<Path fileType="data">/run/udisks</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>udisks2-devel</Name>
|
||||
<Summary>Development files for udisks2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">udisks2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1/interfaces/*.xml</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2015-02-07</Date>
|
||||
<Version>2.1.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>2.1.3</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-04-05</Date>
|
||||
<Version>2.1.3</Version>
|
||||
<Comment>add builddep docbook-xsl.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-03-29</Date>
|
||||
<Version>2.1.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-01-20</Date>
|
||||
<Version>2.1.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-08-15</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>V.bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-13</Date>
|
||||
<Version>2.0.0</Version>
|
||||
<Comment>fix path</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>2.0.0</Version>
|
||||
<Comment>Release bump for rebuild.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-22</Date>
|
||||
<Version>2.0.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>udisks2</Name>
|
||||
<Summary xml:lang="tr">Disk Yönetim Hizmeti</Summary>
|
||||
<Description xml:lang="tr">udisks, sisteme bağlı disk aygıtlarını yönetmek için programlama kitaplığı ve komut satırı araçları sunar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>udisks2-devel</Name>
|
||||
<Summary xml:lang="tr">udisks için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user