Исправления утилит

atratsevskiy
Mike Khiretskiy 10 years ago
parent ef1ed0a479
commit df2f4bba03

@ -6,6 +6,7 @@ AUX calculate-install-3.2.0_beta1-r1.patch 3936 SHA256 531a74dabb4e16a031898174f
AUX calculate-install-3.2.0_beta1-r2.patch 4936 SHA256 ea56078d59ee2f53c8dc780e7d5603c3ed2076821c19c1e3965a5959c9deae5c SHA512 17850e50587799a0af68104d38f88c647e845a9aee89adbee81cb2702df42f44108b18fb3a7d8acb0df1b4f25454d868568e306e4047fd34777accc8c8be3ead WHIRLPOOL 0a155fe6d5b1d4521a454b6bcc5d4ebff48e4c62de01ab96255b5f963e79d3022e0d6cf12bb43461550430d148e54f6851e4721b57be551b4dc1df5ecb0ff6ba
AUX calculate-install-3.2.0_beta1-r3.patch 5939 SHA256 06706c8ebea7f6d45fc12303eaf7aaf55b3a20ac3a0a7f4d47e0413d389eacb3 SHA512 f51148bbb464e739d1a3f39482c3218db5499ecc418647dd587447b78c9ed5ffc83f1996f002241007b835533de7cbd517a59990e9dfcdfa9f3ddaa78ea7a074 WHIRLPOOL 6e9d25dc6a8b6f5ee215a44a05509b10cac17a334e072a11eba4e25cac611fdd58f466745b6a2613fce5b4d0f2b684dbc4e2dfd48cc40d1c268763a716170bb9
AUX calculate-install-3.2.0_beta1-r4.patch 6753 SHA256 6d80d547713b2d10134bb49928d40674d351c03e857ed3da2cbffbaa7c5d914f SHA512 81894344d8efc72a436d96d0be5f4dd5257c66c5a44f9b43a7f4cec035940abb628280d7c8d707b07c4aec7e1f0fe699830ce32c905a419fb9474e05385dc22e WHIRLPOOL 10a4f5658fad507cb44f3a4805459d36d70f2035f1caee5dae48961394791bbc28856f5e24e17414239743a4a404ebd3b0bb17a41463e8aea4d4b94fa9208ba8
AUX calculate-install-3.2.0_beta1-r5.patch 7354 SHA256 e37932b2910fd2faed72936a6f057cbc77488d53a1c0387ddee45308b715b612 SHA512 b2f2487e115674bf7e13b2f1cbd3e09b0ad43dc3ea07984a5a08e8f5ed134d46e8a9653e8b9d1e5f539e391c0ba71da88bffd2871dd94df76a0b01816e5d9f44 WHIRLPOOL 0e8fc21231225fe024aeccf52adbfe3f3d120b2c5d201e2ccc01842617b78c82c29aed2fb4b03c7fb2563cd9d434c35f97654123fa873d6a871b9206f48f1d98
DIST calculate-install-3.1.9.tar.bz2 77323 SHA256 67613113eddeb61be3c5b25187dfa62caea188a3ac84460e99bb306e07e6f97c SHA512 d680e566b95463c2310f4313fc82ba643404a8dcd6628486a1cc2354f706e44832a023fdea1a9439230d98aa233490b89f3aec2e58d9f28d37746e7cb36ffdd2 WHIRLPOOL a0616b1a7f4434813e1ae9f1df7b0fcdb25120b3736d6ba4957fb53846df01fd1c4219c887d43a9025d700957fa0d205f7091176f870da98c21292d83e42720b
DIST calculate-install-3.2.0_alpha11.tar.bz2 77353 SHA256 f4eaa14184ff38db1e3f85f39fb610b9f7abc3373eff3232f271584e2f314c77 SHA512 0254e181c1da0108208b0b08300d40512fc45e7b75106aa7bd608d529cd2ef5a35e5a01062976688def7d5afb6bb2cacdd64eaf05420780566b22e0ef67d85ab WHIRLPOOL 58e8c38d6cf1d8c8ad6a459c643f9a9350bda07a96bcca2f87d6106c54a4dbac8b183e6889e481966e417423100820b4d6048ab471199a1a3b84758b7a3f28fd
DIST calculate-install-3.2.0_alpha12.tar.bz2 78984 SHA256 64e734d052548d97de9b9d5c5dc0cb03e5f4d77aed991e600f17581ee9317263 SHA512 ff643d800752f0691e9727f3fc87cf73138638dee2799e14614d4e614baeeb739b3af1de8d89e5b550008ca827884430d6be0670ce6fac3a76ace5fe856a12fd WHIRLPOOL e25903a91271dfbb05580783f967991dc4808200346c35ec202b5a19b1a9026daff924c8d8a3bef762c9082b87df483264babebdef8e45a5d4794754f12e7a7d
@ -20,6 +21,7 @@ EBUILD calculate-install-3.2.0_beta1-r1.ebuild 1055 SHA256 1f48f8a60d3e21da8da70
EBUILD calculate-install-3.2.0_beta1-r2.ebuild 1055 SHA256 be89e8155aadc39490882a7eec53b4c7c6911606af4dbe02db2cd37d22a782a2 SHA512 ff190631d339c2cbf6db96e7fb54897ddc63d3dda0e7db063538611d75453a55de0497718c2141b356deaec125abae62ecdaf4a41c88aa17e6ac5b4e712f10e4 WHIRLPOOL 70d77a4306874206134b8f2b851ca2635e4287c2a7d0c7e35fe22419595394e4479b7900588dd35530883245fb36bef42a3e3a05d371f58ca2e17e828dac7311
EBUILD calculate-install-3.2.0_beta1-r3.ebuild 1055 SHA256 65527e101a38c994db280167b7b2e1272ff0d3ddbd018fa67ebd6a4c4a232e45 SHA512 c992a1298fbd8fb9bf22163218de953a9c325c1e23766aad5dc269171d5b12fbd6e7de17904fff5f62df59d6cea7be60286ef00b4bf055cf33e4de4f0300843d WHIRLPOOL 59d10cdf2dcdbef1d73492e89699474e326b266664363d9fa83eb77e3974479603197053bc8e7b8de140458380e8075a62028574d651822bd0af535c89f446dc
EBUILD calculate-install-3.2.0_beta1-r4.ebuild 1055 SHA256 77fac176341d42a31193f59b7ece5e0b9025fdc903e5c106ee1ba2a5fca69b06 SHA512 8e20b1859b9f1c422ff795a31ffb88042929fe9c76fe5e488ff184cd074185583199c31a30a287774192a764fc4260a1665a339ebeb4dce793acc5efcba56728 WHIRLPOOL 257e8ab80890aa14b4ea70d6545df344454f940a5c1878bf4751608998a12110eb8e4accf35a1141cfe42cbcd40c3dc9e28dc906fcac35cbb0fda6b50bf76429
EBUILD calculate-install-3.2.0_beta1-r5.ebuild 1055 SHA256 4fb53a2b7675212dc45c6fdb59e0c0331f2399c5c19ee0492331d5b8b727bc63 SHA512 b57867ab4e171f1d7bef50cd3aefea3cf51083bafd376ceee4ab5ceb918737560c5b58fd57aa00c09ed96a3447600173a9cea6dbf8713fcb885f3b24023ce772 WHIRLPOOL 749d37876b983bdedb2f75e14e4a0618b0e87969dc6de48773c8b852ce68873655df4bfcbabee723a78a8cc022d117538b3fe565309c10d2b241842d7a0576af
EBUILD calculate-install-3.2.0_beta1.ebuild 911 SHA256 8ca1a186c34ed35bef0c0c95505d427fbec280b0ecae5f5c1f6a6f29d5d57f3f SHA512 95f589177616fc314bea671b6e8a7af444dff9d74cf5660023c30b6ca886e8718c10b41e82b2f64684cd94cb1e6d3fb4ac5c6b8323726ac8920b6c6a08555a41 WHIRLPOOL 7cc71f5220e88af30256d565950340297064410cbd0142c043179498959e3a04822ca82a23b8fed76ec027b4b782135d94e3f5689d1f9e39d073572bc26957d7
EBUILD calculate-install-3.2.9999.ebuild 673 SHA256 751ba30bf7ffe805119648e852697a500465e128df24228348a2634eec1cb0ec SHA512 bef467672a2c90595f60da18203b81f87a758ca6b73f69f7ead0d95489960ea83403c1ff98f07050f6d96b23ed68ce45f334e9ed30cdafc526e58f884a236122 WHIRLPOOL 0e6b1f055dd0172ea06df1f0832bb2a75670e2a1bc22ec570c36ef91cb84a74e21891de23d3024a2b2de9074e03de14eb8eb8dfb120c4f8407eda4e7814ba12d
MISC ChangeLog 33978 SHA256 a1cc544f9763b08b3647d90fac1ec53748016bb23260181315896c8c02431443 SHA512 11a09ba60fbc727bd47b57653b4bb0937d98774eb9ca95680a5b55997c7e22db3976cbd0878d908fa0200e04b6cc9eb0ae9ac6f1623235490e2e46e54cc1f7f4 WHIRLPOOL 50352c2950f301cbb5116b8c9972e592767dcb03bd71d081c75de5e69b2a920331abec4756658faf64e291bf6f4f41df67b8d62946683629a2c99b48274eb2f3

