From 0badc76f256651837430e7f0a08992e17a5d9041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 29 Jul 2015 22:18:41 +0300 Subject: [PATCH 1/8] and powerdevil and plasma-desktop --- desktop/kde/plasma/plasma-desktop/pspec.xml | 176 +++++++++++--------- desktop/kde/plasma/powerdevil/pspec.xml | 79 +++++---- 2 files changed, 135 insertions(+), 120 deletions(-) diff --git a/desktop/kde/plasma/plasma-desktop/pspec.xml b/desktop/kde/plasma/plasma-desktop/pspec.xml index 5a74d73316..9a7cab65a9 100755 --- a/desktop/kde/plasma/plasma-desktop/pspec.xml +++ b/desktop/kde/plasma/plasma-desktop/pspec.xml @@ -10,107 +10,117 @@ LGPLv2 library - app:console + app:console KDE5 plasma workspace This package contains the basic packages for a Plasma workspace. http://download.kde.org/stable/plasma/5.3.2/plasma-desktop-5.3.2.tar.xz qt5-base-devel - boost-devel - kdoctools-devel - kio-devel - libX11-devel - libgcc - libxcb-devel - freetype-devel - libusb-compat-devel - xorg-server-devel - xorg-input-evdev-devel - xorg-input-synaptics-devel - extra-cmake-modules + boost-devel + kdoctools-devel + kio-devel + kcmutils-devel + knewstuff-devel + kpeople-devel + kdbusaddons-devel + kemoticons-devel + kitemmodels-devel + kinit-devel + kunitconversion-devel + kwin-devel + libX11-devel + libXft-devel + libxkbfile-devel + kded-devel + libxcb-devel + freetype-devel + libusb-compat-devel + xorg-server-devel + xorg-input-evdev-devel + xorg-input-synaptics-devel + pulseaudio-libs-devel + fontconfig-devel + plasma-workspace-devel + docbook-xsl + qt5-sql-sqlite + qt5-sql-mysql + qt5-sql-postgresql + qt5-sql-odbc + kdesignerplugin + extra-cmake-modules + cmake plasma-desktop + baloo + fontconfig + freetype + kactivities + karchive + kauth + kbookmarks + kcmutils + kcodecs + kcompletion + kconfig + kconfigwidgets + kcoreaddons + kdbusaddons + kdeclarative + kdelibs4-support + kemoticons + kglobalaccel + kguiaddons + ki18n + kiconthemes + kio + kitemviews + kjobwidgets + knewstuff + knotifications + knotifyconfig + kparts + kpeople + krunner + kservice + kwallet + kwidgetsaddons + kwindowsystem + kxmlgui + libgcc + libusb-compat + libX11 + libxcb + libXcursor + libXfixes + libXft + libXi + libxkbfile + plasma-framework + plasma-workspace qt5-base - kio - libX11 - libgcc - libxcb - freetype - libusb-compat - baloo - libxkbfile - kconfigwidgets - kwindowsystem - kpeople - knotifications - kwin - kwindowsystem - knotifyconfig - libcanberra - sonnet - powerdevil - system-settings - libXi+ - libXft - qt5-svg - libXfixes - fontconfig - kauth - ki18n - solid - libXcursor - qt5-phonon - kparts - kcodecs - kconfig - krunner - kwallet - kxmlgui - karchive - kcmutils - kservice - qt5-x11extras - knewstuff - xcb-util-image - kbookmarks - kemoticons - kguiaddons - kitemviews - pulseaudio-libs - qt5-declarative - kactivities - kcompletion - kcoreaddons - kdbusaddons - kiconthemes - kjobwidgets - kdeclarative - kglobalaccel - kwidgetsaddons - kdelibs4-support - plasma-framework - plasma-workspace + qt5-declarative + qt5-phonon + qt5-svg + qt5-x11extras + solid + sonnet + + xcb-util-image - /etc + /etc /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/cmake - /usr/lib/qt5 - /usr/lib + /usr/lib/qt5 + /usr/lib /usr/share/doc - - kcm-touchpad-frameworks - - - kcm-touchpad-frameworks, kdebase-workspace - diff --git a/desktop/kde/plasma/powerdevil/pspec.xml b/desktop/kde/plasma/powerdevil/pspec.xml index 8b97b31d9d..a8fd47b3de 100755 --- a/desktop/kde/plasma/powerdevil/pspec.xml +++ b/desktop/kde/plasma/powerdevil/pspec.xml @@ -10,19 +10,25 @@ LGPLv2 library - app:console + app:console KDE power manager module KDE Power Management module. Provides kded daemon DBus helper and KCM for configuring Power settings http://download.kde.org/stable/plasma/5.3.2/powerdevil-5.3.2.tar.xz qt5-base-devel - kdoctools-devel - kidletime-devel - libgcc - libxcb-devel - eudev-devel + kdoctools-devel + kidletime-devel + libxcb-devel + eudev-devel + kdesignerplugin + kinit-devel + kunitconversion-devel + kitemmodels-devel + kemoticons-devel + docbook-xsl plasma-workspace-devel - extra-cmake-modules + extra-cmake-modules + cmake @@ -30,40 +36,39 @@ powerdevil qt5-base - kdoctools - kidletime - libgcc - libxcb - eudev - plasma-workspace - kio - kauth - ki18n - solid - kconfig - kxmlgui - kservice - qt5-x11extras - libkscreen - kactivities - kcompletion - kcoreaddons - kdbusaddons - kglobalaccel - knotifyconfig - kconfigwidgets - knotifications - kwidgetsaddons - kdelibs4-support + kidletime + libgcc + libxcb + eudev + plasma-workspace + kio + kauth + ki18n + solid + kconfig + kxmlgui + kservice + qt5-x11extras + libkscreen + kactivities + kcompletion + kcoreaddons + kdbusaddons + kglobalaccel + knotifyconfig + kconfigwidgets + knotifications + kwidgetsaddons + kdelibs4-support - /etc + /etc /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/cmake - /usr/lib/qt5 - /usr/lib + /usr/lib/qt5 + /usr/lib /usr/share/doc From 02322244b5a341a7999630f9ce1545c30b96b822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Wed, 29 Jul 2015 23:54:49 +0300 Subject: [PATCH 2/8] plasma-desktop fix deps --- desktop/kde/plasma/plasma-desktop/pspec.xml | 3 +- desktop/kde/plasma/system-settings/pspec.xml | 82 ++++++++++++-------- 2 files changed, 53 insertions(+), 32 deletions(-) diff --git a/desktop/kde/plasma/plasma-desktop/pspec.xml b/desktop/kde/plasma/plasma-desktop/pspec.xml index 9a7cab65a9..973a68fdd8 100755 --- a/desktop/kde/plasma/plasma-desktop/pspec.xml +++ b/desktop/kde/plasma/plasma-desktop/pspec.xml @@ -41,6 +41,7 @@ pulseaudio-libs-devel fontconfig-devel plasma-workspace-devel + system-settings-devel docbook-xsl qt5-sql-sqlite qt5-sql-mysql @@ -108,7 +109,7 @@ qt5-x11extras solid sonnet - + system-settings xcb-util-image diff --git a/desktop/kde/plasma/system-settings/pspec.xml b/desktop/kde/plasma/system-settings/pspec.xml index 850c5d7921..56124f77d9 100755 --- a/desktop/kde/plasma/system-settings/pspec.xml +++ b/desktop/kde/plasma/system-settings/pspec.xml @@ -10,16 +10,20 @@ LGPLv2 library - app:console + app:console KDE5 system settings manager System-settings is a control panel for KDE5 Plasma http://download.kde.org/stable/plasma/5.3.2/systemsettings-5.3.2.tar.xz qt5-base-devel - kdoctools-devel - libgcc - python3 - extra-cmake-modules + kdoctools-devel + kio-devel + kauth-devel + khtml-devel + kcmutils-devel + docbook-xsl + extra-cmake-modules + cmake @@ -27,45 +31,61 @@ system-settings qt5-base - kauth - libgcc - kcompletion - kcoreaddons - kconfigwidgets - kwidgetsaddons - kcmutils - kconfig - kdbusaddons - khtml - ki18n - kiconthemes - kio - kitemviews - kservice - kwindowsystem - kxmlgui + kauth + libgcc + kcompletion + kcoreaddons + kconfigwidgets + kwidgetsaddons + kcmutils + kconfig + kdbusaddons + khtml + ki18n + kiconthemes + kio + kitemviews + kservice + kwindowsystem + kxmlgui - /usr/share - /usr/share/locale - /usr/bin - /usr/lib/qt5 - /usr/lib + /usr/share + /usr/share/locale + /usr/bin + /usr/lib/qt5 + /usr/lib /usr/share/doc system-settings-devel - Development files for system-settings + Development files for system-settings - qt5-base-devel + qt5-base-devel + kauth-devel + kcompletion-devel + kcoreaddons-devel + kconfigwidgets-devel + kwidgetsaddons-devel + kcmutils-devel + kconfig-devel + kdbusaddons-devel + khtml-devel + ki18n-devel + kiconthemes + kio-devel + kitemviews-devel + kservice-devel + kwindowsystem-devel + kxmlgui-devel system-settings /usr/include - /usr/lib/cmake - /usr/lib/pkgconfig + /usr/lib/cmake + /usr/lib/pkgconfig From df83e20f6b48746eefbac102be835d3176e4c89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Thu, 30 Jul 2015 10:32:33 +0300 Subject: [PATCH 3/8] ksysguard and deps fixed. --- desktop/kde/plasma/khotkeys/pspec.xml | 72 +++++++------- desktop/kde/plasma/ksysguard/pspec.xml | 98 +++++++++---------- hardware/info/dmidecode/pspec.xml | 2 +- hardware/powermanagement/lm_sensors/pspec.xml | 5 +- network/analyzer/rrdtool/pspec.xml | 18 +++- 5 files changed, 98 insertions(+), 97 deletions(-) diff --git a/desktop/kde/plasma/khotkeys/pspec.xml b/desktop/kde/plasma/khotkeys/pspec.xml index f0a7f1adf1..6531d6e7a4 100755 --- a/desktop/kde/plasma/khotkeys/pspec.xml +++ b/desktop/kde/plasma/khotkeys/pspec.xml @@ -10,36 +10,42 @@ LGPLv2 library - app:console + app:console KDE5 hotkey daemon KDE hotkey daemon module allows you to configure custom keyboard shortcuts and mouse gestures. http://download.kde.org/stable/plasma/5.3.2/khotkeys-5.3.2.tar.xz + libX11-devel qt5-base-devel - python3 - kdoctools-devel - libgcc - libX11-devel + qt5-x11extras-devel + kdoctools-devel kconfig-devel kservice-devel - qt5-x11extras-devel kcompletion-devel kcoreaddons-devel ktextwidgets-devel kwindowsystem-devel kconfigwidgets-devel kwidgetsaddons-devel - kcmutils-devel - kdbusaddons-devel - kdelibs4-support-devel - kglobalaccel-devel - ki18n-devel - kio-devel - kxmlgui-devel - plasma-framework-devel - plasma-workspace-devel - libgcc - extra-cmake-modules + kcmutils-devel + kauth-devel + kpackage-devel + kdbusaddons-devel + kdelibs4-support-devel + kglobalaccel-devel + ki18n-devel + kio-devel + kxmlgui-devel + kdesignerplugin + kemoticons-devel + kitemmodels-devel + kinit-devel + kunitconversion-devel + plasma-framework-devel + plasma-workspace-devel + docbook-xsl + extra-cmake-modules + cmake @@ -58,31 +64,23 @@ kwindowsystem kconfigwidgets kwidgetsaddons - kcmutils - kdbusaddons - kdelibs4-support - kglobalaccel - ki18n - kio - kxmlgui - plasma-framework - plasma-workspace + kdbusaddons + kdelibs4-support + kglobalaccel + ki18n + kio + kxmlgui + plasma-workspace /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/cmake - /usr/lib/qt5 - /usr/lib + /usr/lib/qt5 + /usr/lib /usr/share/doc - - - kde-workspace - - - kde-workspace - + diff --git a/desktop/kde/plasma/ksysguard/pspec.xml b/desktop/kde/plasma/ksysguard/pspec.xml index ecb9690d8d..ff86924c92 100755 --- a/desktop/kde/plasma/ksysguard/pspec.xml +++ b/desktop/kde/plasma/ksysguard/pspec.xml @@ -15,80 +15,74 @@ KDE5 system monitor daemon and service. http://download.kde.org/stable/plasma/5.3.2/ksysguard-5.3.2.tar.xz - qt5-base-devel - libgcc - kio-devel - kxmlgui-devel kcompletion-devel - kdbusaddons-devel - kiconthemes-devel - kwindowsystem-devel + kconfig-devel kconfigwidgets-devel + kcoreaddons-devel + kdbusaddons-devel + kdelibs4-support-devel + kdoctools-devel + ki18n-devel + kiconthemes-devel + kio-devel + kitemviews-devel + knewstuff-devel knotifications-devel kwidgetsaddons-devel - lm_sensors-devel - python3 - extra-cmake-modules - kdoctools-devel - kconfig-devel - kcoreaddons-devel - kdelibs4-support-devel - ki18n-devel - kinit - kitemviews-devel - knewstuff-devel - libksysguard-devel - plasma-framework-devel + kwindowsystem-devel + kxmlgui-devel + libksysguard-devel + kdesignerplugin + kemoticons-devel + kitemmodels-devel + kinit-devel + kunitconversion-devel + lm_sensors-devel + + qt5-base-devel + docbook-xsl + extra-cmake-modules + cmake - + ksysguard - qt5-base - libgcc - icon-theme-hicolor - kio - kxmlgui + icon-theme-hicolor kcompletion - kdbusaddons - kiconthemes - kwindowsystem + kconfig kconfigwidgets + kcoreaddons + kdbusaddons + kdelibs4-support + ki18n + kiconthemes + kio + kitemviews + knewstuff knotifications kwidgetsaddons - lm_sensors - icon-theme-hicolor - xdg-utils - kdoctools - kconfig - kcoreaddons - kdelibs4-support - ki18n - kinit - kitemviews - knewstuff - libksysguard - plasma-framework + kwindowsystem + kxmlgui + libgcc + libksysguard + lm_sensors + qt5-base + xdg-utils - /etc + /etc /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/qt5 - /usr/lib + /usr/lib /usr/share/doc - - kde-workspace - - - kde-workspace - diff --git a/hardware/info/dmidecode/pspec.xml b/hardware/info/dmidecode/pspec.xml index 37e3120018..89da189e4c 100644 --- a/hardware/info/dmidecode/pspec.xml +++ b/hardware/info/dmidecode/pspec.xml @@ -12,7 +12,7 @@ app:console Tool to analyse BIOS DMI data dmidecode reports information about x86/ia64 hardware as described in the system BIOS according to the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. - http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.12.tar.bz2 + http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.12.tar.gz diff --git a/hardware/powermanagement/lm_sensors/pspec.xml b/hardware/powermanagement/lm_sensors/pspec.xml index 2c608c1cfb..a2ec81004b 100644 --- a/hardware/powermanagement/lm_sensors/pspec.xml +++ b/hardware/powermanagement/lm_sensors/pspec.xml @@ -17,8 +17,8 @@ rrdtool-devel - - lm_sensors-3.3.5-upstream_fixes-1.patch + + lm_sensors-3.3.5-upstream_fixes-1.patch @@ -44,6 +44,7 @@ Development files for lm_sensors lm_sensors + rrdtool-devel /usr/include diff --git a/network/analyzer/rrdtool/pspec.xml b/network/analyzer/rrdtool/pspec.xml index 7739b58bc4..eb66d7883f 100644 --- a/network/analyzer/rrdtool/pspec.xml +++ b/network/analyzer/rrdtool/pspec.xml @@ -13,20 +13,21 @@ library A system to store and display time-series data RRD is the acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine/room temperature, server load average). - http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.5.2.tar.gz + http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.5.3.tar.gz lua-devel tcl-devel ruby-devel cairo-devel pango-devel - libart_lgpl + libart_lgpl-devel dejavu-fonts perl glib2-devel - python + python-devel libxml2-devel - tcp-wrappers-devel + tcp-wrappers-devel + groff @@ -71,7 +72,14 @@ - + + + 2015-07-30 + 1.5.3 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2015-04-25 1.5.2 From 19a6ade70df9a5f3a71f9ef40bce38c10fa66a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Thu, 30 Jul 2015 15:34:30 +0300 Subject: [PATCH 4/8] road to kio-extras, libmtp,samba,libss added. --- network/misc/libssh/actions.py | 32 ++ network/misc/libssh/pspec.xml | 101 ++++++ network/misc/libssh/translations.xml | 13 + programming/debug/component.xml | 3 + programming/debug/gdb/actions.py | 44 +++ programming/debug/gdb/files/gstack.1 | 48 +++ programming/debug/gdb/pspec.xml | 102 ++++++ programming/debug/gdb/translations.xml | 16 + programming/misc/iniparser/actions.py | 22 ++ .../misc/iniparser/files/makefile.patch | 22 ++ programming/misc/iniparser/pspec.xml | 64 ++++ programming/misc/iniparser/translations.xml | 13 + programming/misc/libtevent/actions.py | 30 ++ programming/misc/libtevent/pspec.xml | 93 +++++ programming/misc/libtevent/translations.xml | 13 + server/samba/actions.py | 60 ++++ server/samba/comar/package.py | 15 + server/samba/comar/service.py | 49 +++ server/samba/files/fedora/pam_winbind.conf | 38 +++ server/samba/files/fedora/samba.log | 7 + server/samba/files/fedora/samba.pamd | 6 + server/samba/files/fedora/samba.xinetd | 15 + server/samba/files/fedora/smb.conf.default | 320 ++++++++++++++++++ server/samba/files/fedora/swat.desktop | 10 + server/samba/files/lmhosts | 1 + server/samba/files/samba.confd | 2 + server/samba/files/samba.logrotate | 9 + server/samba/files/samba.pam | 5 + server/samba/files/smb.conf | 63 ++++ server/samba/files/smbusers | 3 + server/samba/files/system-auth-winbind | 17 + server/samba/files/tmpfiles.conf | 1 + server/samba/pspec.xml | 218 ++++++++++++ server/samba/translations.xml | 13 + 34 files changed, 1468 insertions(+) create mode 100644 network/misc/libssh/actions.py create mode 100644 network/misc/libssh/pspec.xml create mode 100644 network/misc/libssh/translations.xml create mode 100644 programming/debug/component.xml create mode 100644 programming/debug/gdb/actions.py create mode 100644 programming/debug/gdb/files/gstack.1 create mode 100644 programming/debug/gdb/pspec.xml create mode 100644 programming/debug/gdb/translations.xml create mode 100644 programming/misc/iniparser/actions.py create mode 100644 programming/misc/iniparser/files/makefile.patch create mode 100644 programming/misc/iniparser/pspec.xml create mode 100644 programming/misc/iniparser/translations.xml create mode 100644 programming/misc/libtevent/actions.py create mode 100644 programming/misc/libtevent/pspec.xml create mode 100644 programming/misc/libtevent/translations.xml create mode 100644 server/samba/actions.py create mode 100644 server/samba/comar/package.py create mode 100644 server/samba/comar/service.py create mode 100644 server/samba/files/fedora/pam_winbind.conf create mode 100644 server/samba/files/fedora/samba.log create mode 100644 server/samba/files/fedora/samba.pamd create mode 100644 server/samba/files/fedora/samba.xinetd create mode 100644 server/samba/files/fedora/smb.conf.default create mode 100644 server/samba/files/fedora/swat.desktop create mode 100644 server/samba/files/lmhosts create mode 100644 server/samba/files/samba.confd create mode 100644 server/samba/files/samba.logrotate create mode 100644 server/samba/files/samba.pam create mode 100644 server/samba/files/smb.conf create mode 100644 server/samba/files/smbusers create mode 100644 server/samba/files/system-auth-winbind create mode 100644 server/samba/files/tmpfiles.conf create mode 100644 server/samba/pspec.xml create mode 100644 server/samba/translations.xml diff --git a/network/misc/libssh/actions.py b/network/misc/libssh/actions.py new file mode 100644 index 0000000000..6c358263d6 --- /dev/null +++ b/network/misc/libssh/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt + +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + + +def setup(): + shelltools.makedirs("build") + shelltools.cd("build") + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ + -DWITH_GSSAPI=OFF", sourceDir="..") + +def build(): + shelltools.cd("build") + cmaketools.make() + #cmaketools.make("doc") + +def install(): + shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + #pisitools.doman("doc/man/*/*") + pisitools.dohtml("doc/*") + + shelltools.cd("..") + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "INSTALL", "README") diff --git a/network/misc/libssh/pspec.xml b/network/misc/libssh/pspec.xml new file mode 100644 index 0000000000..855c6b308a --- /dev/null +++ b/network/misc/libssh/pspec.xml @@ -0,0 +1,101 @@ + + + + + libssh + http://www.libssh.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + Full C library functions for manipulating a client-side SSH connection + libssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl). + https://git.libssh.org/projects/libssh.git/snapshot/libssh-0.6.4.tar.gz + + zlib-devel + openssl-devel + graphviz + doxygen + + + + + libssh + + zlib + openssl + + + /usr/lib + /usr/share/doc + + + + + libssh-devel + Development files for libssh + + libssh + + + /usr/include + /usr/lib/pkgconfig + + + + + libssh-docs + Development documentation for libssh + + /usr/share/doc/libssh/html + /usr/share/man + + + + + + 2014-07-30 + 0.6.4 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-05-08 + 0.6.3 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-09 + 5.4 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-07-27 + 5.4 + Move pc files to devel pack, rebuild + PisiLinux Community + admins@pisilinux.org + + + 2013-05-04 + 5.4 + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2012-09-01 + 0.5.2 + First release + PisiLinux Community + admins@pisilinux.org + + + \ No newline at end of file diff --git a/network/misc/libssh/translations.xml b/network/misc/libssh/translations.xml new file mode 100644 index 0000000000..55fea85eaf --- /dev/null +++ b/network/misc/libssh/translations.xml @@ -0,0 +1,13 @@ + + + + libssh + SSH bağlantılarının kontrol edilebilmesini sağlayan C kitaplığı + libssh, yazılımlarında SSH kullanmak isteyen programcılar için tasarlanmış bir C kitaplığıdır. SSH istemcisi programcı tarafından tam olarak kontrol edilebilir, uzaktan yazılım çalıştırma, tünel yaratma, dosya transferi ve uzak dosya erişimi işlemleri yapılabilir. Tüm bunlar için openssl paketinde bulunan lıbcrypto'nun sistemde bulunması yeterlidir. + + + + libssh-devel + libssh için geliştirme dosyaları + + diff --git a/programming/debug/component.xml b/programming/debug/component.xml new file mode 100644 index 0000000000..9ab4911614 --- /dev/null +++ b/programming/debug/component.xml @@ -0,0 +1,3 @@ + + programming.debug + diff --git a/programming/debug/gdb/actions.py b/programming/debug/gdb/actions.py new file mode 100644 index 0000000000..614ee56b6f --- /dev/null +++ b/programming/debug/gdb/actions.py @@ -0,0 +1,44 @@ +#!/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 shelltools +from pisi.actionsapi import get + +def setup(): + pisitools.dosed("config/override.m4", "2.64", "2.69") + shelltools.system('sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure') + autotools.autoreconf("-vfi") + autotools.configure("--with-system-readline \ + --with-separate-debug-dir=/usr/lib/debug \ + --with-gdb-datadir=/usr/share/gdb \ + --with-pythondir=/usr/lib/%s/site-packages \ + --disable-nls \ + --disable-rpath \ + --with-python \ + --with-expat" % get.curPYTHON()) + + +def build(): + autotools.make() + +def install(): + autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) + + for libdel in ["libbfd.a","libopcodes.a"]: + pisitools.remove("/usr/lib/%s" % libdel) + + # these are not necessary + #for info in ["bfd","configure","standards"]: + #pisitools.remove("/usr/share/info/%s.info" % info) + + pisitools.remove("/usr/share/info/bfd.info") + + for hea in ["ansidecl","symcat","dis-asm", "bfd", "bfdlink", "plugin-api"]: + pisitools.remove("/usr/include/%s.h" % hea) + + pisitools.dodoc("README*", "MAINTAINERS", "COPYING*", "ChangeLog*") \ No newline at end of file diff --git a/programming/debug/gdb/files/gstack.1 b/programming/debug/gdb/files/gstack.1 new file mode 100644 index 0000000000..1f4e406be2 --- /dev/null +++ b/programming/debug/gdb/files/gstack.1 @@ -0,0 +1,48 @@ +.\" +.\" gstack manual page. +.\" Copyright (c) 1999 Ross Thompson +.\" Copyright (c) 2001, 2002, 2004, 2008 Red Hat, Inc. +.\" +.\" Original author: Ross Thompson +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2, or (at your option) +.\" any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program; see the file COPYING. If not, write to +.\" the Free Software Foundation, 59 Temple Place - Suite 330, +.\" Boston, MA 02111-1307, USA. +.\" +.TH GSTACK 1 "Feb 15 2008" "Red Hat Linux" "Linux Programmer's Manual" + +.SH NAME +gstack \- print a stack trace of a running process + +.SH SYNOPSIS +.B gstack +pid + +.SH DESCRIPTION + +\f3gstack\f1 attaches to the active process named by the \f3pid\f1 on +the command line, and prints out an execution stack trace. If ELF +symbols exist in the binary (usually the case unless you have run +strip(1)), then symbolic addresses are printed as well. + +If the process is part of a thread group, then \f3gstack\f1 will print +out a stack trace for each of the threads in the group. + +.SH SEE ALSO +nm(1), ptrace(2), gdb(1) + +.SH AUTHORS +Ross Thompson + +Red Hat, Inc. diff --git a/programming/debug/gdb/pspec.xml b/programming/debug/gdb/pspec.xml new file mode 100644 index 0000000000..a67bfaca71 --- /dev/null +++ b/programming/debug/gdb/pspec.xml @@ -0,0 +1,102 @@ + + + + + gdb + http://www.gnu.org/software/gdb/gdb.html + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + app:console + GNU debugger + GDB, the GNU Project debugger, allows you to see what is going on 'inside' another program while it executes -- or what another program was doing at the moment it crashed. + mirrors://gnu/gdb/gdb-7.9.1.tar.xz + + texinfo + expat-devel + python-devel + readline-devel + ncurses-devel + + + + + gdb + + guile + expat + python + readline + ncurses + + + /usr/bin + /usr/lib + /usr/share/doc/gdb + /usr/share/gdb + /usr/share/info + /usr/share/man + + + gstack.1 + + + + + gdb-devel + Development files for gdb + + gdb + + + /usr/include + + + + + + 2015-07-30 + 7.9.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-02-22 + 7.9 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-05-20 + 7.7.1 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-02-19 + 7.7 + Version bump. + PisiLinux Community + admins@pisilinux.org + + + 2014-01-25 + 7.6 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-09-23 + 7.5 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/debug/gdb/translations.xml b/programming/debug/gdb/translations.xml new file mode 100644 index 0000000000..2166142c83 --- /dev/null +++ b/programming/debug/gdb/translations.xml @@ -0,0 +1,16 @@ + + + + gdb + GDB, GNU Proje hata ayıklama aracı, çalışır durumdaki başka bir programın `içinde' olan biteni görmenizi, veya başka bir programın çöktüğü anda ne yapıyor olduğunu bilmenizi sağlar. + GNU hata ayıklayıcısı + Depurador GNU + GDB, el depurador del proyecto GNU permite ver lo que está pasando 'en el interior de' otro programa mientras ejecuta -- o lo que estaba haciendo cuando quedó colgado. + + + + gdb-devel + gdb için geliştirme dosyaları + Development files for gdb + + \ No newline at end of file diff --git a/programming/misc/iniparser/actions.py b/programming/misc/iniparser/actions.py new file mode 100644 index 0000000000..0fa4cdf0ec --- /dev/null +++ b/programming/misc/iniparser/actions.py @@ -0,0 +1,22 @@ +#!/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 shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def build(): + autotools.make("CC=%s CFLAGS='%s -fPIC' LDFLAGS='%s'" % (get.CC(), get.CFLAGS(), get.LDFLAGS())) + +def install(): + pisitools.dolib_so("libiniparser.so.0") + pisitools.dosym("libiniparser.so.0", "/usr/lib/libiniparser.so") + + pisitools.dodir("/usr/include") + pisitools.insinto("/usr/include", "src/*.h") + + pisitools.dodoc("README", "AUTHORS", "LICENSE") diff --git a/programming/misc/iniparser/files/makefile.patch b/programming/misc/iniparser/files/makefile.patch new file mode 100644 index 0000000000..01fb768c1f --- /dev/null +++ b/programming/misc/iniparser/files/makefile.patch @@ -0,0 +1,22 @@ +--- a/Makefile 2009-03-19 12:19:57.000000000 +0200 ++++ b/Makefile 2009-03-19 12:21:08.000000000 +0200 +@@ -3,8 +3,8 @@ + # + + # Compiler settings +-CC = gcc +-CFLAGS = -O2 -fPIC -Wall -ansi -pedantic ++CC = ${CC} ++CFLAGS = ${CFLAGS} + + # Ar settings to build the library + AR = ar +@@ -12,7 +12,7 @@ + + SHLD = ${CC} ${CFLAGS} + LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib +-LDFLAGS = -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib ++LDFLAGS = ${LDFLAGS} + + # Set RANLIB to ranlib on systems that require it (Sun OS < 4, Mac OSX) + # RANLIB = ranlib diff --git a/programming/misc/iniparser/pspec.xml b/programming/misc/iniparser/pspec.xml new file mode 100644 index 0000000000..233acd1308 --- /dev/null +++ b/programming/misc/iniparser/pspec.xml @@ -0,0 +1,64 @@ + + + + + iniparser + http://ndevilla.free.fr/iniparser/ + + PisiLinux Community + admins@pisilinux.org + + MIT + library + app:console + A free ini file parsing library + iniparser is a free stand-alone ini file parsing library written in portable ANSI C. + http://ndevilla.free.fr/iniparser/iniparser-3.1.tar.gz + + makefile.patch + + + + + iniparser + + /usr/share/doc + /usr/lib + + + + + iniparser-devel + Development files for iniparser + + iniparser + + + /usr/include + + + + + + 2013-05-22 + 3.1 + rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-04-30 + 3.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2009-03-19 + 3.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/misc/iniparser/translations.xml b/programming/misc/iniparser/translations.xml new file mode 100644 index 0000000000..43a2d4bba0 --- /dev/null +++ b/programming/misc/iniparser/translations.xml @@ -0,0 +1,13 @@ + + + + iniparser + Bir ini dosyası ayrıştırma kitaplığı + iniparser, ücretsiz ve ANSI C ile taşınabilir bir şekilde yazılmış INI dosyası ayrıştırma kitaplığıdır. + + + + iniparser-devel + iniparser için geliştirme dosyaları + + diff --git a/programming/misc/libtevent/actions.py b/programming/misc/libtevent/actions.py new file mode 100644 index 0000000000..8d86f14112 --- /dev/null +++ b/programming/misc/libtevent/actions.py @@ -0,0 +1,30 @@ +#!/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 + +jobs = get.makeJOBS().replace("-j", "") + +def setup(): + autotools.configure("\ + --builtin-libraries=replace \ + --bundled-libraries=NONE \ + --disable-rpath \ + ") + +def build(): + autotools.make("JOBS=%s" % jobs) + +def install(): + autotools.rawInstall("DESTDIR=%s JOBS=%s" % (get.installDIR(), jobs)) + +# pisitools.remove("/usr/lib/*.a") + + # Create symlinks for so file +# pisitools.dosym("libtevent.so.%s" % get.srcVERSION(), "/usr/lib/libtevent.so.%s" % get.srcVERSION().split(".")[0]) +# pisitools.dosym("libtevent.so.%s" % get.srcVERSION(), "/usr/lib/libtevent.so") diff --git a/programming/misc/libtevent/pspec.xml b/programming/misc/libtevent/pspec.xml new file mode 100644 index 0000000000..5cd5bcb2bd --- /dev/null +++ b/programming/misc/libtevent/pspec.xml @@ -0,0 +1,93 @@ + + + + + libtevent + http://tevent.samba.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv3+ + library + Event system based on the talloc memory management library + libtevent is an event system based on the talloc memory management library. It is the core event system used in Samba. Tevent has support for many event types, including timers, signals, and the classic file descriptor events. + http://samba.org/ftp/tevent/tevent-0.9.21.tar.gz + + python-devel + gdb-devel + libtalloc-devel + libxslt + docbook-xsl + + + + + libtevent + + libtalloc + python + + + /usr/lib + + + + + libtevent-devel + Development files for libtevent + + libtevent + libtalloc-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-22 + 0.9.21 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2014-04-23 + 0.9.21 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-03-09 + 0.9.18 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2013-08-17 + 0.9.18 + Dep Fixed + PisiLinux Community + admins@pisilinux.org + + + 2013-07-07 + 0.9.18 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2010-10-26 + 0.9.8 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/programming/misc/libtevent/translations.xml b/programming/misc/libtevent/translations.xml new file mode 100644 index 0000000000..9eba6232a5 --- /dev/null +++ b/programming/misc/libtevent/translations.xml @@ -0,0 +1,13 @@ + + + + libtevent + talloc bellek yönetim kitaplığına dayanan olay sistemi kitaplığı + libtevent Samba uygulamasının en temel olay sistem kitaplığıdır. Zamanlayıcı, dosya tanımlayıcı gibi çeşitli olay türlerini desteklemektedir. + + + + libtevent-devel + libtevent için geliştirme dosyaları + + diff --git a/server/samba/actions.py b/server/samba/actions.py new file mode 100644 index 0000000000..2cf450c12e --- /dev/null +++ b/server/samba/actions.py @@ -0,0 +1,60 @@ +#!/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 +from pisi.actionsapi import shelltools + +shelltools.export("JOBS", get.makeJOBS().replace("-j", "")) + +MODULES = "idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,\ +pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,\ +auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4" + + +def setup(): + pisitools.flags.add("-D_FILE_OFFSET_BITS=64", "-D_GNU_SOURCE", "-DLDAP_DEPRECATED", "-fPIC") + + autotools.configure("\ + --libdir=/usr/lib \ + --with-cachedir=/var/lib/samba \ + --with-configdir=/etc/samba \ + --with-lockdir=/var/lib/samba \ + --with-logfilebase=/var/log/samba \ + --with-modulesdir=/usr/lib/samba \ + --with-pammodulesdir=/lib/security \ + --with-piddir=/run/samba \ + --with-privatedir=/var/lib/samba/private \ + --with-sockets-dir=/run/samba \ + --disable-rpath \ + --disable-rpath-install \ + --enable-fhs \ + --enable-gnutls \ + --nopyc \ + --nopyo \ + --with-acl-support \ + --with-ads \ + --with-automount \ + --with-cluster-support \ + --with-dnsupdate \ + --with-dnsupdate \ + --with-pam \ + --with-pam_smbpass \ + --with-quotas \ + --with-sendfile-support \ + --with-shared-modules=%s \ + --with-syslog \ + --with-utmp \ + --with-winbind \ + " % MODULES) + +def build(): + shelltools.system("make") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dosym("samba-4.0/libsmbclient.h", "/usr/include/libsmbclient.h") diff --git a/server/samba/comar/package.py b/server/samba/comar/package.py new file mode 100644 index 0000000000..1fc9601751 --- /dev/null +++ b/server/samba/comar/package.py @@ -0,0 +1,15 @@ +#/usr/bin/python + +import os + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + if not os.path.exists("/home/samba"): + os.system("/bin/mkdir /home/samba") + os.system("/bin/chmod 0777 /home/samba") + + # needed by non-root sharing support. + os.system("/bin/mkdir /var/lib/samba/usershares") + os.system("/bin/chgrp users /var/lib/samba/usershares") + os.system("/bin/chmod 1770 /var/lib/samba/usershares") + + os.system("/bin/chmod 0750 /var/lib/samba/winbindd_privileged") diff --git a/server/samba/comar/service.py b/server/samba/comar/service.py new file mode 100644 index 0000000000..938ff42c70 --- /dev/null +++ b/server/samba/comar/service.py @@ -0,0 +1,49 @@ +from comar.service import * +import os + +serviceType = "server" +serviceDesc = _({"en": "SMB Network Sharing", + "tr": "SMB Ağ Paylaşımı"}) + +WINBINDD_PIDFILE = "/run/samba/winbindd.pid" +NMBD_PIDFILE = "/run/samba/nmbd.pid" +SMBD_PIDFILE = "/run/samba/smbd.pid" + + +@synchronized +def start(): + startService(command="/usr/sbin/smbd", + args="-D", + donotify=True) + + startService(command="/usr/sbin/nmbd", + args="-D") + + if config.get("winbind", "no") == "yes": + startService(command="/usr/sbin/winbindd", + args="-D") + +@synchronized +def stop(): + stopService(pidfile=WINBINDD_PIDFILE, + donotify=True) + stopService(pidfile=NMBD_PIDFILE, + donotify=True) + stopService(pidfile=SMBD_PIDFILE, + donotify=True) + +def reload(): + if os.path.exists(WINBINDD_PIDFILE): + os.kill(int(file(WINBINDD_PIDFILE).read().strip()), signal.SIGHUP) + + if os.path.exists(NMBD_PIDFILE): + os.kill(int(file(NMBD_PIDFILE).read().strip()), signal.SIGHUP) + + if os.path.exists(SMBD_PIDFILE): + os.kill(int(file(SMBD_PIDFILE).read().strip()), signal.SIGHUP) + +def status(): + result = isServiceRunning(SMBD_PIDFILE) and isServiceRunning(NMBD_PIDFILE) + if config.get("winbind", "no") == "yes": + result = result and isServiceRunning(WINBINDD_PIDFILE) + return result diff --git a/server/samba/files/fedora/pam_winbind.conf b/server/samba/files/fedora/pam_winbind.conf new file mode 100644 index 0000000000..dd0b112f30 --- /dev/null +++ b/server/samba/files/fedora/pam_winbind.conf @@ -0,0 +1,38 @@ +# +# pam_winbind configuration file +# +# /etc/security/pam_winbind.conf +# + +[global] + +# turn on debugging +;debug = no + +# turn on extended PAM state debugging +;debug_state = no + +# request a cached login if possible +# (needs "winbind offline logon = yes" in smb.conf) +;cached_login = no + +# authenticate using kerberos +;krb5_auth = no + +# when using kerberos, request a "FILE" krb5 credential cache type +# (leave empty to just do krb5 authentication but not have a ticket +# afterwards) +;krb5_ccache_type = + +# make successful authentication dependend on membership of one SID +# (can also take a name) +;require_membership_of = + +# password expiry warning period in days +;warn_pwd_expire = 14 + +# omit pam conversations +;silent = no + +# create homedirectory on the fly +;mkhomedir = no diff --git a/server/samba/files/fedora/samba.log b/server/samba/files/fedora/samba.log new file mode 100644 index 0000000000..6ccd04dd32 --- /dev/null +++ b/server/samba/files/fedora/samba.log @@ -0,0 +1,7 @@ +/var/log/samba/* { + notifempty + olddir /var/log/samba/old + missingok + sharedscripts + copytruncate +} diff --git a/server/samba/files/fedora/samba.pamd b/server/samba/files/fedora/samba.pamd new file mode 100644 index 0000000000..66cd2a9e81 --- /dev/null +++ b/server/samba/files/fedora/samba.pamd @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include password-auth +account include password-auth +session include password-auth +password include password-auth diff --git a/server/samba/files/fedora/samba.xinetd b/server/samba/files/fedora/samba.xinetd new file mode 100644 index 0000000000..8b62348dde --- /dev/null +++ b/server/samba/files/fedora/samba.xinetd @@ -0,0 +1,15 @@ +# default: off +# description: SWAT is the Samba Web Admin Tool. Use swat \ +# to configure your Samba server. To use SWAT, \ +# connect to port 901 with your favorite web browser. +service swat +{ + port = 901 + socket_type = stream + wait = no + only_from = 127.0.0.1 + user = root + server = /usr/sbin/swat + log_on_failure += USERID + disable = yes +} diff --git a/server/samba/files/fedora/smb.conf.default b/server/samba/files/fedora/smb.conf.default new file mode 100644 index 0000000000..fe0d921e37 --- /dev/null +++ b/server/samba/files/fedora/smb.conf.default @@ -0,0 +1,320 @@ +# This is the main Samba configuration file. For detailed information about the +# options listed here, refer to the smb.conf(5) manual page. Samba has a huge +# number of configurable options, most of which are not shown in this example. +# +# The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step +# guides for installing, configuring, and using Samba: +# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf +# +# The Samba-3 by Example guide has working examples for smb.conf. This guide is +# generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf +# +# In this file, lines starting with a semicolon (;) or a hash (#) are +# comments and are ignored. This file uses hashes to denote commentary and +# semicolons for parts of the file you may wish to configure. +# +# Note: Run the "testparm" command after modifying this file to check for basic +# syntax errors. +# +#--------------- +# Security-Enhanced Linux (SELinux) Notes: +# +# Turn the samba_domain_controller Boolean on to allow Samba to use the useradd +# and groupadd family of binaries. Run the following command as the root user to +# turn this Boolean on: +# setsebool -P samba_domain_controller on +# +# Turn the samba_enable_home_dirs Boolean on if you want to share home +# directories via Samba. Run the following command as the root user to turn this +# Boolean on: +# setsebool -P samba_enable_home_dirs on +# +# If you create a new directory, such as a new top-level directory, label it +# with samba_share_t so that SELinux allows Samba to read and write to it. Do +# not label system directories, such as /etc/ and /home/, with samba_share_t, as +# such directories should already have an SELinux label. +# +# Run the "ls -ldZ /path/to/directory" command to view the current SELinux +# label for a given directory. +# +# Set SELinux labels only on files and directories you have created. Use the +# chcon command to temporarily change a label: +# chcon -t samba_share_t /path/to/directory +# +# Changes made via chcon are lost when the file system is relabeled or commands +# such as restorecon are run. +# +# Use the samba_export_all_ro or samba_export_all_rw Boolean to share system +# directories. To share such directories and only allow read-only permissions: +# setsebool -P samba_export_all_ro on +# To share such directories and allow read and write permissions: +# setsebool -P samba_export_all_rw on +# +# To run scripts (preexec/root prexec/print command/...), copy them to the +# /var/lib/samba/scripts/ directory so that SELinux will allow smbd to run them. +# Note that if you move the scripts to /var/lib/samba/scripts/, they retain +# their existing SELinux labels, which may be labels that SELinux does not allow +# smbd to run. Copying the scripts will result in the correct SELinux labels. +# Run the "restorecon -R -v /var/lib/samba/scripts" command as the root user to +# apply the correct SELinux labels to these files. +# +#-------------- +# +#======================= Global Settings ===================================== + +[global] + +# ----------------------- Network-Related Options ------------------------- +# +# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP. +# +# server string = the equivalent of the Windows NT Description field. +# +# netbios name = used to specify a server name that is not tied to the hostname. +# +# interfaces = used to configure Samba to listen on multiple network interfaces. +# If you have multiple interfaces, you can use the "interfaces =" option to +# configure which of those interfaces Samba listens on. Never omit the localhost +# interface (lo). +# +# hosts allow = the hosts allowed to connect. This option can also be used on a +# per-share basis. +# +# hosts deny = the hosts not allowed to connect. This option can also be used on +# a per-share basis. +# +# max protocol = used to define the supported protocol. The default is NT1. You +# can set it to SMB2 if you want experimental SMB2 support. +# + workgroup = MYGROUP + server string = Samba Server Version %v + +; netbios name = MYSERVER + +; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 +; hosts allow = 127. 192.168.12. 192.168.13. + +; max protocol = SMB2 + +# --------------------------- Logging Options ----------------------------- +# +# log file = specify where log files are written to and how they are split. +# +# max log size = specify the maximum size log files are allowed to reach. Log +# files are rotated when they reach the size specified with "max log size". +# + + # log files split per-machine: + log file = /var/log/samba/log.%m + # maximum size of 50KB per log file, then rotate: + max log size = 50 + +# ----------------------- Standalone Server Options ------------------------ +# +# security = the mode Samba runs in. This can be set to user, share +# (deprecated), or server (deprecated). +# +# passdb backend = the backend used to store user information in. New +# installations should use either tdbsam or ldapsam. No additional configuration +# is required for tdbsam. The "smbpasswd" utility is available for backwards +# compatibility. +# + + security = user + passdb backend = tdbsam + + +# ----------------------- Domain Members Options ------------------------ +# +# security = must be set to domain or ads. +# +# passdb backend = the backend used to store user information in. New +# installations should use either tdbsam or ldapsam. No additional configuration +# is required for tdbsam. The "smbpasswd" utility is available for backwards +# compatibility. +# +# realm = only use the realm option when the "security = ads" option is set. +# The realm option specifies the Active Directory realm the host is a part of. +# +# password server = only use this option when the "security = server" +# option is set, or if you cannot use DNS to locate a Domain Controller. The +# argument list can include My_PDC_Name, [My_BDC_Name], and [My_Next_BDC_Name]: +# +# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] +# +# Use "password server = *" to automatically locate Domain Controllers. + +; security = domain +; passdb backend = tdbsam +; realm = MY_REALM + +; password server = + +# ----------------------- Domain Controller Options ------------------------ +# +# security = must be set to user for domain controllers. +# +# passdb backend = the backend used to store user information in. New +# installations should use either tdbsam or ldapsam. No additional configuration +# is required for tdbsam. The "smbpasswd" utility is available for backwards +# compatibility. +# +# domain master = specifies Samba to be the Domain Master Browser, allowing +# Samba to collate browse lists between subnets. Do not use the "domain master" +# option if you already have a Windows NT domain controller performing this task. +# +# domain logons = allows Samba to provide a network logon service for Windows +# workstations. +# +# logon script = specifies a script to run at login time on the client. These +# scripts must be provided in a share named NETLOGON. +# +# logon path = specifies (with a UNC path) where user profiles are stored. +# +# +; security = user +; passdb backend = tdbsam + +; domain master = yes +; domain logons = yes + + # the following login script name is determined by the machine name + # (%m): +; logon script = %m.bat + # the following login script name is determined by the UNIX user used: +; logon script = %u.bat +; logon path = \\%L\Profiles\%u + # use an empty path to disable profile support: +; logon path = + + # various scripts can be used on a domain controller or a stand-alone + # machine to add or delete corresponding UNIX accounts: + +; add user script = /usr/sbin/useradd "%u" -n -g users +; add group script = /usr/sbin/groupadd "%g" +; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u" +; delete user script = /usr/sbin/userdel "%u" +; delete user from group script = /usr/sbin/userdel "%u" "%g" +; delete group script = /usr/sbin/groupdel "%g" + + +# ----------------------- Browser Control Options ---------------------------- +# +# local master = when set to no, Samba does not become the master browser on +# your network. When set to yes, normal election rules apply. +# +# os level = determines the precedence the server has in master browser +# elections. The default value should be reasonable. +# +# preferred master = when set to yes, Samba forces a local browser election at +# start up (and gives itself a slightly higher chance of winning the election). +# +; local master = no +; os level = 33 +; preferred master = yes + +#----------------------------- Name Resolution ------------------------------- +# +# This section details the support for the Windows Internet Name Service (WINS). +# +# Note: Samba can be either a WINS server or a WINS client, but not both. +# +# wins support = when set to yes, the NMBD component of Samba enables its WINS +# server. +# +# wins server = tells the NMBD component of Samba to be a WINS client. +# +# wins proxy = when set to yes, Samba answers name resolution queries on behalf +# of a non WINS capable client. For this to work, there must be at least one +# WINS server on the network. The default is no. +# +# dns proxy = when set to yes, Samba attempts to resolve NetBIOS names via DNS +# nslookups. + +; wins support = yes +; wins server = w.x.y.z +; wins proxy = yes + +; dns proxy = yes + +# --------------------------- Printing Options ----------------------------- +# +# The options in this section allow you to configure a non-default printing +# system. +# +# load printers = when set you yes, the list of printers is automatically +# loaded, rather than setting them up individually. +# +# cups options = allows you to pass options to the CUPS library. Setting this +# option to raw, for example, allows you to use drivers on your Windows clients. +# +# printcap name = used to specify an alternative printcap file. +# + + load printers = yes + cups options = raw + +; printcap name = /etc/printcap + # obtain a list of printers automatically on UNIX System V systems: +; printcap name = lpstat +; printing = cups + +# --------------------------- File System Options --------------------------- +# +# The options in this section can be un-commented if the file system supports +# extended attributes, and those attributes are enabled (usually via the +# "user_xattr" mount option). These options allow the administrator to specify +# that DOS attributes are stored in extended attributes and also make sure that +# Samba does not change the permission bits. +# +# Note: These options can be used on a per-share basis. Setting them globally +# (in the [global] section) makes them the default for all shares. + +; map archive = no +; map hidden = no +; map read only = no +; map system = no +; store dos attributes = yes + + +#============================ Share Definitions ============================== + +[homes] + comment = Home Directories + browseable = no + writable = yes +; valid users = %S +; valid users = MYDOMAIN\%S + +[printers] + comment = All Printers + path = /var/spool/samba + browseable = no + guest ok = no + writable = no + printable = yes + +# Un-comment the following and create the netlogon directory for Domain Logons: +; [netlogon] +; comment = Network Logon Service +; path = /var/lib/samba/netlogon +; guest ok = yes +; writable = no +; share modes = no + +# Un-comment the following to provide a specific roving profile share. +# The default is to use the user's home directory: +; [Profiles] +; path = /var/lib/samba/profiles +; browseable = no +; guest ok = yes + +# A publicly accessible directory that is read only, except for users in the +# "staff" group (which have write permissions): +; [public] +; comment = Public Stuff +; path = /home/samba +; public = yes +; writable = yes +; printable = no +; write list = +staff diff --git a/server/samba/files/fedora/swat.desktop b/server/samba/files/fedora/swat.desktop new file mode 100644 index 0000000000..e5b8a69869 --- /dev/null +++ b/server/samba/files/fedora/swat.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Samba Configuration +Name[de]=Samba Konfiguration +Name[tr]=Samba Yapılandırması +Type=Application +Comment=Configure Samba with a web based interface +Comment[tr]=Web tabanlı Samba yapılandırması +Exec=htmlview http://127.0.0.1:901/ +Terminal=false +Categories=X-Red-Hat-Extra;Application;System;X-Red-Hat-ServerConfig; diff --git a/server/samba/files/lmhosts b/server/samba/files/lmhosts new file mode 100644 index 0000000000..75721cd5af --- /dev/null +++ b/server/samba/files/lmhosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/server/samba/files/samba.confd b/server/samba/files/samba.confd new file mode 100644 index 0000000000..81a8792e25 --- /dev/null +++ b/server/samba/files/samba.confd @@ -0,0 +1,2 @@ +#set winbind="yes" if you want winbind +winbind="no" diff --git a/server/samba/files/samba.logrotate b/server/samba/files/samba.logrotate new file mode 100644 index 0000000000..4d489e57cf --- /dev/null +++ b/server/samba/files/samba.logrotate @@ -0,0 +1,9 @@ +/var/log/samba/*.log /var/log/samba/log.* { + notifempty + missingok + sharedscripts + copytruncate + postrotate + /bin/kill -HUP `cat /run/smbd.pid /run/nmbd.pid /run/winbindd.pid 2> /dev/null` 2> /dev/null || true + endscript +} diff --git a/server/samba/files/samba.pam b/server/samba/files/samba.pam new file mode 100644 index 0000000000..4a38cda46f --- /dev/null +++ b/server/samba/files/samba.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth required pam_smbpass.so nodelay +account include system-auth +session include system-auth +password required pam_smbpass.so nodelay smbconf=/etc/samba/smb.conf diff --git a/server/samba/files/smb.conf b/server/samba/files/smb.conf new file mode 100644 index 0000000000..44625562f9 --- /dev/null +++ b/server/samba/files/smb.conf @@ -0,0 +1,63 @@ +# PiSiLinux samba configuration + +[global] +workgroup = PiSiLinuxWorkGroup +server string = %h (workstation) +log file = /var/log/samba/samba.log +max log size = 50 +dns proxy = no + +# We are using share model security +security = user + +map to guest = Bad User +usershare allow guests = Yes +usershare max shares = 40 +usershare owner only = False +usershare path = /var/lib/samba/usershares + +# Sample sharings are defined here. +# Modify these according to your taste. + +# Un-comment the following and create the +# netlogon directory for Domain Logons + +; [netlogon] +; comment = Network Logon Service +; path = /usr/local/samba/lib/netlogon +; guest ok = yes +; writable = no +; share modes = no + +# All printers are by default shared by Samba. +# Use "browseable = yes" for other clients +# to browse this printer share. + +[printers] +comment = All printers +path = /var/spool/samba +browseable = no +guest ok = no +printable = yes +writable = no +create mode = 0700 + +# A sample share that is enabled by default + +[share] +comment = Samba Linux share +path = /home/samba +browseable = yes +guest ok = yes + +# A sample sharing that everyone can access to. +# Modify the "path" statement so that it points +# to your directory you want to share. + +;[public] +; path = /usr/somewhere/else/public +; public = yes +; only guest = yes +; writable = no +; printable = no + diff --git a/server/samba/files/smbusers b/server/samba/files/smbusers new file mode 100644 index 0000000000..ae3389f53f --- /dev/null +++ b/server/samba/files/smbusers @@ -0,0 +1,3 @@ +# Unix_name = SMB_name1 SMB_name2 ... +root = administrator admin +nobody = guest pcguest smbguest diff --git a/server/samba/files/system-auth-winbind b/server/samba/files/system-auth-winbind new file mode 100644 index 0000000000..af859af72b --- /dev/null +++ b/server/samba/files/system-auth-winbind @@ -0,0 +1,17 @@ +#%PAM-1.0 + +auth required /lib/security/pam_env.so +auth sufficient /lib/security/pam_winbind.so +auth sufficient /lib/security/pam_unix.so likeauth nullok use_first_pass +auth required /lib/security/pam_deny.so + +account sufficient /lib/security/pam_winbind.so +account required /lib/security/pam_unix.so + +password required /lib/security/pam_cracklib.so retry=3 +password sufficient /lib/security/pam_unix.so nullok use_authtok md5 shadow +password required /lib/security/pam_deny.so + +session required /lib/security/pam_mkhomedir.so skel=/etc/skel/ umask=0022 +session required /lib/security/pam_limits.so +session required /lib/security/pam_unix.so diff --git a/server/samba/files/tmpfiles.conf b/server/samba/files/tmpfiles.conf new file mode 100644 index 0000000000..9b2806c0e0 --- /dev/null +++ b/server/samba/files/tmpfiles.conf @@ -0,0 +1 @@ +D /run/samba 0755 root root diff --git a/server/samba/pspec.xml b/server/samba/pspec.xml new file mode 100644 index 0000000000..9865d7ada0 --- /dev/null +++ b/server/samba/pspec.xml @@ -0,0 +1,218 @@ + + + + + samba + http://www.samba.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + service + A suite of SMB and CIFS client/server programs for UNIX + samba is a free software implementation of Microsoft's networking protocol released under the GNU General Public License. As of version 3, Samba not only provides file and print services for various Microsoft Windows clients but can also integrate with a Windows Server domain, either as a Primary Domain Controller (PDC) or as a Domain Member. It can also be part of an Active Directory domain. + http://us1.samba.org/samba/ftp/stable/samba-4.2.3.tar.gz + + keyutils + acl-devel + pam-devel + attr-devel + popt-devel + zlib-devel + libcap-devel + python-devel + ncurses-devel + readline-devel + e2fsprogs-devel + libgcrypt-devel + avahi-libs + + cups-devel + avahi-devel + + + gnutls-devel + libaio-devel + + mit-kerberos + iniparser-devel + libtalloc-devel + libtevent-devel + openldap-client + libarchive-devel + gdb-devel + libtdb-devel + cyrus-sasl-devel + + + + + samba + + cups + avahi + gdb + + gnutls + libaio + libbsd + + keyutils + iniparser + libtalloc + libtevent + avahi-libs + openldap-client + cyrus-sasl + libtdb + + + /run + /etc + /var/lib + /var/log + /usr/lib + /sbin + /usr/share/man + /usr/bin + /usr/sbin + /lib/security + /usr/share/samba + /usr/share/perl5 + /var/cache/samba + /usr/share/locale + /usr/lib/tmpfiles.d/samba.conf + + + lmhosts + samba.pam + smbusers + smb.conf + samba.confd + tmpfiles.conf + system-auth-winbind + + + System.Package + System.Service + + + + + samba-devel + Development files for samba + + libldb-devel + libtalloc-devel + libtevent-devel + samba + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-07-30 + 4.2.3 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-01-25 + 4.1.16 + Version bump. + Ergün Salman + Poyraz76@pisilinux.org + + + 2014-07-04 + 4.1.9 + Version Bump and security update(CVE-2014-0244, CVE-2014-3493). + Vedat Demir + vedat@pisilinux.org + + + 2014-06-04 + 4.1.8 + Version Bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-05-20 + 4.1.7 + Rebuild. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-04-25 + 4.1.7 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-04-04 + 4.1.6 + Fix build with readline6.3 + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-03-13 + 4.1.6 + Version bump, remove swat package. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-03-10 + 4.1.3 + Rebuild + Varol Maksutoğlu + waroi@pisilinux.org + + + 2014-01-09 + 4.1.3 + Version bump. Add tmpfiles.conf + Marcin Bojara + marcin@pisilinux.org + + + 2013-11-16 + 4.1.1 + Version bump. + Aydın Demirel + aydin.demirel@pisilinux.org + + + 2013-07-07 + 4.0.7 + Version bump. + Marcin Bojara + marcin@pisilinux.org + +  + 2013-03-18 + 3.6.12 + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2011-09-09 + 3.5.10 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/server/samba/translations.xml b/server/samba/translations.xml new file mode 100644 index 0000000000..2fec544277 --- /dev/null +++ b/server/samba/translations.xml @@ -0,0 +1,13 @@ + + + + samba + Linux için Windows ağ paylaşım servisi + Samba, Linux ve Unix işletim sistemleri ile Windows NT ve Windows 9x işletim sistemleri arasındaki iletişimi sağlayan bir ağ sunucusu uygulamasıdır. Samba yalnızca Linux ve windows makinaların birbirlerini görmelerini sağlamaz aynı zamanda Linux çalıştıran bilgisayarların windows ağında yazıcı sunucusu gibi işlevleri edinmesi içinde kullanılır. Ayrıca Active Directory ile de uyumludur. + + + + samba-devel + samba için geliştirme dosyaları + + From 222124cc10bf3ab0a0ebe25d770c0c5718a8a36d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Thu, 30 Jul 2015 16:53:35 +0300 Subject: [PATCH 5/8] road for kio-extras part-2 --- desktop/kde/plasma/ksshaskpass/pspec.xml | 38 +++++++------- .../pspec.xml | 50 +++++++++---------- hardware/misc/libmtp/pspec.xml | 4 +- network/misc/libssh/pspec.xml | 5 +- server/samba/actions.py | 3 ++ server/samba/pspec.xml | 14 +++++- 6 files changed, 64 insertions(+), 50 deletions(-) diff --git a/desktop/kde/plasma/ksshaskpass/pspec.xml b/desktop/kde/plasma/ksshaskpass/pspec.xml index 911c464734..d10640f991 100755 --- a/desktop/kde/plasma/ksshaskpass/pspec.xml +++ b/desktop/kde/plasma/ksshaskpass/pspec.xml @@ -10,40 +10,44 @@ LGPLv2 library - app:console + app:console ssh-add helper that uses kwallet and kpassworddialog ssh-add helper that uses kwallet and kpassworddialog http://download.kde.org/stable/plasma/5.3.2/ksshaskpass-5.3.2.tar.xz qt5-base-devel - kdoctools-devel - libgcc - python3 - extra-cmake-modules + kdoctools-devel + kcoreaddons-devel + ki18n-devel + kwallet-devel + libxslt + docbook-xsl + extra-cmake-modules + cmake ksshaskpass - qt5-base - libgcc - kcoreaddons - kwidgetsaddons - ki18n - kwallet + qt5-base + libgcc + kcoreaddons + kwidgetsaddons + ki18n + kwallet - /etc + /etc /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/qt5 - /usr/lib - /usr/share/man + /usr/lib + /usr/share/man /usr/share/doc - + ksshaskpass.sh diff --git a/desktop/kde/plasma/polkit-kde-authentication-agent-1/pspec.xml b/desktop/kde/plasma/polkit-kde-authentication-agent-1/pspec.xml index b7998dd088..d3931855d9 100755 --- a/desktop/kde/plasma/polkit-kde-authentication-agent-1/pspec.xml +++ b/desktop/kde/plasma/polkit-kde-authentication-agent-1/pspec.xml @@ -10,17 +10,19 @@ LGPLv2 library - app:console - app:gui + app:console + app:gui The KDE Plasma Workspace Components The Polkit-KDE-Agent package contains a graphical Polkit authentication agent for the KDE Plasma Desktop. http://download.kde.org/stable/plasma/5.3.2/polkit-kde-agent-1-5.3.2.tar.xz qt5-base-devel - kdoctools-devel - libgcc - python3 - extra-cmake-modules + kdoctools-devel + ki18n-devel + knotifications-devel + polkit-qt-devel + extra-cmake-modules + cmake @@ -30,32 +32,26 @@ polkit-kde-authentication-agent-1 qt5-base - libgcc - kcrash - kcoreaddons - polkit-qt - ki18n - kdbusaddons - kiconthemes - kwindowsystem - knotifications - kwidgetsaddons + libgcc + kcrash + kcoreaddons + polkit-qt + ki18n + kdbusaddons + kiconthemes + kwindowsystem + knotifications + kwidgetsaddons - /etc + /etc /usr/share - /usr/share/locale - /usr/bin - /usr/lib/qt5 - /usr/lib + /usr/share/locale + /usr/bin + /usr/lib/qt5 + /usr/lib /usr/share/doc - - kde-workspace - - - kde-workspace - diff --git a/hardware/misc/libmtp/pspec.xml b/hardware/misc/libmtp/pspec.xml index e3f5b00710..1995f6629f 100644 --- a/hardware/misc/libmtp/pspec.xml +++ b/hardware/misc/libmtp/pspec.xml @@ -19,8 +19,6 @@ libgcrypt-devel - @@ -28,7 +26,7 @@ libmtp libusb - libgcrypt + libgcrypt /usr/bin diff --git a/network/misc/libssh/pspec.xml b/network/misc/libssh/pspec.xml index 855c6b308a..cae7908801 100644 --- a/network/misc/libssh/pspec.xml +++ b/network/misc/libssh/pspec.xml @@ -12,12 +12,13 @@ library Full C library functions for manipulating a client-side SSH connection libssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl). - https://git.libssh.org/projects/libssh.git/snapshot/libssh-0.6.4.tar.gz + https://git.libssh.org/projects/libssh.git/snapshot/libssh-0.6.4.tar.gz zlib-devel openssl-devel - graphviz + doxygen + cmake diff --git a/server/samba/actions.py b/server/samba/actions.py index 2cf450c12e..8152cd45d1 100644 --- a/server/samba/actions.py +++ b/server/samba/actions.py @@ -58,3 +58,6 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dosym("samba-4.0/libsmbclient.h", "/usr/include/libsmbclient.h") + + # remove unneeded files + pisitools.removeDir("/usr/share/ctdb-tests") diff --git a/server/samba/pspec.xml b/server/samba/pspec.xml index 9865d7ada0..233ed2a266 100644 --- a/server/samba/pspec.xml +++ b/server/samba/pspec.xml @@ -50,6 +50,18 @@ samba + acl + pam + attr + popt + zlib + libcap + python + ncurses + readline + e2fsprogs + libgcrypt + libarchive cups avahi gdb @@ -57,7 +69,6 @@ gamin gnutls libaio - libbsd keyutils iniparser @@ -82,6 +93,7 @@ /usr/share/samba /usr/share/perl5 /var/cache/samba + /var/run/ctdb /usr/share/locale /usr/lib/tmpfiles.d/samba.conf From 86298a0ba3792c0781c4e82e7257e6b631bc508a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Thu, 30 Jul 2015 21:23:56 +0300 Subject: [PATCH 6/8] samba fixed. --- programming/misc/libevent/actions.py | 2 +- programming/misc/libevent/pspec.xml | 13 ++++++++++--- programming/misc/libtevent/pspec.xml | 9 ++++++++- server/database/libtdb/pspec.xml | 11 +++++++++-- server/samba/actions.py | 3 ++- server/samba/pspec.xml | 12 ++++++++---- 6 files changed, 38 insertions(+), 12 deletions(-) diff --git a/programming/misc/libevent/actions.py b/programming/misc/libevent/actions.py index 6ec44ad35d..a07aea8ac8 100644 --- a/programming/misc/libevent/actions.py +++ b/programming/misc/libevent/actions.py @@ -8,7 +8,7 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import get -WorkDir = "libevent-%s-stable" % get.srcVERSION() +#WorkDir = "libevent-%s-stable" % get.srcVERSION() def setup(): pisitools.dosed("Makefile.am", "libevent_extra_la_LIBADD =", "libevent_extra_la_LIBADD = libevent.la ") diff --git a/programming/misc/libevent/pspec.xml b/programming/misc/libevent/pspec.xml index 77e2fcff9f..1b2227bef1 100644 --- a/programming/misc/libevent/pspec.xml +++ b/programming/misc/libevent/pspec.xml @@ -12,7 +12,7 @@ library A library to execute a function when a specific event occurs on a file descriptor The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. libevent is meant to replace the asynchronous event loop found in event driven network servers. An application just needs to call event_dispatch() and can then add or remove events dynamically without having to change the event loop. - https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz + https://github.com/libevent/libevent/archive/release-2.0.22-stable.tar.gz openssl-devel zlib-devel @@ -20,7 +20,7 @@ libevent-linkage_fix.diff libevent-2.0.13-manpages-on.patch - libevent-2.0.21-stable-automake-fix.patch + @@ -50,6 +50,13 @@ + + 2015-07-30 + 2.0.22 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2014-05-31 2.0.21 @@ -86,4 +93,4 @@ admins@pisilinux.org - \ No newline at end of file + diff --git a/programming/misc/libtevent/pspec.xml b/programming/misc/libtevent/pspec.xml index 5cd5bcb2bd..84de6550b8 100644 --- a/programming/misc/libtevent/pspec.xml +++ b/programming/misc/libtevent/pspec.xml @@ -12,7 +12,7 @@ library Event system based on the talloc memory management library libtevent is an event system based on the talloc memory management library. It is the core event system used in Samba. Tevent has support for many event types, including timers, signals, and the classic file descriptor events. - http://samba.org/ftp/tevent/tevent-0.9.21.tar.gz + http://samba.org/ftp/tevent/tevent-0.9.25.tar.gz python-devel gdb-devel @@ -47,6 +47,13 @@ + + 2015-07-30 + 0.9.25 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2014-05-22 0.9.21 diff --git a/server/database/libtdb/pspec.xml b/server/database/libtdb/pspec.xml index 555dbb910d..687fd08ff5 100644 --- a/server/database/libtdb/pspec.xml +++ b/server/database/libtdb/pspec.xml @@ -13,12 +13,12 @@ app:console Trivial database library libtdb contains C library and Python bindings to access to a trivial database. TDB is very much like GDBM and BSDDB except that it allows multiple simultaneous writers and uses locking internally to keep writers from trampling on each other. - http://www.samba.org/ftp/tdb/tdb-1.2.13.tar.gz + http://www.samba.org/ftp/tdb/tdb-1.3.7.tar.gz libxslt python-devel docbook-xsl - libbsd-devel + libbsd-devel @@ -50,6 +50,13 @@ + + 2015-07-30 + 1.3.7 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + 2014-05-22 1.2.13 diff --git a/server/samba/actions.py b/server/samba/actions.py index 8152cd45d1..21e7ed754b 100644 --- a/server/samba/actions.py +++ b/server/samba/actions.py @@ -41,7 +41,6 @@ def setup(): --with-automount \ --with-cluster-support \ --with-dnsupdate \ - --with-dnsupdate \ --with-pam \ --with-pam_smbpass \ --with-quotas \ @@ -50,7 +49,9 @@ def setup(): --with-syslog \ --with-utmp \ --with-winbind \ + --bundled-libraries=!tdb,!talloc,!pytalloc-util,!tevent,!popt \ " % MODULES) + # !ldb,!pyldb-util def build(): shelltools.system("make") diff --git a/server/samba/pspec.xml b/server/samba/pspec.xml index 233ed2a266..f7dd0baaad 100644 --- a/server/samba/pspec.xml +++ b/server/samba/pspec.xml @@ -26,6 +26,7 @@ readline-devel e2fsprogs-devel libgcrypt-devel + libbsd-devel avahi-libs cups-devel @@ -40,8 +41,10 @@ libtalloc-devel libtevent-devel openldap-client - libarchive-devel - gdb-devel + libarchive-devel + nss-devel + docbook-xsl + libxslt libtdb-devel cyrus-sasl-devel @@ -61,13 +64,14 @@ readline e2fsprogs libgcrypt - libarchive + libarchive cups avahi gdb gnutls + libbsd libaio keyutils @@ -116,7 +120,7 @@ samba-devel Development files for samba - libldb-devel + libtalloc-devel libtevent-devel samba From ada4e1ce08ad9b283ddcf0854fc6078d34943356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Thu, 30 Jul 2015 23:40:19 +0300 Subject: [PATCH 7/8] kio-extra and kdeplasma-addons fixed. --- desktop/kde/plasma/kdeplasma-addons/pspec.xml | 86 ++++++------ desktop/kde/plasma/kio-extras/pspec.xml | 124 +++++++++--------- x11/im/scim/actions.py | 8 +- x11/im/scim/pspec.xml | 21 +-- 4 files changed, 124 insertions(+), 115 deletions(-) diff --git a/desktop/kde/plasma/kdeplasma-addons/pspec.xml b/desktop/kde/plasma/kdeplasma-addons/pspec.xml index 2014c79183..dfba10e26e 100755 --- a/desktop/kde/plasma/kdeplasma-addons/pspec.xml +++ b/desktop/kde/plasma/kdeplasma-addons/pspec.xml @@ -15,50 +15,60 @@ Additional client tools for KDE applications http://download.kde.org/stable/plasma/5.3.2/kdeplasma-addons-5.3.2.tar.xz - qt5-base-devel - libgcc - libxcb-devel - glib2-devel - scim-devel - ibus-devel - kdoctools-devel - kdelibs4-support-devel - extra-cmake-modules + qt5-base-devel + libxcb-devel + glib2-devel + scim-devel + ibus-devel + kdoctools-devel + knewstuff-devel + kemoticons-devel + kitemmodels-devel + kross-devel + kinit-devel + kunitconversion-devel + kcmutils-devel + kdesignerplugin + krunner-devel + kdelibs4-support-devel + plasma-framework-devel + extra-cmake-modules + cmake kdeplasma-addons - qt5-base - plasma-framework - libgcc - libxcb - glib2 - knewstuff - krunner - kio - ki18n - kross - sonnet - kconfig - kxmlgui - karchive - kpackage - kservice - qt5-x11extras - qt5-declarative - kcompletion - kcoreaddons - kwindowsystem - kconfigwidgets - knotifications - kwidgetsaddons - kunitconversion - kdelibs4-support - ibus - scim-libs - xcb-util-keysyms + qt5-base + plasma-framework + libgcc + libxcb + glib2 + knewstuff + krunner + kio + ki18n + kross + sonnet + kconfig + kxmlgui + karchive + kpackage + kservice + qt5-x11extras + qt5-declarative + kcompletion + kcoreaddons + kwindowsystem + kconfigwidgets + knotifications + kwidgetsaddons + kunitconversion + kdelibs4-support + ibus + scim-libs + xcb-util-keysyms /usr/share diff --git a/desktop/kde/plasma/kio-extras/pspec.xml b/desktop/kde/plasma/kio-extras/pspec.xml index 665c8a0947..02bcb0369b 100755 --- a/desktop/kde/plasma/kio-extras/pspec.xml +++ b/desktop/kde/plasma/kio-extras/pspec.xml @@ -10,84 +10,84 @@ LGPLv2 library - app:console + app:console Additional KIO-slaves for KDE5 applications Additional KIO-slaves for KDE5 applications http://download.kde.org/stable/plasma/5.3.2/kio-extras-5.3.2.tar.xz + exiv2-devel + gettext-devel + karchive-devel + kconfig-devel + kcoreaddons-devel + kdbusaddons-devel + kdelibs4-support-devel + kdnssd-devel + kdoctools-devel + kemoticons-devel + khtml-devel + ki18n-devel + kiconthemes-devel + kinit-devel + kio-devel + kitemmodels-devel + kpty-devel + kunitconversion-devel + libjpeg-turbo-devel + libmtp-devel + libssh-devel qt5-base-devel - python3 - libgcc - gettext - shared-mime-info - libmtp-devel - shared-mime-info - openexr-devel - openslp-devel - karchive-devel - kconfig-devel - kcoreaddons-devel - kdbusaddons-devel - kdelibs4-support-devel - kdnssd-devel - kdoctools-devel - khtml-devel - ki18n-devel - kiconthemes-devel - kio-devel - solid-devel - libjpeg-turbo-devel - libssh-devel - openslp-devel - qt5-phonon-devel - samba-devel - exiv2-devel - extra-cmake-modules + qt5-phonon-devel + qt5-svg-devel + samba-devel + shared-mime-info + solid-devel + docbook-xsl + kdesignerplugin + extra-cmake-modules + cmake kio-extras + exiv2-libs + karchive + kbookmarks + kcodecs + kconfig + kconfigwidgets + kcoreaddons + kdbusaddons + kdelibs4-support + kdnssd + kguiaddons + khtml + ki18n + kiconthemes + kio + kparts + kpty + kservice + kxmlgui + libgcc + libjpeg-turbo + libmtp + libssh qt5-base - qt5-svg - libgcc - libmtp - kpty - kparts - kcodecs - kxmlgui - kservice - kbookmarks - kguiaddons - kconfigwidgets - openexr - karchive - kconfig - kcoreaddons - kdbusaddons - kdelibs4-support - kdnssd - kdoctools - khtml - ki18n - kiconthemes - kio - solid - libjpeg-turbo - libssh - openslp - qt5-phonon - samba - exiv2-libs + qt5-phonon + qt5-svg + samba + solid /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/cmake - /usr/lib/qt5 - /usr/lib + /usr/lib/qt5 + /usr/lib /usr/share/doc diff --git a/x11/im/scim/actions.py b/x11/im/scim/actions.py index 1885c746d0..eb81d3a7c6 100644 --- a/x11/im/scim/actions.py +++ b/x11/im/scim/actions.py @@ -15,8 +15,6 @@ def setup(): shelltools.system("intltoolize --force") autotools.configure("\ --with-x \ - --with-qt5-moc=/usr/lib/qt5/bin/moc \ - --with-gtk-version=2,3 \ --disable-static \ --enable-ld-version-script \ --x-includes=/usr/include/X11 \ @@ -35,8 +33,8 @@ def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) #Remove scim-setup related stuff - pisitools.removeDir("/usr/share/pixmaps") - pisitools.removeDir("/usr/share/applications") - pisitools.removeDir("/usr/share/control-center-2.0") + #pisitools.removeDir("/usr/share/pixmaps") + #pisitools.removeDir("/usr/share/applications") + #pisitools.removeDir("/usr/share/control-center-2.0") pisitools.dodoc("AUTHORS", "NEWS", "README*", "TODO", "THANKS") diff --git a/x11/im/scim/pspec.xml b/x11/im/scim/pspec.xml index 3bcedb10de..02e0806c93 100644 --- a/x11/im/scim/pspec.xml +++ b/x11/im/scim/pspec.xml @@ -18,10 +18,11 @@ scim-system-global - gtk3-devel + libXt-devel + libX11-devel intltool - qt5-base-devel + scim-1.4.14-compile.patch @@ -41,10 +42,10 @@ libX11 libgcc scim-libs - gtk3 - glib2 + /etc @@ -64,11 +65,11 @@ scim-libs Libraries of SCIM - pango libX11 + libgcc libtool-ltdl @@ -84,7 +85,7 @@ Includes and pkgconfig for scim development scim-core - gtk3-devel + /usr/include @@ -92,7 +93,7 @@ - + From 5ddcdd77d9b4767ab5118e59f62a14bc8a794ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ertu=C4=9Frul=20Erata?= Date: Fri, 31 Jul 2015 10:59:10 +0300 Subject: [PATCH 8/8] add powermanagement and disk utils --- desktop/kde/plasma/kinfocenter/pspec.xml | 123 ++++----- hardware/disk/hdparm/actions.py | 24 ++ hardware/disk/hdparm/files/hdparm.confd | 21 ++ hardware/disk/hdparm/pspec.xml | 47 ++++ hardware/disk/hdparm/translations.xml | 9 + hardware/disk/libatasmart/actions.py | 25 ++ .../files/libatasmart-uninitialized-var.patch | 52 ++++ hardware/disk/libatasmart/pspec.xml | 77 ++++++ hardware/disk/libatasmart/translations.xml | 13 + hardware/disk/parted/actions.py | 31 +++ hardware/disk/parted/pspec.xml | 87 ++++++ hardware/disk/parted/translations.xml | 13 + hardware/disk/udisks2/actions.py | 21 ++ hardware/disk/udisks2/files/tr.po | 248 ++++++++++++++++++ .../udisks-2.0.91-udf-dvd-fix-dmask.patch | 57 ++++ .../udisks2/files/udisks-2.x-ntfs-3g.patch | 16 ++ hardware/disk/udisks2/pspec.xml | 159 +++++++++++ hardware/disk/udisks2/translations.xml | 13 + hardware/graphics/component.xml | 3 + hardware/graphics/vbetool/actions.py | 22 ++ .../graphics/vbetool/files/unsigned_int.patch | 12 + .../files/vbetool-1.0-build-as-needed.patch | 18 ++ hardware/graphics/vbetool/pspec.xml | 55 ++++ hardware/graphics/vbetool/translations.xml | 8 + hardware/misc/libx86/actions.py | 19 ++ .../libx86/files/libx86-0.99-ifmask.patch | 21 ++ .../libx86/files/libx86-add-pkgconfig.patch | 64 +++++ .../libx86/files/libx86-mmap-offset.patch | 187 +++++++++++++ hardware/misc/libx86/pspec.xml | 59 +++++ hardware/misc/libx86/translations.xml | 9 + hardware/mobile/component.xml | 3 + hardware/mobile/libimobiledevice/actions.py | 30 +++ hardware/mobile/libimobiledevice/pspec.xml | 112 ++++++++ .../mobile/libimobiledevice/translations.xml | 13 + hardware/mobile/libplist/actions.py | 28 ++ hardware/mobile/libplist/pspec.xml | 90 +++++++ hardware/mobile/libplist/translations.xml | 13 + hardware/mobile/usbmuxd/actions.py | 23 ++ hardware/mobile/usbmuxd/pspec.xml | 72 +++++ hardware/mobile/usbmuxd/translations.xml | 13 + hardware/powermanagement/pm-utils/actions.py | 38 +++ .../files/gentoo/1.4.1-bluetooth-sync.patch | 43 +++ .../gentoo/1.4.1-disable-sata-alpm.patch | 26 ++ ...1.4.1-fix-intel-audio-powersave-hook.patch | 40 +++ .../files/gentoo/1.4.1-logging-append.patch | 19 ++ .../pm-utils/files/pisilinux/000kernel-change | 8 + .../pm-utils/files/pisilinux/00plymouthd | 24 ++ .../pm-utils/files/pisilinux/99hd-apm-restore | 71 +++++ .../pisilinux/check-for-swap-partition.patch | 26 ++ .../files/pisilinux/disable-powersave.patch | 99 +++++++ .../files/pisilinux/hd-apm-restore.conf | 12 + .../files/suse/hooks/config.d/rtcwake.config | 25 ++ .../pm-utils/files/suse/hooks/sleep.d/01grub | 202 ++++++++++++++ .../files/suse/hooks/sleep.d/02rtcwake | 106 ++++++++ .../files/suse/hooks/sleep.d/30s2disk-check | 162 ++++++++++++ .../files/suse/hooks/sleep.d/45pcmcia | 21 ++ .../files/suse/hooks/sleep.d/75ndiswrapper | 15 ++ ...pm-utils-1.2.6.1-fix-broken-dbus-send.diff | 20 ++ .../pm-utils-1.3.0-suse-smart-uswsusp.patch | 142 ++++++++++ .../suse/pm-utils-1.4.1-suse-config.patch | 27 ++ .../pm-utils/files/tmpfiles.conf | 2 + hardware/powermanagement/pm-utils/pspec.xml | 118 +++++++++ .../powermanagement/pm-utils/translations.xml | 8 + hardware/powermanagement/upower/actions.py | 27 ++ .../powermanagement/upower/files/add-tr.patch | 8 + .../upower/files/create-dir-runtime.patch | 34 +++ .../upower/files/fix-segfault.patch | 24 ++ hardware/powermanagement/upower/files/tr.po | 93 +++++++ hardware/powermanagement/upower/pspec.xml | 170 ++++++++++++ .../powermanagement/upower/translations.xml | 13 + 70 files changed, 3472 insertions(+), 61 deletions(-) create mode 100644 hardware/disk/hdparm/actions.py create mode 100644 hardware/disk/hdparm/files/hdparm.confd create mode 100644 hardware/disk/hdparm/pspec.xml create mode 100644 hardware/disk/hdparm/translations.xml create mode 100644 hardware/disk/libatasmart/actions.py create mode 100644 hardware/disk/libatasmart/files/libatasmart-uninitialized-var.patch create mode 100644 hardware/disk/libatasmart/pspec.xml create mode 100644 hardware/disk/libatasmart/translations.xml create mode 100644 hardware/disk/parted/actions.py create mode 100644 hardware/disk/parted/pspec.xml create mode 100644 hardware/disk/parted/translations.xml create mode 100644 hardware/disk/udisks2/actions.py create mode 100644 hardware/disk/udisks2/files/tr.po create mode 100644 hardware/disk/udisks2/files/udisks-2.0.91-udf-dvd-fix-dmask.patch create mode 100644 hardware/disk/udisks2/files/udisks-2.x-ntfs-3g.patch create mode 100644 hardware/disk/udisks2/pspec.xml create mode 100644 hardware/disk/udisks2/translations.xml create mode 100644 hardware/graphics/component.xml create mode 100644 hardware/graphics/vbetool/actions.py create mode 100644 hardware/graphics/vbetool/files/unsigned_int.patch create mode 100644 hardware/graphics/vbetool/files/vbetool-1.0-build-as-needed.patch create mode 100644 hardware/graphics/vbetool/pspec.xml create mode 100644 hardware/graphics/vbetool/translations.xml create mode 100644 hardware/misc/libx86/actions.py create mode 100644 hardware/misc/libx86/files/libx86-0.99-ifmask.patch create mode 100644 hardware/misc/libx86/files/libx86-add-pkgconfig.patch create mode 100644 hardware/misc/libx86/files/libx86-mmap-offset.patch create mode 100644 hardware/misc/libx86/pspec.xml create mode 100644 hardware/misc/libx86/translations.xml create mode 100644 hardware/mobile/component.xml create mode 100644 hardware/mobile/libimobiledevice/actions.py create mode 100644 hardware/mobile/libimobiledevice/pspec.xml create mode 100644 hardware/mobile/libimobiledevice/translations.xml create mode 100644 hardware/mobile/libplist/actions.py create mode 100644 hardware/mobile/libplist/pspec.xml create mode 100644 hardware/mobile/libplist/translations.xml create mode 100644 hardware/mobile/usbmuxd/actions.py create mode 100644 hardware/mobile/usbmuxd/pspec.xml create mode 100644 hardware/mobile/usbmuxd/translations.xml create mode 100644 hardware/powermanagement/pm-utils/actions.py create mode 100644 hardware/powermanagement/pm-utils/files/gentoo/1.4.1-bluetooth-sync.patch create mode 100644 hardware/powermanagement/pm-utils/files/gentoo/1.4.1-disable-sata-alpm.patch create mode 100644 hardware/powermanagement/pm-utils/files/gentoo/1.4.1-fix-intel-audio-powersave-hook.patch create mode 100644 hardware/powermanagement/pm-utils/files/gentoo/1.4.1-logging-append.patch create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/000kernel-change create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/00plymouthd create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/99hd-apm-restore create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/check-for-swap-partition.patch create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/disable-powersave.patch create mode 100644 hardware/powermanagement/pm-utils/files/pisilinux/hd-apm-restore.conf create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/config.d/rtcwake.config create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/01grub create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/02rtcwake create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/30s2disk-check create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/45pcmcia create mode 100644 hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/75ndiswrapper create mode 100644 hardware/powermanagement/pm-utils/files/suse/pm-utils-1.2.6.1-fix-broken-dbus-send.diff create mode 100644 hardware/powermanagement/pm-utils/files/suse/pm-utils-1.3.0-suse-smart-uswsusp.patch create mode 100644 hardware/powermanagement/pm-utils/files/suse/pm-utils-1.4.1-suse-config.patch create mode 100644 hardware/powermanagement/pm-utils/files/tmpfiles.conf create mode 100644 hardware/powermanagement/pm-utils/pspec.xml create mode 100644 hardware/powermanagement/pm-utils/translations.xml create mode 100644 hardware/powermanagement/upower/actions.py create mode 100644 hardware/powermanagement/upower/files/add-tr.patch create mode 100644 hardware/powermanagement/upower/files/create-dir-runtime.patch create mode 100644 hardware/powermanagement/upower/files/fix-segfault.patch create mode 100644 hardware/powermanagement/upower/files/tr.po create mode 100644 hardware/powermanagement/upower/pspec.xml create mode 100644 hardware/powermanagement/upower/translations.xml diff --git a/desktop/kde/plasma/kinfocenter/pspec.xml b/desktop/kde/plasma/kinfocenter/pspec.xml index 0485cd9598..ef6302c43b 100755 --- a/desktop/kde/plasma/kinfocenter/pspec.xml +++ b/desktop/kde/plasma/kinfocenter/pspec.xml @@ -15,84 +15,85 @@ KDE5 Utility that provides information about a computer system. http://download.kde.org/stable/plasma/5.3.2/kinfocenter-5.3.2.tar.xz - qt5-base-devel - python3 - pciutils-devel - libX11-devel - libgcc - kcmutils-devel - kcompletion-devel - kconfig-devel - kdelibs4-support-devel - kdoctools-devel - ki18n-devel - kio-devel - kwindowsystem-devel - kxmlgui-devel - kservice-devel - kcoreaddons-devel - kdbusaddons-devel - kiconthemes-devel - kconfigwidgets-devel - kwidgetsaddons-devel - libraw1394-devel - plasma-framework-devel - solid-devel - pciutils-devel - mesa-glu-devel - extra-cmake-modules + kcmutils-devel + kcompletion-devel + kconfig-devel + kconfigwidgets-devel + kcoreaddons-devel + kdbusaddons-devel + kdelibs4-support-devel + kdoctools-devel + ki18n-devel + kiconthemes-devel + kio-devel + kservice-devel + kwidgetsaddons-devel + kwindowsystem-devel + kxmlgui-devel + libraw1394-devel + libX11-devel + mesa-glu-devel + pciutils-devel + pciutils-devel + plasma-framework-devel + qt5-base-devel + solid-devel + kemoticons-devel + kitemmodels-devel + kinit-devel + kunitconversion-devel + kwayland-devel + kdesignerplugin + docbook-xsl + extra-cmake-modules + cmake - + kinfocenter + kcmutils + kcompletion + kconfig + kconfigwidgets + kcoreaddons + kdbusaddons + kdeclarative + kdelibs4-support + ki18n + kiconthemes + kio + kservice + kwayland + kwidgetsaddons + kxmlgui + libgcc + libraw1394 + libX11 + mesa-glu + mesa + pciutils qt5-base - qt5-declarative - pciutils - libX11 - libgcc - kservice - kcoreaddons - kdbusaddons - kiconthemes - kconfigwidgets - kwidgetsaddons - kcompletion - kconfig - kdelibs4-support - ki18n - kio - kxmlgui - libraw1394 - kwayland - kcmutils - solid - kdeclarative - mesa-glu + qt5-declarative + solid - /etc + /etc /usr/share - /usr/share/locale - /usr/bin + /usr/share/locale + /usr/bin /usr/lib/cmake - /usr/lib/qt5 - /usr/lib + /usr/lib/qt5 + /usr/lib /usr/share/doc - + kcm-about-distrorc - - kde-workspace - - - kde-workspace - diff --git a/hardware/disk/hdparm/actions.py b/hardware/disk/hdparm/actions.py new file mode 100644 index 0000000000..784d592c2e --- /dev/null +++ b/hardware/disk/hdparm/actions.py @@ -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") diff --git a/hardware/disk/hdparm/files/hdparm.confd b/hardware/disk/hdparm/files/hdparm.confd new file mode 100644 index 0000000000..a8b0e1ca35 --- /dev/null +++ b/hardware/disk/hdparm/files/hdparm.confd @@ -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" + diff --git a/hardware/disk/hdparm/pspec.xml b/hardware/disk/hdparm/pspec.xml new file mode 100644 index 0000000000..d637edac3f --- /dev/null +++ b/hardware/disk/hdparm/pspec.xml @@ -0,0 +1,47 @@ + + + + + hdparm + http://sourceforge.net/projects/hdparm/ + + PisiLinux Community + admins@pisilinux.org + + as-is + app:console + Utility to change hard drive performance parameters + hdparm has some useful utilities that allows you to get/set hard disk parameters for Linux IDE drives in runtime. + http://downloads.sourceforge.net/hdparm/hdparm-9.43.tar.gz + + + + hdparm + + /sbin + /usr/share/doc + /usr/share/man + /etc/conf.d + + + hdparm.confd + + + + + + 2014-05-24 + 9.43 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2011-02-02 + 9.42 + First release + PisiLinux Community + admins@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/disk/hdparm/translations.xml b/hardware/disk/hdparm/translations.xml new file mode 100644 index 0000000000..2788018a04 --- /dev/null +++ b/hardware/disk/hdparm/translations.xml @@ -0,0 +1,9 @@ + + + + hdparm + Sabit disk parametrelerini değiştirmekte kullanılan araç + 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. + 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. + + diff --git a/hardware/disk/libatasmart/actions.py b/hardware/disk/libatasmart/actions.py new file mode 100644 index 0000000000..7cbbc4ed34 --- /dev/null +++ b/hardware/disk/libatasmart/actions.py @@ -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*") + diff --git a/hardware/disk/libatasmart/files/libatasmart-uninitialized-var.patch b/hardware/disk/libatasmart/files/libatasmart-uninitialized-var.patch new file mode 100644 index 0000000000..85a4e480bf --- /dev/null +++ b/hardware/disk/libatasmart/files/libatasmart-uninitialized-var.patch @@ -0,0 +1,52 @@ +From 26f0cc57fcf346753f17e75fb1378f053dcba92c Mon Sep 17 00:00:00 2001 +From: David Zeuthen +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 +--- + 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 + diff --git a/hardware/disk/libatasmart/pspec.xml b/hardware/disk/libatasmart/pspec.xml new file mode 100644 index 0000000000..baaf93cf76 --- /dev/null +++ b/hardware/disk/libatasmart/pspec.xml @@ -0,0 +1,77 @@ + + + + + libatasmart + http://git.0pointer.de/?p=libatasmart.git + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + library + app:console + ATA S.M.A.R.T. Disk Health Monitoring Library + A small and lightweight parser library for ATA S.M.A.R.T. hard disk health monitoring. + http://0pointer.de/public/libatasmart-0.19.tar.xz + + libatasmart-uninitialized-var.patch + + + eudev-devel + + + + + libatasmart + + eudev + + + /usr/sbin/skdump + /usr/sbin/sktest + /usr/lib/libatasmart.so* + /usr/share/doc/libatasmart/README + /usr/share/doc/libatasmart/LGPL + + + + + libatasmart-devel + Development files for libatasmart + + libatasmart + eudev-devel + + + /usr/include + /usr/share/vala + /usr/lib/pkgconfig + /usr/share/doc + + + + + + 2014-05-25 + 0.19 + Rebuild + Kamil Atlı + suvarice@gmail.com + + + 2014-01-29 + 0.19 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-10-02 + 0.19 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/disk/libatasmart/translations.xml b/hardware/disk/libatasmart/translations.xml new file mode 100644 index 0000000000..a5ba33f74c --- /dev/null +++ b/hardware/disk/libatasmart/translations.xml @@ -0,0 +1,13 @@ + + + + libatasmart + ATA S.M.A.R.T. disk sağlığı izleme kitaplığı + libatasmart, ATA S.M.A.R.T. üzerinden disk sağlığını izlemek için kullanılan ufak ve hafif bir kitaplıktır. + + + + libatasmart-devel + libatasmart için geliştirme dosyaları + + diff --git a/hardware/disk/parted/actions.py b/hardware/disk/parted/actions.py new file mode 100644 index 0000000000..00abc9b20b --- /dev/null +++ b/hardware/disk/parted/actions.py @@ -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") + diff --git a/hardware/disk/parted/pspec.xml b/hardware/disk/parted/pspec.xml new file mode 100644 index 0000000000..85a600b4ce --- /dev/null +++ b/hardware/disk/parted/pspec.xml @@ -0,0 +1,87 @@ + + + + + parted + http://www.gnu.org/software/parted + + PisiLinux Community + admins@pisilinux.org + + GPLv3+ + app:console + Create, destroy, resize, check, copy partitions and file systems + 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. + http://ftp.gnu.org.ua/gnu/parted/parted-3.2.tar.xz + + libutil-linux-devel + device-mapper-devel + readline-devel + + + + + + + + parted + + libutil-linux + ncurses + device-mapper + readline + util-linux + + + /usr/lib + /usr/sbin + /usr/share/doc + /usr/share/info + /usr/share/locale + /usr/share/man + + + + + parted-devel + Development files for parted + + parted + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-08-09 + 3.2 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-25 + 3.1 + Rebuild + Kamil Atlı + suvarice@gmail.com + + + 2014-02-02 + 3.1 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2012-10-05 + 3.1 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/disk/parted/translations.xml b/hardware/disk/parted/translations.xml new file mode 100644 index 0000000000..3b2468c9fe --- /dev/null +++ b/hardware/disk/parted/translations.xml @@ -0,0 +1,13 @@ + + + + parted + GNU Parted disk bölümlerini oluşturmaya, silmeye, boyutlandırmaya, taşımaya ve kopyalamaya yarayan bir yazılımdır. + Crée, supprime, modifie les dimensions, vérifie et copie partitions et systèmes de fichiers. + + + + parted-devel + parted için geliştirme dosyaları + + diff --git a/hardware/disk/udisks2/actions.py b/hardware/disk/udisks2/actions.py new file mode 100644 index 0000000000..b019b6ca14 --- /dev/null +++ b/hardware/disk/udisks2/actions.py @@ -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") \ No newline at end of file diff --git a/hardware/disk/udisks2/files/tr.po b/hardware/disk/udisks2/files/tr.po new file mode 100644 index 0000000000..bea7426300 --- /dev/null +++ b/hardware/disk/udisks2/files/tr.po @@ -0,0 +1,248 @@ +# Danish translations for udisks. +# This file is distributed under the same license as the udisks package. +# +# Ozan Çağlayan , 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 \n" +"Language-Team: Turkish \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ü" + + diff --git a/hardware/disk/udisks2/files/udisks-2.0.91-udf-dvd-fix-dmask.patch b/hardware/disk/udisks2/files/udisks-2.0.91-udf-dvd-fix-dmask.patch new file mode 100644 index 0000000000..3c580c1c59 --- /dev/null +++ b/hardware/disk/udisks2/files/udisks-2.0.91-udf-dvd-fix-dmask.patch @@ -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"); diff --git a/hardware/disk/udisks2/files/udisks-2.x-ntfs-3g.patch b/hardware/disk/udisks2/files/udisks-2.x-ntfs-3g.patch new file mode 100644 index 0000000000..d45c030d64 --- /dev/null +++ b/hardware/disk/udisks2/files/udisks-2.x-ntfs-3g.patch @@ -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, + }; diff --git a/hardware/disk/udisks2/pspec.xml b/hardware/disk/udisks2/pspec.xml new file mode 100644 index 0000000000..74b860533c --- /dev/null +++ b/hardware/disk/udisks2/pspec.xml @@ -0,0 +1,159 @@ + + + + + udisks2 + http://udisks.freedesktop.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + library + app:console + Disk Management Service + udisks provides a daemon, API and command line tools for managing disk devices attached to the system. + http://udisks.freedesktop.org/releases/udisks-2.1.4.tar.bz2 + + tr.po + + + gtk-doc + acl-devel + glib2-devel + polkit-devel + eudev-devel + parted-devel + libatasmart-devel + device-mapper-devel + lvm2-devel + gobject-introspection-devel + + docbook-xsl + libxslt + intltool + + + udisks-2.0.91-udf-dvd-fix-dmask.patch + udisks-2.x-ntfs-3g.patch + + + + + udisks2 + + acl + glib2 + polkit + eudev + lvm2 + mdadm + parted + libatasmart + device-mapper + ntfsprogs + dosfstools + + + + + + + /etc/udisks2 + /etc/dbus-1 + /lib/udev/rules.d + /usr/bin + /usr/sbin + /usr/lib + /usr/share/bash-completion/completions + /usr/share/doc + /usr/share/dbus-1 + /usr/share/gir-1.0 + /usr/share/gtk-doc/ + /usr/share/locale + /usr/share/polkit-1/ + /usr/share/man + /var/lib/ + /run/udisks + + + + + udisks2-devel + Development files for udisks2 + + udisks2 + + + /usr/include + /usr/share/dbus-1/interfaces/*.xml + /usr/lib/pkgconfig + + + + + + 2015-02-07 + 2.1.4 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-05-25 + 2.1.3 + Rebuild. + Kamil Atlı + suvarice@gmail.com + + + 2014-04-05 + 2.1.3 + add builddep docbook-xsl. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-03-29 + 2.1.3 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-01-20 + 2.1.1 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-15 + 2.1.0 + V.bump + PisiLinux Community + admins@pisilinux.org + + + 2013-08-13 + 2.0.0 + fix path + Erdinç Gültekin + erdincgultekin@pisilinux.org + + + 2013-07-26 + 2.0.0 + Release bump for rebuild. + PisiLinux Community + admins@pisilinux.org + + + 2012-10-22 + 2.0.0 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/hardware/disk/udisks2/translations.xml b/hardware/disk/udisks2/translations.xml new file mode 100644 index 0000000000..8ca10f7f0e --- /dev/null +++ b/hardware/disk/udisks2/translations.xml @@ -0,0 +1,13 @@ + + + + udisks2 + Disk Yönetim Hizmeti + udisks, sisteme bağlı disk aygıtlarını yönetmek için programlama kitaplığı ve komut satırı araçları sunar. + + + + udisks2-devel + udisks için geliştirme dosyaları + + diff --git a/hardware/graphics/component.xml b/hardware/graphics/component.xml new file mode 100644 index 0000000000..3c265c0d45 --- /dev/null +++ b/hardware/graphics/component.xml @@ -0,0 +1,3 @@ + + hardware.graphics + diff --git a/hardware/graphics/vbetool/actions.py b/hardware/graphics/vbetool/actions.py new file mode 100644 index 0000000000..94421a7574 --- /dev/null +++ b/hardware/graphics/vbetool/actions.py @@ -0,0 +1,22 @@ +#!/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.autoreconf("-vfi") + autotools.configure("--with-x86emu") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("COPYING") diff --git a/hardware/graphics/vbetool/files/unsigned_int.patch b/hardware/graphics/vbetool/files/unsigned_int.patch new file mode 100644 index 0000000000..a36fbd45ba --- /dev/null +++ b/hardware/graphics/vbetool/files/unsigned_int.patch @@ -0,0 +1,12 @@ +diff -Nur vbetool-1.1-old/vbetool.c vbetool-1.1/vbetool.c +--- vbetool-1.1-old/vbetool.c 2008-05-27 15:41:04.000000000 +0300 ++++ vbetool-1.1/vbetool.c 2008-05-27 15:41:15.000000000 +0300 +@@ -529,7 +529,7 @@ + r.edi = (unsigned long)(id-LRMI_base_addr()) & 0xf; + + if(sizeof(struct panel_id) != 32) +- return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %ld...\n", sizeof(struct panel_id)), 7; ++ return fprintf(stderr, "oops: panel_id, sizeof struct panel_id != 32, it's %u...\n", sizeof(struct panel_id)), 7; + + if(real_mode_int(0x10, &r)) + return fprintf(stderr, "Can't get panel id (vm86 failure)\n"), 8; diff --git a/hardware/graphics/vbetool/files/vbetool-1.0-build-as-needed.patch b/hardware/graphics/vbetool/files/vbetool-1.0-build-as-needed.patch new file mode 100644 index 0000000000..69d2f7b341 --- /dev/null +++ b/hardware/graphics/vbetool/files/vbetool-1.0-build-as-needed.patch @@ -0,0 +1,18 @@ +Index: vbetool-1.0/Makefile.am +=================================================================== +--- vbetool-1.0.orig/Makefile.am ++++ vbetool-1.0/Makefile.am +@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign + + sbin_PROGRAMS = vbetool + +-vbetool_LDADD = $(libdir)/libpci.a ++vbetool_LDADD = -lpci -lz -lx86 + + man_MANS = vbetool.1 + vbetool_SOURCES = vbetool.c $(x86) +@@ -14,4 +14,3 @@ maintainer-clean-local: + $(RM) Makefile.in aclocal.m4 config.h.in stamp-h.in configure + + AM_CFLAGS = -g -Wall -pedantic -std=gnu99 +-AM_LDFLAGS = -lz -lx86 diff --git a/hardware/graphics/vbetool/pspec.xml b/hardware/graphics/vbetool/pspec.xml new file mode 100644 index 0000000000..2c579e7be2 --- /dev/null +++ b/hardware/graphics/vbetool/pspec.xml @@ -0,0 +1,55 @@ + + + + + vbetool + http://www.codon.org.uk/~mjg59/vbetool/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Alter video hardware state through video BIOS + vbetools is a real-mode video BIOS code to alter hardware state. Vbetool uses lrmi in order to run code from the video BIOS. It is able to alter DPMS states, save/restore video card state and attempt to initialize the video card from scratch. + http://www.codon.org.uk/~mjg59/vbetool/download/vbetool-1.1.tar.gz + + libx86-devel + pciutils-devel + + + vbetool-1.0-build-as-needed.patch + unsigned_int.patch + + + + + vbetool + + libx86 + pciutils + + + /usr/share/doc + /usr/share/man + /usr/sbin + + + + + + 2014-05-24 + 1.1 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2010-10-13 + 1.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/graphics/vbetool/translations.xml b/hardware/graphics/vbetool/translations.xml new file mode 100644 index 0000000000..df323fd3dd --- /dev/null +++ b/hardware/graphics/vbetool/translations.xml @@ -0,0 +1,8 @@ + + + + vbetool + Gerçek kipte ekran BIOS değiştirme aracı (örn. ekran kartını yeniden başlatmak için) + Donanım durumunu değiştiren gerçek kipli video BIOS kodudur. Video BIOS'undan gelen kodları çalıştırmak için lrmi kullanır. Video kartının DPMS ve kaydet/tekrar inşaa et durumunun değiştirilmesini sağlar ve video kartının hatalı durumdan başlatılmasına çalışır. + + diff --git a/hardware/misc/libx86/actions.py b/hardware/misc/libx86/actions.py new file mode 100644 index 0000000000..9b7d471e92 --- /dev/null +++ b/hardware/misc/libx86/actions.py @@ -0,0 +1,19 @@ +#!/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 build(): + autotools.make('CFLAGS="%s -fPIC" BACKEND=x86emu' % get.CFLAGS()) + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.remove("/usr/lib/libx86.a") + + pisitools.dodoc("COPYRIGHT") diff --git a/hardware/misc/libx86/files/libx86-0.99-ifmask.patch b/hardware/misc/libx86/files/libx86-0.99-ifmask.patch new file mode 100644 index 0000000000..c99eeb819f --- /dev/null +++ b/hardware/misc/libx86/files/libx86-0.99-ifmask.patch @@ -0,0 +1,21 @@ +--- lrmi.c.orig 2008-09-06 12:24:36.070136428 +0200 ++++ lrmi.c 2008-09-06 12:28:10.584287458 +0200 +@@ -55,6 +55,18 @@ OTHER DEALINGS IN THE SOFTWARE. + #include "x86-common.h" + + #if defined(__linux__) ++#ifndef TF_MASK ++#define TF_MASK X86_EFLAGS_TF ++#endif ++#ifndef IF_MASK ++#define IF_MASK X86_EFLAGS_IF ++#endif ++#ifndef IOPL_MASK ++#define IOPL_MASK X86_EFLAGS_IOPL ++#endif ++#ifndef VIF_MASK ++#define VIF_MASK X86_EFLAGS_VIF ++#endif + #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) + #elif defined(__NetBSD__) || defined(__FreeBSD__) + #define DEFAULT_VM86_FLAGS (PSL_I | PSL_IOPL) diff --git a/hardware/misc/libx86/files/libx86-add-pkgconfig.patch b/hardware/misc/libx86/files/libx86-add-pkgconfig.patch new file mode 100644 index 0000000000..3aeaff7918 --- /dev/null +++ b/hardware/misc/libx86/files/libx86-add-pkgconfig.patch @@ -0,0 +1,64 @@ +From fc4f25c4d16aaff7dcb5dd42cc20b292f4eb2218 Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Tue, 4 Aug 2009 13:08:42 +1000 +Subject: [PATCH] git add x86.pc + +--- + Makefile | 15 ++++++++++++--- + x86.pc.in | 10 ++++++++++ + 2 files changed, 22 insertions(+), 3 deletions(-) + create mode 100644 x86.pc.in + +diff --git a/Makefile b/Makefile +index 951b617..953a499 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,7 @@ + OBJECTS = x86-common.o + CFLAGS ?= -O2 -Wall -DDEBUG -g + LIBDIR ?= /usr/lib ++INCLUDEDIR ?= /usr/include + + ifeq ($(BACKEND),x86emu) + OBJECTS += thunk.o x86emu/decode.o x86emu/debug.o x86emu/fpu.o \ +@@ -29,10 +30,18 @@ objclean: + rm -f *.o *~ + + clean: objclean +- rm -f *.so.1 *.a ++ rm -f *.so.1 *.a x86.pc + +-install: libx86.so.1 ++x86.pc: ++ sed -e's,@prefix@,/usr,' x86.pc.in > x86.pc ++ sed -e's,@exec_prefix@,/usr,' -i x86.pc ++ sed -e's,@libdir@,${LIBDIR},' -i x86.pc ++ sed -e's,@includedir@,${INCLUDEDIR},' -i x86.pc ++ sed -e's,@PACKAGE_VERSION@,1.1,' -i x86.pc ++ ++install: libx86.so.1 x86.pc + install -D libx86.so.1 $(DESTDIR)$(LIBDIR)/libx86.so.1 + install -D libx86.a $(DESTDIR)$(LIBDIR)/libx86.a ++ install -D x86.pc $(DESTDIR)$(LIBDIR)/pkgconfig/x86.pc + ln -sf libx86.so.1 $(DESTDIR)$(LIBDIR)/libx86.so +- install -p -m 0644 -D lrmi.h $(DESTDIR)/usr/include/libx86.h ++ install -p -m 0644 -D lrmi.h $(DESTDIR)$(INCLUDEDIR)/libx86.h +diff --git a/x86.pc.in b/x86.pc.in +new file mode 100644 +index 0000000..711d90d +--- /dev/null ++++ b/x86.pc.in +@@ -0,0 +1,10 @@ ++prefix=@prefix@ ++exec_prefix=@exec_prefix@ ++libdir=@libdir@ ++includedir=@includedir@ ++ ++Name: x86 ++Description: Library providing x86 emulator access ++Version: @PACKAGE_VERSION@ ++Cflags: -I${includedir} ++Libs: -L${libdir} -lx86 +-- +1.5.4.1 + diff --git a/hardware/misc/libx86/files/libx86-mmap-offset.patch b/hardware/misc/libx86/files/libx86-mmap-offset.patch new file mode 100644 index 0000000000..881bc6615d --- /dev/null +++ b/hardware/misc/libx86/files/libx86-mmap-offset.patch @@ -0,0 +1,187 @@ +diff -ur libx86-1.1/lrmi.c libx86-1.1.hack/lrmi.c +--- libx86-1.1/lrmi.c 2006-10-30 15:10:16.000000000 -0500 ++++ libx86-1.1.hack/lrmi.c 2009-10-26 15:55:42.000000000 -0400 +@@ -136,7 +136,7 @@ + if (context.ready) + return 1; + +- if (!LRMI_common_init()) ++ if (!LRMI_common_init(0)) + return 0; + + /* +diff -ur libx86-1.1/thunk.c libx86-1.1.hack/thunk.c +--- libx86-1.1/thunk.c 2008-04-02 20:48:00.000000000 -0400 ++++ libx86-1.1.hack/thunk.c 2009-10-26 16:05:39.000000000 -0400 +@@ -139,11 +139,11 @@ + int i; + X86EMU_intrFuncs intFuncs[256]; + +- if (!LRMI_common_init()) ++ mmap_addr = LRMI_common_init(1); ++ ++ if (!mmap_addr) + return 0; + +- mmap_addr = 0; +- + X86EMU_pioFuncs pioFuncs = { + (&x_inb), + (&x_inw), +@@ -169,10 +169,10 @@ + X86_ESP = 0xFFF9; + memset (stack, 0, 64*1024); + +- *((char *)0) = 0x4f; /* Make sure that we end up jumping back to a +- halt instruction */ ++ *mmap_addr = 0x4f; /* Make sure that we end up jumping back to a ++ halt instruction */ + +- M.mem_base = 0; ++ M.mem_base = (unsigned long)mmap_addr; + M.mem_size = 1024*1024; + + return 1; +diff -ur libx86-1.1/x86-common.c libx86-1.1.hack/x86-common.c +--- libx86-1.1/x86-common.c 2008-05-16 12:56:23.000000000 -0400 ++++ libx86-1.1.hack/x86-common.c 2009-10-26 16:03:21.000000000 -0400 +@@ -45,14 +45,15 @@ + static struct { + int ready; + int count; ++ void *offset; + struct mem_block blocks[REAL_MEM_BLOCKS]; + } mem_info = { 0 }; + + static int +-real_mem_init(void) ++real_mem_init(int high_page) + { + void *m; +- int fd_zero; ++ int fd_zero, flags = MAP_SHARED; + + if (mem_info.ready) + return 1; +@@ -63,9 +64,12 @@ + return 0; + } + ++ if (!high_page) ++ flags |= MAP_FIXED; ++ + m = mmap((void *)REAL_MEM_BASE, REAL_MEM_SIZE, +- PROT_READ | PROT_WRITE | PROT_EXEC, +- MAP_FIXED | MAP_SHARED, fd_zero, 0); ++ PROT_READ | PROT_WRITE | PROT_EXEC, ++ flags, fd_zero, 0); + + if (m == (void *)-1) { + perror("mmap /dev/zero"); +@@ -76,6 +80,7 @@ + close(fd_zero); + + mem_info.ready = 1; ++ mem_info.offset = m; + mem_info.count = 1; + mem_info.blocks[0].size = REAL_MEM_SIZE; + mem_info.blocks[0].free = 1; +@@ -87,7 +92,7 @@ + real_mem_deinit(void) + { + if (mem_info.ready) { +- munmap((void *)REAL_MEM_BASE, REAL_MEM_SIZE); ++ munmap(mem_info.offset, REAL_MEM_SIZE); + mem_info.ready = 0; + } + } +@@ -119,7 +124,7 @@ + LRMI_alloc_real(int size) + { + int i; +- char *r = (char *)REAL_MEM_BASE; ++ char *r = (char *)mem_info.offset; + + if (!mem_info.ready) + return NULL; +@@ -151,7 +156,7 @@ + LRMI_free_real(void *m) + { + int i; +- char *r = (char *)REAL_MEM_BASE; ++ char *r = (char *)mem_info.offset; + + if (!mem_info.ready) + return; +@@ -200,13 +205,15 @@ + return *(unsigned short *)(i * 4); + } + +-int LRMI_common_init(void) ++void *LRMI_common_init(int high_page) + { +- void *m; ++ void *m, *offset; + int fd_mem; + +- if (!real_mem_init()) +- return 0; ++ if (!real_mem_init(high_page)) ++ return NULL; ++ ++ offset = mem_info.offset - REAL_MEM_BASE; + + /* + Map the Interrupt Vectors (0x0 - 0x400) + BIOS data (0x400 - 0x502) +@@ -217,33 +224,33 @@ + if (fd_mem == -1) { + real_mem_deinit(); + perror("open /dev/mem"); +- return 0; ++ return NULL; + } + +- m = mmap((void *)0, 0x502, +- PROT_READ | PROT_WRITE | PROT_EXEC, +- MAP_FIXED | MAP_SHARED, fd_mem, 0); ++ m = mmap(offset, 0x502, ++ PROT_READ | PROT_WRITE | PROT_EXEC, ++ MAP_FIXED | MAP_SHARED, fd_mem, 0); + + if (m == (void *)-1) { + close(fd_mem); + real_mem_deinit(); + perror("mmap /dev/mem"); +- return 0; ++ return NULL; + } + +- m = mmap((void *)0xa0000, 0x100000 - 0xa0000, ++ m = mmap(offset+0xa0000, 0x100000 - 0xa0000, + PROT_READ | PROT_WRITE | PROT_EXEC, + MAP_FIXED | MAP_SHARED, fd_mem, 0xa0000); + + if (m == (void *)-1) { +- munmap((void *)0, 0x502); ++ munmap(offset, 0x502); + close(fd_mem); + real_mem_deinit(); + perror("mmap /dev/mem"); +- return 0; ++ return NULL; + } + + close(fd_mem); + +- return 1; ++ return offset; + } +diff -ur libx86-1.1/x86-common.h libx86-1.1.hack/x86-common.h +--- libx86-1.1/x86-common.h 2006-09-07 18:44:27.000000000 -0400 ++++ libx86-1.1.hack/x86-common.h 2009-10-26 16:01:19.000000000 -0400 +@@ -40,4 +40,4 @@ + + void *LRMI_alloc_real(int size); + void LRMI_free_real(void *m); +-int LRMI_common_init(void); ++void *LRMI_common_init(int high_page); diff --git a/hardware/misc/libx86/pspec.xml b/hardware/misc/libx86/pspec.xml new file mode 100644 index 0000000000..49aa38daa9 --- /dev/null +++ b/hardware/misc/libx86/pspec.xml @@ -0,0 +1,59 @@ + + + + + libx86 + http://www.codon.org.uk/~mjg59/libx86/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + A hardware-independent library for executing real-mode x86 code + libx86 contains the library and header files necessary for the development of programs that will use libx86 to make real-mode x86 calls. + http://www.codon.org.uk/~mjg59/libx86/downloads/libx86-1.1.tar.gz + + + libx86-0.99-ifmask.patch + libx86-add-pkgconfig.patch + libx86-mmap-offset.patch + + + + + libx86 + + /usr/lib + /usr/share/doc + + + + + libx86-devel + + libx86 + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-24 + 1.1 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2010-10-13 + 1.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/misc/libx86/translations.xml b/hardware/misc/libx86/translations.xml new file mode 100644 index 0000000000..12fded5d11 --- /dev/null +++ b/hardware/misc/libx86/translations.xml @@ -0,0 +1,9 @@ + + + + libx86 + Gerçek-mod x86 kodlarını çalıştırmak için donanım-bağımsız bir kütüphane + libx86, gerçek-mod x86 çağrıları yapabilen programların geliştirilmesi için gerekli başlık dosyaları ve kütüphaneleri içerir. + A menudo puede ser útil poder realizar llamadas de BIOS x86 en modo real desde el espacio de usuarios. lrmi facilita para ello una interfaz simple para equipos x86, sin embargo no funciona en otras plataformas. libx86 facilita la interfaz lrmi, pero además funcionará en plataformas como amd64 y alpha. + + diff --git a/hardware/mobile/component.xml b/hardware/mobile/component.xml new file mode 100644 index 0000000000..9338b21e23 --- /dev/null +++ b/hardware/mobile/component.xml @@ -0,0 +1,3 @@ + + hardware.mobile + diff --git a/hardware/mobile/libimobiledevice/actions.py b/hardware/mobile/libimobiledevice/actions.py new file mode 100644 index 0000000000..d0025b378c --- /dev/null +++ b/hardware/mobile/libimobiledevice/actions.py @@ -0,0 +1,30 @@ +#!/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-openssl \ + --disable-silent-rules \ + --without-cython \ + ") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + # Remove rpath + pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") + pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING*", "NEWS", "README") \ No newline at end of file diff --git a/hardware/mobile/libimobiledevice/pspec.xml b/hardware/mobile/libimobiledevice/pspec.xml new file mode 100644 index 0000000000..cb158274ae --- /dev/null +++ b/hardware/mobile/libimobiledevice/pspec.xml @@ -0,0 +1,112 @@ + + + + + libimobiledevice + http://www.libimobiledevice.org + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + GPLv2 + library + app:console + Library for connecting to mobile devices + libimobiledevice is a library for connecting to mobile devices including phones and music players + http://www.libimobiledevice.org/downloads/libimobiledevice-1.1.7.tar.bz2 + + gnutls-devel + usbmuxd-devel + libplist-devel + libtasn1-devel + libgcrypt-devel + + + + + libimobiledevice + + gnutls + usbmuxd + libplist + libtasn1 + libgcrypt + + + /usr/lib + /usr/bin + /usr/share/man/man1 + /usr/share/doc/libimobiledevice + + + + + libimobiledevice-devel + Development files for libimobiledevice + + gnutls-devel + usbmuxd-devel + libplist-devel + libtasn1-devel + libgcrypt-devel + libimobiledevice + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-01-25 + 1.1.7 + Version bump. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-05-24 + 1.1.6 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-15 + 1.1.6 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-04-04 + 1.1.5 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-04-12 + 1.1.4 + Fixed + PisiLinux Community + admins@pisilinux.org + + + 2013-03-18 + 1.1.4 + fix cython disagreement + Erdinç Gültekin + admins@pisilinux.org + + + 2012-10-20 + 1.1.4 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/hardware/mobile/libimobiledevice/translations.xml b/hardware/mobile/libimobiledevice/translations.xml new file mode 100644 index 0000000000..64e3d95cfd --- /dev/null +++ b/hardware/mobile/libimobiledevice/translations.xml @@ -0,0 +1,13 @@ + + + + libimobildevice + Mobil cihazlara bağlanmak için gerekli kitaplıklar + libimobildevice, telefonlar ve müzik çalarlar gibi mobil cihazlarla iletişim için kullanılan kitaplıklardır. + + + + libimobildevice-devel + libimobildevice için geliştirme dosyaları + + diff --git a/hardware/mobile/libplist/actions.py b/hardware/mobile/libplist/actions.py new file mode 100644 index 0000000000..9c8f79204a --- /dev/null +++ b/hardware/mobile/libplist/actions.py @@ -0,0 +1,28 @@ +#!/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 pisitools +from pisi.actionsapi import autotools + +def setup(): + # do not link with installed old library + pisitools.dosed("cython/Makefile.*", "(plist_la_LDFLAGS\s=.*)(\s-L\$\(libdir\))(.*)", r"\1\3") + + autotools.configure("\ + --disable-static \ + --disable-silent-rules \ + ") + + pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ") + +def build(): + autotools.make("-j1") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LESSER", "README") diff --git a/hardware/mobile/libplist/pspec.xml b/hardware/mobile/libplist/pspec.xml new file mode 100644 index 0000000000..ce0e8781ef --- /dev/null +++ b/hardware/mobile/libplist/pspec.xml @@ -0,0 +1,90 @@ + + + + + libplist + http://matt.colyer.name/projects/iphone-linux + + PisiLinux Community + admins@pisilinux.org + + LGPLv2+ + GPLv2 + library + app:console + Library for manipulating Apple Binary and XML Property Lists + libplist is a library for manipulating Apple Binary and XML Property Lists. + http://www.libimobiledevice.org/downloads/libplist-1.11.tar.bz2 + + libxml2-devel + python-devel + cython + + + + + libplist + + libxml2 + python + libgcc + + + /usr/lib + /usr/share/doc + /usr/bin + + + + + libplist-devel + Development files for libplist + + libplist + libxml2-devel + python-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2015-07-31 + 1.11 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-15 + 1.11 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-02 + 1.10 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-06-01 + 1.8 + Cosmetics Fixed + Serdar Soytetir + kaptan@pisilinux.org + + + 2012-10-20 + 1.8 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/mobile/libplist/translations.xml b/hardware/mobile/libplist/translations.xml new file mode 100644 index 0000000000..1cbf58a41a --- /dev/null +++ b/hardware/mobile/libplist/translations.xml @@ -0,0 +1,13 @@ + + + + libplist + Apple ikili dosyaları ve XML özellik listeleri üzerindeki işlemler için kütüphane + libplist, Apple ikili dosyaları ve XML özellik listeleri üzerindeki işlemler için gerekli bir kütüphanedir. + + + + libplist-devel + libplist için geliştirme dosyaları + + diff --git a/hardware/mobile/usbmuxd/actions.py b/hardware/mobile/usbmuxd/actions.py new file mode 100644 index 0000000000..6f85e67051 --- /dev/null +++ b/hardware/mobile/usbmuxd/actions.py @@ -0,0 +1,23 @@ +#!/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 pisitools +from pisi.actionsapi import autotools + +def setup(): + autotools.configure("\ + --disable-static \ + --disable-silent-rules \ + ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "README") diff --git a/hardware/mobile/usbmuxd/pspec.xml b/hardware/mobile/usbmuxd/pspec.xml new file mode 100644 index 0000000000..ae60ac9fe7 --- /dev/null +++ b/hardware/mobile/usbmuxd/pspec.xml @@ -0,0 +1,72 @@ + + + + + usbmuxd + http://marcansoft.com/blog/iphonelinux/usbmuxd + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + LGPLv2.1 + service + library + Daemon for communicating with Apple's iPod Touch and iPhone + usbmuxd is a daemon used for communicating with Apple's iPod Touch and iPhone devices. It allows multiple services on the device to be accessed simultaneously. + http://www.libimobiledevice.org/downloads/libusbmuxd-1.0.9.tar.bz2 + + libplist-devel + + + + + usbmuxd + + libplist + + + /usr/lib + /usr/share/doc + /usr/bin + /usr/sbin + /lib/udev/rules.d + + + + + usbmuxd-devel + Development files for usbmuxd + + usbmuxd + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2014-05-24 + 1.0.9 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-15 + 1.0.9 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2012-10-20 + 1.0.8 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/mobile/usbmuxd/translations.xml b/hardware/mobile/usbmuxd/translations.xml new file mode 100644 index 0000000000..4561f050ca --- /dev/null +++ b/hardware/mobile/usbmuxd/translations.xml @@ -0,0 +1,13 @@ + + + + usbmuxd + Apple iPod Touch ve iPhone iletişim hizmeti + usbmuxd, Apple iPod Touch ve iPhone cihazlarıyla iletişim kurmak için gerekli bir sistem hizmetidir. Aynı anda, birden fazla cihaza bağlanma imkanı sağlar. + + + + usbmuxd-devel + usbmuxd için geliştirme dosyaları + + diff --git a/hardware/powermanagement/pm-utils/actions.py b/hardware/powermanagement/pm-utils/actions.py new file mode 100644 index 0000000000..0c3c3998f0 --- /dev/null +++ b/hardware/powermanagement/pm-utils/actions.py @@ -0,0 +1,38 @@ +#!/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 shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + # Drop man pages to regenerate them + shelltools.unlink("man/*.[18]") + + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + # Install video quirks + shelltools.copytree("../video-quirks", "%s/usr/lib/pm-utils" % get.installDIR()) + + # Create some initial directories + for d in ("locks", "storage"): + pisitools.dodir("/run/pm-utils/%s" % d) + + pisitools.dodoc("COPYING", "ChangeLog", "AUTHORS") + + # nm >=0.8.2 has native udev suspend/resume support + pisitools.remove("/usr/lib/pm-utils/sleep.d/55NetworkManager") + + # Remove hooks that cause hardware failure or don't make sense at all + pisitools.remove("/usr/lib/pm-utils/power.d/harddrive") + pisitools.remove("/usr/lib/pm-utils/power.d/disable_wol") diff --git a/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-bluetooth-sync.patch b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-bluetooth-sync.patch new file mode 100644 index 0000000000..b41f32cf91 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-bluetooth-sync.patch @@ -0,0 +1,43 @@ +From 640b53438c20818b3e344343b58b1f1765606a85 Mon Sep 17 00:00:00 2001 +From: Martin Pitt +Date: Mon, 31 Jan 2011 15:30:01 +0100 +Subject: [PATCH] 49bluetooth: Wait for btusb module to get unused + +The 49bluetooth hook disables /proc/acpi/ibm/bluetooth but this isn't +synchronous, i. e. it doesn't wait until the module usage count actually drops +to 0. Due to that, it's impossible to add btusb to SUSPEND_MODULES (on some +models/older kernels you need to do that to fix suspend problems), as at that +point the module is still in use. + +On my system (ThinkPad X201) the module takes between 0.3 and 0.5 seconds to +unload, so use 100 ms wait steps with a timeout of 2 seconds. + +Bug: https://bugs.freedesktop.org//show_bug.cgi?id=33759 +Bug-Ubuntu: https://launchpad.net/bugs/698331 +--- + pm/sleep.d/49bluetooth | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/pm/sleep.d/49bluetooth b/pm/sleep.d/49bluetooth +index d46ba49..0dc1909 100755 +--- a/pm/sleep.d/49bluetooth ++++ b/pm/sleep.d/49bluetooth +@@ -12,6 +12,15 @@ suspend_bluetooth() + if grep -q enabled /proc/acpi/ibm/bluetooth; then + savestate ibm_bluetooth enable + echo disable > /proc/acpi/ibm/bluetooth ++ ++ # wait for up to 2 seconds for the module to actually get ++ # unused ++ TIMEOUT=20 ++ while [ $TIMEOUT -ge 0 ]; do ++ [ `cat /sys/module/btusb/refcnt` = 0 ] && break ++ TIMEOUT=$((TIMEOUT-1)) ++ sleep 0.1 ++ done + else + savestate ibm_bluetooth disable + fi +-- +1.7.2.3 + diff --git a/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-disable-sata-alpm.patch b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-disable-sata-alpm.patch new file mode 100644 index 0000000000..7b5494932c --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-disable-sata-alpm.patch @@ -0,0 +1,26 @@ +Description: Disable SATA link power management by default, as it still causes disk errors and corruptions on many hardware. +Author: Martin Pitt +Bug-Ubuntu: https://launchpad.net/bugs/539467 + +Index: pm-utils/pm/power.d/sata_alpm +=================================================================== +--- pm-utils.orig/pm/power.d/sata_alpm 2011-02-01 15:53:09.164867778 +0100 ++++ pm-utils/pm/power.d/sata_alpm 2011-02-01 15:53:28.954867786 +0100 +@@ -2,7 +2,7 @@ + + . "${PM_FUNCTIONS}" + +-SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-true} ++SATA_ALPM_ENABLE=${SATA_ALPM_ENABLE:-false} + + help() { + cat < +To: submit@bugs.debian.org +Subject: [pm-utils] wrong path in intel-audio-powersave (and a small bug) +Date: Sat, 25 Sep 2010 11:27:30 +0200 + +In the script intel-audio-powersave is this loop + +for dev in /sys/module/snd_*/parameters/power_save; do + [ -w "$dev/parameters/power_save" ] || continue + printf "Setting power savings for $s to %d..." "$dev##*/" "$1" + echo $1 > "$dev/parameters/power_save" && echo Done. || echo Failed. +done + +I think it should be + +for dev in /sys/module/snd_*; do + [ -w "$dev/parameters/power_save" ] || continue + printf "Setting power savings for %s to %d..." "${dev##*/}" "$1" + echo $1 > "$dev/parameters/power_save" && echo Done. || echo Failed. +done + + +This fixes the two bugs. + +diff --git a/pm/power.d/intel-audio-powersave b/pm/power.d/intel-audio-powersave +index 36675a8..da63e40 100644 +--- a/pm/power.d/intel-audio-powersave ++++ b/pm/power.d/intel-audio-powersave +@@ -20,9 +20,9 @@ EOF + + audio_powersave() { + [ "$INTEL_AUDIO_POWERSAVE" = "true" ] || exit $NA +- for dev in /sys/module/snd_*/parameters/power_save; do ++ for dev in /sys/module/snd_*; do + [ -w "$dev/parameters/power_save" ] || continue +- printf "Setting power savings for $s to %d..." "$dev##*/" "$1" ++ printf "Setting power savings for %s to %d..." "${dev##*/}" "$1" + echo $1 > "$dev/parameters/power_save" && echo Done. || echo Failed. + done + } diff --git a/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-logging-append.patch b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-logging-append.patch new file mode 100644 index 0000000000..987e0570a9 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/gentoo/1.4.1-logging-append.patch @@ -0,0 +1,19 @@ +Author: James Westby +Description: Do not clear the log file on each operation, but instead append to it. + This makes debugging of several suspends much easier. +Bug: https://bugs.freedesktop.org/show_bug.cgi?id=25255 +Bug-Ubuntu: https://launchpad.net/bugs/410352 + +Index: pm-utils/pm/pm-functions.in +=================================================================== +--- pm-utils.orig/pm/pm-functions.in 2010-07-05 18:41:21.118322244 +0200 ++++ pm-utils/pm/pm-functions.in 2010-07-05 18:41:24.126325221 +0200 +@@ -271,7 +271,7 @@ + return 1 + fi + export LOGGING=true +- exec > "$1" 2>&1 ++ exec >> "$1" 2>&1 + } + + check_suspend() { [ -n "$SUSPEND_MODULE" ]; } diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/000kernel-change b/hardware/powermanagement/pm-utils/files/pisilinux/000kernel-change new file mode 100644 index 0000000000..5bea616e39 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/000kernel-change @@ -0,0 +1,8 @@ +#!/bin/sh + +# Check for and abort a hibernate if the kernel indicates it has been +# updated, as we will be completly unable to resume. +if [ "$1" = "hibernate" ] && [ -f "/run/do-not-hibernate" ]; then + echo "kernel update inhibits hibernate (/run/do-not-hibernate present)" + exit 1 +fi diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/00plymouthd b/hardware/powermanagement/pm-utils/files/pisilinux/00plymouthd new file mode 100644 index 0000000000..657bf14f07 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/00plymouthd @@ -0,0 +1,24 @@ +#!/bin/sh +# Launch plymouth daemon if necessary + +. "${PM_FUNCTIONS}" + +# Fail if no plymouthd +command_exists plymouthd || exit $NA + +# Check for splash parameter in /proc/cmdline +grep -qw "splash" /proc/cmdline || exit $NA + +launch_plymouthd() +{ + /sbin/plymouthd --mode=suspend + return 0 +} + +case "$1" in + hibernate|suspend) + launch_plymouthd + ;; + *) exit $NA + ;; +esac diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/99hd-apm-restore b/hardware/powermanagement/pm-utils/files/pisilinux/99hd-apm-restore new file mode 100644 index 0000000000..761f730c11 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/99hd-apm-restore @@ -0,0 +1,71 @@ +#!/bin/bash +# vim:noexpandtab +# +# Author: Till Maas +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +source "${PM_FUNCTIONS}" +source /etc/pm/config.d/hd-apm-restore.conf + +HD_APM_DEVICES="" +for udi in $(hal-find-by-capability --capability storage) +do + drive_type=$(hal-get-property --udi "${udi}" --key storage.drive_type) + if [ "${drive_type}" == "disk" ] + then + HD_APM_DEVICES+="$(hal-get-property --udi "${udi}" --key block.device | sed 's,^/dev/,,') " + + fi +done + +case "$1" in + hibernate|suspend) + for DEVICE in ${HD_APM_DEVICES} + do + HD_APM_FEATURE=$(hdparm -I "/dev/${DEVICE}" | grep "Advanced Power Management feature set") + if [[ "${HD_APM_FEATURE}" != "" ]] + then + if (echo "${HD_APM_FEATURE}" | grep -q "*" ) + then + HD_APM_LEVEL=$(hdparm -I "/dev/${DEVICE}" | grep "Advanced power management level" | cut -d" " -f 5) + else + HD_APM_LEVEL=255 + fi + if [[ "${HD_APM_LEVEL}" != "unknown" ]] + then + echo "saving level ${HD_APM_LEVEL} for device ${DEVICE}" + savestate "${DEVICE}" "${HD_APM_LEVEL}" + else + echo "Advanced Power Management value of device ${DEVICE} unknown" + fi + else + echo "Advanced Power Management not supported by device ${DEVICE}." + fi + done + ;; + thaw|resume) + for DEVICE in ${HD_APM_DEVICES} + do + HD_APM_LEVEL=$(restorestate "${DEVICE}") + if [[ "${HD_APM_LEVEL}" != "" ]] + then + echo "restoring level ${HD_APM_LEVEL} for device ${DEVICE}" + hdparm -B "${HD_APM_LEVEL}" "/dev/${DEVICE}" + fi + done + ;; + *) + ;; +esac + +exit $? diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/check-for-swap-partition.patch b/hardware/powermanagement/pm-utils/files/pisilinux/check-for-swap-partition.patch new file mode 100644 index 0000000000..248383a88e --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/check-for-swap-partition.patch @@ -0,0 +1,26 @@ +Index: pm-utils-1.4.1/pm/module.d/uswsusp +=================================================================== +--- pm-utils-1.4.1.orig/pm/module.d/uswsusp ++++ pm-utils-1.4.1/pm/module.d/uswsusp +@@ -82,6 +82,7 @@ fi + if [ -z "$HIBERNATE_MODULE" ] && \ + [ -f /sys/power/disk ] && \ + grep -q disk /sys/power/state && \ ++ grep -q "resume=" /proc/cmdline && \ + [ -c /dev/snapshot ] && + command_exists s2disk; then + HIBERNATE_MODULE="uswsusp" +Index: pm-utils-1.4.1/pm/pm-functions.in +=================================================================== +--- pm-utils-1.4.1.orig/pm/pm-functions.in ++++ pm-utils-1.4.1/pm/pm-functions.in +@@ -306,7 +306,8 @@ fi + + if [ -z "$HIBERNATE_MODULE" ] && \ + [ -f /sys/power/disk ] && \ +- grep -q disk /sys/power/state; then ++ grep -q disk /sys/power/state && \ ++ grep -q "resume=" /proc/cmdline; then + HIBERNATE_MODULE="kernel" + do_hibernate() + { diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/disable-powersave.patch b/hardware/powermanagement/pm-utils/files/pisilinux/disable-powersave.patch new file mode 100644 index 0000000000..1870d80d79 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/disable-powersave.patch @@ -0,0 +1,99 @@ +Index: pm-utils-1.4.1/configure.ac +=================================================================== +--- pm-utils-1.4.1.orig/configure.ac ++++ pm-utils-1.4.1/configure.ac +@@ -41,7 +41,6 @@ man/Makefile + src/Makefile + pm/Makefile + pm/sleep.d/Makefile +-pm/power.d/Makefile + pm/module.d/Makefile + ]) + +Index: pm-utils-1.4.1/man/Makefile.am +=================================================================== +--- pm-utils-1.4.1.orig/man/Makefile.am ++++ pm-utils-1.4.1/man/Makefile.am +@@ -2,7 +2,6 @@ pm_mans = \ + on_ac_power.1 \ + pm-is-supported.1 \ + pm-pmu.8 \ +- pm-powersave.8 \ + pm-action.8 + + if HAVE_XMLTO +@@ -13,7 +12,6 @@ EXTRA_DIST = \ + on_ac_power.xml \ + pm-pmu.xml \ + pm-is-supported.xml \ +- pm-powersave.xml \ + pm-action.xml \ + $(pm_mans) + +Index: pm-utils-1.4.1/pm/sleep.d/Makefile.am +=================================================================== +--- pm-utils-1.4.1.orig/pm/sleep.d/Makefile.am ++++ pm-utils-1.4.1/pm/sleep.d/Makefile.am +@@ -2,8 +2,7 @@ sleepdir = $(libdir)/pm-utils/sleep.d + + sleep_SCRIPTS = \ + 00logging \ +- 00powersave \ +- 01grub \ ++ 01grub \ + 49bluetooth \ + 55NetworkManager \ + 75modules \ +Index: pm-utils-1.4.1/pm/Makefile.am +=================================================================== +--- pm-utils-1.4.1.orig/pm/Makefile.am ++++ pm-utils-1.4.1/pm/Makefile.am +@@ -1,6 +1,5 @@ + SUBDIRS = \ + sleep.d \ +- power.d \ + module.d + + pm_libdir = $(libdir)/pm-utils +Index: pm-utils-1.4.1/pm/HOWTO.hooks +=================================================================== +--- pm-utils-1.4.1.orig/pm/HOWTO.hooks ++++ pm-utils-1.4.1/pm/HOWTO.hooks +@@ -24,12 +24,6 @@ The actual sleep method being used will + if your hook needs to handle suspend-hybrid (or any other platform-specific + sleep method), it should examine the second parameter. + +-For hooks in power.d, the potential values of that parameter are: +-true -- the hook MUST perform whatever action is appropriate when the system +- transitions TO battery power. +-false -- The hook MUST perform whatever action is appropriate when the system +- transitions FROM battery power. +- + NAMING SCHEME + + All hooks are run in lexical sort order according to the C locale. +@@ -44,8 +38,7 @@ Any other return code is interpreted by + from the hook that it should abort whatever it is doing. When running sleep.d + hooks, that means that pm-utils stops running hooks, aborts the suspend/resume + process, calls any hooks that ran successfully prior to this one with the +-appropriate wakeup options, and exits with a non-zero exit code. When running +-power.d hooks, any hooks after this one will be skipped. ++appropriate wakeup options, and exits with a non-zero exit code. + + SLEEP.D SPECIFIC NOTES + +Index: pm-utils-1.4.1/src/Makefile.am +=================================================================== +--- pm-utils-1.4.1.orig/src/Makefile.am ++++ pm-utils-1.4.1/src/Makefile.am +@@ -16,9 +16,7 @@ bin_SCRIPTS = pm-is-supported + + dist_bin_SCRIPTS = on_ac_power + +-sbin_SCRIPTS = pm-powersave +- +-script_in_files = pm-action.in pm-is-supported.in pm-powersave.in service ++script_in_files = pm-action.in pm-is-supported.in service + + CLEANFILES = $(script_in_files:.in=) + diff --git a/hardware/powermanagement/pm-utils/files/pisilinux/hd-apm-restore.conf b/hardware/powermanagement/pm-utils/files/pisilinux/hd-apm-restore.conf new file mode 100644 index 0000000000..4b68f33332 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/pisilinux/hd-apm-restore.conf @@ -0,0 +1,12 @@ +# Config file for hd-apm-restore hook + +# Devices, where the hd apm value should be restored, separated by space +#HD_APM_DEVICES="sda" + +# Use this to overwrite a value for a device in case hdparm reports +# "unknown value" for the apm level. This is ignored when hdparm +# returns an other value. +#savestate sda 192 +#savestate sdb 192 +#savestate sdc 192 +#savestate sdd 192 diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/config.d/rtcwake.config b/hardware/powermanagement/pm-utils/files/suse/hooks/config.d/rtcwake.config new file mode 100644 index 0000000000..2126a9e95f --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/config.d/rtcwake.config @@ -0,0 +1,25 @@ +# This file configures the ability to wake from suspend or hibernate +# at a given time. It is used in conjunction with the 02rtcwake hook. + +# Whether to respect the user-passed-in num_seconds_to_sleep +# If off, then the system configuration (below) will be used even if +# the user passes in a num_seconds_to_sleep. +#USER_RTCWAKE_ALLOWED="no" +USER_RTCWAKE_ALLOWED="yes" + +# Should we wake up from suspend on a given time? +# if those are set to "no", the configuration values below have no effect. +#SUSPEND_RTCWAKE_ENABLED="yes" +#HIBERNATE_RTCWAKE_ENABLED="yes" +SUSPEND_RTCWAKE_ENABLED="no" +HIBERNATE_RTCWAKE_ENABLED="no" + +# Time to wake up in local, 24-hour time +#RTCWAKE_TIME="22:30" +#RTCWAKE_TIME="9:00" + +# Days to wake up (1=monday, 7=sunday), in increasing order, +# with a single space between each day +#RTCWAKE_DAYS="1 2 3 4 5" +#RTCWAKE_DAYS="1 3 5" +#RTCWAKE_DAYS="1 2 3 4 5 6 7" diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/01grub b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/01grub new file mode 100644 index 0000000000..af5d4bb3f4 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/01grub @@ -0,0 +1,202 @@ +#!/bin/bash +# +# Stefan Seyfried, SUSE Linux Products GmbH 2006, GPL v2 +# mostly taken from the powersave project. + +GRUBONCE="/usr/sbin/grubonce" +GRUBDEFAULT="/boot/grub/default" +GRUBDEFSAVE="/run/suspend.grubonce.default" + +##################################################################### +# gets a list of available kernels from /boot/grub/menu.lst +# kernels are in the array $KERNELS, output to stdout to be eval-ed. +getkernels() +{ + # DEBUG "Running getkernels()" INFO + local MENU_LST="/boot/grub/menu.lst" + local I DUMMY MNT ROOTDEV + declare -i I=0 J=-1 + + # we need the root partition later to decide if this is the kernel to select + while read ROOTDEV MNT DUMMY; do + [ "$ROOTDEV" = "rootfs" ] && continue # not what we are searching for + if [ "$MNT" = "/" ]; then + break + fi + done < /proc/mounts + + # build an array KERNELS with all the kernels in /boot/grub/menu.lst + # the array MENU_ENTRIES contains the corresponding menu entry numbers + # DEFAULT_BOOT contains the default entry. + while read LINE; do + case $LINE in + title*) + let J++ # increase for every menu entry, even for non-linux + # DEBUG "Found grub menu entry #${J}: '${LINE}'" INFO + ;; + default*) + DUMMY=($LINE) # "default 0 #maybe a comment" + echo "DEFAULT_BOOT=${DUMMY[1]}" # ^^[0]^^ 1 ^^[2]^ 3 ^^[4]^^ + # DEBUG "Default boot entry is '${DUMMY[1]}'" INFO + ;; + kernel*noresume*) + # we probably found the "failsafe" kernel that won't resume... + echo " Skipping grub entry #${J}, because it has the noresume option" >&2 + ;; + kernel*root=*) + local ROOT + ROOT=${LINE#*root=} + DUMMY=($ROOT) + ROOT=${DUMMY[0]} + if [ "$(echo $ROOT | grep LABEL)" ]; then + LABEL=`echo $ROOT | cut -d"=" -f2` + ROOT=`readlink -f /dev/disk/by-label/$LABEL` + elif [ "$(echo $ROOT | grep UUID)" ]; then + UUID=`echo $ROOT | cut -d"=" -f2` + ROOT=`readlink -f /dev/disk/by-uuid/$UUID` + fi + if [ "$(stat -Lc '%t:%T' $ROOT)" != "$(stat -Lc '%t:%T' $ROOTDEV)" ]; then + echo " Skipping grub entry #${J}, because its root= parameter ($ROOT)" >&2 + echo " does not match the current root device ($ROOTDEV)." >&2 + continue + fi + DUMMY=($LINE) # kernel (hd0,1)/boot/latestkernel-ABC root=/dev/hda2 + echo "KERNELS[$I]='${DUMMY[1]##*/}'" # latestkernel-ABC + echo "MENU_ENTRIES[$I]=$J" + # DEBUG "Found kernel entry #${I}: '${DUMMY[1]##*/}'" INFO + let I++ + ;; + kernel*) + # a kernel without "root="? We better skip that one... + echo " Skipping grub entry #${J}, because it has no root= option" >&2 + ;; + *) ;; + esac + done < $MENU_LST +} + +############################################################# +# runs grubonce from the grub package to select which kernel +# to boot on next startup +grub-once() +{ + if [ -x "$GRUBONCE" ]; then + rm -f "$GRUBDEFSAVE" + if [ -e "$GRUBDEFAULT" ]; then + echo " saving original $GRUBDEFAULT" + cp "$GRUBDEFAULT" "$GRUBDEFSAVE" + fi + echo " running '$GRUBONCE $1'" + $GRUBONCE $1 + else + echo "WARNING: $GRUBONCE not found, not preparing bootloader" + fi +} + +############################################################# +# restore grub default after (eventually failed) resume +grub-once-restore() +{ + echo "INFO: running grub-once-restore" + rm -f "$GRUBDEFAULT" + if [ -e "$GRUBDEFSAVE" ]; then + echo " restoring original $GRUBDEFAULT" + mv "$GRUBDEFSAVE" "$GRUBDEFAULT" + fi +} + +############################################################################# +# try to find a kernel image that matches the actually running kernel. +# We need this, if more than one kernel is installed. This works reasonably +# well with grub, if all kernels are named "kernel-`uname -r`" and are +# located in /boot. If they are not, good luck ;-) +find-kernel-entry() +{ + NEXT_BOOT=-1 + ARCH=`uname -m` + declare -i I=0 + # DEBUG "running kernel: $RUNNING" DIAG + while [ -n "${KERNELS[$I]}" ]; do + BOOTING="${KERNELS[$I]}" + if IMAGE=`readlink /boot/$BOOTING` && [ -e "/boot/${IMAGE##*/}" ]; then + # DEBUG "Found kernel symlink $BOOTING => $IMAGE" INFO + BOOTING=$IMAGE + fi + case $ARCH in + ppc*) BOOTING="${BOOTING#*vmlinux-}" ;; + *) BOOTING="${BOOTING#*kernel-}" ;; + esac + if [ "$RUNNING" == "$BOOTING" ]; then + NEXT_BOOT=${MENU_ENTRIES[$I]} + echo " running kernel is grub menu entry $NEXT_BOOT (${KERNELS[$I]})" + break + fi + let I++ + done + # if we have not found a kernel, issue a warning. + # if we have found a kernel, we'll do "grub-once" later, after + # prepare_suspend finished. + if [ $NEXT_BOOT -eq -1 ]; then + echo "WARNING: no kernelfile matching the running kernel found" + fi +} + +############################################################################# +# if we did not find a kernel (or BOOT_LOADER is not GRUB) check, +# if the running kernel is still the one that will (probably) be booted for +# resume (default entry in menu.lst or, if there is none, the kernel file +# /boot/latestkernel points to.) +# This will only work, if you use "original" SUSE kernels. +# you can always override with the config variable set to "yes" +prepare-grub() +{ + echo "INFO: running prepare-grub" + eval `getkernels` + RUNNING=`uname -r` + find-kernel-entry + + RET=0 + + if [ $NEXT_BOOT -eq -1 ]; then + # which kernel is booted with the default entry? + BOOTING="${KERNELS[$DEFAULT_BOOT]}" + # if there is no default entry (no menu.lst?) we fall back to + # the default of /boot/latestkernel. + [ -z "$BOOTING" ] && BOOTING="latestkernel" + if IMAGE=`readlink /boot/$BOOTING` && [ -e "/boot/${IMAGE##*/}" ]; then + BOOTING=$IMAGE + fi + BOOTING="${BOOTING#*kernel-}" + echo "running kernel: '$RUNNING', probably booting kernel: '$BOOTING'" + if [ "$BOOTING" != "$RUNNING" ]; then + echo "ERROR: kernel version mismatch, cannot suspend to disk" + echo "running: $RUNNING booting: $BOOTING" >> $INHIBIT + RET=1 + fi + else + # set the bootloader to the running kernel + echo " preparing boot-loader: selecting entry $NEXT_BOOT, kernel /boot/$BOOTING" + T1=`date +"%s%N"` + sync; sync; sync # this is needed to speed up grub-once on reiserfs + T2=`date +"%s%N"` + echo " grub-once: `grub-once $NEXT_BOOT`" + T3=`date +"%s%N"` + S=$(((T2-T1)/100000000)); S="$((S/10)).${S:0-1}" + G=$(((T3-T2)/100000000)); G="$((G/10)).${G:0-1}" + echo " time needed for sync: $S seconds, time needed for grub: $G seconds." + fi + + return $RET +} + + +###### main() + +case $1 in + hibernate) + prepare-grub + ;; + thaw) + grub-once-restore + ;; +esac diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/02rtcwake b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/02rtcwake new file mode 100644 index 0000000000..4ae776d1ac --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/02rtcwake @@ -0,0 +1,106 @@ +#!/bin/sh +# +# Written by Gabriel Burt +# Copyright 2008 Novell, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of version 2 of the GNU General Public License as +# published by the Free Software Foundation. +# +# Use rtcwake to wake the computer from sleep or hibernate +# as configured in /etc/pm/config.d/rtcwake.config + +. "${PM_FUNCTIONS}" + +rtcwake_cmd="/usr/sbin/rtcwake"; + +command_exists $rtcwake_cmd || exit $NA + +rtcwake_config_file="/etc/pm/config.d/rtcwake.conf" + +function start_of_day { + echo `date -d "$1" "+%D"` +} + +function since_epoch { + echo `date -d "$1" "+%s"` +} + +function day_of_week { + echo `date -d "$1" "+%u"` +} + +function isAlarmDow { + is=0 + for dow in $RTCWAKE_DAYS; do + if test "x$dow" = "x$1"; then + is=1; + break; + fi + done + echo $is +} + +function set_alarm +{ + # If USER_RTCWAKE_ALLOWED is yes and the user passed in a num_seconds_to_sleep variable, then + # we will respect it (and ignore the system config) + # Do require that the number of seconds is at least 30 though. + if test "x$USER_RTCWAKE_ALLOWED" != "xno" && test "x$NUM_SECONDS_TO_SLEEP" != "x" && test $(($NUM_SECONDS_TO_SLEEP > 30)) == 1; then + echo "Have NUM_SECONDS_TO_SLEEP: $NUM_SECONDS_TO_SLEEP"; + # Actually set/configure the rtcwake + sh -c "$rtcwake_cmd -m on -s $NUM_SECONDS_TO_SLEEP &" + elif test "x$1" = "xyes"; then + echo "alarm enabled, configuring rtcwake..."; + echo "RTCWAKE time: $RTCWAKE_TIME"; + echo "RTCWAKE days: $RTCWAKE_DAYS"; + + next_alarm=0 + now=$(since_epoch now); + # The next alarm has to be at most 7 days from now + for days_from_now in 0 1 2 3 4 5 6 7; do + # Get the date N days from now + alarm_day=$(start_of_day "$days_from_now day"); + + # Check that this day is an alarm-enabled day of the week + alarm_dow=$(day_of_week $alarm_day); + is_alarm_dow=$(isAlarmDow $alarm_dow); + if test "x$is_alarm_dow" = "x1"; then + # Get the actual alarm time on that day + alarm_time=$(since_epoch "$alarm_day $RTCWAKE_TIME"); + + # Ensure the alarm time is more than 15 minutes from now + # - otherwise we set the alarm for the next slot + # 900 seconds = 15 minutes * 60 seconds/minute + is_enough_in_future=$(($alarm_time - $now > 900)); + if test "x$is_enough_in_future" = "x1"; then + next_alarm=$alarm_time + break; + fi + fi + done + + if test "x$next_alarm" != "x0"; then + # Recalculate now to be as accurate as possible + now=$(since_epoch now); + seconds_from_now=$(($next_alarm - $now)); + echo "Will set alarm for $seconds_from_now seconds from now, at $alarm_day $RTCWAKE_TIME ($next_alarm)" + + # Actually set/configure the rtcwake + sh -c "$rtcwake_cmd -m on -s $seconds_from_now &" + else + echo "No acceptable time found to set the rtcwake alarm. Review your configuration in $rtcwake_config_file" + exit $NA + fi + else + echo "rtcwake alarm not enabled in $rtcwake_config_file, doing nothing..."; + exit $NA + fi +} + + +case "$1" in + suspend) set_alarm $SUSPEND_RTCWAKE_ENABLED ;; + hibernate) set_alarm $HIBERNATE_RTCWAKE_ENABLED ;; + *) exit $NA ;; +esac diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/30s2disk-check b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/30s2disk-check new file mode 100644 index 0000000000..77d6691ec3 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/30s2disk-check @@ -0,0 +1,162 @@ +#!/bin/bash +# +# Stefan Seyfried, SUSE Linux Products GmbH, 2006 +# mostly taken from the powersave project + +. "${PM_FUNCTIONS}" + +# sanity check the environment if resume will be possible after hibernate +checkhibernate() +{ + echo "INFO: checking for suspend-to-disk prerequisites..." + if [ -z "$IMAGE_SIZE" ]; then + IMAGE_SIZE="`awk '/^MemTotal:/ { print int($2*1024*.45) }' /proc/meminfo`" + fi + # Default to partition style hibernation + SWAP_TYPE=partition + + read CMDLINE < /proc/cmdline + for CMD in $CMDLINE; do + case $CMD in + resume=*) + RESUME=${CMD#*=} + ;; + resume_offset=*) + # Swap type is file as resume_offset is given + SWAP_TYPE=file + ;; + esac + done + + if [ -z "$RESUME" ]; then + # No resume= given in /proc/cmdline, failing. + echo "ERROR: no resume parameter on kernel commandline, can not suspend" + echo "no resume parameter on kernel commandline" >> $INHIBIT + return 1 + fi + if [ "$SWAP_TYPE" = file ] && [ "$SLEEP_MODULE" = "uswsusp" ]; then + # File-style hibernating is not supported by uswsusp + echo "ERROR: You must use the kernel hibernate method or tuxonice when suspending to swapfile, not uswsusp" + echo "suspend to swapfile with uswsusp method not kernel" >> $INHIBIT + return 1 + fi + + # the resume device can be a symlink, e.g. with LVM/EVMS or with + # /dev/disk/by-id/foo + RESUME=$(readlink -f $RESUME) + + OK= + while read DEV TYPE SIZE USED PRI; do + if [ "$TYPE" = "file" ] && [ "$SWAP_TYPE" = "file" ] && [ "$RESUME" = "$(df "$DEV" | tail -n +2 | cut -d ' ' -f 1)" ]; then + OK=1 + break + fi + [ "$TYPE" != "partition" ] && continue + [ "$DEV" != "$RESUME" ] && continue + FREE=$[($SIZE-$USED)*1024] # get free space on DEV + if [ $FREE -lt $IMAGE_SIZE ]; then + IMAGE_SIZE=$[$FREE-10*1024*1024] + fi + OK=1 + break # we found the partition, no need to look further + done < /proc/swaps + + if [ -z "$OK" ]; then + if [ "$SWAP_TYPE" = "file" ]; then + MSG_TYPE="swap file" + else + MSG_TYPE="resume partition" + fi + echo "ERROR: $MSG_TYPE '$RESUME' not active, can not suspend" + echo "$MSG_TYPE '$RESUME' not active" >> $INHIBIT + return 1 + fi + + if [ "$SLEEP_MODULE" = "kernel" ]; then + echo " using kernel suspend method" + read DEV < /sys/power/resume + if [ "$DEV" = "0:0" ]; then + echo "ERROR: no resume partition set up in /sys/power/resume" + # maybe "resume=..." was given, but initrd did not set up + # /sys/power/resume correctly. + echo "resume device not correctly setup in /sys/power/resume" >> \ + $INHIBIT + return 1 + fi + + X=$(stat -Lc '$((0x%t)):$((0x%T))' $RESUME) + RDEV=$(eval echo $X) + if [ "$DEV" != "$RDEV" ]; then + echo "ERROR: /sys/power/resume ($DEV) disagrees with resume= parameter ($RDEV)" + echo " can not suspend." + echo "/sys/power/resume disagrees with resume= parameter" >> \ + $INHIBIT + return 1 + fi + if [ -n "$IMAGE_SIZE" -a -w /sys/power/image_size ]; then + echo " setting image size to $IMAGE_SIZE" + echo "$IMAGE_SIZE" > /sys/power/image_size 2>/dev/null + fi + fi + + if [ "$SLEEP_MODULE" = "uswsusp" ]; then + echo " using userspace suspend method, temp. config file $S2DISK_CONF" + if [ "$S2DISK_CONF" != "/etc/suspend.conf" ]; then + rm -f $S2DISK_CONF + # Generate S2DISK_CONF + echo " setting resume device to $RESUME" + echo "resume device = $RESUME" >> $S2DISK_CONF + if [ -n "$IMAGE_SIZE" ]; then + echo " setting image size to $IMAGE_SIZE" + echo "image size = $IMAGE_SIZE" >> $S2DISK_CONF + fi + # add the parameters from /etc/suspend.conf to /var/lib/s2disk.conf + if [ -e /etc/suspend.conf ]; then + echo "# parameters taken from /etc/suspend.conf:" >> $S2DISK_CONF + sed '/^[[:space:]]*\(#\|$\)/d;' /etc/suspend.conf >> $S2DISK_CONF + echo " adding these parameters from /etc/suspend.conf:" + sed '/^[[:space:]]*\(#\|$\)/d;s/^/ /;' /etc/suspend.conf + fi + else + # don't overwrite the user's config file, but warn about the issue + echo "WARNING: S2DISK_CONF is set to /etc/suspend.conf" + echo " Disabling automatic generation of config file." + echo " This is most likely a configuration error and will cause problems" + echo " unless you configure /etc/suspend.conf completely on your own!" + fi + fi + return 0 +} + +# this only makes sense on hibernate or on suspend-hybrid +case $1 in + hibernate) + ;; + suspend) + if [ "$2" != suspend_hybrid ]; then + exit 0 + fi + ;; + *) + exit $NA + ;; +esac + +[ -e /etc/pm/config.d/$1 ] && . /etc/pm/config.d/$1 + +if [ -z "$SLEEP_MODULE" ]; then + # Decide the SLEEP_MODULE if not given + if [ -x /usr/sbin/s2disk -a -c /dev/snapshot ]; then + SLEEP_MODULE="uswsusp" + else + SLEEP_MODULE="kernel" + fi +fi + +if ! checkhibernate; then + echo "WARNING: $INHIBIT will be created to prevent suspending!" + touch $INHIBIT + exit 1 +fi + +exit 0 diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/45pcmcia b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/45pcmcia new file mode 100644 index 0000000000..3a4923e143 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/45pcmcia @@ -0,0 +1,21 @@ +#!/bin/bash + +. "${PM_FUNCTIONS}" + +command_exists /sbin/pccardctl || exit $NA + +case "$1" in + hibernate|suspend) + echo "ejecting PCMCIA cards..." + /sbin/pccardctl eject + ;; + thaw|resume) + echo "inserting PCMCIA cards..." + /sbin/pccardctl insert + ;; + *) exit $NA + ;; +esac + + +exit 0 diff --git a/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/75ndiswrapper b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/75ndiswrapper new file mode 100644 index 0000000000..27b34bb6db --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/hooks/sleep.d/75ndiswrapper @@ -0,0 +1,15 @@ +#!/bin/bash +# The ndiswrapper hook - relead the ndiswrapper module + +. "${PM_FUNCTIONS}" + +command_exists /usr/sbin/ndiswrapper || return $NA + +case "$1" in + resume|thaw) + modprobe -r ndiswrapper + modprobe ndiswrapper + ;; + *) exit $NA + ;; +esac diff --git a/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.2.6.1-fix-broken-dbus-send.diff b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.2.6.1-fix-broken-dbus-send.diff new file mode 100644 index 0000000000..466291ba3f --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.2.6.1-fix-broken-dbus-send.diff @@ -0,0 +1,20 @@ +Index: pm-utils-1.4.1/pm/sleep.d/55NetworkManager +=================================================================== +--- pm-utils-1.4.1.orig/pm/sleep.d/55NetworkManager 2010-09-20 11:12:23.750155840 +0200 ++++ pm-utils-1.4.1/pm/sleep.d/55NetworkManager 2010-09-20 11:12:25.610155850 +0200 +@@ -13,6 +13,7 @@ + # Tell NetworkManager to shut down networking + printf "Having NetworkManager put all interaces to sleep..." + dbus_send --system \ ++ --print-reply --reply-timeout=200 \ + --dest=org.freedesktop.NetworkManager \ + /org/freedesktop/NetworkManager \ + org.freedesktop.NetworkManager.sleep && \ +@@ -25,6 +26,7 @@ + printf "Having NetworkManager wake interfaces back up..." + dbus_send --system \ + --dest=org.freedesktop.NetworkManager \ ++ --print-reply --reply-timeout=200 \ + /org/freedesktop/NetworkManager \ + org.freedesktop.NetworkManager.wake && \ + echo Done. || echo Failed. diff --git a/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.3.0-suse-smart-uswsusp.patch b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.3.0-suse-smart-uswsusp.patch new file mode 100644 index 0000000000..dbbda1d58f --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.3.0-suse-smart-uswsusp.patch @@ -0,0 +1,142 @@ +--- + pm/defaults | 20 +++++++++++++++- + pm/module.d/uswsusp | 64 +++++++++++++++++++++++++++++++++++++++++++++++----- + 2 files changed, 78 insertions(+), 6 deletions(-) + +Index: pm-utils-1.3.0/pm/defaults +=================================================================== +--- pm-utils-1.3.0.orig/pm/defaults 2009-06-14 03:56:08.000000000 +0200 ++++ pm-utils-1.3.0/pm/defaults 2010-05-06 09:27:09.228673127 +0200 +@@ -27,8 +27,26 @@ + # tuxonice If your system has support for tuxonice, use this. + # + # The system defaults to "kernel" if this is commented out. +-# SLEEP_MODULE="kernel" ++SLEEP_MODULE="uswsusp" + ++####################################################################### ++# the variables below here are specific to the SUSE package right now ++# and are used only if SLEEP_MODULE is uswsusp ++ ++# what options should be passed to s2ram? ++# see http://en.opensuse.org/S2ram for more information ++# If this option is set, it overrides S2RAM_QUIRKS_SOURCE below ++S2RAM_OPTS="" ++ ++# where should pm-utils get the s2ram quirks from? ++# s2ram - use the whitelist in s2ram, if the machine is known. ++# hal - ignored, exists only for comparibility purposes pm-utils 1.3.0+ has ++# HAL quirks built-in ++# everything else: try to be smart in figuring out the correct quirks. ++# if S2RAM_OPTS is set, it overrides S2RAM_QUIRKS_SOURCE! ++S2RAM_QUIRKS_SOURCE="" ++ ++####################################################################### + # These variables will be handled specially when we load files in + # /etc/pm/config.d. + # Multiple declarations of these environment variables will result in +Index: pm-utils-1.3.0/pm/module.d/uswsusp +=================================================================== +--- pm-utils-1.3.0.orig/pm/module.d/uswsusp 2009-12-11 05:36:38.000000000 +0100 ++++ pm-utils-1.3.0/pm/module.d/uswsusp 2010-05-06 09:27:37.540671614 +0200 +@@ -5,6 +5,7 @@ + uswsusp_hooks() + { + disablehook 99video "disabled by uswsusp" ++ disablehook 90chvt "disabled by uswsusp" + } + + # Since we disabled 99video, we need to take responsibility for proper +@@ -35,8 +36,52 @@ + # if we were told to ignore quirks, do so. + # This is arguably not the best way to do things, but... + [ "$QUIRK_NONE" = "true" ] && OPTS="" ++ S2RAM_OPTS="$S2RAM_OPTS $OPTS" ++ echo "INFO: S2RAM_OPTS from HAL quirks: '$S2RAM_OPTS'." + } + ++# this function tries to assemble the best s2ram options from various sources, falling back ++# to other methods... ++get_s2ram_opts() ++{ ++ # if S2RAM_OPTS is set - then use it. The user told us so. Obey his wish. ++ if [ -n "$S2RAM_OPTS" ]; then ++ echo "INFO: using user-supplied options: S2RAM_OPTS='$S2RAM_OPTS' for suspending." ++ return ++ fi ++ ++ # ... try to use s2ram as a source ++ if [ "$S2RAM_QUIRKS_SOURCE" = "s2ram" ]; then ++ if /usr/sbin/s2ram -n >/dev/null; then ++ echo "INFO: using s2ram built-in database, machine is supported." ++ return ++ else ++ echo "WARN: S2RAM_QUIRKS_SOURCE=s2ram, but machine is unknown, continuing..." ++ fi ++ fi ++ ++ # ... if is not known or not set as a source, use the built-in database ++ echo "INFO: using built-in quirks database from HAL." ++ uswsusp_get_quirks ++ if [ -n "$S2RAM_OPTS" ]; then ++ S2RAM_OPTS="--force "$S2RAM_OPTS ++ fi ++ ++ # ... in a case we still don't have any quirk, try s2ram for sure ++ if [ -z "$S2RAM_OPTS" ]; then ++ # ... machine could be in s2ram whitelist ++ if /usr/sbin/s2ram -n >/dev/null; then ++ echo "INFO: machine is in s2ram database, using it." ++ return; ++ else ++ # if we came here and S2RAM_OPTS is empty, suspend won't work :-( ++ echo "WARNING: smart uswsusp did not found any appropriate option, suspend probably don't work" ++ fi ++ fi ++ ++} ++ ++ + # Since we disabled 99video, we also need to handle displaying + # help info for the quirks we handle. + uswsusp_help() +@@ -70,8 +115,8 @@ + SUSPEND_MODULE="uswsusp" + do_suspend() + { +- uswsusp_get_quirks +- s2ram --force $OPTS ++ get_s2ram_opts ++ s2ram $S2RAM_OPTS + } + if [ "$METHOD" = "suspend" ]; then + add_before_hooks uswsusp_hooks +@@ -87,7 +132,12 @@ + HIBERNATE_MODULE="uswsusp" + do_hibernate() + { +- s2disk ++ get_s2ram_opts ++ if [ -z "${S2DISK_CONF}" ]; then ++ s2disk ++ else ++ s2disk --config $S2DISK_CONF ++ fi + } + fi + +@@ -98,8 +148,12 @@ + SUSPEND_HYBRID_MODULE="uswsusp" + do_suspend_hybrid() + { +- uswsusp_get_quirks +- s2both --force $OPTS ++ get_s2ram_opts ++ if [ -z "${S2DISK_CONF}" ]; then ++ s2both --force $S2RAM_OPTS ++ else ++ s2both --config $S2DISK_CONF $S2RAM_OPTS ++ fi + } + if [ "$METHOD" = "suspend_hybrid" ]; then + add_before_hooks uswsusp_hooks diff --git a/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.4.1-suse-config.patch b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.4.1-suse-config.patch new file mode 100644 index 0000000000..a1cc430573 --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/suse/pm-utils-1.4.1-suse-config.patch @@ -0,0 +1,27 @@ +--- + pm/defaults | 19 +++++++++++++++++++ + 1 file changed, 19 insertions(+) + +Index: pm-utils-1.4.1/pm/defaults +=================================================================== +--- pm-utils-1.4.1.orig/pm/defaults 2010-09-20 11:42:59.214155594 +0200 ++++ pm-utils-1.4.1/pm/defaults 2010-09-20 13:35:52.974279436 +0200 +@@ -30,7 +30,7 @@ + SLEEP_MODULE="uswsusp" + + ####################################################################### +-# the variables below here are specific to the SUSE package right now ++# those variables below SUSE pm-utils specific right now + # and are used only if SLEEP_MODULE is uswsusp + + # what options should be passed to s2ram? +@@ -46,6 +46,9 @@ + # if S2RAM_OPTS is set, it overrides S2RAM_QUIRKS_SOURCE! + S2RAM_QUIRKS_SOURCE="" + ++# the location of the autogenerated s2disk (s2both) config file ++S2DISK_CONF="/var/lib/s2disk.conf" ++ + ####################################################################### + # These variables will be handled specially when we load files in + # /etc/pm/config.d. diff --git a/hardware/powermanagement/pm-utils/files/tmpfiles.conf b/hardware/powermanagement/pm-utils/files/tmpfiles.conf new file mode 100644 index 0000000000..ae35eb718d --- /dev/null +++ b/hardware/powermanagement/pm-utils/files/tmpfiles.conf @@ -0,0 +1,2 @@ +d /run/pm-utils/locks 0755 root root +d /run/pm-utils/storage 0755 root root diff --git a/hardware/powermanagement/pm-utils/pspec.xml b/hardware/powermanagement/pm-utils/pspec.xml new file mode 100644 index 0000000000..c77c885fd4 --- /dev/null +++ b/hardware/powermanagement/pm-utils/pspec.xml @@ -0,0 +1,118 @@ + + + + + pm-utils + http://pm-utils.freedesktop.org/wiki/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + A toolset to suspend and hibernate computers + pm-utils provides simple shell command line tools to suspend and hibernate computers, and it that can be used to run vendor, distribution, or user supplied scripts on suspend and resume. + http://pm-utils.freedesktop.org/releases/pm-utils-1.4.1.tar.gz + http://pm-utils.freedesktop.org/releases/pm-quirks-20100619.tar.gz + + + + + xmlto + libxslt + util-linux + + + + pisilinux/check-for-swap-partition.patch + + + pisilinux/disable-powersave.patch + + + suse/pm-utils-1.2.6.1-fix-broken-dbus-send.diff + suse/pm-utils-1.3.0-suse-smart-uswsusp.patch + suse/pm-utils-1.4.1-suse-config.patch + + + gentoo/1.4.1-bluetooth-sync.patch + gentoo/1.4.1-disable-sata-alpm.patch + gentoo/1.4.1-fix-intel-audio-powersave-hook.patch + gentoo/1.4.1-logging-append.patch + + + + + pm-utils + + hdparm + vbetool + + + /etc/pm + /usr/lib + /run/pm-utils + /usr/share/doc + /usr/share/man + /usr/bin + /usr/sbin + /usr/lib/pkgconfig + /usr/lib/pm-utils/video-quirks + /usr/lib/tmpfiles.d/pm-utils.conf + + + tmpfiles.conf + + + suse/hooks/config.d/rtcwake.config + suse/hooks/sleep.d/30s2disk-check + suse/hooks/sleep.d/45pcmcia + + + + + + 2015-07-31 + 1.4.1 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-01-10 + 1.4.1 + Add tmpfiles.conf + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-26 + 1.4.1 + Fix hibernation issue, add some patches. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-03 + 1.4.1 + Fix suspend/hibernation issue + Marcin Bojara + marcin@pisilinux.org + + + 2011-04-05 + 1.4.1 + First release + Pisi Linux Admins + admins@pisilinux.org + + + \ No newline at end of file diff --git a/hardware/powermanagement/pm-utils/translations.xml b/hardware/powermanagement/pm-utils/translations.xml new file mode 100644 index 0000000000..f1447c1add --- /dev/null +++ b/hardware/powermanagement/pm-utils/translations.xml @@ -0,0 +1,8 @@ + + + + pm-utils + Askıya alma işlemleri için gerekli araçlar + pm-utils, bilgisayarı bellek veya disk kullanarak uyku kipine geçirmek ve devam ettirmek için gerekli kabuk betiklerini sunar. + + diff --git a/hardware/powermanagement/upower/actions.py b/hardware/powermanagement/upower/actions.py new file mode 100644 index 0000000000..4f99fb7ff3 --- /dev/null +++ b/hardware/powermanagement/upower/actions.py @@ -0,0 +1,27 @@ +#!/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(): + pisitools.dosed("configure", "DISABLE_DEPRECATED", deleteLine=True) + + autotools.configure("--disable-static \ + --disable-gtk-doc \ + --enable-deprecated \ + --enable-introspection") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("ChangeLog", "COPYING", "README") diff --git a/hardware/powermanagement/upower/files/add-tr.patch b/hardware/powermanagement/upower/files/add-tr.patch new file mode 100644 index 0000000000..31304f39c2 --- /dev/null +++ b/hardware/powermanagement/upower/files/add-tr.patch @@ -0,0 +1,8 @@ +--- upower-0.9.4.orig/po/LINGUAS ++++ upower-0.9.4/po/LINGUAS +@@ -3,4 +3,4 @@ + it + sv + pl +- ++tr diff --git a/hardware/powermanagement/upower/files/create-dir-runtime.patch b/hardware/powermanagement/upower/files/create-dir-runtime.patch new file mode 100644 index 0000000000..34340d44ec --- /dev/null +++ b/hardware/powermanagement/upower/files/create-dir-runtime.patch @@ -0,0 +1,34 @@ +From b9cff29978113aefe3ad18521f383f12ab099a34 Mon Sep 17 00:00:00 2001 +From: Cosimo Cecchi +Date: Tue, 25 Feb 2014 09:43:04 +0000 +Subject: Create the history directory at runtime + +In addition to build time - this increases compatibilty with OSTree, +which starts out with an empty /var. + +Signed-off-by: Richard Hughes +--- +diff --git a/src/up-history.c b/src/up-history.c +index f9d0fdf..795b093 100644 +--- a/src/up-history.c ++++ b/src/up-history.c +@@ -414,6 +414,7 @@ up_history_set_directory (UpHistory *history, const gchar *dir) + { + g_free (history->priv->dir); + history->priv->dir = g_strdup (dir); ++ g_mkdir_with_parents (dir, 0755); + } + + /** +@@ -887,7 +888,8 @@ up_history_init (UpHistory *history) + history->priv->data_time_full = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref); + history->priv->data_time_empty = g_ptr_array_new_with_free_func ((GDestroyNotify) g_object_unref); + history->priv->max_data_age = UP_HISTORY_DEFAULT_MAX_DATA_AGE; +- history->priv->dir = g_build_filename (HISTORY_DIR, NULL); ++ ++ up_history_set_directory (history, HISTORY_DIR); + } + + /** +-- +cgit v0.9.0.2-2-gbebe diff --git a/hardware/powermanagement/upower/files/fix-segfault.patch b/hardware/powermanagement/upower/files/fix-segfault.patch new file mode 100644 index 0000000000..3e89763207 --- /dev/null +++ b/hardware/powermanagement/upower/files/fix-segfault.patch @@ -0,0 +1,24 @@ +From 0d64bbddaa0078ef148d609a3cfad854cf00d7de Mon Sep 17 00:00:00 2001 +From: Martin Pitt +Date: Fri, 08 Nov 2013 13:59:50 +0000 +Subject: lib: Fix segfault on getting property when daemon is not running + +This fixes "upower --version" when the daemon is not running, and thus the +client proxy is NULL. +--- +diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c +index 35d7b5d..17fb02d 100644 +--- a/libupower-glib/up-client.c ++++ b/libupower-glib/up-client.c +@@ -322,6 +322,9 @@ up_client_get_property (GObject *object, + UpClient *client; + client = UP_CLIENT (object); + ++ if (client->priv->proxy == NULL) ++ return; ++ + switch (prop_id) { + case PROP_DAEMON_VERSION: + g_value_set_string (value, up_client_glue_get_daemon_version (client->priv->proxy)); +-- +cgit v0.9.0.2-2-gbebe diff --git a/hardware/powermanagement/upower/files/tr.po b/hardware/powermanagement/upower/files/tr.po new file mode 100644 index 0000000000..3f4a7b9920 --- /dev/null +++ b/hardware/powermanagement/upower/files/tr.po @@ -0,0 +1,93 @@ +# Turkish translation for devicekit-power. +# This file is distributed under the same license as the devicekit-power package. +# Ozan Çağlayan +# +msgid "" +msgstr "" +"Project-Id-Version: upower\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2009-09-06 09:41+0200\n" +"PO-Revision-Date: 2010-06-08 10:13+0100\n" +"Last-Translator: Ozan Çağlayan \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: ../policy/org.freedesktop.devicekit.power.policy.in.h:1 +msgid "Authentication is required to hibernate the system" +msgstr "Sistemi disk kullanarak askıya almak için yetki gerekiyor" + +#: ../policy/org.freedesktop.devicekit.power.policy.in.h:2 +msgid "Authentication is required to suspend the system" +msgstr "Sistemi bellek kullanarak askıya almak için yetki gerekiyor" + +#: ../policy/org.freedesktop.devicekit.power.policy.in.h:3 +msgid "Hibernate the system" +msgstr "Disk kullanarak askıya al" + +#: ../policy/org.freedesktop.devicekit.power.policy.in.h:4 +msgid "Suspend the system" +msgstr "Bellek kullanarak askıya al" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:1 +msgid "Authentication is required to cancel a latency request" +msgstr "Gecikme isteğinin iptali için yetki gerekiyor" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:2 +msgid "Authentication is required to set a persistent latency setting" +msgstr "Gecikmenin kalıcı olarak ayarlanması için yetki gerekiyor" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:3 +msgid "Authentication is required to set administrator settings for latency control" +msgstr "Gecikme denetimi için yönetimsel ayarların yapılması yetki gerektiriyor" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:4 +msgid "Authentication is required to set the required latency of an application" +msgstr "Uygulamanın gecikmesinin ayarlanması yetki gerektiriyor" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:5 +msgid "Cancel a latency request" +msgstr "Gecikme isteğini iptal et" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:6 +msgid "Set a persistent latency setting" +msgstr "Gecikmeyi kalıcı olarak ayarla" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:7 +msgid "Set administrator settings for latency control" +msgstr "Gecikme denetimi için yönetimsel ayarları yap" + +#: ../policy/org.freedesktop.devicekit.power.qos.policy.in.h:8 +msgid "Set the required latency of an application" +msgstr "Bir uygulamanın gecikmesini ayarla" + +#: ../src/dkp-main.c:134 +#: ../tools/dkp-tool.c:213 +msgid "Show extra debugging information" +msgstr "Ek hata ayıklama bilgileri göster" + +#: ../tools/dkp-tool.c:214 +msgid "Enumerate objects paths for devices" +msgstr "Aygıtlar için nesne yollarını sırala" + +#: ../tools/dkp-tool.c:215 +msgid "Dump all parameters for all objects" +msgstr "Tüm nesneler için parametreleri göster" + +#: ../tools/dkp-tool.c:216 +msgid "Get the wakeup data" +msgstr "Uyanma verisini al" + +#: ../tools/dkp-tool.c:217 +msgid "Monitor activity from the power daemon" +msgstr "Güç hizmeti etkinliklerini izle" + +#: ../tools/dkp-tool.c:218 +msgid "Monitor with detail" +msgstr "Detaylı izleme" + +#: ../tools/dkp-tool.c:219 +msgid "Show information about object path" +msgstr "Nesne yoluyla ilgili bilgi göster" + diff --git a/hardware/powermanagement/upower/pspec.xml b/hardware/powermanagement/upower/pspec.xml new file mode 100644 index 0000000000..7cd10c7fbb --- /dev/null +++ b/hardware/powermanagement/upower/pspec.xml @@ -0,0 +1,170 @@ + + + + + upower + http://upower.freedesktop.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + library + app:console + Power Management Service + upower provides a daemon, API and command line tools for managing power devices attached to the system. + http://upower.freedesktop.org/releases/upower-0.9.23.tar.xz + + tr.po + + + dbus-devel + glib2-devel + polkit-devel + dbus-glib-devel + eudev-devel + libusb-devel + libplist-devel + libimobiledevice-devel + gobject-introspection-devel + docbook-xsl + intltool + + + add-tr.patch + + + + + + + upower + + dbus + glib2 + polkit + dbus-glib + eudev + libplist + libimobiledevice + pm-utils + libusb + + + /lib + /usr/lib + /etc/dbus-1 + /usr/share/man + /usr/share/doc + /etc/UPower + /usr/bin + /var/lib/upower + /usr/share/dbus-1 + /usr/libexec + /usr/share/polkit-1 + /usr/share/locale + /usr/share/dbus-1/interfaces/*.xml + /usr/lib/girepository-1.0/*.typelib + + + + + upower-devel + Development files for upower + + upower + dbus-devel + glib2-devel + polkit-devel + dbus-glib-devel + eudev-devel + libplist-devel + libimobiledevice-devel + + + /usr/include + /usr/lib/pkgconfig + /usr/share/gir-1.0 + + + + + + 2015-01-28 + 0.9.23 + Rebuild. + Hakan Yıldız + hknyldz93@gmail.com + + + 2014-05-24 + 0.9.23 + Rebuild for gcc. + PisiLinux Community + admins@pisilinux.org + + + 2014-04-15 + 0.9.23 + Rebuild for libplist and libimobiledevice. + Marcin Bojara + marcin@pisilinux.org + + + 2014-04-05 + 0.9.23 + Rebuild and builddep docbook-xsl added. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-03-02 + 0.9.23 + Add patch. + Marcin Bojara + marcin@pisilinux.org + + + 2014-01-08 + 0.9.23 + Moved some files to core pack + Burak Fazıl Ertürk + burakerturk@pisilinux.org + + + 2013-12-19 + 0.9.23 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-08-20 + 0.9.21 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-07-03 + 0.9.20 + Fix suspend/hibernation issue + Marcin Bojara + marcin@pisilinux.org + + + 2013-03-20 + 0.9.20 + Version bump + Ertan Güven + ertan@pisilinux.org + + + 2012-10-20 + 0.9.18 + First release + Serdar Soytetir + kaptan@pisilinux.org + + + diff --git a/hardware/powermanagement/upower/translations.xml b/hardware/powermanagement/upower/translations.xml new file mode 100644 index 0000000000..5b082e73c8 --- /dev/null +++ b/hardware/powermanagement/upower/translations.xml @@ -0,0 +1,13 @@ + + + + upower + Güç Yönetim Hizmeti + upower, sisteme bağlı güç cihazlarını yönetmek için gerekli kitaplıkları ve sistem hizmetini sunar. + + + + upower-devel + upower için geliştirme dosyaları + +