@ -0,0 +1,44 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.7"
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
DESCRIPTION="The program of installation Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="pxe minimal"
DEPEND="~sys-apps/calculate-core-3.2.0_beta1
!<sys-apps/calculate-install-2.2.29
app-portage/layman
>=virtual/udev-197
!app-misc/livecd-tools
sys-apps/iproute2[-minimal]
!minimal? ( sys-boot/grub
sys-apps/gptfdisk
>=sys-apps/util-linux-2.19.1
sys-fs/dosfstools
sys-fs/squashfs-tools
sys-block/parted )
pxe? ( sys-apps/calculate-server
net-ftp/tftp-hpa
net-misc/dhcp
net-fs/nfs-utils )"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-install-3.2.0_beta1-r5.patch"
}

@ -0,0 +1,166 @@
diff --git install/variables/disk.py install/variables/disk.py
index e65eac1..827081b 100644
--- install/variables/disk.py
+++ install/variables/disk.py
@@ -1856,6 +1856,20 @@ class VariableOsInstallRootDev(ReadonlyVariable):
else:
return self.Get('os_root_dev')
+class VariableOsInstallRootUuid(ReadonlyVariable):
+ def get(self):
+ """UUID корневого устройства"""
+ if self.Get('cl_action') == 'system':
+ root_dev = self.Get('os_install_root_dev')
+ return self.Select('os_install_disk_uuid',
+ where='os_install_disk_dev',
+ eq=root_dev,limit=1) or ''
+ else:
+ root_dev = self.Get('os_root_dev')
+ return self.Select('os_disk_uuid',
+ where='os_disk_dev',
+ eq=root_dev,limit=1) or ''
+
class VariableOsInstallFstabMountConf(ReadonlyVariable,DeviceHelper):
"""
FStab.conf contains for mount and bind points
diff --git install/variables/distr.py install/variables/distr.py
index 2e0d32c..4da8e26 100644
--- install/variables/distr.py
+++ install/variables/distr.py
@@ -505,9 +505,12 @@ class VariableClTarget(ReadonlyVariable):
elif self.Get('os_install_pxe') == "on":
return PxeDistributive(self.Get('os_install_pxe_path'))
elif self.Get('os_install_root_type')=="flash":
+ flashLabel = "{short}-{build}".format(
+ short="CL", build=self.Get('os_install_linux_build'))
return FlashDistributive(disk,mdirectory="/mnt/install",
check=True, fileSystem=fileSystem,
isFormat=isFormat, systemId=systemId,
+ rootLabel=flashLabel,
partitionTable=partTable)
else:
target = PartitionDistributive(disk,mdirectory='/mnt/install',
diff --git install/variables/kernel.py install/variables/kernel.py
index 926df72..2cf87fd 100644
--- install/variables/kernel.py
+++ install/variables/kernel.py
@@ -104,13 +104,17 @@ class VariableOsInstallKernelAttr(Variable):
def get(self):
# on usb-hdd install must be "delay=5"
attr = ""
+ rdauto = ""
if self.Get('os_install_root_type') == 'usb-hdd':
attr = " scandelay=5"
if self.Get('os_install_mdadm_set') == 'on':
attr += " domdadm"
+ rdauto = " rd.auto"
if self.Get('os_install_lvm_set') == 'on':
attr += " dolvm"
- return attr
+ if not rdauto:
+ rdauto = " rd.auto"
+ return attr + rdauto
class VariableOsInstallKernelResume(ReadonlyVariable):
"""
diff --git install/variables/net.py install/variables/net.py
index 01b0032..a07cfe3 100644
--- install/variables/net.py
+++ install/variables/net.py
@@ -34,6 +34,7 @@ from calculate.lib.utils import ip
from calculate.lib.utils.portage import isPkgInstalled
from operator import itemgetter
from itertools import *
+from functools import partial
import hashlib
from calculate.install.distr import DistributiveError
@@ -92,18 +93,24 @@ class VariableOsInstallNetInterfacesOrig(NetHelper,ReadonlyVariable):
"""
type = "list"
+ def is_classic_interface_name(self):
+ hashsum = lambda x: hashlib.md5(readFile(x)).digest()
+ chroot_path = self.Get('cl_chroot_path')
+ etc_path_join = partial(path.join,
+ chroot_path, 'etc/udev/rules.d')
+ lib_path_join = partial(path.join,
+ chroot_path, 'lib/udev/rules.d')
+ udev_files = ('70-persistent-net.rules',
+ '80-net-name-slot.rules',
+ '80-net-setup-link.rules')
+ for etc_file, lib_file in izip(map(etc_path_join,udev_files),
+ map(lib_path_join,udev_files)):
+ if path.exists(etc_file) and hashsum(etc_file) != hashsum(lib_file):
+ return True
+ return False
+
def get(self):
- chrootPath = self.Get('cl_chroot_path')
- pathOldUdevNet = path.join(chrootPath,
- 'etc/udev/rules.d/70-persistent-net.rules')
- pathNewUdevNet = path.join(chrootPath,
- 'etc/udev/rules.d/80-net-name-slot.rules')
- pathOrigUdevNet = path.join(chrootPath,
- 'lib/udev/rules.d/80-net-name-slot.rules')
- if path.exists(pathOldUdevNet) or \
- (path.exists(pathNewUdevNet) and
- hashlib.md5(readFile(pathNewUdevNet)).digest() != \
- hashlib.md5(readFile(pathOrigUdevNet)).digest()):
+ if self.is_classic_interface_name():
return self.Get('os_install_net_interfaces')
def getOrig(x):
try:
diff --git install/wsdl_install.py install/wsdl_install.py
index bff5954..0fca47d 100644
--- install/wsdl_install.py
+++ install/wsdl_install.py
@@ -65,7 +65,8 @@ class Wsdl(WsdlBase):
normal=('os_install_locale_lang','os_install_clock_timezone')),
lambda group:group(_("Distribution"),
normal=('cl_image_filename',),
- hide=('cl_image_linux_shortname','cl_image_arch_machine'),
+ hide=('cl_image_linux_shortname','cl_image_arch_machine',
+ 'cl_image_new_only'),
expert=('cl_image_linux_shortname', 'cl_image_arch_machine',
'cl_image_new_only')),
lambda group:group(_("Allocate drive space"),
@@ -95,8 +96,6 @@ class Wsdl(WsdlBase):
expert=('cl_install_home_crypt_set',),
hide=('cl_migrate_data',),
brief=('cl_migrate_user',)),
- lambda group:group(_("Audio"),
- normal=('os_audio_default',)),
lambda group:group(_("Video"),
normal=('os_install_x11_video_drv','os_install_x11_composite',
'os_install_x11_resolution','os_install_fb_resolution',
@@ -154,28 +153,8 @@ class Wsdl(WsdlBase):
expert=('os_install_pxe_path',
'os_install_pxe_ip'),
next_label=_("Install"))]},
- # настройка аудио
- {
- 'method_name':"setup_audio",
- 'category':__("Configuration"),
- 'title':__("Audio"),
- 'image':'audio-card',
- 'command':'cl-setup-audio',
- 'gui':True,
- 'rights':['setupaudio'],
- 'logic':{'Install':install.Install},
- 'action':ClSetupAudioAction,
- 'datavars':"install",
- 'native_error':(VariableError,DataVarsError,install.InstallError),
- 'setvars':{'cl_action!':'merge','cl_merge_pkg!':[None],
- 'cl_merge_set!':"on",'cl_setup':'audio'},
- 'groups':[
- lambda group:group(_("Audio"),
- normal=('os_audio_default',),
- expert=('cl_templates_locate',"cl_dispatch_conf","cl_verbose_set"),
- next_label=_("Save"))]},
- {
# настройка загрузки системы
+ {
'method_name':"setup_boot",
'category':__("Configuration"),
'title':__("Boot"),

@ -18,6 +18,7 @@ AUX calculate-lib-3.2.0_alpha12-r4.patch 8978 SHA256 b3609ac4e737f7fb38dbd97ee22
AUX calculate-lib-3.2.0_alpha12-r5.patch 9000 SHA256 13b229a08e5131cb85514550d72a1ed34894972562807f3a9673f7c5dc0052fe SHA512 e3f3b33a03ba70fecd26531e2e98e73b488e85c76e857de5c90db80969abfbceb3102400b2e045065b9ed0ee205ae05ca7bf68744607ae5e2eda535fd6876882 WHIRLPOOL a48b1c71ba4dbb1727363172ebbc7613c392ecc0ed5ecc95b1414240903cec85bfca9bb9017518af9362d5dfff9ac4365f34fa1cf71227b211a5dc5c97d32efd
AUX calculate-lib-3.2.0_alpha12-r6.patch 9490 SHA256 8936962e0e7b6487aed25ae099c77dae9023333149d3c1c8e8ec7e392722bfdc SHA512 15d0c47b0906c7c6256bb6cac51c9fa5a48fae0f8ccf84691781d72a6bdb8fdcfdd16bcb492a271c36970c5a06c7f8282f372cd374210968ec3f4ee292d82e3c WHIRLPOOL fc0f9ee9d8d92ea3069894ca09b82035621d6b8cf7968997281f9ab06f375c6afa31ecb22af6442935b3fdfea1eaa46a333fbf4813d660b1d7227aeb3db7e793
AUX calculate-lib-3.2.0_beta1-r1.patch 335 SHA256 6d2d378e54e5d1183ad9d6d7c605b3667b2aed1a8f76c1bb03a63ea6a5004443 SHA512 2f86dfb1f73349209ffceb572afce366f3b4ffeccc1afb1a1e5b65beb90eba184aec6d190eaf20d995c8efd384d927cb65b8b04a4b66312f5730c72eedd13834 WHIRLPOOL d8d691bffe0ccf0cbc8a004addb1c52010d549cd762401621a06cc83e19d3c50f67f67a6f62d8589b65d66ad02f2ead69f961353153a981341c811c046d4f367
AUX calculate-lib-3.2.0_beta1-r2.patch 970 SHA256 cc330f673698a5cf63d5d88aa3ad83e0c944a4d4e7c5381e08f4287da06721e9 SHA512 028a01122e558a78f69f5254bae8978a8f21fa95cde9c306eebde927b0f8dbe509bda59a888014fd8f95a26b3aefaa4eaf148573f3128cad5eac9996352358e9 WHIRLPOOL bf34ae34c992321fe6798a34723fd8b6426f7c6a1c8daf58d33f6ce0ff8d6711b4e5b51819d3ea88ed1a7698f74724f95b338061cb56da5100d158f5ae70967b
DIST calculate-lib-2.1.11.tar.bz2 61687 SHA256 62976c08d4fb4810389ace6f5a99abb5a962f6c8d9053ff943d0669480fb5599 SHA512 e3bc2168a55367cf19ad3a27921b53e5e845643238bf171209ab29752c91b5d4d338a2120774764ac1c79abd93f2deff8680f8faa1407940984ea9fd6a199e67 WHIRLPOOL 0ced92ea493dd8db02b0ae1514ebbb51ee76dc6f441b4a38c984c39da2121fb81dd1f2e840c4c5b71a117a12817a2a269d85676288202aa9801f69727e3338dc
DIST calculate-lib-2.2.31.tar.bz2 120044 SHA256 ba38052d8b2349a1c60adc589a74eb8a3ffcbf6f3c1124e4c1fb0da3aa777f12 SHA512 902871b9159f2bcf7a0cc767fb6df5b19902fce6cf9468d96f902c383a422738b65debe3094c92d1f82de2124936496f89631c6eb9670da00807b63156b101b7 WHIRLPOOL 5179ee691519f3a7faa3135d040ad64bd6d67c026ebf39bb17f7d641130a2b58641d1fe5da4f6cfbd45d4442d93508f0a5f641ef2cd8c43e1a322aab3d11f4b9
DIST calculate-lib-2.2.32.tar.bz2 121878 SHA256 fe85e033eb16703e9fc6dcdc06fe12dd215c56315ceed7a6eee8c732229b1cd6 SHA512 933619746b5dd2a30cc4e98080ba3f40c8131c86852f55ecfefd8a239a6625985abb7fcc5e71d3b346d811e30ab997ad1d3c2142d1b1f46a3e6387c009b3eb6a WHIRLPOOL 5f678cee97dacd18e9ba4b10534808b8def8d9b3f476b6a397b8e8da4c7eb844722da62af2c53c4aa00d41c606a2b9f474a780ad257aec5ad8175002bfe97589
@ -43,6 +44,7 @@ EBUILD calculate-lib-3.2.0_alpha12-r5.ebuild 856 SHA256 eac0f4fb3e3b78596a4becc5
EBUILD calculate-lib-3.2.0_alpha12-r6.ebuild 856 SHA256 cb946ede9f4d15a363d0c8a8239f9a5364d7ee66c479c0976b828c2e012c1ded SHA512 3e625da5887015bc95545de606f39292d4e9f0a6937d93e4161fbca0d3f64f27981d4b5299aaaddc9d6aca9fbc6ceaa54d5cf506fa763b32536177795e08d83e WHIRLPOOL f26696febc8bd73a50893ba18cc2ac5d74c23a34551915c6341107a967f3c6e5b3d1eacee14c04fb83e413c747f1f3c136eba41d9b16908cb80dcc2d7c1c2993
EBUILD calculate-lib-3.2.0_alpha12.ebuild 714 SHA256 34d7199436229c50f7f78909decb90e36aff881c761970a9a57a524f08757d8e SHA512 500db3d23718662b4e3023ce0306da00dbf09642722ac7c83d1cbda01121170b39bd322d502955985a65440358196ea1a6e4882dc866fc377e6082714e05ca6f WHIRLPOOL e2911a0ec8c1ae4e610925fcfa1182ca771311a6bf19cf625558fa650a7614bbd3b608cc3de9966c05c2b7d82904f8df34bbf01fc2e6eba8d1ff7c6ccdfc2685
EBUILD calculate-lib-3.2.0_beta1-r1.ebuild 854 SHA256 c03aed76dc17979fd0d59f8c94c0017c1a4b076fafe05470289dd1ddab90f323 SHA512 d48122d998989b48829c94271c47d3a8cc9bbaa88a02475ddecfbb3765039df6a7558a0254e030179a9da96cc86df240c2a895235ef5402b8fe69f9cd16f11b7 WHIRLPOOL 11bdce1fda4e9ee85b4620794b44bd22935d8e965973e6f1876c05fe169b06fd4bcda9e523feddd7b241fd2c5f1736330334530780ec0d0d6388bb372ec570ff
EBUILD calculate-lib-3.2.0_beta1-r2.ebuild 854 SHA256 6fe6f5073f39503eee0b296ef80c1eaae7f6b2b5e47048196fe9cf9fb6c90d0c SHA512 796a3ffa900362bc9ae8da40cd2608415274eae6e7921114fb65101b2247b650bae766ee721e3e15f4cc12c5e44b922d23bd661689a63adbaf341ac98c721bf3 WHIRLPOOL 1a30649e98c2b44a7edcc913e62363fd2c8c1bfdf09374f849ddd065c9b370127951b3f5eb6785d53fb77e3f988e5d149f4e572b7a5cba3069f808e6234f5d56
EBUILD calculate-lib-3.2.0_beta1.ebuild 714 SHA256 34d7199436229c50f7f78909decb90e36aff881c761970a9a57a524f08757d8e SHA512 500db3d23718662b4e3023ce0306da00dbf09642722ac7c83d1cbda01121170b39bd322d502955985a65440358196ea1a6e4882dc866fc377e6082714e05ca6f WHIRLPOOL e2911a0ec8c1ae4e610925fcfa1182ca771311a6bf19cf625558fa650a7614bbd3b608cc3de9966c05c2b7d82904f8df34bbf01fc2e6eba8d1ff7c6ccdfc2685
EBUILD calculate-lib-3.2.9999.ebuild 708 SHA256 a1d64b7f014831bf6b0a38928d53cb55758b7a12e5f3e98fffd28025ffacbce1 SHA512 3873859a791941d421e2338b437521955da383ce986408f1a951305e2dd75a1a4f771c9ec2caa096c5c8ea6a1776d6d0ed99e025ffa786ba029cafdbadfa439b WHIRLPOOL 5ac1a10b53f810ab527a0ebe52bc87e8397e61375cf6e0acbed89d8f6b8385e72bf234e0fdce479c3a3f1652bb6e520710ce9356750a97d644c0db0a33f6facb
MISC ChangeLog 29851 SHA256 16ca15c794bce78eefc487ed372c3d4960078fbd4c5fe4524211688d0146ef97 SHA512 be6bdf290f391529dce0deb67bf9d367e42e407601dd581f7c08d082399b5860cff2a76d4d64dd876154d51e84f34499db06c715145ac64f78d168aae7e78dbf WHIRLPOOL 2561ccd1eefe3423d97c67aff5c0fe6c8ca624e527fb885b042c8e812194bb1635d7e7d7d86c534562eb780c6b9144d92e24893f2d0696cf8a34a6a912a45788

@ -0,0 +1,37 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.7"
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
DESCRIPTION="The library for Calculate 3"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="minimal"
DEPEND="!minimal? ( dev-python/py-smbpasswd )
>=dev-python/pyxml-0.8
sys-apps/iproute2
sys-apps/pciutils
dev-python/progressbar
sys-fs/lvm2
sys-fs/mdadm
dev-python/pyinotify
sys-apps/file[python]"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-lib-3.2.0_beta1-r2.patch"
}

@ -0,0 +1,24 @@
diff --git calculate/lib/cl_template.py calculate/lib/cl_template.py
index fe055a8..ab79671 100644
--- calculate/lib/cl_template.py
+++ calculate/lib/cl_template.py
@@ -4516,6 +4516,9 @@ gettext -d cl_template "$*"
if self.objVar.Get('cl_verbose_set') == 'on' and \
self.filesApply:
self.verboseOutput(self.filesApply)
+ self.objVar.Set('cl_merge_pkg_pass',[],force=True)
+ self.objVar.Set('cl_merge_pkg_new',[],force=True)
+ self.objVar.Set('cl_merge_pkg',[],force=True)
return (self.createdDirs, self.filesApply)
def verboseOutput(self,filesApply):
diff --git calculate/lib/variables/__init__.py calculate/lib/variables/__init__.py
index 9d3cf79..a8e307b 100644
--- calculate/lib/variables/__init__.py
+++ calculate/lib/variables/__init__.py
@@ -41,4 +41,4 @@ class VariableClVer(ReadonlyVariable):
"""
Package version
"""
- value = "3.2.0.1"
+ value = "3.2.0.2"

@ -8,6 +8,7 @@ AUX calculate-update-3.2.0_alpha12-r4.patch 11967 SHA256 3693dabfaf3885526768f83
AUX calculate-update-3.2.0_alpha12-r5.patch 13550 SHA256 2e0738fb997f5aba5276ea50ddd66089c1136bdcab9db37b29dcd1995f60fd02 SHA512 3e0f259fe9b715f5d12b6515beda9680e694084dd1dae32180adc0e4bf948b39a81d269425a6e271017d9cf6c5c64e3109ab04ad403dc91f81847342d2c832b5 WHIRLPOOL 661a16fa19fe2006f04346349a16b4b7852da67ec305bbdb546192fc627d801cac6a2810682f3164e32d933479e0325c497a7c071983be2d170ce96f6a89ffae
AUX calculate-update-3.2.0_alpha12-r6.patch 19318 SHA256 c107a659a849873cbc6768d206ba26345ddd624332c0412892a3010a030536a7 SHA512 a84920ef18b8ed8be9bb9c595386ede28634a8f43aa0e7e3a7bbf83c9563ca278c4aa7a96e1537875d6dac2692e76232d751553bc161022d35eb0df181fd961a WHIRLPOOL 319967f4c61c6c4a12e1d1830a923f7f6b5c866b0c9ece910c42337d17a5fed6f8e9d9ff5a4884d94bffb98842b427ac3e1177c698f794c4a5a8a9ea65c19527
AUX calculate-update-3.2.0_beta1-r1.patch 573 SHA256 77059f1763ee50667e8462e69e0c849daa562f56a807b29cdcdff8ac5571d336 SHA512 7b48c2cd223d50bf59d792f1ad209130cc287de9f0a7919e9c6c2833ea037f418b786ac3977983dc55af2c97b540225850ef3fa1ffb685e8c2682e28cceae10a WHIRLPOOL 83317503da1529a72e2e821eec14a86fad61bf1be65b1a60fb4d1ef064907c9bc402bc435d81927324e32665c74603d87be577b480e524dad562286f8a345650
AUX calculate-update-3.2.0_beta1-r2.patch 1494 SHA256 b6a9bf30d45f39840776d96e00b44e5f00fc21b1be2c37a3733fbe37ee31397e SHA512 b8a7435878fe9777dbaedd9d66e0ea70c81ec20a3914735ecfe68fa2680c0f61830416e2be3fb53211b3df0464277a558d2d33f5893ce7f8168848d7b8f9fb42 WHIRLPOOL 6ecdc5469b30b5ff37a9bffa2dc75f3b4111f26c63f6f5e84f1db3c7ee08fc09d821b770901457ed88288e1910c4a95c801a720caa959ccc692f4d47ed72b5b4
DIST calculate-update-3.1.9.tar.bz2 6767 SHA256 26e18cc55abfd73f37468adecb0028a50e05feba080bf3a21df8b62314adaa5d SHA512 14c5d86c990285cf39c7542d792205631106a4b53cd243297ec7f8e1a074c6c4c85f389a15152da5a6405e5a5b340bb75ad59af81b9d9004002daf53762035ce WHIRLPOOL 9740c28bb439799b85b92c69a1dfa7656570340b6032d7ace3bf136777f2c6e156b8f4c4fb12c68108d57027ad1ce2c83713432c4cc71dfeee3f9e33714a6cee
DIST calculate-update-3.2.0_alpha11.tar.bz2 26372 SHA256 22e73eb2f14454a4812798715ba48ab342f6b842a41b712b6a73cf1740d132ff SHA512 6ee6dea6b977b627786e4bc84718119215d661e5bc07328c56d3b969c5b9c7a6fbe29ac2ab044e15007fac8136c65376a7fadd06e8407bdd280c97e18fd7a590 WHIRLPOOL 430ad743fbad00be523fd8b83fd9fcc6e0023130adacc99b1f4a6f9be8fa542cefa904b4989c4d72f268363298c6891898b99f7eeb59257ad1888d4da5b18dda
DIST calculate-update-3.2.0_alpha12.tar.bz2 30602 SHA256 844992174f7a78a0948ef3848c35bd9c07103280529fc70177b652485c751e5e SHA512 5a549639f14447c4d63b6666bdb7ccec23bb03bbe3aae0dcd543a204d5fc4180bfd2a89c74c3d0e32a0b0f7d34a228aec3dc839f6f1997bea24dd6d6ad7010af WHIRLPOOL f75c1c581ffb92eacdeba4a12e4aaa4c6383591afaed65dc39e30aa1ad405533716957e9257637df2986ccdd72cf545263d0b3bceccdcfb31cd0d9f176b7ff06
@ -26,6 +27,7 @@ EBUILD calculate-update-3.2.0_alpha12-r5.ebuild 887 SHA256 6ce034f404281c1debe10
EBUILD calculate-update-3.2.0_alpha12-r6.ebuild 887 SHA256 a40e0117cbd1fcf7b7fa085286e8d95434261f03ed0a0e8901719b1208d1af21 SHA512 b1493544962b9df6eb2b62cd10bea25c188278b7acd2586117ca3e19d42d0cc76299dbaea2ac8b12486a34e600499970b470617a81642e0440006a341ff797b3 WHIRLPOOL f9665751cd5e264360ea79cfc60d10f9a897a397e7802da77a4461f405a070bda086edaf1127883ef14e280e779619ff4ef01bed39ef6defc59444107214473b
EBUILD calculate-update-3.2.0_alpha12.ebuild 625 SHA256 c1ac759c531edac5191a88a24a529c06f74f28de2d0ecf9aa0a73577c0b8a714 SHA512 f6aeef23e550431c96daaad86881804808fffe93aa379fafe98ea670c5c63fa5e3e90a8ce44429f37a7ef5906f06331f22dc98db20aeee2b4017c7f87f33435f WHIRLPOOL 9cd763634045340baa9b3bc472c432901fac7cf3f15abc43f23b5de21d0ebcc85db0befeb0595dd09ba7e7b39b2d4568e6a7173888fab5527231eafc716b57e6
EBUILD calculate-update-3.2.0_beta1-r1.ebuild 881 SHA256 a468b71782a76dbd3b499ede8f37e2982f2357fa6ba887adb36b6932643280d4 SHA512 afad7c5919748481ff2674f59f0742679ac27f28340534009c6d2d8ad5cdf882d7bcf1a5d3ed42c10dcfebbbfcddfea618464c71f13e2d0668ebd6ce3d85a905 WHIRLPOOL 51e8bfc31a6f0f1a8328b80e1ea0226bc5bf116d758637c15104eaf55959e6462f15d521a3e65f8cfb298fafbf6936393783b2e159504bc5085342ba3bbc00a6
EBUILD calculate-update-3.2.0_beta1-r2.ebuild 881 SHA256 982ab9563d189a31196f37cca2e30035fe75c9a597d7ffbe61324d8ae92d39c9 SHA512 f012024007bb57e05096487ec8c56c5b222198e8ee66e05536371ad01fa95d16d2c6e78480364c491e521b8e50aafc6d5b79fe5dd34394db2593180adeb98aa1 WHIRLPOOL 239d9fe55de9aaebe41912ad933ebe8e99b70927d241d857bcb121e6d4cceda6f3a57627298f4ab81110f02eda2772ba1f2c2061d2b5e77603476a6e3dadfd0d
EBUILD calculate-update-3.2.0_beta1.ebuild 738 SHA256 3d1790e4ab0546ccb2ef1085e68c2529ef48b88709b827447ef1b029e1062a24 SHA512 acb42c0a3d840a55297d47d15baff4787ee119b729e14c473d078d58b0a9da5aedaee71259702e4f1e0cf77bb59c134ce9274f0dfb6ae47e2d4e1e06e60f4a63 WHIRLPOOL 7b0b734670847ab57e3e312fb2d0e96d7a007c6dd53dcb8956331fa8791886efb05496baafff7709cfb474bb927b2188c866105a61ea570a2dadc7fc09e4373b
EBUILD calculate-update-3.2.9999.ebuild 520 SHA256 13be99f26482c5ef9097b758b66c25024df1850963b1c7dbacab71bd50ea4815 SHA512 7b077570676855b0cc3fa87ec329f14d2a94cf90bebab80ab03e9b0711f21fa7c578e8c063d05bc07e32031b48c342523a2344f06face54af455d885a9a8836a WHIRLPOOL 8443a7028edec83ccd6a870116b5fadc1b22e668e0df179bed9e4be06307f0c37834eed788e5ae620d619e6a6ca1dc09ed75fccd6cd0e4e46c77f480077189af
MISC metadata.xml 274 SHA256 90e473fd86cfea0413c6716c7dbbf79b686276fcd1ebe41e5ce60116335f825c SHA512 81d626411cde5b4f6d3fba8f9848e11aa981a0b300eae59f0a473738b2612b2c356d7c3933cee6c2e15f09515c0be39bc6a3175a877fe318f39a704540516588 WHIRLPOOL 90b28551a43fda86643748748b25743df29d292b865b0a8ad338f4386eae7dc5232b54d539c286c4a7004fb194f783450441fdf09654739962da4d1cf7725bae

@ -0,0 +1,38 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
PYTHON_DEPEND="2:2.7"
RESTRICT_PYTHON_ABIS="2.4 2.5 2.6 3.*"
inherit distutils eutils
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/calculate3/${PN}/${P}.tar.bz2"
DESCRIPTION="The program of update Calculate Linux"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="~sys-apps/calculate-core-3.2.0_beta1
~sys-apps/calculate-install-3.2.0_beta1
dev-python/pexpect"
RDEPEND="${DEPEND}"
pkg_preinst() {
dosym /usr/sbin/cl-core /usr/sbin/cl-update
dosym /usr/sbin/cl-core /usr/sbin/cl-update-profile
}
src_unpack() {
unpack "${A}"
cd "${S}"
# apply revision changes
epatch "${FILESDIR}/calculate-update-3.2.0_beta1-r2.patch"
}

@ -0,0 +1,31 @@
diff --git update/utils/cl_update.py update/utils/cl_update.py
index 0a815ff..50e8ae2 100644
--- update/utils/cl_update.py
+++ update/utils/cl_update.py
@@ -277,13 +277,6 @@ class ClUpdateAction(Action):
'condition': lambda Get: (Get('cl_update_rev_set') == 'on' or
Get('cl_rebuild_world_set') == 'on')
},
- {'name': 'world',
- 'message': __("Updating the list of system packages"),
- 'method': 'Update.applyTemplates(install.cl_source,'
- 'cl_template_clt_set,True,None,False)',
- 'condition': lambda Get: (Get('cl_update_rev_set') == 'on' or
- Get('cl_rebuild_world_set') == 'on')
- },
{'name': 'dispatch_conf',
'message': __("Updating configuration files"),
'method':'Update.dispatchConf()',
diff --git update/utils/cl_update_profile.py update/utils/cl_update_profile.py
index 20121a1..74ddaf7 100644
--- update/utils/cl_update_profile.py
+++ update/utils/cl_update_profile.py
@@ -39,8 +39,6 @@ class ClUpdateProfileAction(Action):
# список задач для дейсвия
tasks = [
- {'name': 'check_run',
- 'method': 'Update.checkRun(cl_update_wait_another_set)'},
{'name': 'migrate_repository',
'method': 'Update.migrateCacheRepository('
'cl_update_profile_rep,cl_update_profile_branch)',

@ -32,6 +32,7 @@ EBUILD calculate-utilities-3.2.0_beta1-r3.ebuild 812 SHA256 345b3b1cc242b8fc7f1f
EBUILD calculate-utilities-3.2.0_beta1-r4.ebuild 812 SHA256 f54b6d664c7840208e2f11b156cfae46da90f04d73218e727460ad3e56245a1a SHA512 cf13be6d6f3f6303b882754e179a3dfb9c8067ce3e8ab939fb70adcfb7ca01770a69130f54884f33695f19164393930cd2c1ab297287919c8bcc60aedb6d8478 WHIRLPOOL 25ef04d35b08995d89d0ba2ea22e9ab44119e539e72e86d616e9958bd421486d2b392e4092513f751c0c5ce7842a5f190eddf2bcad1851d8e9028be752eed8bf
EBUILD calculate-utilities-3.2.0_beta1-r5.ebuild 815 SHA256 5a09d587ea577a39c25e323bd2e88342dd5ecbbb01a4d9fa11798c96b4dbd2a2 SHA512 97edb2bce7b021d799136807285ef774e4de3f4c2a38e21786dbe9b3a1b57572116d32e461305e0c6923ef46f00a77a5671544d9c631ad17f3dd4b5cace329d6 WHIRLPOOL c191c6652cb42ce9cc490c47986d1799c614c2106017897391afe7d5681ded47376110f73046a8737c86621f357841dbc49f6430e000f1362805100f9e9b6885
EBUILD calculate-utilities-3.2.0_beta1-r6.ebuild 815 SHA256 1b6325b216c27e3fa9d217fb0a3b791e747b393115f50908ba01b7dac6268793 SHA512 559b3f5289d4ace3bc47b74532c4c4bf5062f196ccef94ec854f4811ecc76e073cae625024af640eac7e1b62e6f9cda2267257cb6d9c589ebedcc2b751f83dd9 WHIRLPOOL cad66076b9117ed995226766de815a2624b4eccbc50a39688f74103849e374c32598dac6abd5cd9dabfd5252dcf4be5741721e16e242bca9171122ed299f0fff
EBUILD calculate-utilities-3.2.0_beta1-r7.ebuild 815 SHA256 3211830095f2b6d7fadb57773d41780a7386ace8e41daa0917e2b171215f5700 SHA512 acd2a5c73a8ebab04ad48ae900a1a93849e8e5a6dde98874749ea52db09c3a6497f685f6eab729d3a0d73fdb5b508ac81e4fdc0a6d2a55533ce97074a884dcab WHIRLPOOL 5dbf04c6b5d61bb92c3a23f8e11135a7a5790cdcb835fabb414005efca2402060cb01c3c06b8353c93d0f6590434d001f3c6e30925c7516c8cbd69734c1cc2b2
EBUILD calculate-utilities-3.2.0_beta1.ebuild 803 SHA256 61092943e71177c34f60caa607f65ed9efcce895840d49be7f3a764aa7a5df4a SHA512 6cc5b9658f4f47daefead300c6c3ead06628eb35d1f5f8e01a9279c6f1a21c5c48d632ef751633537a23e68d60e7453a284d7ad0922988688d70a57d7c478a90 WHIRLPOOL e5805dd4b8c796472cc069f3411e707b4bb15bee57503e716d0b31d8fc224ee20b3e72a8deb0876e8b3ec619208e657c9c5b664b4d5fb0e950f1cdfe1bb8b750
EBUILD calculate-utilities-3.2.9999.ebuild 800 SHA256 acbb7a4e34387baa1ade9bf97637972fbfc97afa56367381d622198b5237e983 SHA512 9e0c74eb499157b6d3ace20d7e9da630660e46b74a6d575e222e1638c87f85660635187489b9312a45f193780c301d87c1dbb9a0f60414e178e8f54080c71ffd WHIRLPOOL 9b56f590f36d29d3518c66c453f97b14d083e36b62adb70a8916ae4e30b527431602a9edd40d703e5cb4296a01f8c982157b602651ee57a9c0ddb7a4c6aa2fe1
MISC ChangeLog 38731 SHA256 7e70a0bc1f3b34c0011f3874773a698a4bb96eb6d3dad10903575156bb8578bc SHA512 2de466ea990b9eac702b81fd097c3f5d06d1f4db1a4bd1d1b7380b45e551f6fd62c16564ecfc810246157d3ef1113ae373041580e70981d44752e50ed6134bc0 WHIRLPOOL 5ca0cee1ad0e9419f91ec11a9629b9a29db9fcbed4f5ae0aef1f8a2170ff58112c8580d61884c56ee410a0abc201fa8f4419cea35077fc8bb84e733f6fa6f4db

@ -0,0 +1,26 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
DESCRIPTION="Calculate Utilities meta package"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="3"
KEYWORDS="amd64 x86"
IUSE="cl_consolegui cl_client cl_desktop cl_console"
RDEPEND="${RDEPEND}
=sys-apps/calculate-install-3.2.0_beta1-r5
=sys-apps/calculate-i18n-3.2.0_beta1
=sys-apps/calculate-lib-3.2.0_beta1-r2
=sys-apps/calculate-core-3.2.0_beta1-r1
=sys-apps/calculate-update-3.2.0_beta1-r2
cl_client? ( =sys-apps/calculate-client-3.2.0_beta1 )
cl_desktop? ( =sys-apps/calculate-desktop-3.2.0_beta1 )
cl_consolegui? ( =sys-apps/calculate-console-gui-3.2.0_beta1 )
cl_console? ( =sys-apps/calculate-console-3.2.0_beta1 )
"
Loading…
Cancel
Save