* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2015-08-15 16:38 Michał Górny
0 siblings, 0 replies; 47+ messages in thread
From: Michał Górny @ 2015-08-15 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 0ab31002f44d6e78829dfb15be90559f9f0f0abc
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Wed Aug 12 08:53:01 2015 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 15 16:37:44 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab31002
app-backup/tsm: Fix dependency on wrong java version, #530900
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=530900
Package-Manager: portage-2.2.20
app-backup/tsm/tsm-7.1.0.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
index 976f2e1..9cf6102 100644
--- a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
@@ -56,7 +56,7 @@ RDEPEND="
dev-libs/libxml2
=sys-fs/fuse-2*
acl? ( sys-apps/acl )
- java? ( virtual/jre:1.6 )
+ java? ( virtual/jre:1.7 )
"
S="${WORKDIR}"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2015-10-25 22:10 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2015-10-25 22:10 UTC (permalink / raw
To: gentoo-commits
commit: d37a7d93bafd8b435d44a9761e85daa770c44b66
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 22:07:04 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 22:10:27 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37a7d93
app-backup/tsm: mark as binary amd64 package (KEYWORDS=-*).
Package-Manager: portage-2.2.21
app-backup/tsm/tsm-6.3.0.5-r2.ebuild | 2 +-
app-backup/tsm/tsm-6.4.0.0-r1.ebuild | 2 +-
app-backup/tsm/tsm-7.1.0.0-r1.ebuild | 2 +-
app-backup/tsm/tsm-7.1.2.0.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-backup/tsm/tsm-6.3.0.5-r2.ebuild b/app-backup/tsm/tsm-6.3.0.5-r2.ebuild
index f75386b..7990d47 100644
--- a/app-backup/tsm/tsm-6.3.0.5-r2.ebuild
+++ b/app-backup/tsm/tsm-6.3.0.5-r2.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
diff --git a/app-backup/tsm/tsm-6.4.0.0-r1.ebuild b/app-backup/tsm/tsm-6.4.0.0-r1.ebuild
index d8d6afa..4af8b46 100644
--- a/app-backup/tsm/tsm-6.4.0.0-r1.ebuild
+++ b/app-backup/tsm/tsm-6.4.0.0-r1.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
diff --git a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
index 9cf6102..06b5839 100644
--- a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
diff --git a/app-backup/tsm/tsm-7.1.2.0.ebuild b/app-backup/tsm/tsm-7.1.2.0.ebuild
index 7bdbe85..a7ec829 100644
--- a/app-backup/tsm/tsm-7.1.2.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.2.0.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2015-10-25 22:10 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2015-10-25 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 67fbf73f3f4cc4ec3cdeb0c302ee626648eb8533
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 21:59:04 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 22:08:53 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67fbf73f
app-backup/tsm: version bump to last x86 release.
Package-Manager: portage-2.2.21
app-backup/tsm/Manifest | 14 +++
app-backup/tsm/tsm-6.2.5.4.ebuild | 231 ++++++++++++++++++++++++++++++++++++++
2 files changed, 245 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 7bb8e27..e0af9e2 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -12,6 +12,20 @@ DIST 6.2.2-TIVsm-msg.RU_RU.i386.rpm 4222991 SHA256 20a28cdb598b273569071f997ddad
DIST 6.2.2-TIVsm-msg.ZH_CN.i386.rpm 3030842 SHA256 6bf834e71053ad1264ce7fb631679664fe1ffd94690ff1d8f62da056c6b5cd15 SHA512 3331d0ea08451415641b34566117c4c91245796e58a3bc85270f952bed8d866973e77158e34f1f8859fe4f8d62010a1370de3fa6032660015a2ad726c66f9723 WHIRLPOOL 26fd7ab9af26a28f603d34a4ea74dc4116ae4b2b98abef8d4d8ed3eba03ee8383c72985b41d4dc1618410da9070189ef05766394afe66bec12e8d684481b0518
DIST 6.2.2-TIVsm-msg.ZH_TW.i386.rpm 3151673 SHA256 faa2fc951cbf1ae28b98b286030ea54b48fd4a4252aeeb035ecee63a2403b3e9 SHA512 20511841192c624e5a8a608f632baa27f8d331e69e178f33d533440b6bc646d08737210dff6a7c3458bed7fe730903fe7cbd1cdc6ada757cb2b680d127959edd WHIRLPOOL b6139b5e4887b74fd43dc4b33388d9763d61cc53c1219478a9c593ff4b697fed6695e9d53bad1836ba82d89936531b6782d151019d969a26d3ff8a39c2414ec1
DIST 6.2.2.0-TIV-TSMBAC-LinuxX86.tar 102215680 SHA256 6c1883a34c38ade6961ffd6c6837fd82051edfa97bce19b7ad76ced4c2683b7c SHA512 be981b57e859943650d09bec2176ccac89b88861ba8d97182495b0d86ce50f491a893c6fc930b6de70c4594b8a3d78a0a2f05ef11d6cda137f76ddae9d1524fb WHIRLPOOL 94921b4dca1a58458bc882ff69e9a2055fe22d32208c2bb9aea9dbaddc3396890c7a4002b569a80d905b5b771b0255d59ab080129e304c4d135c1e61d8fb8e52
+DIST 6.2.5-TIVsm-msg.CS_CZ.i386.rpm 4800856 SHA256 07f47b43aeb218fbb79a59d4fc96403c6e8e9f28bdc6d73bb8b2be9dc13e8520 SHA512 32e5b3f433012427c67ebbd416f4dbf87f603da4245d04a75da65438438a27c1b75e95440019313e6100d55fc50bb425ccade768fd578fcf13ccdf4b0d0b1c11 WHIRLPOOL 09fc5aacaa8462a2fce8f06f944c8bf02646aa0538a537ebad1baf867c81993895e37ed92bedc6b322f397a68ec4450e26f1a1894aef06694c97bfd9e269bbaa
+DIST 6.2.5-TIVsm-msg.DE_DE.i386.rpm 3456289 SHA256 db4e5c71f092569264b5a546d7fb957b61dbce83cfd779fa2c874c77a4428aa2 SHA512 a41d2345a0dd19a13124454df3fd19c5e7c7b707b2547c5f4151ee00fe2a9d808c9b47c817a89fe41ced0fdbc4b3f69f98093c03db895f4e56b2c6bfa61f5d5f WHIRLPOOL 66b4a2304db83a8b3f401e889e3df581ee41e58cf7b5ee4d70cebdb76a6f79f92b88bdf7fddb76552bfd2de8872542325c1c4553eb439c47f5d7407b487128b2
+DIST 6.2.5-TIVsm-msg.ES_ES.i386.rpm 3509147 SHA256 d7dbac54b8a59a70ab31ee5e537213d36dba81dea73378bea2c4b80aadc346a1 SHA512 914c68bb783eeba2892ea07a436e06de596da153159e6a7f779412db574e4b4c974ea77220605cf43743451d5c56769f6eb7252b6caab698a4e1a85b0ca9b503 WHIRLPOOL ee880d0070de517718a503ebb4d3c2627df28b43f93948bfa1d6306040930e64b5e50196f1c6dc9df1c0d109a3de13ee6ebd4e9f863341e344ed63ca1bc56614
+DIST 6.2.5-TIVsm-msg.FR_FR.i386.rpm 3719029 SHA256 32fc549b190218bdf3b6a2834560b2f8a567a0539280c13215b8b761144070b1 SHA512 fe932634b1a816fafe36b61fae55638ef9d6835c4d702c237e4c0f8ee393c7c3cc8559b6feba7ab53ae9f589de6ac23f764594b4731f669065788c84c88e66d2 WHIRLPOOL 338bce5fa65fa36455a0d456d8bb0f2e92f99bacacabde7a896dc592ebb12ba27897b39975119341ce324d9a863e2c88966770d896f4ffd4ca109ce7871f4482
+DIST 6.2.5-TIVsm-msg.HU_HU.i386.rpm 3414093 SHA256 c32c86d8c16790ab8cc71a7870919e5f750aa5a220b0dc7cf178a976d4be793e SHA512 3f7ed14cccb73e3b018e67783abec9d29d3da9745ea3db50b4eec0cb5e8e49f56c9fe45932f812ca8b8fed6b61f020507a4c3cbd3c96757c02e71ab9cff053ac WHIRLPOOL 607a4059e0e31930a2e7ef2b16d85e30573c7b08530c571f95cd5cc539b5256cfdd108aec70ab91baabc874e84ba776474fc6f6fc7ccbef8b9901b259dc565bd
+DIST 6.2.5-TIVsm-msg.IT_IT.i386.rpm 3282355 SHA256 a43f78e7335938741addccba74b09e95f24cd096ed6a23d5f439303e16eef8f5 SHA512 005e49348b1e391e19102e02803fa674f73814e12e293b3ad53705cc8925fa8ad0f6464f7f2a65fc9139dd1709e8ceea5c84528a39b35e44f5851fc1cf53848f WHIRLPOOL 0ba926a852ace1a7b2a7bafbcd231b5b7d4ffbe0891958c4ee80a4306079664f5dcea5def136b91c5fdd2f0c56baac07d11a97bd65c3776310ee0dab37b49a62
+DIST 6.2.5-TIVsm-msg.JA_JP.i386.rpm 3426786 SHA256 fbdf981a7a8cca7208dfb6a2234414d3d19936bef80dbc72b5f20e969515ce09 SHA512 6e32ab4ddd161ddac4d8d286bd28f97c3bc9cec08468877059d6ef5d58d9011fce6ef1a9330bc0ef9c79001f571af886f3d9fe3595bdb5a978ce251b6281b1ab WHIRLPOOL 7c2593ce09622c08700631e0bf489283362f478e9a6f22368da3c3490c9944caaef64444202cab39578dca83240c7e20b63a697faaa0ea69c5a1936ef0f25872
+DIST 6.2.5-TIVsm-msg.KO_KR.i386.rpm 3344401 SHA256 5df78c088f2d0c69b8f4b022e32dc966320f8e8d51c09bd97f6a7b5ae90e4802 SHA512 29ba8ff373a0c461f5bba3055057c0d5c3c174bce887e9c7bf6b9f63083fda364408137a295f29c2de60c6a4142cb2a5d8dea5ddd6919227a49c3f2315e67c41 WHIRLPOOL 8419ea138a321ef1c9e98c179e7faa5db96f2233c002fe9460b8a08f5cd5ae7164ece754dfa9556df54e8d0ce9ab005d80d85201d48ee5b2e381a2a9d862a3a1
+DIST 6.2.5-TIVsm-msg.PL_PL.i386.rpm 3260918 SHA256 27693227b4da08aa3f4c38167f4c430e52145bba175fbc6a729ef152e1786a00 SHA512 2acc5f5a7e5e907fd69e4b9877e7a50718967acfa00e25fe34ec787835fe3c22dad519f1887ce7a3d0f59369f0b1d0d281174227dbbf32d0a61df568e723d935 WHIRLPOOL f1c1ea79ef34b7d9aa18ad6ed18e5837f52655e1e09de26ae52a8e72df1279494183e62219c80c745907bd194663c192eb89786c3b4881e51fa7961e4fb02285
+DIST 6.2.5-TIVsm-msg.PT_BR.i386.rpm 3419164 SHA256 9c940a88d1c9ea413883b6fa1e6f58ebeae8df113d70577a81056cc688934502 SHA512 11fd6907f2435fc74cb617a883a0c83b725fac41f529c5052de1b6455ba6e7c2ff8829ec3affb81a801182753b5ec5939f3707ee6d880a2cf218dabdd3423bf5 WHIRLPOOL c87d858671fd5611f6a1ba6519a331644f8c1dde0facfdcfc0227f95d23cb2d43fa23d05d3b733f1f15d25d1d4cea299a616cede0d93435de48969c022fda935
+DIST 6.2.5-TIVsm-msg.RU_RU.i386.rpm 4251314 SHA256 35840ad981017ccf598904b04327d14bc5fe0ea53d6a355beaa6f51ba8a5d952 SHA512 be2dd6d7d635411e01211855c4841844981e196e68474b0e83b8a6c1ffa44427b5a4549672c17c16806b4e252d728bdc1b459afedeaf374940be9d5e2afa8260 WHIRLPOOL e4aa63549cd10b446e47ca97d5bd62d81058efb4a1b514ca478dc826f85e834cf86bf741f50b4b8f2871605e6ad744093455439b4f4524785de18ee6632ab9d0
+DIST 6.2.5-TIVsm-msg.ZH_CN.i386.rpm 3060726 SHA256 7a5e0df2d3c7da4b84ace6f70e48e78954118d16e7f53373505e40cb38c03df4 SHA512 e9f3a22bdf460bf326c018c6f016c5709b4fd235da0585a198e493a56b7ac9d7f1ed827696da7cbe0a1176a37fe2360009aa099f2ec908944c96f744fbb8c85d WHIRLPOOL 6d42fd895d1169a34371da693f9ec2b4f5f8e344f5554d721cf67fb821349688d3ef84db9218b2938b1231bdf33ac106816d12228d1dcbd1310bb06f0123f1c9
+DIST 6.2.5-TIVsm-msg.ZH_TW.i386.rpm 3181619 SHA256 4ec5d47fd9f36791a8e2321c2e03382634aabbc26366958c4b12fc3d9d6d5bb7 SHA512 f2c9a47c89166e453d2083efbc819a96116a78167b4818c4e92929a32b3dd1d41883b6ca5effea42dd42e1254d935dd2ca02ba3886cd49522305b065329b5a64 WHIRLPOOL c8262a71ed0af12ba2789b2d12ee0c7dc53c7b1147ebc09159a57fda4acaa0adaaefd23af9169e9cc744f42ad726b38437c1cb37c2b9d2260eba661d426c6089
+DIST 6.2.5.4-TIV-TSMBAC-LinuxX86.tar 102727680 SHA256 752a1c94b3dcb21ce096fd73d081340212d999a29344f5589c25e12d5d74a55e SHA512 92857490728f13c2ebcf4cb32dcc43b6a3ae1ac11e6b409435509d3b5412ff78179c1eaf43591057646008178376eb0336aa14c3b88aaef9adbf520182e85c44 WHIRLPOOL dbe5ed6341a3bf8adac6450de2ac71fcd084df6f912225c04f7921808c6464a9962f5349aa8c7a6e8fcc81d82b7b96981aa69988c006f2d6194889c1baa1c145
DIST 6.3.0.5-TIV-TSMBAC-LinuxX86.tar 127825920 SHA256 8af4112da3450865af2db4cfe3ac0c50aeaba41c7b5d648e44bf169172ebb471 SHA512 92e11084481beeba3a35b6324fd3afc557aa28924f72a34710f8a62aff41a8397a5886919777ff9868384dabc3fd3d0c4290f38ea0b8962fde084b13e9430947 WHIRLPOOL 69f8eb3dbdce913c0f9c9cd35d35c03d381b3fd8709d8e44a8cef35b32b3442936a71c2494051153be11471e4b346de0c3a45a13c554f7ebc058697ef673b575
DIST 6.3.0.5-TIVsm-msg.CS_CZ.x86_64.rpm 4957692 SHA256 84748fb6e95717322dcfdffef04ebc39c31a73428f027f23bb828f4b739bba62 SHA512 bad32bb3d0faa75c696506d191e1af97efbf89d9109a2c11e065a8e21c2d0d3dc499faee1845031311356275fc6508f1ad85b0f9057feace7ba8751c4eb4e21e WHIRLPOOL 2f53fd6c5ef333ca1cdfa1b58a9ccbd8571b65851b20b89160b7d5d8e5cd3879560c5ee270c90d88630bcc2940eee975147f2a3cc9a1dec6f9fbd3216ac703b8
DIST 6.3.0.5-TIVsm-msg.DE_DE.x86_64.rpm 3593003 SHA256 c589e5267726f8e660e0c82136d2d25d5505dc58ece6e43440a10d5abed2ab81 SHA512 4b55f8a68fb9344347c42877f225c8af583224aa644c0c3400a9f4ce256b00f0eede58b34e801301b53d2daca3a6ae2e1f4750293f016d27e1df697d940865ba WHIRLPOOL 53021f3c52a6c5c9b8fa5aefd7832a07aa718ea5ee0207817b7cc9ce508afaf7619b834336e4c55be4d7a75938a05d7bbf3d95d74d039ee51bec07efe209b5a9
diff --git a/app-backup/tsm/tsm-6.2.5.4.ebuild b/app-backup/tsm/tsm-6.2.5.4.ebuild
new file mode 100644
index 0000000..42a3919
--- /dev/null
+++ b/app-backup/tsm/tsm-6.2.5.4.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils rpm pax-utils user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.ss and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="hsm"
+
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="$(get_version_component_range 1-3)-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( ${BASE_URI}TIVsm-msg.${lang#*:}.i386.rpm -> ${MY_LANG_PV}TIVsm-msg.${lang#*:}.i386.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="sys-libs/libstdc++-v3"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ gsk*64-*|*API64*)
+ use amd64 && rpms="${rpms} ./${rpm}"
+ ;;
+ *HSM*)
+ use hsm && rpms="${rpms} ./${rpm}"
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}"
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}"
+ cp -a usr "${D}"
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR TIVINV_DIR TIVINVFILE i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin/${i}
+ use amd64 && dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API and -API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin/${i} /usr/lib
+ done
+ dosym ../..$CLIENTDIR/ba/bin/libzephyr.so /usr/lib/libTSMNetAppzephyr.so
+
+ # Mimic TIVsm-BA postinstall script
+ for i in /etc/adsm{,/SpaceMan,/config,/status}; do
+ keepdir ${i}
+ fowners bin:bin ${i}
+ fperms 2775 ${i}
+ done
+ TIVINV_DIR="/opt/tivoli/tsm/tivinv"
+ TIVINVFILE="TIVTSMBAC0602.SYS2"
+ dodir $TIVINV_DIR
+ echo " " \
+ > "${D}$TIVINV_DIR/$TIVINVFILE"
+ fperms 555 $TIVINV_DIR/$TIVINVFILE
+
+ # Haven't ported the TIVsm-HSM postinstall script (yet).
+ if use hsm; then
+ ewarn "This ebuild doesn't mimic the HSM postinstall script."
+ fi
+
+ # The gscrypt{32|64} postinstall script only deals with s390[x] SELinux.
+
+ # Mimic gskssl32 postinstall script
+ for i in acmeidup valn km cms p11 dbfl kicc ssl sys ldap drld iccs; do
+ dosym ../local/ibm/gsk8/lib/libgsk8${i}.so /usr/lib/libgsk8${i}.so
+ done
+ for i in capicmd ver; do
+ dosym ../local/ibm/gsk8/bin/gsk8${i} /usr/bin/${i}
+ done
+
+ # Mimic gskssl64 postinstall script
+ if use amd64; then
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../local/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../local/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/${i}_64
+ done
+ fi
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ use amd64 && mv "${D}usr/lib" "${D}usr/lib32"
+
+ fowners -R :tsm /opt/tivoli
+ fperms -R g+rX,o-rX /opt/tivoli # Allow only tsm group users to access TSM tools
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ fowners :tsm /var/log/tsm
+ fperms 2770 /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys"
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ elog
+ elog "Note that you have to be either root or member of the group tsm to be able to use the"
+ elog "Tivoli Storage Manager client."
+ elog
+
+}
+
+pkg_postinst() {
+ local i
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i
+ chown :tsm $i
+ chmod 0660 $i
+ fi
+ done
+}
+
+pkg_postinst() {
+ pax-mark psme /opt/tivoli/tsm/client/ba/bin/dsmc
+ # most likely some of the other executables (e.g. dsm) need this as well, but I
+ # cannot test it at the moment. - dilfridge
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2015-10-25 22:10 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2015-10-25 22:10 UTC (permalink / raw
To: gentoo-commits
commit: 69cc1be857d84807ce10b25a44a6eadc678382c1
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 22:01:57 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 22:09:33 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69cc1be8
app-backup/tsm: Add myself as maintainer (bug 562408).
Package-Manager: portage-2.2.21
app-backup/tsm/metadata.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index a7b841e..6328f11 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -15,6 +15,11 @@
<email>dilfridge@gentoo.org</email>
<description>Proxy maintainer, CC him in bugs.</description>
</maintainer>
+ <maintainer>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ <description>Proxy maintainer, CC him in bugs.</description>
+ </maintainer>
<use>
<flag name="hsm">Installs Tivoli Storage Manager for Space Management</flag>
<flag name="tsm_cit">IBM Tivoli Common Inventory Technology</flag>
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2015-11-09 9:16 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2015-11-09 9:16 UTC (permalink / raw
To: gentoo-commits
commit: 3eb869816060755f95678a00610d570313c8e73d
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 9 09:12:25 2015 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Nov 9 09:14:04 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb86981
app-backup/tsm: Version bump to latest patches in 6.3.2, 6.4.2, 7.1.2 and 7.1.3 series.
Package-Manager: portage-2.2.21
app-backup/tsm/Manifest | 43 +++++++
app-backup/tsm/tsm-6.3.2.4.ebuild | 238 +++++++++++++++++++++++++++++++++++++
app-backup/tsm/tsm-6.4.2.3.ebuild | 234 ++++++++++++++++++++++++++++++++++++
app-backup/tsm/tsm-7.1.2.3.ebuild | 240 +++++++++++++++++++++++++++++++++++++
app-backup/tsm/tsm-7.1.3.1.ebuild | 241 ++++++++++++++++++++++++++++++++++++++
5 files changed, 996 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index e0af9e2..f46c565 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -40,6 +40,20 @@ DIST 6.3.0.5-TIVsm-msg.PT_BR.x86_64.rpm 3561746 SHA256 42e23440cfb9a7e17e222a9af
DIST 6.3.0.5-TIVsm-msg.RU_RU.x86_64.rpm 4287820 SHA256 1148791406a0d946d9dbe08e77c439d57c30ad1c72fd5aae913b90c16900c0e1 SHA512 3b0f970274fc97188c56fe2afaf16d166543224743f9c3574f22273801ef0b6c54fefa690a82758e4cc0b2f58ce17ddde8f6c5978fe25ed4c18b51ae35f8bfa4 WHIRLPOOL 6b2fb7a9d538c9c942fd8643cabd519270d791404eefc03cfc41c79608fc451f5e4aaccac4fd0a71f401f37e67a06a084c11fd4f5890939181a8d2ee3f9b3e33
DIST 6.3.0.5-TIVsm-msg.ZH_CN.x86_64.rpm 3213684 SHA256 88a9f99ebb306e5e40c6e56398b43640fe0c56cdcc7db21a026d78ff8ec540f1 SHA512 ed3405844cd7c38143c45470492cf832cd4c20697663277aa4f325fa3153e3eae8bf110bd5d66c216a4bfcba380cc6936bf0fe52a1a86ad1567bb4a2f2cf4895 WHIRLPOOL d6c2fc84f88f01cf865ca87347df0306b66a6c7e7f0c7c63b17b75d04e702d6983be553e3463ffc4fa58c748ad571278589b28849bdc2df65afdf43ce1ce7731
DIST 6.3.0.5-TIVsm-msg.ZH_TW.x86_64.rpm 3321809 SHA256 e316f5a63bba7d966467331365d3b2816461aa34aec3df0a42a7357227604e3d SHA512 9ab0a568a1dd961bb313e3daeed05f584ec700ce7fea03e80e6321c3b4cf7953f7b277c0c57146ddb237ea430b69f77ec0521dd4f8ab58433311d28df76ebc27 WHIRLPOOL 28a53f8be264a94d7ea3b9b9d2d4c14bcf8f6c3339047222e62db54368ecc0b38a6bb91f97ba972acfcad10cf5f7ae8efd8addaa34e3b28796397ecd2555a3d3
+DIST 6.3.2.4-TIV-TSMBAC-LinuxX86.tar 129187840 SHA256 69e5fe4ea7e18a0e0e888935be9af5bd02b18578a333ff9d3358aa5dfa17aa03 SHA512 247d3e3cbe58481284af7030194630c44aca690920a4c5827a0ba1522f7d27ba2acd73b887b7cdcd793777eb5af78ffafa8aead2939f60a82411ebda45236784 WHIRLPOOL 45561b073da87dd96518e1eccbacc493d348999ddf1a4885c30f27b0b6751d850fc7b3ed7cc25d5a436fda3391437aaa4bc789675f90d9e42322218db6b7482a
+DIST 6.3.2.4-TIVsm-msg.CS_CZ.x86_64.rpm 4972789 SHA256 b6328f3ca50669503335018e9b6df00fcf4d28f4ec84194b87a6fc45e92525b4 SHA512 e2440ac9bd5422482b213de29a7078509501b6f2983237d7bd79812640990aa189c59504da7f1308f2ae97512a41d1f20c921f3bf9a9aff13b2c37fc5ce23c6c WHIRLPOOL 539f9485dfe46f6eccc2e1533516c7dec69a095216f911a012d9b26cb24c244c0ea3ab3e881ac02e786962628e2af29e0b6f2c052b8ec92a0d49f27d9b26d0d6
+DIST 6.3.2.4-TIVsm-msg.DE_DE.x86_64.rpm 3608549 SHA256 423e8d437f898f509225f73ff5b2578e35a7b022201e049efcb9e0cf438764d9 SHA512 5ca423de085c1c47cc9105094ed0ea693ee597d52018c68210b89873ef8a9c4709b55fba6c14261090ff13388dd4bbe8ac4a159585021441a6437de7ea268be5 WHIRLPOOL afe006170d904a19ab79391c6543390347d8ea3fbdad6d6d4f4cd881361ebc85ac2fc3aeb7736b810fa9c1a4bfd362ea2954e39d45950ccc4980bf1e10348105
+DIST 6.3.2.4-TIVsm-msg.ES_ES.x86_64.rpm 3688329 SHA256 f4108978dfe3b79fc8a46befc0e607b33e5ce32b1569fef707e8946f0c8670de SHA512 8e2d5e374b451bd57bfc30e6647a1f593bca65ffff4aca6b21d53687d785934e74b5311783f8a2378ed227e46443080759692e5d5e51f62422f39fa67b839c8a WHIRLPOOL be17c6f3c9381ec71572cd7d61694c0e248b01f7ba4501fd1c68a9f6a3609d7662e241978801bd266f10c42579a7057aecc83852f7301f737a4541c596438805
+DIST 6.3.2.4-TIVsm-msg.FR_FR.x86_64.rpm 3606230 SHA256 e82c4eaea3d082578002b7aafa7dcfeefd63ba8ec70c32da3dabec11f579194b SHA512 6d4336bc0f24a74b389b9dd2c6282f1f1b21a603c54c7f07a180655794ca3552f1bbc3e8f91fb12275afabb039bf1bde970dab22c055fdb28ee39b78fb4d4345 WHIRLPOOL c5ecec49594c8b68f3b90fe7c367a4d1066ac4841469cc1274f0128a717141262925780845c3dc20c517c68eacf77e74e234c795e403af7d55113d7938946f46
+DIST 6.3.2.4-TIVsm-msg.HU_HU.x86_64.rpm 3566244 SHA256 130f7801f7a5370e2977b5d0bcc0429a7158853bf4380ad672f71d12921601d2 SHA512 1c76964222e9bb2e83746ee9969b87e9a891b7e440ae9059dc1c3120439686f046ccc09f305c1c675f787d6504b30effed230f91c18c11d21a50d7bf11f89170 WHIRLPOOL f73a807cc88dd1630f1c3d38c3a7f4c75d8e8617929fbcdf7dcbeb33d266e6129033f87881d16cb2c2dd50e604e91f6db3bc2bc9af7daf8ba0a8276f95bf288a
+DIST 6.3.2.4-TIVsm-msg.IT_IT.x86_64.rpm 3434013 SHA256 e5286cd818fa1aeb0fd96d0bc99a7462cc01c84075483117bb43580a408d3935 SHA512 e666f0de829c6410f7d7e9259c22975d7deaf51889a662d2fd9acb9e047a4b990d178c7c68235057b73d1b7a1f674b0d71f66f6fbfc81a0e4489db2b4a1cb2f8 WHIRLPOOL 75b2af7fbf4f89a2529457fbe3e2bf3b489ec56364cb1b7a7720e7c506e6a84604d0d0b856c952ce95f3f161893e263f35e83390367dd290f08f00f6fa5b04e9
+DIST 6.3.2.4-TIVsm-msg.JA_JP.x86_64.rpm 3442213 SHA256 5c1726cec5306ca50a1629397e40b3216362343cd1340b7999b029a9864df9ea SHA512 a7c4a75537e8f17f211b290996c6d492dec0968be9e49033bd406fcbdffe9023d5db15aeafc8b2468959d017dcac60c6805b3ce4b3d341c4fd0fc938ea80a23d WHIRLPOOL a7df703ed350f9a3bbb9f05727e834cb4b23fbf6b7ec2c3f1c6eda10b788939074682a7eb44d82414f8e7e40ccada540ab3009e1a773e3cebfddbddde5c05faf
+DIST 6.3.2.4-TIVsm-msg.KO_KR.x86_64.rpm 3524176 SHA256 0629c19d2e5e49c2d55ad419fa0a6043b2ba9811c8a19185678fc833a5968dea SHA512 25bfa37f9d892c6b218e7fe89151b87fd15206daa5dec8a9f172dc12f2ab6fe8d7f1f27dbfd6bf0c7d787069bb9cb36c43a716a0a643387828641924129db60c WHIRLPOOL c8279ce0d9c1f4ea2154758b0aa7fed1eadc7f6af1ac41e0cc04463559a5dba6fe682128f29aa7f6e407d251998aeaa38b003b771645295049e9b9f480325336
+DIST 6.3.2.4-TIVsm-msg.PL_PL.x86_64.rpm 3420877 SHA256 396b68d996bdbe7c335d35dbc7dc92ee02a03d5574789f3e1f635fa9448a74ca SHA512 21a7b6125b1c7325c362723cdf31f0571563402a446291a3ad93481b2e3875afd5e1080f549ff455c851031d836b6410f83d0eba0b153c9221738d1797bed29f WHIRLPOOL 961c612af3d32663ab4d47c29cf82894887678cbfd62c11863c8b4a9587c02f2e3760b606eca4a41dddc031f96fa58022549ebc5e59adb7db22ba5aa8aa6ac7d
+DIST 6.3.2.4-TIVsm-msg.PT_BR.x86_64.rpm 3576551 SHA256 88a276ddf39c568d9b9deebfe9721eaa164136dafbe9b9076389506e56ce40d2 SHA512 e828bbf50b773aa41d91b2d0d4a5b2abaf830dc12005d9babdfb67f0e62398c3754fb7c7976092f5b7247f6b8e0bd42b82036985863e2fb4c04b327d2c763529 WHIRLPOOL 917c338859224f12169c26e272b70695f461d1a79c4a650d2eddfa78587e1ca9cff9325571327c0be7c5601a75f9e3907c6bd7c2dbb8242840b98d697786a8aa
+DIST 6.3.2.4-TIVsm-msg.RU_RU.x86_64.rpm 4311626 SHA256 9366845fdb7dff6578895ce9a63686ed62ec36d10b22c126f93b2c163d8f95ba SHA512 46ed5e928d016588b8e8ef610c253f3f5f752ac64df6b5973d901f5cad175456afc59d88ce885a8e36200ebf71a0f051aae58f7a9ec2c3bbaa07096f9ddc3be9 WHIRLPOOL 9391be9779b7547f6e8c11f714ff2e52c5c2e099ce3152b6537792f043fbbec1674f969394a2bc95d013d1d8682c229a7c8c8a853d40b526c2b71075cbe44364
+DIST 6.3.2.4-TIVsm-msg.ZH_CN.x86_64.rpm 3227099 SHA256 914e0456a2f6b4b37613dea855a2a3929977624a6ec902c5880c171bfca63378 SHA512 393613c89038d06a0b834298b20bf3da9d68ed8a67b519171185f76d3f4b193f544140d9978e04079f1f2e89aeae7d11d8c145c6f8ab23b3b1863942d9bf09ac WHIRLPOOL 9d88949ce93e9f2f5b34cd4cc1478176e6ded8f2ae5aff91b215ecacf81a417e96ac4235b6467c835919a44c33d5bb28bf6dba8d8d01babd18f2e7ffd27f4061
+DIST 6.3.2.4-TIVsm-msg.ZH_TW.x86_64.rpm 3331580 SHA256 11c98d268bd414681cec490591b6adf381a67fdda09d876588ccba1cb1234d0e SHA512 15cbc803063867249f6f4ae19f130b029f03935a6f662519b999c5aa4ad0ce7c74e969120411dec2878e2e0f4999b37b1796c76f3faa1667307bd5e7c1b62b14 WHIRLPOOL d7bb6831fe4fb5102787dbd22601d8639df16c00011b71277a967285b87e002a3077f769e8ee9293452e70f80aea4ec38e6a79dbfa9e9abde2754613325c5794
DIST 6.4.0.0-TIV-TSMBAC-LinuxX86.tar 128419840 SHA256 0e1ad405b73ae377ba20ac8fa3191d949a7e14da0dca630dce8aaa295e4e1bda SHA512 bc231edaed221d9fe98bd436498e08f7fdc437a4416dd1e857da86d5840de3f1798123afa888d7fdb97b4036215eeba740cdbe13719dd0e494922574ab27065c WHIRLPOOL 9bc897987e1f41c5a3c6ec4cd9b2b31494ecf20946a22ad7e4fd6181d7979a28af68f98cca7b24a9be0d7d8a9b0c1e18a23127b2bdcb5213c721115c98d85283
DIST 6.4.0.0-TIVsm-msg.CS_CZ.x86_64.rpm 5074105 SHA256 d1ce5a86c37788403a4ef7c97f7ea1b63b9c0c734d25e1bbe58722fbd4a574d0 SHA512 3d0a92cc9d739124998c26d136ab1d2694ecf7b8c574588b5f270dc66319165e7e14482215a6af82dc7fcf30f55054e4b15003d579fd7c1f70860aa976ed6b58 WHIRLPOOL 72768ab1ad537d8b5a428a81253b7229744083e99b7255f5dbc8c7719bdbbb7488be0441d1412923908d895f9110da0def9a026e007afde9a3ea348f554e0927
DIST 6.4.0.0-TIVsm-msg.DE_DE.x86_64.rpm 3705462 SHA256 a5548d40a63d8fc526f9185737616eb4cce2a6d8c52c12eb7f66410920f57f97 SHA512 f700130ea993b9e6c318bf4b3c10d95d934d971c36f0d277fe918294168709ba10885966d81a277ff43debdfc7b1203cbc1451e903c75e3383c2620cc8685e9a WHIRLPOOL d8ab7799c1ab08f32bdff608b0d0181d6455fded4d6a5f1cd0110a841af30aa47f5439e63686290445584c1f0d0542d0ec9b9a3f6f3dba8bcfb869801095638e
@@ -54,6 +68,20 @@ DIST 6.4.0.0-TIVsm-msg.PT_BR.x86_64.rpm 3688190 SHA256 d0df3e3dafa753e1c20f42834
DIST 6.4.0.0-TIVsm-msg.RU_RU.x86_64.rpm 4524276 SHA256 38ffb6924914c733642b73517115f4a08ece0b65867b2b72eeeece5fbc387ff4 SHA512 0a5132d236d3f69559a3b851002a51f308defd45b4ff08d53b7604311c41b3e99007e9c14c30bbfc24d14cc4581f652aa5bece0dc2ddb8ee040b4be84b0595a2 WHIRLPOOL 3903178db9ec62194710679d6e716d8fb91ef4259177dddce183e1a0ca8054a3ca9463b09eec780eaa695a1219ecd7200c5b6231736d65ba3fb07da2d9cb8852
DIST 6.4.0.0-TIVsm-msg.ZH_CN.x86_64.rpm 3295321 SHA256 baec6e1493ad4f3c7e3dc91216a6ec009565333b7c95dea127536927b3a9b67c SHA512 20c125024f858bd953e8eb02d4d640f304fef8036f3a7c3a27b80ff68dff5c95629cbb57c4905101420caa2486ff167f3241e74d4c62cbe79a2bc83103826fa6 WHIRLPOOL 818f31ee2391954ef9b3192985401916ad55ff398854e93f6165beb744691b5a89d8614b4e5c5c1e0296763d0ddde13bed86f3522d624a1f7b54ba3fd6a87493
DIST 6.4.0.0-TIVsm-msg.ZH_TW.x86_64.rpm 3406128 SHA256 a963af329d2f292694c22b635a971f41718b0c2f0a3fa179ba824a523fbb802b SHA512 75d23577881d5bb105cdac0349f2046473e0705f48e27fc1741dab2e30d4db6e3a75d061b1428fe681550812155ec54297c404f3598aeaca8d61e53fe2b31a49 WHIRLPOOL adb5f63ef4c4336005c95a4c9d7bdb2a1b6a51ba7aa17aad21d769276085d4dbb718c692fc19b2dbfe40c661b368a47053d519afcd8c92c77f41ef96ae7699c4
+DIST 6.4.2.3-TIV-TSMBAC-LinuxX86.tar 122378240 SHA256 65b5bbd3d7e3a38c0f7b8d893be57bb2a779da65e64d23a2773b3b7e058f6d8c SHA512 0cc562e904e9ecf91db8506db33ea98fe34021f68abfbfec38488baa5db7f061e3e76acccb2c2062446901db54eba33ca2b5e63494fc3acfd75a095bf867ed39 WHIRLPOOL 7440b6f80894f53f00220a42be61324eeed12d83719e547513c2826ab574166d580e7a1bc11257ca7050ad3126a0b5e645304394db3712119b87e9cf6d3e0dcd
+DIST 6.4.2.3-TIVsm-msg.CS_CZ.x86_64.rpm 5100632 SHA256 c08875d38e7402cbc43758905050e6268222f3e8b42a589613cfa54b25175ff9 SHA512 03be8534f110c95ae17254a0ade0eca5e385181ab4ab6c6f33846dbafd685c01f6b9e8810bb62e0afcc428b2acdad753de4c682ac081a019d4954164bfee6a85 WHIRLPOOL 54c9505f3f1ebf41d2b475707bab857b20bd45687e63647918fcb4264bc67e76c5ae7350709ec632fa88eeb9cd5401c408dcfa201c1ea64fb0eff4b26d6b6d17
+DIST 6.4.2.3-TIVsm-msg.DE_DE.x86_64.rpm 3727873 SHA256 69042e45e86dffde5a56ba457e7fdde48f6641efe9d1a2be29ad0f3b4a808366 SHA512 bea10cff120ac9417ce8f0d28d58b8a09f88a3c1bc017d47739c2962abd55c0f692c93b90144c04520cdc1c8934390fa9f384789c4a8d92053907a2d3efc9c54 WHIRLPOOL f48775971aec35e45b271425f2391367a4f32cab43a9efc2994dfdce8533ca649338bf95a6991c1d61ccd39eaac7346519e57c8e96c10ffefea62c6f2f88d485
+DIST 6.4.2.3-TIVsm-msg.ES_ES.x86_64.rpm 3805432 SHA256 eab5a247a9d7c0441463c20588b282d91ff6b193eb12070e9167e1132dc05770 SHA512 78b215dfdcd05497df9aed86aa20ec171cae12af9b4dc05d08d10b0d436c786e09bb0e8399c29ecf09fcb25d22fb5c15ecfd3e2cb873dd85e25d91d35383e6d4 WHIRLPOOL 67a2c54ac6766cca3e0ed176f22ce04dcaeb81999ede44ec443bc27b63832fbca1bc938b5686c5c1a7e50c234eba45ff271923f2da0fc23ac3fbaafcfbae8436
+DIST 6.4.2.3-TIVsm-msg.FR_FR.x86_64.rpm 3727646 SHA256 51498f34f8e1b6f312a4cdb1b103fedbea568a3b082a7e4e44ad9ce4cbc2e3ba SHA512 439bf1a9819a06ae09b856609ff51d665ee1ebd1a013a4690374fe61b8813af7a62c693f8eceffc6283054bea6626f4f64f732899db427d2662a56060e5de80a WHIRLPOOL 9ada9a14e11226ec789fd4f4c7a4e0d5afee1ccec1f0da193366960aedcb829c0d2fc3a5234e4dfc3851338abd37ac6b9e64b901aef58a41791a2e27c4b3336a
+DIST 6.4.2.3-TIVsm-msg.HU_HU.x86_64.rpm 3719374 SHA256 c3822e5b6a21ef4e3c1adc054b4836acd1d9330e12796143fe62ce7667449cce SHA512 cfbbacfb824276e369c87bd4ca063403187b69537417892db1017eec3d8b9a716d3610f4240419b1cc29dff9a4c66afac6a1577d1f4f4e9be45006d9df4f85d1 WHIRLPOOL b293816d7c203777e6a45e9a86b4f9377d65393cf30958f751bf1d706d2a79dabd1f47a2945c156f6ed6f8bd7035362bdb20c5b2b8a9f8d890b2aa71be4968b9
+DIST 6.4.2.3-TIVsm-msg.IT_IT.x86_64.rpm 3559355 SHA256 794e11e2cb5b3864d15ccbed4d620c7b73213467a100fa65b10c980c4007b710 SHA512 b24a8d13206fbfc674a2071f03cc110ed378dde46fcbcfa3ae3a861ca58f89faa89dda7db160de75d0c35aef12dcd2e8a75669840973fb13db9db8e1b83aa3ba WHIRLPOOL c84ee7103b092a625d90fa1986d78d5a356b280f4db22dffc38ed0cf35e8cbdd518366ed2c864e24cc3d24532f639636c90c842a4020d0d2efdd7b181f00a448
+DIST 6.4.2.3-TIVsm-msg.JA_JP.x86_64.rpm 3727759 SHA256 fc7de7aebb4b67dc5d808b3b05be28de739bd67d75228c5afd0da2fb5986bb83 SHA512 54a0118bad87993e61bc4e2a0cce90c7a784b67328c6bf1960a5ff6d0c32b01cf8f6bb2b1c7c5a3c52263903d48a75f81aaf7e4ca9420f076d02d76973bf6764 WHIRLPOOL 4d385c93e352bfc14b56e6a5b7426ff4b0bef96597068acbe7d21369cf03761c51f037813bc1a1352967f9669c0936ee3d93412c9be2440f47a1331084711a5a
+DIST 6.4.2.3-TIVsm-msg.KO_KR.x86_64.rpm 3381424 SHA256 5bc9ecc658f8cbecc9218db2294efd23ff83f34b6cacc806d22b5e7c7530eda4 SHA512 5b0bb52f283db9f7e7aa7011152647186a4561a0554382cffebc0a7c9ef80230ae3bcdc33668e3c1e9c39745038e71652b4391c1bcfc4815ba95395180e257d4 WHIRLPOOL def08e601aaa53b008ef164779807db0f963ae5b08c37a78da5f4fc71ee51ec946e983ed30a7cb1114698006d3bbef9af72f82172071f68d1872877e2e7c879b
+DIST 6.4.2.3-TIVsm-msg.PL_PL.x86_64.rpm 3539337 SHA256 5b0ff9655a9694cf90750e6169930caf0af08a8d836a9f51b5e4c8e2d739aada SHA512 8b3b66de16a7c81be7bcae7e3542d39df49439f1a0976f91c4f51407024b135d3f79f56d4e90b07ba3192531aa6a5ac18cf103fefac3d5db2e32c5986aeeebe9 WHIRLPOOL e1311a5a440ee41dc010e08c029848aaf60f3dd3e314b0d2295f551069299623aeccaaefb8dba22806d6d9371bd90b128385d0fdfa8821e6e27973e9d3ff7e15
+DIST 6.4.2.3-TIVsm-msg.PT_BR.x86_64.rpm 3703558 SHA256 5a52349f3870d0c6a0ad21d2611c7af27068e80ba12f49a01d4a85ba129c04d3 SHA512 436772bb8de538a1dd1a4327777120f9887d34333c5e42b2ac9fce7d9061444ef2ef3e992dab8f63cd54009629313b4c103ae7b36231bd4852fe0c7f0becae9f WHIRLPOOL d90cc2c7ef6d5d588505dd009bb5ab8de2d3f99d1a60a643de1305980b8eca417f704b892289b0de012562aac665486518ddfc0f4879ff906733cc2dad4bac7c
+DIST 6.4.2.3-TIVsm-msg.RU_RU.x86_64.rpm 4569323 SHA256 b27092e8b874b937267d841059c23fd6b696abc9b9eafa15ede20792bdf5a0f3 SHA512 65414eda354247503dc8da7ca41cf8ec1a8131ca3df9b095e10f53b1f292c9c8506eb5b55f8d618f89fa5893313092678e8e13dffde3e372947656f8c4404b8e WHIRLPOOL 69cb7b06e1de0cba09115718aaa9401663a6f43017fc96f27f0148aed45b581e91f4cfc9719c9eeed74f0ad7fb0a98c4769405033f90af422bf7496f7bc12f01
+DIST 6.4.2.3-TIVsm-msg.ZH_CN.x86_64.rpm 3307675 SHA256 bb8c95cc8087a570227b5d79fb6b1fc202119d634ae510ed38d933e07e0c0047 SHA512 d13e543a95835eed3a8d36fb266f66c63d13d251d3395a55d75ab68d9602b1ed4c1123834433a3333274753e062ffbf0c6c22c61bc651efd5a49ea6fa759537b WHIRLPOOL e2c71044e7f2b391e2d907df2b3a6fabb18ea14b79ffaa9f2c32f29a1a8070c68e3f2f5e0f96642d8271e311d9545ab2ae91067d1c02cbca482a564cfc9db99c
+DIST 6.4.2.3-TIVsm-msg.ZH_TW.x86_64.rpm 3439631 SHA256 5c029c428adf28f13251d49f6ea911c7c7bca72815402b0021cb5936389f6a90 SHA512 3195d789396eb9b07399050a0b32718d8fca9b08eaebb53d2ad8db64861a5f6a8f632e628cf90af417e3dc851cc00817d5ebb05068e6623187a36538fdf85633 WHIRLPOOL 4412cb087005c333ce9047656dca04492b1e27392853f790e1a92b91ba0baba0a79f64fc29236bcdf5caf5d112cd7c7e9bae1012c6b3acbaa34b580c1e76dcdb
DIST 7.1.0.0-TIV-TSMBAC-LinuxX86.tar 99133440 SHA256 b0d48ddd3fb8613c8cd55dcaa2fe779dcf292779abaa252f46f63b7d466bc0c6 SHA512 ff1a3ee629807234551d1f9508b096fc5b87caf709e5b0b58b720f8e3e35b0b737f103f0259a52797fc9b7af5208f417d2575aae6a06201c2e8ae20db40ff46c WHIRLPOOL af67a267af992b89e47dfe7d0c07c4935f142a7cd44ad0628f398656222a2001165cd2ad97a08cfc2cedad6bafd36b49f79da5bf4221225d940980059171cfac
DIST 7.1.0.0-TIVsm-msg.CS_CZ.x86_64.rpm 4449301 SHA256 bae02bebe71f6c0f91b2baf37d12d6d68e6509ffa4e11d25635b2a5e685b51fa SHA512 117cabafcb9751a0d45c735df651b07b0e146ad81a9ab21761310ecbe70714e958406e61c78f1d155e0a6d00aa7229b05f6e94f583a6125684d55de03f252a91 WHIRLPOOL ba3d92c3e2bcb465409adbeedcbb29cf05266155aee59b07f62ef423f08f1825383eaf57b05f969bf721402d3cab4dc6eea824682428b806423ad915949608af
DIST 7.1.0.0-TIVsm-msg.DE_DE.x86_64.rpm 3748958 SHA256 50837d1085365b7ac1af6204591e47e6f23e610eaebfdcb32240b116522c450c SHA512 82789e0b6210067f682cbfb845978037ba0bf4bcebd04d350b7d93f855c4ce87b1ae7830c91af2d75b6c7dd6f4a0aad7d452224e79c2ff07bb56947c0a976215 WHIRLPOOL fba1d9718a10ed24911a2b42c53908266b5192f266c2d49c6d62107959b82a80bc46ce06319c689551b7441157fd443b860eaf1ca900dafb68f7709a5a7e4701
@@ -82,3 +110,18 @@ DIST 7.1.2.0-TIVsm-msg.PT_BR.x86_64.rpm 3736003 SHA256 9538c66e8624576ccd29a4adb
DIST 7.1.2.0-TIVsm-msg.RU_RU.x86_64.rpm 4378118 SHA256 2af3679b8915ff2699a9f26f6c25b21e0053a35063d74352f9c7391e57fb41ff SHA512 e4b332046097da752b77a810d89e3f0a1ac31eab192f3174cb36e3e4ebfe1e08b95895ecff7baf6fc9fb02a490edce26a26b73cd9d30ca12cfc2c2dd4b25a5a8 WHIRLPOOL 2e2bfcb0b800841ea117d1ade3ebdd2bcb1aa30495ece74371c3de32084cbf79c52c891f70c8adabcf668a9d81ecc64fcaa44c5b5144c39649ddf8baccf8cb69
DIST 7.1.2.0-TIVsm-msg.ZH_CN.x86_64.rpm 3430014 SHA256 a10b8fc59b5b079c92222d9ad2db17d11d619e10037d53e1804a0f94897d54c3 SHA512 02f5699d09372650ec1f1d50fb728a30f5a8d9cdccff18a3057fd67ffdc8fd585132e55f11f2c1dea05ec44258a16a56030a4e2fa3218ba3c9abae4e6c9d7c81 WHIRLPOOL b5671f6ad1713f14d0d0913e124442ba3ca29121b3c24b94031347911c2f475763e6699f3550e05f95b4fa83825bc98d1afd45027ea3a564fa19579902be22cc
DIST 7.1.2.0-TIVsm-msg.ZH_TW.x86_64.rpm 3527438 SHA256 52c4021f25bd29be08fe4fac3ace8d9e1a25c39361617e0c7cf331cf420eda6b SHA512 8e6b574ec85240d30ab4bfd1895e26db3c4cb2c624115d1315884408259df36110222826f000bb9507cff49afa003da139963ad35f5505d391ecbe6d9b9a51c0 WHIRLPOOL c28e6d067cbf0605dbd46540f527f70186824e06751188d889f119a244ef492ed1a9374f4098e75674264e4ecff2529989d84bce6a1f45740a341c5e2bb4049a
+DIST 7.1.2.3-TIV-TSMBAC-LinuxX86.tar 113408000 SHA256 d0c10d45a0c3ca283b21c0319997efed2c33e8a0cb2671191b5923b7309e0935 SHA512 47c6d7d78ebe2430bb39af084daf37e6e1020b675761c0789b7bb9078b56571423cbb7bbd7cd7f6cae41bfbc542ad569c3fd01fc6bd84b0904b4d9e64b9a564a WHIRLPOOL 2fe4448a5fa49b5f69de99812ac7df4f737c5b651284c0655f4a986bf1acd34ea59f15d0a36f63040b8f0daf7850865403091adea92a8a7c220d123c278cbe88
+DIST 7.1.2.3-TIVsm-msg.CS_CZ.x86_64.rpm 4436111 SHA256 c8da34c31b0b33ac00a80cee98070dd71289a54d1d4ae3b7d5ca702cab596b90 SHA512 ff9cc0bd3b209a19c03417e9283e5ac7572dff5ed54cd39f216bd671c432e68ee341b3560a19020ac9f4469a9747583c16af93d2c373a20227562c3ecfcbc6ca WHIRLPOOL 4169b74daa6f1327e9c6a1b7d4d5515b9c8355c6aea1ac99c0b3220b4c1c2fc64810ee905945ace9df79a2778684cb496d98c7bd92588ca691b88f7a922a0597
+DIST 7.1.2.3-TIVsm-msg.DE_DE.x86_64.rpm 3745823 SHA256 399a4cb8126691816b22f37d760c44f659133d79ac69be64b782263c7ab9b17d SHA512 d2be6d1ecab5239669eff776fede2cfaf6a370ea43e24c0623dd371b4db6b690539367350f5ec363a11d3bc8e41ad24bcbec0799e8cfadc337b69e5ab26bc0d0 WHIRLPOOL 25c4b5fd05f21692796595e09e00d049729cbe97d141de4bdba50f6029b6b6b7e751d207f1025c7cf508c7307c871c7df92d04431502d9ad4bdc77f4c29a8e07
+DIST 7.1.2.3-TIVsm-msg.ES_ES.x86_64.rpm 3780755 SHA256 9bbf3016efd6625a1fd1145348332fb0084384f6921ee57db30c575263f20d73 SHA512 d62985cceb0433a4dcb8107b241a3c13bc13ed8efef01680dd71ab8712bf908861506542735295a199ece907b9acb0df72edca7304c618f5bf5053ff94638b8e WHIRLPOOL fd9912d7b17acf7f2e359c705e77dc8d9043371876507dd0ac549aafb6702c9084f73c4145b9812b55538ec4ea1d46f04b8caec1e73bca9d051eaeff5433b5ea
+DIST 7.1.2.3-TIVsm-msg.FR_FR.x86_64.rpm 3734192 SHA256 e4aa27d42cd251ea400d5a440edcfebb690a01b7bb8a5bc7347b1c6a3eb6fb7f SHA512 c1c5614706a5c7afd74ecc4b49a5522e98a8253f4d8ab17d9f9ead8f154864f9b73e855d398655fc906f6b93f3224c8c251585c665bdb266d8ca7f41fb634ace WHIRLPOOL f198b0642e4b681a76e75c79749ad2d4b54191cc2adbefad39622065c2fb67b7750faa48578f907081d7097444044128dc666a8d5fe000cbbabcd0123e21719e
+DIST 7.1.2.3-TIVsm-msg.HU_HU.x86_64.rpm 3820435 SHA256 9db7fcdda1582e569c415cf2978ebdfb96834660a9c128f024ab3912c0300c77 SHA512 ed5afc7ff38fef08adc31226c6a8b86f66f4a8767f90d48520d2706be185684b632c368eaa702594d75a20412049daeb26ca6028095e3401a95ca7d7b6273480 WHIRLPOOL ccccb90257ae2feeab1fdd53bd00f25f592ad236af8f8d1f3c8e8e5199f04e12083925922600490fe532f7aaf1c7b3797af4b83ac934ea69a29e6d1f06e78b7b
+DIST 7.1.2.3-TIVsm-msg.IT_IT.x86_64.rpm 3632096 SHA256 2ee04d31ef14069e55b83816213ba9dac79aff34329df1f903306894187cbf6c SHA512 ba80f7137b8fc9aa53dfa501f94e07b9131d5a209728f6765b96f7b1674d39fbae91a9316a12f9432c6d2bfd553d1d58d22d8eb1a64e9ce059690370760cd7c8 WHIRLPOOL 81637a25f75a3683097f9a9f6440ebeafce5e8313ed254dfa16efe11310241fe1439130e88f04abf037244966d1cee37e54c1debb9fa44ccbf5b154691b500ee
+DIST 7.1.2.3-TIVsm-msg.JA_JP.x86_64.rpm 3771493 SHA256 3284280c11ac3fde54090caf54d43e82f952b4a83b5b387f2168dffc5cf89811 SHA512 0282a76c95f9006aafc212d4ac0f06817ffb1a509f945749a3afbffa7d31efe8688ba89b3e135cf5de671893efa1319088e36ea6ab40b3f3fdfc33e25ddadb5c WHIRLPOOL 985e8a3c3a910a872ab3bb3a49638da081b1cc5998c10f0b2a3903a935ff30af4bfdf7194db064ae080cec093d752394dbcd2df6c5fddb20130d1ae4e97c7ab3
+DIST 7.1.2.3-TIVsm-msg.KO_KR.x86_64.rpm 3600633 SHA256 e4e9e2e226fc6caa44a6dbe6bd8bdc6c4bbde553bcdbedba9d8532b2305fef1c SHA512 fee9fcd102271fcd826aa2735446ef08d30fab8861cbf3193db499150bfaad2010affa12cba2175c79f0c4cd042fb7448ae5d39e6d7913b0812ba85a302505d5 WHIRLPOOL 39f94116672540806c0be1b2ade4d2db116b1fd2d0857dd33578a8ad629f77bf61958d2561bd5ac06fcbdf1c198684cffa70927690779fc2560bedf1205b6e65
+DIST 7.1.2.3-TIVsm-msg.PL_PL.x86_64.rpm 3738872 SHA256 cd4fb8bd0f0c632c92e835f213ef3955fcccb6a85540b5b2b874ad0e49c6e47d SHA512 7dd4b8127e7f3896167c9c0cad3f2cc35c5a4c5bc30b6799f80fd75193b9730f977d4913317e7de7f2ab2c82e4fdbd4c9a0b96a009033666e11f854b547c60f1 WHIRLPOOL d228d4a8299896a61ee0df2efa3371aecdcb77e82691000542767f2bfddd719af41e7a7b569053cbc54f68c5968f0154cfe936538d52af7ae069483e0876b839
+DIST 7.1.2.3-TIVsm-msg.PT_BR.x86_64.rpm 3735750 SHA256 184baf811a5bf82a61528c1de88ba9e1136cc55212209a9d7e12625dab4fd606 SHA512 c06bc02b3bb46b9a66afef25c1acc8bc8211f94cd4a73f766cf3c98fa9a1ffd04bd7e6e806f859c94cd4f886f18d93ee12963e9e7292c11e173b4e081af7cd77 WHIRLPOOL 5f85dfc734ceea23976fe8e3336b47e983df8296336e830fa1f9005bbe49e881abc13d858ae4c957e6d4e3aa5d96b8e12216b7488da08d5eacc8a55756d1a0c1
+DIST 7.1.2.3-TIVsm-msg.RU_RU.x86_64.rpm 4378794 SHA256 97cf9bcca1a56aa7e6da501eb49ea979deaa39d1440845561bf3bcca592001b3 SHA512 8408673a046fcaafcb83205e7a0aa3dc123255cedfde58fafd88a02f4b207ba1b55e77d3eb9338bf5c61611479dd48cddaa9f82eeefd7179997c0d230b8a9aa1 WHIRLPOOL 67cfb50ed28af54d4722a665316803a9b01422477bda9b209477bf15479b04c168896fc32618a2c5ff73ba0a5902aee48aac9564280d49b3ff58e1408d8a7f3c
+DIST 7.1.2.3-TIVsm-msg.ZH_CN.x86_64.rpm 3430325 SHA256 ab741203f42010448b5d1e0500d9a8945e76add88c6b3528ec4a7f57341e9c8e SHA512 c34829170ea16c094759580475e205d65fa29a1edb08e3dd763c9486156188e9d1a8a64fb6083ee1ef7f172db568c39bf47b91a65fa3c5de8c7095e6ecb076c6 WHIRLPOOL a49fa02cd9e2254bcf33df66d23abab77e3e16d9d099faf1fcb867dace8faf87e9825e42062fd77a6078eee8abad432feb8929fbf1c3b0b2089fae9c9298c64a
+DIST 7.1.2.3-TIVsm-msg.ZH_TW.x86_64.rpm 3527076 SHA256 3499e674dc8990bbeca15c07f93b7e3bf65349b38ada66d31a057229b908124b SHA512 e81ea92d6ab15f70812475e506da15912842e31fff98de7048e620a7b56349fbbfc897cb52e7a307e2deb9978a05a051e1be8dd594ef82a13b0d81d467af4f34 WHIRLPOOL b613b13f594713c4a139b28f7f6778c3302c99e0f1484d7ffc2931de595a22f4353125428d4a2adad1f44c1b1375ec32442096a2c8ada69b5999f996abe7a47f
+DIST 7.1.3.1-TIV-TSMBAC-LinuxX86.tar 220323840 SHA256 488284bc46da88b62046cb3878dcbc93772f12f5201118a951f64535c407ac6b SHA512 9ec074d4e1417b02f51b884b775338f1df205001c073f88a8fa249c77d3b7f6b80aea97d43fb635ba8385227f2502e39ee70dbb66ff80c10225085272afd430e WHIRLPOOL 2d2c43b4ac88aa3e49ce3d0f002385a9227664847eeee5ede29eb774ed203e8700d036476d98c4b97579d25616f8745dbf9bf6c6ddb48cc57b5ae4280917144e
diff --git a/app-backup/tsm/tsm-6.3.2.4.ebuild b/app-backup/tsm/tsm-6.3.2.4.ebuild
new file mode 100644
index 0000000..7990d47
--- /dev/null
+++ b/app-backup/tsm/tsm-6.3.2.4.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils rpm user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.6 )"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR TIVINV_DIR TIVINVFILE i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # Mimic TIVsm-BA postinstall script
+ # Create Tivoli Inventory file
+ TIVINV_DIR="/opt/tivoli/tsm/tivinv"
+ TIVINVFILE="TIVTSMBAC0603.SYS2"
+ dodir $TIVINV_DIR
+ echo " " \
+ > "${D}$TIVINV_DIR/$TIVINVFILE"
+ fperms 555 $TIVINV_DIR/$TIVINVFILE
+
+ # Create a link to libexpat if needed
+ if [ ! -e "${ROOT}"/usr/lib64/libexpat.so.0 -a -e "${ROOT}"/usr/lib64/libexpat.so.1 ]
+ then
+ dosym /usr/lib64/libexpat.so.1 $CLIENTDIR/ba/bin/libexpat.so.0
+ fi
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux.
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../local/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../local/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.0.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.0.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners -R :tsm /opt/tivoli
+ fperms -R g+rX,o-rx /opt/tivoli # Allow only tsm group users to access TSM tools
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ elog
+ elog "Note that you have to be either root or member of the group tsm to"
+ elog "be able to use the Tivoli Storage Manager client."
+ elog
+
+}
+
+pkg_postinst() {
+ local i
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+}
diff --git a/app-backup/tsm/tsm-6.4.2.3.ebuild b/app-backup/tsm/tsm-6.4.2.3.ebuild
new file mode 100644
index 0000000..4af8b46
--- /dev/null
+++ b/app-backup/tsm/tsm-6.4.2.3.ebuild
@@ -0,0 +1,234 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils rpm user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.6 )"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # Mimic TIVsm-BA postinstall script
+ # Create a link to libexpat if needed
+ if [ ! -e "${ROOT}"/usr/lib64/libexpat.so.0 -a -e "${ROOT}"/usr/lib64/libexpat.so.1 ]
+ then
+ dosym /usr/lib64/libexpat.so.1 $CLIENTDIR/ba/bin/libexpat.so.0
+ fi
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../local/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.0.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.0.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners -R :tsm /opt/tivoli
+ fperms -R g+rX,o-rx /opt/tivoli # Allow only tsm group users to access TSM tools
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ elog
+ elog "Note that you have to be either root or member of the group tsm to"
+ elog "be able to use the Tivoli Storage Manager client."
+ elog
+
+}
+
+pkg_postinst() {
+ local i
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+}
diff --git a/app-backup/tsm/tsm-7.1.2.3.ebuild b/app-backup/tsm/tsm-7.1.2.3.ebuild
new file mode 100644
index 0000000..06b5839
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.2.3.ebuild
@@ -0,0 +1,240 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
diff --git a/app-backup/tsm/tsm-7.1.3.1.ebuild b/app-backup/tsm/tsm-7.1.3.1.ebuild
new file mode 100644
index 0000000..a3d55d1
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.3.1.ebuild
@@ -0,0 +1,241 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-11 15:14 Andreas Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas Hüttel @ 2016-03-11 15:14 UTC (permalink / raw
To: gentoo-commits
commit: e5ceb69b8a381f210ba5a1c77968b3d3bf2da4c2
Author: Andreas K. Huettel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 11 15:13:14 2016 +0000
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 15:13:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ceb69b
app-backup/tsm: Add pax-marking for hardened, bug 559504
Package-Manager: portage-2.2.27
app-backup/tsm/tsm-7.1.3.1-r1.ebuild | 244 +++++++++++++++++++++++++++++++++++
1 file changed, 244 insertions(+)
diff --git a/app-backup/tsm/tsm-7.1.3.1-r1.ebuild b/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
new file mode 100644
index 0000000..11f4d56
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-15 12:36 Patrick Lauer
0 siblings, 0 replies; 47+ messages in thread
From: Patrick Lauer @ 2016-03-15 12:36 UTC (permalink / raw
To: gentoo-commits
commit: 201001042aa01d14ed25d71a8874e10fd8e1ae59
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 12:34:33 2016 +0000
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 12:34:33 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20100104
app-backup/tsm: Remove unneeded useflag description from metadata.xml
Package-Manager: portage-2.2.28
app-backup/tsm/metadata.xml | 1 -
1 file changed, 1 deletion(-)
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index 5894161..35bb159 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -24,7 +24,6 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
- <flag name="hsm">Installs Tivoli Storage Manager for Space Management</flag>
<flag name="tsm_cit">IBM Tivoli Common Inventory Technology</flag>
<flag name="tsm_hw">Difference snapshot support for NetApp and N-Series file servers</flag>
</use>
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-15 16:51 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2016-03-15 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 1172083f913dec394d8d96c75793814ec7b13ee2
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 14:27:35 2016 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 16:50:03 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1172083f
app-backup/tsm: Version bump to latest 7.1.0.x
Package-Manager: portage-2.2.27
app-backup/tsm/Manifest | 14 +++
app-backup/tsm/tsm-7.1.0.3.ebuild | 240 ++++++++++++++++++++++++++++++++++++++
2 files changed, 254 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 2f293c5..6098d57 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -12,6 +12,20 @@ DIST 7.1.0.0-TIVsm-msg.PT_BR.x86_64.rpm 3731332 SHA256 0b49e4f8b1443a01484790992
DIST 7.1.0.0-TIVsm-msg.RU_RU.x86_64.rpm 4384394 SHA256 a720846965211440c9f8b8fd31d1efe281328fbd24e1373a58a64c43c084b391 SHA512 908ea5b9e2ef33b81d5234b99b352bd342e5d78bb19c75057f7b50a14eae175aae7aec977b98aabc063f8acf78c7fd6985481dc0b040029e4bd6d93252085656 WHIRLPOOL a7b33ef40851dc464eaee5310ceb53ad76002cccf118dd063b904de2a736cb8ce13766e15f7b8a43d917ec517ab25e192905dcaab7829e0b57c9dea6ec6b61d1
DIST 7.1.0.0-TIVsm-msg.ZH_CN.x86_64.rpm 3438735 SHA256 8995b622b35bfb3cc4aeb8612f853751e5f329a86306d22a4de3b4265e7c96dc SHA512 54b21264a05b86af9c4900b32ce1a28fb18cb331582d5d907f6d9563b410b0f0599c141cc3f1e23f0772e1b3185271a5dedb8f0b976e4c7718d01659b4930eb7 WHIRLPOOL 667b5ad42f2caeb2ca81c0fb7c33852b54f682d46b81355ae8f255bdd610e86314f4e3acd89a918c450c9eef6c5c4e8fb70326313d37fbccb9ef8327d3c3857c
DIST 7.1.0.0-TIVsm-msg.ZH_TW.x86_64.rpm 3524254 SHA256 655c75b9e3ff85c3b2919091d345d8fda04367340f77d27ed63ff64a22f1c7e3 SHA512 b08a690e3a0ac57a201cb6da47d41ded365e6b9d6a85084d182590f193f71146e1eba98ffdf5389375a94e50b5ad8ceabccf39e7be61f46ead25b638b3e706e8 WHIRLPOOL 9e4d308e38427ebe68a2cebae3b0819bed00bcf7d99d1b13ebecb94177ee49727f87f7aa107a09e7548a5b169be2c2f5a08030c45b106d936616cacf31170722
+DIST 7.1.0.3-TIV-TSMBAC-LinuxX86.tar 98653163 SHA256 cf609457005a14fe8780f6ed9614daf5c55c89e8f981e3eb57b4400e122f69e3 SHA512 fe15406f9b9e2e099cede6752c0e5431b81877f4167871dae04be95837fc15da85860a68809d9e0d121ccefbb72aef947655c94aadf1fde2b87bf581848ab689 WHIRLPOOL 07083fdb389ade842876a681b6f3a6c1d28d123691f7cf03eee7a7fed9b0e2a186802dfb951fb86c336b4ced17af143a2d42ea96fd40e08798e16d31960a679c
+DIST 7.1.0.3-TIVsm-msg.CS_CZ.x86_64.rpm 4450698 SHA256 d400c6ce9792a011068434c022aecdad222531ae99583edad887f676f0454b23 SHA512 8f5e59c5fece331fd2a743854fcf7bf9248ec7eacccd94124078442718cbc52d70aed6ad2f543f017f13a17b0f03e46e40e707a7f4548c70b00d5740ff93d0ca WHIRLPOOL 02286623b96622035a446c15559ca829b3b24b026a980846187e9b08e45eb8d7e44d064b45256d7ae119686abe61c5f975ccc9d143329dd0cdcae35105e79671
+DIST 7.1.0.3-TIVsm-msg.DE_DE.x86_64.rpm 3748176 SHA256 b6da84a0750b90a3ba7643a3565c57436cde1964d57a9c7be86bc4fcb279df22 SHA512 f8ac6f01678502a9e2f296a8c84e11e2e0ea45e8c7584977bd4eee9f519468ab611c0ebed979c6a493f6830eb7490f057e60d6a027394dbc247b34ecadea16ec WHIRLPOOL 4c0be4309a1c628ea939d7c99c859982bbeaf0d7963345b83222470ca7357e7061879fedb83e98cf6018f1461fdfd5c4c8022dcdd8d5e0d2bf17d2d8bf3e00ff
+DIST 7.1.0.3-TIVsm-msg.ES_ES.x86_64.rpm 3787713 SHA256 50deefaaf9f5760a562ce7b139ce2464faa8515b58d1733050fb094f2a796cad SHA512 f7dd5745c1f9dcf5cfb910e64367d876d2f8e845a8cbb4e14e1a465f7fe11806be00d3778e8e0d9c44740aa36edcd74fe4015217312ed820a8be0b95d4d15486 WHIRLPOOL 338ca05370174b520fa2277b0e51cb345a3b64c6c362c76b81e299628829665ea402957031405d7473daf46257b5c4b6cffcf864dd9a2d89c4bb0a4b982133ac
+DIST 7.1.0.3-TIVsm-msg.FR_FR.x86_64.rpm 3741153 SHA256 217fbbfb180154ad2668d1d1ba76ea1751f712cf9314bf29e727c012d83096b5 SHA512 b4feebe4200a6c4e8c63164b6efbee75474cf85b2fd103465485c47c007d8ffc20235af482d6e77c0e55008fea55622d3f0f4596f47de36d91d858ca1a7c78d2 WHIRLPOOL 57e3a13b294f27195686ca8d25f25f58d4eeb8405e97d0a675574e4e74f4f5231733c5fd1b3a71c7d979ce5b2d5b2168871d95f8bf9694badd2b6bdafe072fdb
+DIST 7.1.0.3-TIVsm-msg.HU_HU.x86_64.rpm 3830832 SHA256 9656ec46402b5574475a2cc4510432ab1880d2a23c6042f8fea38979b3effd0b SHA512 fd404434954997d6f3131dbd0b4952d17f25cbf2f764250b5deda269482873e386e04d45f9e4ebf0d94ee50fe5f1928d88def146e0859adcb5ed3766d970550e WHIRLPOOL 02fd19fd7fb131a38452d0c6e032776434f9e7666ca83d1c84ce399070f3e72fc9137b7b6f7b77742673b580c4aa1e8a459b3b1cf8b6188cc38670d9bb0a9220
+DIST 7.1.0.3-TIVsm-msg.IT_IT.x86_64.rpm 3651505 SHA256 e6eb362e878102e410f80d206832e66a76e87b2f1388d247f4de3bdfd859c75a SHA512 15f009ac86e488bff2edee3a8b050132935d895d1d53cc91481220f8687acf27d33f1dcb95849edd0462cf296fa47481cefde32f72bfe2e270fb4c6b9ced8990 WHIRLPOOL cb63e3a6d4dd71d1d4b5fe12f8939616676f27066afccef7c73cff892841e74a04d3e2e3a327cfe4d44d47acda3b6f08f2d0247895fdfb8825ba37424dcf9f99
+DIST 7.1.0.3-TIVsm-msg.JA_JP.x86_64.rpm 3770577 SHA256 da8b974c1041688f02bad88b7eb614c80f1fef0421e70dcf632f724227505e73 SHA512 cbfb5781ac8c68c6ff7ffe0f65b1fa9f153d73312f971ecf10251d0f250c1e16f2a21d985b2aa79893775ede325c31d6424cb00e8f0edb36e5d69467a15f1068 WHIRLPOOL 36b84470a9fa3f1b0c4c0489380c8270d5475fbe29f707ec618bf518b2e50b691c5e5426847e61f8321365c245aabf305744aa25ee64ad0ca8302bd54969db27
+DIST 7.1.0.3-TIVsm-msg.KO_KR.x86_64.rpm 3326626 SHA256 c348d13f22d8776bceec4ca86e1b3443a589c7a311ae3355a2e83b9ffa4c61d2 SHA512 d575e0385a0786f80adb69b2fdfd35d96802a5f22ef4179cf11fee3f184bd5cf7f79191027c089bf262caaa998d927343bc532eb5a4a02a9eb9e10cc82df8607 WHIRLPOOL fa4e17eccfd942f0f979e3d0bed785f6565790bb6c631bc6ee04b3e12fb4448d334e8a3dc473f17c4a5238ee41d45632fadcb83db2b73d418558ddb088b754e6
+DIST 7.1.0.3-TIVsm-msg.PL_PL.x86_64.rpm 3719845 SHA256 ab4d58b29759a13c4849cd6bae303f75dfa54361995bb6d0ecae84a1c218c683 SHA512 61268028e0f35e3da4a1477b3f164714eaa05ad2f2c54d934018909d1887dc990017d30f7c0c92c22d4f6342aa85f59fe314bbe6be0e639d0f456ec134e5bbdf WHIRLPOOL 62a2cce91c6ef13f2a39eba88f6c30aab839f7dd3643694ca3507bb4341dbafc7b615d11ae113a6be25af9d25723581394b109e11a96845dc0e2da519539f8b7
+DIST 7.1.0.3-TIVsm-msg.PT_BR.x86_64.rpm 3730125 SHA256 f1cde1ca9a74145382f9c1e6ecb69d1cf10d7cc6ba9bb9415e390254d912e07d SHA512 471e8a668ed3c12785e2469127e2aaf6c2e36e24f49f367db0a5b7b292ee4ce215d6e5bd53fd50c14e121d4f75fa9ce22482c0f21f2e8ffdfe897c5aa39d15e7 WHIRLPOOL 8e253af14525b374d7bf52b33b7e70d3147d3d8237edfb04924edb0d52957b5d89295a857e094fde98ba622049b714e4256a6f42e39f9b3f575e33ba1c61d386
+DIST 7.1.0.3-TIVsm-msg.RU_RU.x86_64.rpm 4383399 SHA256 0d1b2559c09bada269b46cfa92c5201dd88594ab0fbac982f40cc647a8fe4804 SHA512 d4d39251a5b5c0507897855289cc7516fb4fdb60ef788b083332a9e15ff31788c74de64950cc04f67f0c16d64f7bccc85bbda07106f1cd1eba63c2f45df8cdee WHIRLPOOL 9b005c286968f7d2f74a32572e7094879ea5618b676d1e08cc3cb487df6e07aefeebdc48e9a2a0b1321ba010cae8dc341d610289411fc61d59bb8247f1fdb472
+DIST 7.1.0.3-TIVsm-msg.ZH_CN.x86_64.rpm 3439170 SHA256 3ec55d3165b69c3d22d1d5fe96ab2398ce72952b8e6a3bc1b0e71011caefdf5d SHA512 acaaed9f3f5bf2e442b45b511cbfe6b6075b36be8073e61ba1fcc4bd794a717c436245febeb5f2198bc7a025600c006ef1cfa2b2380be00c5c9d38d8aea50a91 WHIRLPOOL 94b163b61e5a66aeb628f73228557a44812d25a3bbf2f804a8ef7feeae6990e0f0e7516133f07dea608ef88dbfa0f711510351ed8d161510a5e5d74ba6133d31
+DIST 7.1.0.3-TIVsm-msg.ZH_TW.x86_64.rpm 3524512 SHA256 45962815b4deaa83a7202a7381cb02681b6f1edaa5c704000a8ef186a2955f85 SHA512 440c5d16d8681b60493f33b800d20cd4e4cec7cd60ae59d76b67043e7e9693a7654b5975e8ce5dffe29cafbafe9741bb1651630d65188ebc83bf29f572fb7ac4 WHIRLPOOL 37c2e7a0b3ddf4d87438cc2148c55c9d254f8954f2a78bed605ab02632cd9ac527d07dfb2b8b4161e4c96c75b08ba638f4925d157130ea94d517fa5859948d70
DIST 7.1.2.0-TIV-TSMBAC-LinuxX86.tar 113049600 SHA256 955291e82ae5e207a46a52c7b97d7cb4a05b623afcb3cf59e0e13e5cff4c4f9d SHA512 9b8722bd87794a01fdb3db2bf0db7a5d05e9c278d8469e43e2af1f84bbaa3a40efbffb19da3ef5fa5445b8f1e1b39aa603992994b0aa4654d00c431c14efb5f4 WHIRLPOOL 2ee25e928fb671452324ff6fa9616bc74a3481e93138974ffd55ade16e9028a22b367c29ca13ce6774fd819c075235cf01bdb5dd8d43995bb456f1b6b086cf64
DIST 7.1.2.0-TIVsm-msg.CS_CZ.x86_64.rpm 4436432 SHA256 d126520652fb95254609c8c4767a7e266bcdd76c1fa8d86d5cf6cee7b0cf6263 SHA512 18f2bd339d455250967823969b7b0b4ead32bd99260854b247729fb36884d8e8d5e211505b72f31e88e33ec4054653eb1ab0db3c28287200e71ac080616850b9 WHIRLPOOL 671b8e0e96f64430b8bed49926b925a16bc97036e901b0b98f6e3cc21246b1916d023b16896dfeabf0d9d8afc87adcf888d6162f22945662104e804194a4d555
DIST 7.1.2.0-TIVsm-msg.DE_DE.x86_64.rpm 3746180 SHA256 b113096752920643332ca41c6ade89d38e446659d1ca018088efc6b09b67c4cc SHA512 9c56719271d9a1f6bf01c0af023c59d8850010fd8a4cb34ec792369b9b652259d3a4548c4ce8ed9ed6fd3097fafa3ed6ed5014146841f1dd5686ec01e6fdc7f2 WHIRLPOOL 5522f1a971babee9574eeccdc24c15e44d5aa57699ccbab1ada5eb79f987443c974ab1b8c9daf26d039396ad5fd43dc267c287dbf0485b6fb9c18e80aff21c44
diff --git a/app-backup/tsm/tsm-7.1.0.3.ebuild b/app-backup/tsm/tsm-7.1.0.3.ebuild
new file mode 100644
index 0000000..33d605b
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.0.3.ebuild
@@ -0,0 +1,240 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-15 16:51 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2016-03-15 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 08c3ef41add91e255876ce28b1e73fb9027f9b2d
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 14:41:44 2016 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 16:50:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c3ef41
app-backup/tsm: Version bump to latest 7.1.1.x
Package-Manager: portage-2.2.27
app-backup/tsm/Manifest | 14 +++
app-backup/tsm/tsm-7.1.1.4.ebuild | 240 ++++++++++++++++++++++++++++++++++++++
2 files changed, 254 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 6098d57..6a5acad 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -26,6 +26,20 @@ DIST 7.1.0.3-TIVsm-msg.PT_BR.x86_64.rpm 3730125 SHA256 f1cde1ca9a74145382f9c1e6e
DIST 7.1.0.3-TIVsm-msg.RU_RU.x86_64.rpm 4383399 SHA256 0d1b2559c09bada269b46cfa92c5201dd88594ab0fbac982f40cc647a8fe4804 SHA512 d4d39251a5b5c0507897855289cc7516fb4fdb60ef788b083332a9e15ff31788c74de64950cc04f67f0c16d64f7bccc85bbda07106f1cd1eba63c2f45df8cdee WHIRLPOOL 9b005c286968f7d2f74a32572e7094879ea5618b676d1e08cc3cb487df6e07aefeebdc48e9a2a0b1321ba010cae8dc341d610289411fc61d59bb8247f1fdb472
DIST 7.1.0.3-TIVsm-msg.ZH_CN.x86_64.rpm 3439170 SHA256 3ec55d3165b69c3d22d1d5fe96ab2398ce72952b8e6a3bc1b0e71011caefdf5d SHA512 acaaed9f3f5bf2e442b45b511cbfe6b6075b36be8073e61ba1fcc4bd794a717c436245febeb5f2198bc7a025600c006ef1cfa2b2380be00c5c9d38d8aea50a91 WHIRLPOOL 94b163b61e5a66aeb628f73228557a44812d25a3bbf2f804a8ef7feeae6990e0f0e7516133f07dea608ef88dbfa0f711510351ed8d161510a5e5d74ba6133d31
DIST 7.1.0.3-TIVsm-msg.ZH_TW.x86_64.rpm 3524512 SHA256 45962815b4deaa83a7202a7381cb02681b6f1edaa5c704000a8ef186a2955f85 SHA512 440c5d16d8681b60493f33b800d20cd4e4cec7cd60ae59d76b67043e7e9693a7654b5975e8ce5dffe29cafbafe9741bb1651630d65188ebc83bf29f572fb7ac4 WHIRLPOOL 37c2e7a0b3ddf4d87438cc2148c55c9d254f8954f2a78bed605ab02632cd9ac527d07dfb2b8b4161e4c96c75b08ba638f4925d157130ea94d517fa5859948d70
+DIST 7.1.1.4-TIV-TSMBAC-LinuxX86.tar 107806720 SHA256 5de583c2f655e19bd0dc5aa39120d889744e74fea4b0ee25b5c0abb09170405c SHA512 ef0d1aee978f7664b761ff48ad76c27a4693576eb43320f2367244e8d6c69bf69e6defa30d9abe61b56c2613ae08df4905097c695c3ceb3e3d657224fecf894f WHIRLPOOL 4c8cdcfe46caefd5f3717025e9c328894a808e0a972350f6b377a58527dbc2226d4af11d364f69ebec28f81b6778549169ae52f71dbe7930ed143a9ffe1707a8
+DIST 7.1.1.4-TIVsm-msg.CS_CZ.x86_64.rpm 4520127 SHA256 26d5d80a5a8b4185959401c0cae49dfa9f0368932984d8b9b0a0ef6a7dab15f7 SHA512 6af571027ff8500c696626c2087f735561b8e5b82be4e24a3d4abdb3d1d1dca0bccb63282f03a136bc1f2d48b0741661da80b67ff1e50ef3bdd9777f4f9aff29 WHIRLPOOL 6c3b316529c25ff5ca91c0e6d52fd4ef04bd2a759a522884f95fcfbd1841d6289c8d0bee44282aa86a27f8254693ddc05796592f318b0b7b9319fedf26f3d969
+DIST 7.1.1.4-TIVsm-msg.DE_DE.x86_64.rpm 3820514 SHA256 27ff21934c7b168e71024281a9b8bf34aeabdd62a9164bab4f27d9f3539263b1 SHA512 ce723adf833d0d52cdf644aebdef6499d011236bffd3a42756705c771350790a181416dff51bf4e9804e72c8dd80d6b7be8e8e315fc758ed735ec4b022e8636a WHIRLPOOL 670584187c600500c2686ca81b019accc0feee3e98779d399448b7e708a9e18801d6ac5266c0fb9d9899e1ee8627e9014aaa5ac5174d1b4fb426caf94c989767
+DIST 7.1.1.4-TIVsm-msg.ES_ES.x86_64.rpm 3850294 SHA256 58ed22a273afb165bd0d2808e535bf0834908970a69627e07b882ba321e27eb0 SHA512 08fdd1cc8f6f8ea9005f8d063b04a8cc780da9fd6e75e0101a70a2fd910829d4634bbe3b83bbbc8a154aba1ab9bd6f298b1c049fea99e915fa4cccae007ebe42 WHIRLPOOL 6d02d94939fc5faf28f4f12e4d38dba4160df078ce4d8b35a057b4158b5ad1b275cba198a5f1d5fe63c05c2577dacda2745bd59ae9930a02911591383b55a0fc
+DIST 7.1.1.4-TIVsm-msg.FR_FR.x86_64.rpm 3804267 SHA256 8f72546a66ec593ca7b0e300fd347ff5d65099c78aa4c0d80ff343fe4271cdf4 SHA512 c768e9b1b4939572c4165d33c74b8221d6cd1ef96bee4d9c3a9754c9e611e7bbc23d825061ed8e2a9c36b061fff928cfa68e060cb40ba6349923bc958e7a42ac WHIRLPOOL a1a58b8aead6e1cd2703ebffff08ef3169e29a2a67f0d63048a297d1427aa1ab51e97dd9f77701c36996162d942a53b3b5f1451244db3956abba1f5521f19aa8
+DIST 7.1.1.4-TIVsm-msg.HU_HU.x86_64.rpm 3878375 SHA256 0f0876960630c0a3c20397da4fd5962a508521777d7a31210ff8a6e3c69b0c48 SHA512 bee4e11ca1f81c942b65fe5fdfcea3ad8bd08faefff7748798669bca3d417560688d3d8d83f8116cf78d6cfecd1e23f74d7f7563b7898d24759cddddceadcbd3 WHIRLPOOL 4ed75509abcfb68ee980fd0032f3eb0ab0e55a6282a1c50ce1d33d22573ff3ef1ccd6dd56dc20604ff502a92da7f66f4f962e1124a667bcdfb246eb464d7100e
+DIST 7.1.1.4-TIVsm-msg.IT_IT.x86_64.rpm 3683951 SHA256 2a5fcf484a268bff79342ce23d0619811be1c3750959891a13a1a2df437a734f SHA512 bd051a1d52c92951530373d4beb47ccfbe61416d27a1b31525fa55464c4ce86247de1d170b505929f03c3cc9a6978e925a1e3561bbf21384df841fbb3362aaff WHIRLPOOL 0726e73590760b9ea0ad5995fb9500986929f7ec54427f3ed9c493bdf08323b35c1e73745b6d8e15af4755cc89695c4c8bf2d5ffe1074a09e22c0fdea768f15e
+DIST 7.1.1.4-TIVsm-msg.JA_JP.x86_64.rpm 3833380 SHA256 3b83ecbb9eea4f21d01e16938a70dafb8e2380e8877195641a55008adddc2da9 SHA512 aa35807b0d8986cf8953cf85422e698f0090997e89288bb6e9f99286f6f8fe3f42a55eef581a1add66a2ff40cbfae25880327322ca07240a766d4ff9ceb97802 WHIRLPOOL 2fb68ee665a1131b5835de15c55091fb633cbde5e33eb0fa8e9dbc9d0f6dfd3884951d8a5d981575b775ad43b76be04a72a4e841d1ee3f80fbc8ff99d8c8612d
+DIST 7.1.1.4-TIVsm-msg.KO_KR.x86_64.rpm 3670780 SHA256 1b3728a0235c2dc7019a327755f4962973add15bd4251a458443cbee35b55a97 SHA512 1a96e0457454ce9a54f984be5e994244e80ef77fa091748780cebbf2057983b91b9d291fa2ae2a45f1fd4907168dbf52af10c5988e0d2318f89a3b7fb107f315 WHIRLPOOL d18a95ac6c927e72b543c5dc003605aa1f96d491168b6d549ce731b43c8d74c00c25edf8d9e59121f35922263897a57fd6e931a01e5f9b06a0715f7d936d2ffa
+DIST 7.1.1.4-TIVsm-msg.PL_PL.x86_64.rpm 3757534 SHA256 ffc9ea0027183357fe170d65e714694a557945f6f164a4790564d5cf49cd45de SHA512 3088182f7cebf20b4ed9da2ca18f8bfa05def5cd671eca638629bd83fa8bd8bf152fbb2db710348d958777a8b1ecf890a09ddeef72010fca563827f4392c2814 WHIRLPOOL 1c130637bf9cfb64ebb6bd379409568c57b160212ab1384f9bb6099aac70d61d74bb4e80c7c71db08891f3bd125f08e235e3e682f054d4fd4ee1ea8ea7856798
+DIST 7.1.1.4-TIVsm-msg.PT_BR.x86_64.rpm 3787311 SHA256 78e593b5291c56f9b10f45dad3880715445622deea371d5364cf6a8d7074a5b2 SHA512 c1de15f6e192ade933350a1eeebf4b33ae7f013697e8df4009424dcc21d29a4a8aa4b814e8e00ac16df536191644f72ea08f055a2851fc0c05e46144427ed80f WHIRLPOOL 6d0f66f60b31bb1630aa0139dbbf75baebe0944378f53211314065bf83342330a554d60bed48a8d95d6f747c93b30c775a00c938a583513ed8844727cb216462
+DIST 7.1.1.4-TIVsm-msg.RU_RU.x86_64.rpm 4439766 SHA256 63ceac563d7b7aeab48519533e8a6eafd946e79ddc3168e3893473579d628498 SHA512 e20ef1f68a9cb1a1ee6ad5d9873ad27b3bc8c9d93bb01a82459e6a2abfb2f69a2f2d52f11913e3d6b14db3c6c9f558d46dda5b5ccfd6a7bdb7d652ff3ff86d4c WHIRLPOOL 5c10159b8fbe0eaa55f1b54b4ef2ab026cc9128125af40274978085331f6a0ee249f5fbb853d4f882a5fde04812cf9977140539e8ba2e3b5f192db04a2e777cf
+DIST 7.1.1.4-TIVsm-msg.ZH_CN.x86_64.rpm 3498617 SHA256 56a1f7ea91336451935fba3c2a450fd34aaa9f387f94166b2dbe75bdbb9fcba5 SHA512 c047dea24569348e36390936fa1bf5ce505503a62042b5965be70b7f860992bfcabf735c8ea1a64fc88d70140d1bfa54f3197a04daa24fa0ad815fcdf1d4aa2a WHIRLPOOL 4f78fb8acc82ca5dafcef700876303b5ae53bd6662ba35613f0737dd617cb566904d9f5bc623aabb74f84b0495b6f972f5fd6adf9348b52eaf86ab344bd94107
+DIST 7.1.1.4-TIVsm-msg.ZH_TW.x86_64.rpm 3581954 SHA256 2af3761fca55c365d376f41014c55fbafdfedd4752684997f1d2ce5793d6accc SHA512 6f620d51e45c966829f49fde5f5ce0bccfd5b716f14d2cbba2a2dd54acf8715a5bbc43c3a8ccffb2febdea5e74f487acb3058234e1e17786cf81d804d750b348 WHIRLPOOL 6f486e5d06dcc0c90ecc61ab6ec038efd46466b7ebab053edc442fe6ec97695b1cd6acaa2915c7f4717ca433a72ca9586653a631ce2af543af3c59c2ae9148c8
DIST 7.1.2.0-TIV-TSMBAC-LinuxX86.tar 113049600 SHA256 955291e82ae5e207a46a52c7b97d7cb4a05b623afcb3cf59e0e13e5cff4c4f9d SHA512 9b8722bd87794a01fdb3db2bf0db7a5d05e9c278d8469e43e2af1f84bbaa3a40efbffb19da3ef5fa5445b8f1e1b39aa603992994b0aa4654d00c431c14efb5f4 WHIRLPOOL 2ee25e928fb671452324ff6fa9616bc74a3481e93138974ffd55ade16e9028a22b367c29ca13ce6774fd819c075235cf01bdb5dd8d43995bb456f1b6b086cf64
DIST 7.1.2.0-TIVsm-msg.CS_CZ.x86_64.rpm 4436432 SHA256 d126520652fb95254609c8c4767a7e266bcdd76c1fa8d86d5cf6cee7b0cf6263 SHA512 18f2bd339d455250967823969b7b0b4ead32bd99260854b247729fb36884d8e8d5e211505b72f31e88e33ec4054653eb1ab0db3c28287200e71ac080616850b9 WHIRLPOOL 671b8e0e96f64430b8bed49926b925a16bc97036e901b0b98f6e3cc21246b1916d023b16896dfeabf0d9d8afc87adcf888d6162f22945662104e804194a4d555
DIST 7.1.2.0-TIVsm-msg.DE_DE.x86_64.rpm 3746180 SHA256 b113096752920643332ca41c6ade89d38e446659d1ca018088efc6b09b67c4cc SHA512 9c56719271d9a1f6bf01c0af023c59d8850010fd8a4cb34ec792369b9b652259d3a4548c4ce8ed9ed6fd3097fafa3ed6ed5014146841f1dd5686ec01e6fdc7f2 WHIRLPOOL 5522f1a971babee9574eeccdc24c15e44d5aa57699ccbab1ada5eb79f987443c974ab1b8c9daf26d039396ad5fd43dc267c287dbf0485b6fb9c18e80aff21c44
diff --git a/app-backup/tsm/tsm-7.1.1.4.ebuild b/app-backup/tsm/tsm-7.1.1.4.ebuild
new file mode 100644
index 0000000..33d605b
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.1.4.ebuild
@@ -0,0 +1,240 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+ ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-15 16:51 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2016-03-15 16:51 UTC (permalink / raw
To: gentoo-commits
commit: 0ee55656535bac45b522b697198eb68f1f5af100
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 16:32:08 2016 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 16:51:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee55656
app-backup/tsm: Version bump.
Package-Manager: portage-2.2.27
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-7.1.3.2.ebuild | 244 ++++++++++++++++++++++++++++++++++++++
2 files changed, 245 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 6a5acad..bd00160 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -69,3 +69,4 @@ DIST 7.1.2.3-TIVsm-msg.RU_RU.x86_64.rpm 4378794 SHA256 97cf9bcca1a56aa7e6da501eb
DIST 7.1.2.3-TIVsm-msg.ZH_CN.x86_64.rpm 3430325 SHA256 ab741203f42010448b5d1e0500d9a8945e76add88c6b3528ec4a7f57341e9c8e SHA512 c34829170ea16c094759580475e205d65fa29a1edb08e3dd763c9486156188e9d1a8a64fb6083ee1ef7f172db568c39bf47b91a65fa3c5de8c7095e6ecb076c6 WHIRLPOOL a49fa02cd9e2254bcf33df66d23abab77e3e16d9d099faf1fcb867dace8faf87e9825e42062fd77a6078eee8abad432feb8929fbf1c3b0b2089fae9c9298c64a
DIST 7.1.2.3-TIVsm-msg.ZH_TW.x86_64.rpm 3527076 SHA256 3499e674dc8990bbeca15c07f93b7e3bf65349b38ada66d31a057229b908124b SHA512 e81ea92d6ab15f70812475e506da15912842e31fff98de7048e620a7b56349fbbfc897cb52e7a307e2deb9978a05a051e1be8dd594ef82a13b0d81d467af4f34 WHIRLPOOL b613b13f594713c4a139b28f7f6778c3302c99e0f1484d7ffc2931de595a22f4353125428d4a2adad1f44c1b1375ec32442096a2c8ada69b5999f996abe7a47f
DIST 7.1.3.1-TIV-TSMBAC-LinuxX86.tar 220323840 SHA256 488284bc46da88b62046cb3878dcbc93772f12f5201118a951f64535c407ac6b SHA512 9ec074d4e1417b02f51b884b775338f1df205001c073f88a8fa249c77d3b7f6b80aea97d43fb635ba8385227f2502e39ee70dbb66ff80c10225085272afd430e WHIRLPOOL 2d2c43b4ac88aa3e49ce3d0f002385a9227664847eeee5ede29eb774ed203e8700d036476d98c4b97579d25616f8745dbf9bf6c6ddb48cc57b5ae4280917144e
+DIST 7.1.3.2-TIV-TSMBAC-LinuxX86.tar 220262400 SHA256 33b74f3e38e732fd5d029ffe44ada86d118478e542cbca1b83496460818feccb SHA512 451280deabae62c6c2acd281165cbcdec7421aed17531bcc387e46be57fcbb85960fb0a6c8686e5d65d24a732c2778ce8610407f0c1fba21cd5bfce1c2c29fef WHIRLPOOL b818673a1e8dd96f91a61ac06bca002cb4d1b5e68789fb9e3ece3b778f12d42fffcdc9b20fe5786da54cd91bfc4abe7cf7b6173ec88270c116a70db79111044c
diff --git a/app-backup/tsm/tsm-7.1.3.2.ebuild b/app-backup/tsm/tsm-7.1.3.2.ebuild
new file mode 100644
index 0000000..87faf21
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.3.2.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_prepare() {
+ # Avoid unnecessary dependency on ksh
+ sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
+ opt/tivoli/tsm/client/ba/bin/dsmj || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # We don't bother setting timestamps to build dates.
+ # But we should delete the corresponding files.
+ rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
+ rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
+
+ # Create links for messages; this is spread over several postin scripts.
+ for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ # Install symlinks for sonames of libraries, bug #416503
+ dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
+ dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
+ dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-03-18 14:03 Michael Weber
0 siblings, 0 replies; 47+ messages in thread
From: Michael Weber @ 2016-03-18 14:03 UTC (permalink / raw
To: gentoo-commits
commit: 871dd67c32a9f3242683d9b2a1570a63946d10a9
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 18:07:37 2016 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 14:03:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871dd67c
app-backup/tsm: Version bump.
Package-Manager: portage-2.2.27
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-7.1.4.4.ebuild | 228 ++++++++++++++++++++++++++++++++++++++
2 files changed, 229 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index bd00160..8a55961 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -70,3 +70,4 @@ DIST 7.1.2.3-TIVsm-msg.ZH_CN.x86_64.rpm 3430325 SHA256 ab741203f42010448b5d1e050
DIST 7.1.2.3-TIVsm-msg.ZH_TW.x86_64.rpm 3527076 SHA256 3499e674dc8990bbeca15c07f93b7e3bf65349b38ada66d31a057229b908124b SHA512 e81ea92d6ab15f70812475e506da15912842e31fff98de7048e620a7b56349fbbfc897cb52e7a307e2deb9978a05a051e1be8dd594ef82a13b0d81d467af4f34 WHIRLPOOL b613b13f594713c4a139b28f7f6778c3302c99e0f1484d7ffc2931de595a22f4353125428d4a2adad1f44c1b1375ec32442096a2c8ada69b5999f996abe7a47f
DIST 7.1.3.1-TIV-TSMBAC-LinuxX86.tar 220323840 SHA256 488284bc46da88b62046cb3878dcbc93772f12f5201118a951f64535c407ac6b SHA512 9ec074d4e1417b02f51b884b775338f1df205001c073f88a8fa249c77d3b7f6b80aea97d43fb635ba8385227f2502e39ee70dbb66ff80c10225085272afd430e WHIRLPOOL 2d2c43b4ac88aa3e49ce3d0f002385a9227664847eeee5ede29eb774ed203e8700d036476d98c4b97579d25616f8745dbf9bf6c6ddb48cc57b5ae4280917144e
DIST 7.1.3.2-TIV-TSMBAC-LinuxX86.tar 220262400 SHA256 33b74f3e38e732fd5d029ffe44ada86d118478e542cbca1b83496460818feccb SHA512 451280deabae62c6c2acd281165cbcdec7421aed17531bcc387e46be57fcbb85960fb0a6c8686e5d65d24a732c2778ce8610407f0c1fba21cd5bfce1c2c29fef WHIRLPOOL b818673a1e8dd96f91a61ac06bca002cb4d1b5e68789fb9e3ece3b778f12d42fffcdc9b20fe5786da54cd91bfc4abe7cf7b6173ec88270c116a70db79111044c
+DIST 7.1.4.4-TIV-TSMBAC-LinuxX86.tar 220456960 SHA256 0b0c4c6537e96a73e4c528490509c9a5696251c871f9e31bb3f690e78337667c SHA512 5f0b0262ad4b8f1dc6d9763735c3390a9ea0d559a3efd08593c6aa81e89978387906ff728a5dee575725da7d0b7e4f4e6d207111b79625c6487b6e8d56d767de WHIRLPOOL 0990653b96d9d2e6357c98a8ba8bbe7407e629063ea48ae834d8f51abf0cbaba78ca0e51479c3f192c467972f3da2c3dab10dd7b5f1f3c54bc11c02be81856d7
diff --git a/app-backup/tsm/tsm-7.1.4.4.ebuild b/app-backup/tsm/tsm-7.1.4.4.ebuild
new file mode 100644
index 0000000..e8a5d70
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.4.4.ebuild
@@ -0,0 +1,228 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
+# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} linguas_${lang%:*}"
+ SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install(){
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-04-02 11:33 Pacho Ramos
0 siblings, 0 replies; 47+ messages in thread
From: Pacho Ramos @ 2016-04-02 11:33 UTC (permalink / raw
To: gentoo-commits
commit: 79e143c23ed3c564619974708325cb109528451c
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 2 11:33:32 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Apr 2 11:33:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79e143c2
app-backup/tsm: I am no longer interested on being proxy maintainer for this
Package-Manager: portage-2.2.28
app-backup/tsm/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index 35bb159..4bb779b 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -7,10 +7,6 @@
<description>Assign bugs to him</description>
</maintainer>
<maintainer type="person">
- <email>pacho@gentoo.org</email>
- <description>Proxy maintainer, CC him in bugs.</description>
- </maintainer>
- <maintainer type="person">
<email>dilfridge@gentoo.org</email>
<description>Proxy maintainer, CC him in bugs.</description>
</maintainer>
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2016-06-25 9:55 Ulrich Müller
0 siblings, 0 replies; 47+ messages in thread
From: Ulrich Müller @ 2016-06-25 9:55 UTC (permalink / raw
To: gentoo-commits
commit: cd118634fb89939a0087a2352e6787df7c68279f
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 07:50:10 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 09:55:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd118634
app-backup/tsm: Migrate from LINGUAS to L10N.
Package-Manager: portage-2.3.0
app-backup/tsm/tsm-7.1.0.0-r1.ebuild | 10 +++++-----
app-backup/tsm/tsm-7.1.0.3.ebuild | 8 ++++----
app-backup/tsm/tsm-7.1.1.4.ebuild | 8 ++++----
app-backup/tsm/tsm-7.1.2.0.ebuild | 10 +++++-----
app-backup/tsm/tsm-7.1.2.3.ebuild | 10 +++++-----
app-backup/tsm/tsm-7.1.3.1-r1.ebuild | 10 +++++-----
app-backup/tsm/tsm-7.1.3.1.ebuild | 10 +++++-----
app-backup/tsm/tsm-7.1.3.2.ebuild | 8 ++++----
app-backup/tsm/tsm-7.1.4.4.ebuild | 8 ++++----
9 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
index 06b5839..bc949cb 100644
--- a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -39,12 +39,12 @@ KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
- ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+ ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.0.3.ebuild b/app-backup/tsm/tsm-7.1.0.3.ebuild
index 33d605b..35f8eb6 100644
--- a/app-backup/tsm/tsm-7.1.0.3.ebuild
+++ b/app-backup/tsm/tsm-7.1.0.3.ebuild
@@ -39,12 +39,12 @@ KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
- ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+ ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.1.4.ebuild b/app-backup/tsm/tsm-7.1.1.4.ebuild
index 33d605b..35f8eb6 100644
--- a/app-backup/tsm/tsm-7.1.1.4.ebuild
+++ b/app-backup/tsm/tsm-7.1.1.4.ebuild
@@ -39,12 +39,12 @@ KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
- ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+ ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.2.0.ebuild b/app-backup/tsm/tsm-7.1.2.0.ebuild
index a7ec829..51ab11b 100644
--- a/app-backup/tsm/tsm-7.1.2.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -39,12 +39,12 @@ KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
- ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+ ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.2.3.ebuild b/app-backup/tsm/tsm-7.1.2.3.ebuild
index 06b5839..bc949cb 100644
--- a/app-backup/tsm/tsm-7.1.2.3.ebuild
+++ b/app-backup/tsm/tsm-7.1.2.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -39,12 +39,12 @@ KEYWORDS="~amd64 -*"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
- ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+ ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.3.1-r1.ebuild b/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
index 11f4d56..49e1d9c 100644
--- a/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -40,12 +40,12 @@ IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
-# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.3.1.ebuild b/app-backup/tsm/tsm-7.1.3.1.ebuild
index a3d55d1..8a7fc7d 100644
--- a/app-backup/tsm/tsm-7.1.3.1.ebuild
+++ b/app-backup/tsm/tsm-7.1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -40,12 +40,12 @@ IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
-# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.3.2.ebuild b/app-backup/tsm/tsm-7.1.3.2.ebuild
index 87faf21..49e1d9c 100644
--- a/app-backup/tsm/tsm-7.1.3.2.ebuild
+++ b/app-backup/tsm/tsm-7.1.3.2.ebuild
@@ -40,12 +40,12 @@ IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
-# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
diff --git a/app-backup/tsm/tsm-7.1.4.4.ebuild b/app-backup/tsm/tsm-7.1.4.4.ebuild
index e8a5d70..eaa84d5 100644
--- a/app-backup/tsm/tsm-7.1.4.4.ebuild
+++ b/app-backup/tsm/tsm-7.1.4.4.ebuild
@@ -40,12 +40,12 @@ IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT
-# ja:JA_JP ko:KO_KR pl:PL_PL pt:PT_BR ru:RU_RU zh:ZH_CN zh_TW:ZH_TW"
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
MY_LANG_PV="${MY_PVR_ALLDOTS}-"
for lang in ${MY_LANGS}; do
- IUSE="${IUSE} linguas_${lang%:*}"
- SRC_URI="${SRC_URI} linguas_${lang%:*}? ( \
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2017-07-21 9:48 Marek Szuba
0 siblings, 0 replies; 47+ messages in thread
From: Marek Szuba @ 2017-07-21 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 2f31546e684d08bffa40f68c617d7db3308668ce
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 09:47:32 2017 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 09:48:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f31546e
app-backup/tsm: add a revdep-rebuild mask
Gentoo-Bug: 577602
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-backup/tsm/tsm-7.1.4.4-r1.ebuild | 231 +++++++++++++++++++++++++++++++++++
1 file changed, 231 insertions(+)
diff --git a/app-backup/tsm/tsm-7.1.4.4-r1.ebuild b/app-backup/tsm/tsm-7.1.4.4-r1.ebuild
new file mode 100644
index 00000000000..6d6e2634a68
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.4.4-r1.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.7 )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install(){
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2017-11-04 22:06 Jonas Stein
0 siblings, 0 replies; 47+ messages in thread
From: Jonas Stein @ 2017-11-04 22:06 UTC (permalink / raw
To: gentoo-commits
commit: 88b4d9288ca07a564d86a7f42dfc6ebe78042d27
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 4 22:05:49 2017 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sat Nov 4 22:06:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b4d928
app-backup/tsm: Retirement of proxied maintainer
Retirement of proxied maintainer as requested per bug.
Closes: https://bugs.gentoo.org/633162
Package-Manager: Portage-2.3.13, Repoman-2.3.4
app-backup/tsm/metadata.xml | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index 4bb779b93a0..1bc67e1a1dd 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -2,22 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>Martin.vGagern@gmx.net</email>
- <name>Martin von Gagern</name>
- <description>Assign bugs to him</description>
- </maintainer>
- <maintainer type="person">
<email>dilfridge@gentoo.org</email>
- <description>Proxy maintainer, CC him in bugs.</description>
</maintainer>
<maintainer type="person">
<email>xmw@gentoo.org</email>
<name>Michael Weber</name>
- <description>Proxy maintainer, CC him in bugs.</description>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="tsm_cit">IBM Tivoli Common Inventory Technology</flag>
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2017-11-05 13:56 James Le Cuirot
0 siblings, 0 replies; 47+ messages in thread
From: James Le Cuirot @ 2017-11-05 13:56 UTC (permalink / raw
To: gentoo-commits
commit: 1f51e12892d2b177e7871b321a508f8cf4510e6a
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 1 19:45:43 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 5 13:48:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f51e128
app-backup/tsm: Drop all old versions
Package-Manager: Portage-2.3.8, Repoman-2.3.2
app-backup/tsm/Manifest | 72 -----------
app-backup/tsm/tsm-7.1.0.0-r1.ebuild | 239 ----------------------------------
app-backup/tsm/tsm-7.1.0.3.ebuild | 239 ----------------------------------
app-backup/tsm/tsm-7.1.1.4.ebuild | 239 ----------------------------------
app-backup/tsm/tsm-7.1.2.0.ebuild | 239 ----------------------------------
app-backup/tsm/tsm-7.1.2.3.ebuild | 239 ----------------------------------
app-backup/tsm/tsm-7.1.3.1-r1.ebuild | 243 -----------------------------------
app-backup/tsm/tsm-7.1.3.1.ebuild | 240 ----------------------------------
app-backup/tsm/tsm-7.1.3.2.ebuild | 243 -----------------------------------
app-backup/tsm/tsm-7.1.4.4-r1.ebuild | 231 ---------------------------------
app-backup/tsm/tsm-7.1.4.4.ebuild | 227 --------------------------------
11 files changed, 2451 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 8a559618cf7..c86d334d5de 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,73 +1 @@
-DIST 7.1.0.0-TIV-TSMBAC-LinuxX86.tar 99133440 SHA256 b0d48ddd3fb8613c8cd55dcaa2fe779dcf292779abaa252f46f63b7d466bc0c6 SHA512 ff1a3ee629807234551d1f9508b096fc5b87caf709e5b0b58b720f8e3e35b0b737f103f0259a52797fc9b7af5208f417d2575aae6a06201c2e8ae20db40ff46c WHIRLPOOL af67a267af992b89e47dfe7d0c07c4935f142a7cd44ad0628f398656222a2001165cd2ad97a08cfc2cedad6bafd36b49f79da5bf4221225d940980059171cfac
-DIST 7.1.0.0-TIVsm-msg.CS_CZ.x86_64.rpm 4449301 SHA256 bae02bebe71f6c0f91b2baf37d12d6d68e6509ffa4e11d25635b2a5e685b51fa SHA512 117cabafcb9751a0d45c735df651b07b0e146ad81a9ab21761310ecbe70714e958406e61c78f1d155e0a6d00aa7229b05f6e94f583a6125684d55de03f252a91 WHIRLPOOL ba3d92c3e2bcb465409adbeedcbb29cf05266155aee59b07f62ef423f08f1825383eaf57b05f969bf721402d3cab4dc6eea824682428b806423ad915949608af
-DIST 7.1.0.0-TIVsm-msg.DE_DE.x86_64.rpm 3748958 SHA256 50837d1085365b7ac1af6204591e47e6f23e610eaebfdcb32240b116522c450c SHA512 82789e0b6210067f682cbfb845978037ba0bf4bcebd04d350b7d93f855c4ce87b1ae7830c91af2d75b6c7dd6f4a0aad7d452224e79c2ff07bb56947c0a976215 WHIRLPOOL fba1d9718a10ed24911a2b42c53908266b5192f266c2d49c6d62107959b82a80bc46ce06319c689551b7441157fd443b860eaf1ca900dafb68f7709a5a7e4701
-DIST 7.1.0.0-TIVsm-msg.ES_ES.x86_64.rpm 3787106 SHA256 8740c1b2b592de736cddcddf55166adae1df46e095811142df72327469121075 SHA512 8f6416332239a0dd5425d24371c1e3922a2b4c771adaee995224c245832928b9fc5a48086763ca04bb2bd1ece4252a46b24b5793f229b89407c245235f8b0fb0 WHIRLPOOL b23f4db28e40862dfefb019ddf3df88b0c2db77bf494010140fec66fc91b074d5ffa9b8a4b1810d864254d424b196eb0917fc8e3211061d48f6f6c1cfe34bd32
-DIST 7.1.0.0-TIVsm-msg.FR_FR.x86_64.rpm 3740545 SHA256 fc88ccec06c06ed5dc2030fca50883d56cb9413cb6b84ea0c309f104f6c9a0fc SHA512 5e5a801b06b0d42b4300ff39faed600cbc12f0358d1f7679a6fbc17323faa04752c1ad4c83794e5a7f9ae03de32f4b0ba5ef6ed960a8e52b854e6d013b64b27a WHIRLPOOL 04d89f2cad3eec82a2dcf83fb709bbe98df37b3c167c66b2002309a1e733ac2c2a0fcbc8eb5890c5e0e9f3c995e49b9b087244c0b08d9a555055c13afd5dbc9a
-DIST 7.1.0.0-TIVsm-msg.HU_HU.x86_64.rpm 3829863 SHA256 78bd6ca1a5975aee1883861c6dec79b2abcd854473e6bb58398346883d31506d SHA512 b887761274f6eafc328023cdc61e087a89ac5f2d2d61e25033fe5a2b92a897dec55ec9ce1f80aaccc3a29d7c29288201a41c8a505a49472be1d5a9d596d09013 WHIRLPOOL 9d22063f71347b573d617cc0ae417e401d06390e6ebd133a50c62e33df9755db8dcd61f3b3e2b6e5268fc24789eede1c7b76823125fb0bb86e376239f655dc99
-DIST 7.1.0.0-TIVsm-msg.IT_IT.x86_64.rpm 3650284 SHA256 afadb6d893cc69169500a9df778b14831a5d7c47db9812bbad7b08fb82924587 SHA512 f6ceb807e90932a3497928facef7d4ea7ab4328192591efdc4c605d2e6511ae92942b1b48c53f6cb96b7b7fb7688739e895cf684b0b1dda6005c1908bc3a8b19 WHIRLPOOL 473abb44310938431b3cd802ea897566ae9d953d4f3900677c0d7f1bb57e078e7f7c457734561989f0725510b8da3e8f1f16470dd97aa80d83f92326f784f482
-DIST 7.1.0.0-TIVsm-msg.JA_JP.x86_64.rpm 3770521 SHA256 366c1e1e87eed8f379caa3afdabd5c6dee4c8c9b31b8ea37ebb49e3243738cd3 SHA512 c7a44785e55903d88d2ea0088e5897e59c2be30f1db30746e13d754f07fd88aa11bdd17bd324f329e684061f38deada8b9a9df7a9f5bafbb670a1aefc582eb1a WHIRLPOOL 3e1c189e48a5dfb7f1224f8efd913e33d77b5f1a7bd5ed21c8e431a18878812590962fd22325c3acfdde6cedaeda67f724271a867eb0ac7033037ef79bce53d7
-DIST 7.1.0.0-TIVsm-msg.KO_KR.x86_64.rpm 3325788 SHA256 1ccbafa1c29f2ff7c3bf3994358e4d0a5eccea23f20b1f0c766e0fdc9979641b SHA512 26e51fd6ad93ed3bad4ed393f9344279637df8916645f5de288e5879fd63c755ca9ff4253ad39de68b15360d69b348d3838b1fc6316644045b92bebe57d3adac WHIRLPOOL 2189cf6ea3bda461a018c298984cda923a94e0a2038f229310a41eb0ffd766c7b7cb498d755a8241b300f09311c54bbc71d0f150dd968e7690db63789c14e912
-DIST 7.1.0.0-TIVsm-msg.PL_PL.x86_64.rpm 3718858 SHA256 de94814ad9f8ba5db49a15443866d105938703c88375156bab48d204937eca24 SHA512 94565e5441b581bbf1cb8eb18782dfa638eeb2c15b129d8f8fb947fcb50eeeabe7ac6bfc81a162fbba02006fc208d7b557cf1c94ef75e0353d9c26df8b853e6e WHIRLPOOL e85880f5186afa135bef3ae5b2eacaa92ecce6a00d2175574b69819e328259aa26a12e227599d49a46f23c8c75ccb5ae37ffa62c9223aca77fc630937f68b1fd
-DIST 7.1.0.0-TIVsm-msg.PT_BR.x86_64.rpm 3731332 SHA256 0b49e4f8b1443a01484790992e37c899889a5d949272eec4e29a31249e9da298 SHA512 397de49d5f40c6ef3895e23bb0f5c59c0a0c43e32ba8e0ca22549dd17490ac5ccec5cbfafefb07e96b8b8f8eddbfd333704cb74c1fc4830e82f1e655c3903cae WHIRLPOOL 5914cc07c31683a4b7df65ce762f59adb20b7ad1d9e3344d6aecfcb2c0db2a954fbc20d98f6e791a8a2d466eafe607fb0bb924df97bd8d5de60ba49168f63ee7
-DIST 7.1.0.0-TIVsm-msg.RU_RU.x86_64.rpm 4384394 SHA256 a720846965211440c9f8b8fd31d1efe281328fbd24e1373a58a64c43c084b391 SHA512 908ea5b9e2ef33b81d5234b99b352bd342e5d78bb19c75057f7b50a14eae175aae7aec977b98aabc063f8acf78c7fd6985481dc0b040029e4bd6d93252085656 WHIRLPOOL a7b33ef40851dc464eaee5310ceb53ad76002cccf118dd063b904de2a736cb8ce13766e15f7b8a43d917ec517ab25e192905dcaab7829e0b57c9dea6ec6b61d1
-DIST 7.1.0.0-TIVsm-msg.ZH_CN.x86_64.rpm 3438735 SHA256 8995b622b35bfb3cc4aeb8612f853751e5f329a86306d22a4de3b4265e7c96dc SHA512 54b21264a05b86af9c4900b32ce1a28fb18cb331582d5d907f6d9563b410b0f0599c141cc3f1e23f0772e1b3185271a5dedb8f0b976e4c7718d01659b4930eb7 WHIRLPOOL 667b5ad42f2caeb2ca81c0fb7c33852b54f682d46b81355ae8f255bdd610e86314f4e3acd89a918c450c9eef6c5c4e8fb70326313d37fbccb9ef8327d3c3857c
-DIST 7.1.0.0-TIVsm-msg.ZH_TW.x86_64.rpm 3524254 SHA256 655c75b9e3ff85c3b2919091d345d8fda04367340f77d27ed63ff64a22f1c7e3 SHA512 b08a690e3a0ac57a201cb6da47d41ded365e6b9d6a85084d182590f193f71146e1eba98ffdf5389375a94e50b5ad8ceabccf39e7be61f46ead25b638b3e706e8 WHIRLPOOL 9e4d308e38427ebe68a2cebae3b0819bed00bcf7d99d1b13ebecb94177ee49727f87f7aa107a09e7548a5b169be2c2f5a08030c45b106d936616cacf31170722
-DIST 7.1.0.3-TIV-TSMBAC-LinuxX86.tar 98653163 SHA256 cf609457005a14fe8780f6ed9614daf5c55c89e8f981e3eb57b4400e122f69e3 SHA512 fe15406f9b9e2e099cede6752c0e5431b81877f4167871dae04be95837fc15da85860a68809d9e0d121ccefbb72aef947655c94aadf1fde2b87bf581848ab689 WHIRLPOOL 07083fdb389ade842876a681b6f3a6c1d28d123691f7cf03eee7a7fed9b0e2a186802dfb951fb86c336b4ced17af143a2d42ea96fd40e08798e16d31960a679c
-DIST 7.1.0.3-TIVsm-msg.CS_CZ.x86_64.rpm 4450698 SHA256 d400c6ce9792a011068434c022aecdad222531ae99583edad887f676f0454b23 SHA512 8f5e59c5fece331fd2a743854fcf7bf9248ec7eacccd94124078442718cbc52d70aed6ad2f543f017f13a17b0f03e46e40e707a7f4548c70b00d5740ff93d0ca WHIRLPOOL 02286623b96622035a446c15559ca829b3b24b026a980846187e9b08e45eb8d7e44d064b45256d7ae119686abe61c5f975ccc9d143329dd0cdcae35105e79671
-DIST 7.1.0.3-TIVsm-msg.DE_DE.x86_64.rpm 3748176 SHA256 b6da84a0750b90a3ba7643a3565c57436cde1964d57a9c7be86bc4fcb279df22 SHA512 f8ac6f01678502a9e2f296a8c84e11e2e0ea45e8c7584977bd4eee9f519468ab611c0ebed979c6a493f6830eb7490f057e60d6a027394dbc247b34ecadea16ec WHIRLPOOL 4c0be4309a1c628ea939d7c99c859982bbeaf0d7963345b83222470ca7357e7061879fedb83e98cf6018f1461fdfd5c4c8022dcdd8d5e0d2bf17d2d8bf3e00ff
-DIST 7.1.0.3-TIVsm-msg.ES_ES.x86_64.rpm 3787713 SHA256 50deefaaf9f5760a562ce7b139ce2464faa8515b58d1733050fb094f2a796cad SHA512 f7dd5745c1f9dcf5cfb910e64367d876d2f8e845a8cbb4e14e1a465f7fe11806be00d3778e8e0d9c44740aa36edcd74fe4015217312ed820a8be0b95d4d15486 WHIRLPOOL 338ca05370174b520fa2277b0e51cb345a3b64c6c362c76b81e299628829665ea402957031405d7473daf46257b5c4b6cffcf864dd9a2d89c4bb0a4b982133ac
-DIST 7.1.0.3-TIVsm-msg.FR_FR.x86_64.rpm 3741153 SHA256 217fbbfb180154ad2668d1d1ba76ea1751f712cf9314bf29e727c012d83096b5 SHA512 b4feebe4200a6c4e8c63164b6efbee75474cf85b2fd103465485c47c007d8ffc20235af482d6e77c0e55008fea55622d3f0f4596f47de36d91d858ca1a7c78d2 WHIRLPOOL 57e3a13b294f27195686ca8d25f25f58d4eeb8405e97d0a675574e4e74f4f5231733c5fd1b3a71c7d979ce5b2d5b2168871d95f8bf9694badd2b6bdafe072fdb
-DIST 7.1.0.3-TIVsm-msg.HU_HU.x86_64.rpm 3830832 SHA256 9656ec46402b5574475a2cc4510432ab1880d2a23c6042f8fea38979b3effd0b SHA512 fd404434954997d6f3131dbd0b4952d17f25cbf2f764250b5deda269482873e386e04d45f9e4ebf0d94ee50fe5f1928d88def146e0859adcb5ed3766d970550e WHIRLPOOL 02fd19fd7fb131a38452d0c6e032776434f9e7666ca83d1c84ce399070f3e72fc9137b7b6f7b77742673b580c4aa1e8a459b3b1cf8b6188cc38670d9bb0a9220
-DIST 7.1.0.3-TIVsm-msg.IT_IT.x86_64.rpm 3651505 SHA256 e6eb362e878102e410f80d206832e66a76e87b2f1388d247f4de3bdfd859c75a SHA512 15f009ac86e488bff2edee3a8b050132935d895d1d53cc91481220f8687acf27d33f1dcb95849edd0462cf296fa47481cefde32f72bfe2e270fb4c6b9ced8990 WHIRLPOOL cb63e3a6d4dd71d1d4b5fe12f8939616676f27066afccef7c73cff892841e74a04d3e2e3a327cfe4d44d47acda3b6f08f2d0247895fdfb8825ba37424dcf9f99
-DIST 7.1.0.3-TIVsm-msg.JA_JP.x86_64.rpm 3770577 SHA256 da8b974c1041688f02bad88b7eb614c80f1fef0421e70dcf632f724227505e73 SHA512 cbfb5781ac8c68c6ff7ffe0f65b1fa9f153d73312f971ecf10251d0f250c1e16f2a21d985b2aa79893775ede325c31d6424cb00e8f0edb36e5d69467a15f1068 WHIRLPOOL 36b84470a9fa3f1b0c4c0489380c8270d5475fbe29f707ec618bf518b2e50b691c5e5426847e61f8321365c245aabf305744aa25ee64ad0ca8302bd54969db27
-DIST 7.1.0.3-TIVsm-msg.KO_KR.x86_64.rpm 3326626 SHA256 c348d13f22d8776bceec4ca86e1b3443a589c7a311ae3355a2e83b9ffa4c61d2 SHA512 d575e0385a0786f80adb69b2fdfd35d96802a5f22ef4179cf11fee3f184bd5cf7f79191027c089bf262caaa998d927343bc532eb5a4a02a9eb9e10cc82df8607 WHIRLPOOL fa4e17eccfd942f0f979e3d0bed785f6565790bb6c631bc6ee04b3e12fb4448d334e8a3dc473f17c4a5238ee41d45632fadcb83db2b73d418558ddb088b754e6
-DIST 7.1.0.3-TIVsm-msg.PL_PL.x86_64.rpm 3719845 SHA256 ab4d58b29759a13c4849cd6bae303f75dfa54361995bb6d0ecae84a1c218c683 SHA512 61268028e0f35e3da4a1477b3f164714eaa05ad2f2c54d934018909d1887dc990017d30f7c0c92c22d4f6342aa85f59fe314bbe6be0e639d0f456ec134e5bbdf WHIRLPOOL 62a2cce91c6ef13f2a39eba88f6c30aab839f7dd3643694ca3507bb4341dbafc7b615d11ae113a6be25af9d25723581394b109e11a96845dc0e2da519539f8b7
-DIST 7.1.0.3-TIVsm-msg.PT_BR.x86_64.rpm 3730125 SHA256 f1cde1ca9a74145382f9c1e6ecb69d1cf10d7cc6ba9bb9415e390254d912e07d SHA512 471e8a668ed3c12785e2469127e2aaf6c2e36e24f49f367db0a5b7b292ee4ce215d6e5bd53fd50c14e121d4f75fa9ce22482c0f21f2e8ffdfe897c5aa39d15e7 WHIRLPOOL 8e253af14525b374d7bf52b33b7e70d3147d3d8237edfb04924edb0d52957b5d89295a857e094fde98ba622049b714e4256a6f42e39f9b3f575e33ba1c61d386
-DIST 7.1.0.3-TIVsm-msg.RU_RU.x86_64.rpm 4383399 SHA256 0d1b2559c09bada269b46cfa92c5201dd88594ab0fbac982f40cc647a8fe4804 SHA512 d4d39251a5b5c0507897855289cc7516fb4fdb60ef788b083332a9e15ff31788c74de64950cc04f67f0c16d64f7bccc85bbda07106f1cd1eba63c2f45df8cdee WHIRLPOOL 9b005c286968f7d2f74a32572e7094879ea5618b676d1e08cc3cb487df6e07aefeebdc48e9a2a0b1321ba010cae8dc341d610289411fc61d59bb8247f1fdb472
-DIST 7.1.0.3-TIVsm-msg.ZH_CN.x86_64.rpm 3439170 SHA256 3ec55d3165b69c3d22d1d5fe96ab2398ce72952b8e6a3bc1b0e71011caefdf5d SHA512 acaaed9f3f5bf2e442b45b511cbfe6b6075b36be8073e61ba1fcc4bd794a717c436245febeb5f2198bc7a025600c006ef1cfa2b2380be00c5c9d38d8aea50a91 WHIRLPOOL 94b163b61e5a66aeb628f73228557a44812d25a3bbf2f804a8ef7feeae6990e0f0e7516133f07dea608ef88dbfa0f711510351ed8d161510a5e5d74ba6133d31
-DIST 7.1.0.3-TIVsm-msg.ZH_TW.x86_64.rpm 3524512 SHA256 45962815b4deaa83a7202a7381cb02681b6f1edaa5c704000a8ef186a2955f85 SHA512 440c5d16d8681b60493f33b800d20cd4e4cec7cd60ae59d76b67043e7e9693a7654b5975e8ce5dffe29cafbafe9741bb1651630d65188ebc83bf29f572fb7ac4 WHIRLPOOL 37c2e7a0b3ddf4d87438cc2148c55c9d254f8954f2a78bed605ab02632cd9ac527d07dfb2b8b4161e4c96c75b08ba638f4925d157130ea94d517fa5859948d70
-DIST 7.1.1.4-TIV-TSMBAC-LinuxX86.tar 107806720 SHA256 5de583c2f655e19bd0dc5aa39120d889744e74fea4b0ee25b5c0abb09170405c SHA512 ef0d1aee978f7664b761ff48ad76c27a4693576eb43320f2367244e8d6c69bf69e6defa30d9abe61b56c2613ae08df4905097c695c3ceb3e3d657224fecf894f WHIRLPOOL 4c8cdcfe46caefd5f3717025e9c328894a808e0a972350f6b377a58527dbc2226d4af11d364f69ebec28f81b6778549169ae52f71dbe7930ed143a9ffe1707a8
-DIST 7.1.1.4-TIVsm-msg.CS_CZ.x86_64.rpm 4520127 SHA256 26d5d80a5a8b4185959401c0cae49dfa9f0368932984d8b9b0a0ef6a7dab15f7 SHA512 6af571027ff8500c696626c2087f735561b8e5b82be4e24a3d4abdb3d1d1dca0bccb63282f03a136bc1f2d48b0741661da80b67ff1e50ef3bdd9777f4f9aff29 WHIRLPOOL 6c3b316529c25ff5ca91c0e6d52fd4ef04bd2a759a522884f95fcfbd1841d6289c8d0bee44282aa86a27f8254693ddc05796592f318b0b7b9319fedf26f3d969
-DIST 7.1.1.4-TIVsm-msg.DE_DE.x86_64.rpm 3820514 SHA256 27ff21934c7b168e71024281a9b8bf34aeabdd62a9164bab4f27d9f3539263b1 SHA512 ce723adf833d0d52cdf644aebdef6499d011236bffd3a42756705c771350790a181416dff51bf4e9804e72c8dd80d6b7be8e8e315fc758ed735ec4b022e8636a WHIRLPOOL 670584187c600500c2686ca81b019accc0feee3e98779d399448b7e708a9e18801d6ac5266c0fb9d9899e1ee8627e9014aaa5ac5174d1b4fb426caf94c989767
-DIST 7.1.1.4-TIVsm-msg.ES_ES.x86_64.rpm 3850294 SHA256 58ed22a273afb165bd0d2808e535bf0834908970a69627e07b882ba321e27eb0 SHA512 08fdd1cc8f6f8ea9005f8d063b04a8cc780da9fd6e75e0101a70a2fd910829d4634bbe3b83bbbc8a154aba1ab9bd6f298b1c049fea99e915fa4cccae007ebe42 WHIRLPOOL 6d02d94939fc5faf28f4f12e4d38dba4160df078ce4d8b35a057b4158b5ad1b275cba198a5f1d5fe63c05c2577dacda2745bd59ae9930a02911591383b55a0fc
-DIST 7.1.1.4-TIVsm-msg.FR_FR.x86_64.rpm 3804267 SHA256 8f72546a66ec593ca7b0e300fd347ff5d65099c78aa4c0d80ff343fe4271cdf4 SHA512 c768e9b1b4939572c4165d33c74b8221d6cd1ef96bee4d9c3a9754c9e611e7bbc23d825061ed8e2a9c36b061fff928cfa68e060cb40ba6349923bc958e7a42ac WHIRLPOOL a1a58b8aead6e1cd2703ebffff08ef3169e29a2a67f0d63048a297d1427aa1ab51e97dd9f77701c36996162d942a53b3b5f1451244db3956abba1f5521f19aa8
-DIST 7.1.1.4-TIVsm-msg.HU_HU.x86_64.rpm 3878375 SHA256 0f0876960630c0a3c20397da4fd5962a508521777d7a31210ff8a6e3c69b0c48 SHA512 bee4e11ca1f81c942b65fe5fdfcea3ad8bd08faefff7748798669bca3d417560688d3d8d83f8116cf78d6cfecd1e23f74d7f7563b7898d24759cddddceadcbd3 WHIRLPOOL 4ed75509abcfb68ee980fd0032f3eb0ab0e55a6282a1c50ce1d33d22573ff3ef1ccd6dd56dc20604ff502a92da7f66f4f962e1124a667bcdfb246eb464d7100e
-DIST 7.1.1.4-TIVsm-msg.IT_IT.x86_64.rpm 3683951 SHA256 2a5fcf484a268bff79342ce23d0619811be1c3750959891a13a1a2df437a734f SHA512 bd051a1d52c92951530373d4beb47ccfbe61416d27a1b31525fa55464c4ce86247de1d170b505929f03c3cc9a6978e925a1e3561bbf21384df841fbb3362aaff WHIRLPOOL 0726e73590760b9ea0ad5995fb9500986929f7ec54427f3ed9c493bdf08323b35c1e73745b6d8e15af4755cc89695c4c8bf2d5ffe1074a09e22c0fdea768f15e
-DIST 7.1.1.4-TIVsm-msg.JA_JP.x86_64.rpm 3833380 SHA256 3b83ecbb9eea4f21d01e16938a70dafb8e2380e8877195641a55008adddc2da9 SHA512 aa35807b0d8986cf8953cf85422e698f0090997e89288bb6e9f99286f6f8fe3f42a55eef581a1add66a2ff40cbfae25880327322ca07240a766d4ff9ceb97802 WHIRLPOOL 2fb68ee665a1131b5835de15c55091fb633cbde5e33eb0fa8e9dbc9d0f6dfd3884951d8a5d981575b775ad43b76be04a72a4e841d1ee3f80fbc8ff99d8c8612d
-DIST 7.1.1.4-TIVsm-msg.KO_KR.x86_64.rpm 3670780 SHA256 1b3728a0235c2dc7019a327755f4962973add15bd4251a458443cbee35b55a97 SHA512 1a96e0457454ce9a54f984be5e994244e80ef77fa091748780cebbf2057983b91b9d291fa2ae2a45f1fd4907168dbf52af10c5988e0d2318f89a3b7fb107f315 WHIRLPOOL d18a95ac6c927e72b543c5dc003605aa1f96d491168b6d549ce731b43c8d74c00c25edf8d9e59121f35922263897a57fd6e931a01e5f9b06a0715f7d936d2ffa
-DIST 7.1.1.4-TIVsm-msg.PL_PL.x86_64.rpm 3757534 SHA256 ffc9ea0027183357fe170d65e714694a557945f6f164a4790564d5cf49cd45de SHA512 3088182f7cebf20b4ed9da2ca18f8bfa05def5cd671eca638629bd83fa8bd8bf152fbb2db710348d958777a8b1ecf890a09ddeef72010fca563827f4392c2814 WHIRLPOOL 1c130637bf9cfb64ebb6bd379409568c57b160212ab1384f9bb6099aac70d61d74bb4e80c7c71db08891f3bd125f08e235e3e682f054d4fd4ee1ea8ea7856798
-DIST 7.1.1.4-TIVsm-msg.PT_BR.x86_64.rpm 3787311 SHA256 78e593b5291c56f9b10f45dad3880715445622deea371d5364cf6a8d7074a5b2 SHA512 c1de15f6e192ade933350a1eeebf4b33ae7f013697e8df4009424dcc21d29a4a8aa4b814e8e00ac16df536191644f72ea08f055a2851fc0c05e46144427ed80f WHIRLPOOL 6d0f66f60b31bb1630aa0139dbbf75baebe0944378f53211314065bf83342330a554d60bed48a8d95d6f747c93b30c775a00c938a583513ed8844727cb216462
-DIST 7.1.1.4-TIVsm-msg.RU_RU.x86_64.rpm 4439766 SHA256 63ceac563d7b7aeab48519533e8a6eafd946e79ddc3168e3893473579d628498 SHA512 e20ef1f68a9cb1a1ee6ad5d9873ad27b3bc8c9d93bb01a82459e6a2abfb2f69a2f2d52f11913e3d6b14db3c6c9f558d46dda5b5ccfd6a7bdb7d652ff3ff86d4c WHIRLPOOL 5c10159b8fbe0eaa55f1b54b4ef2ab026cc9128125af40274978085331f6a0ee249f5fbb853d4f882a5fde04812cf9977140539e8ba2e3b5f192db04a2e777cf
-DIST 7.1.1.4-TIVsm-msg.ZH_CN.x86_64.rpm 3498617 SHA256 56a1f7ea91336451935fba3c2a450fd34aaa9f387f94166b2dbe75bdbb9fcba5 SHA512 c047dea24569348e36390936fa1bf5ce505503a62042b5965be70b7f860992bfcabf735c8ea1a64fc88d70140d1bfa54f3197a04daa24fa0ad815fcdf1d4aa2a WHIRLPOOL 4f78fb8acc82ca5dafcef700876303b5ae53bd6662ba35613f0737dd617cb566904d9f5bc623aabb74f84b0495b6f972f5fd6adf9348b52eaf86ab344bd94107
-DIST 7.1.1.4-TIVsm-msg.ZH_TW.x86_64.rpm 3581954 SHA256 2af3761fca55c365d376f41014c55fbafdfedd4752684997f1d2ce5793d6accc SHA512 6f620d51e45c966829f49fde5f5ce0bccfd5b716f14d2cbba2a2dd54acf8715a5bbc43c3a8ccffb2febdea5e74f487acb3058234e1e17786cf81d804d750b348 WHIRLPOOL 6f486e5d06dcc0c90ecc61ab6ec038efd46466b7ebab053edc442fe6ec97695b1cd6acaa2915c7f4717ca433a72ca9586653a631ce2af543af3c59c2ae9148c8
-DIST 7.1.2.0-TIV-TSMBAC-LinuxX86.tar 113049600 SHA256 955291e82ae5e207a46a52c7b97d7cb4a05b623afcb3cf59e0e13e5cff4c4f9d SHA512 9b8722bd87794a01fdb3db2bf0db7a5d05e9c278d8469e43e2af1f84bbaa3a40efbffb19da3ef5fa5445b8f1e1b39aa603992994b0aa4654d00c431c14efb5f4 WHIRLPOOL 2ee25e928fb671452324ff6fa9616bc74a3481e93138974ffd55ade16e9028a22b367c29ca13ce6774fd819c075235cf01bdb5dd8d43995bb456f1b6b086cf64
-DIST 7.1.2.0-TIVsm-msg.CS_CZ.x86_64.rpm 4436432 SHA256 d126520652fb95254609c8c4767a7e266bcdd76c1fa8d86d5cf6cee7b0cf6263 SHA512 18f2bd339d455250967823969b7b0b4ead32bd99260854b247729fb36884d8e8d5e211505b72f31e88e33ec4054653eb1ab0db3c28287200e71ac080616850b9 WHIRLPOOL 671b8e0e96f64430b8bed49926b925a16bc97036e901b0b98f6e3cc21246b1916d023b16896dfeabf0d9d8afc87adcf888d6162f22945662104e804194a4d555
-DIST 7.1.2.0-TIVsm-msg.DE_DE.x86_64.rpm 3746180 SHA256 b113096752920643332ca41c6ade89d38e446659d1ca018088efc6b09b67c4cc SHA512 9c56719271d9a1f6bf01c0af023c59d8850010fd8a4cb34ec792369b9b652259d3a4548c4ce8ed9ed6fd3097fafa3ed6ed5014146841f1dd5686ec01e6fdc7f2 WHIRLPOOL 5522f1a971babee9574eeccdc24c15e44d5aa57699ccbab1ada5eb79f987443c974ab1b8c9daf26d039396ad5fd43dc267c287dbf0485b6fb9c18e80aff21c44
-DIST 7.1.2.0-TIVsm-msg.ES_ES.x86_64.rpm 3781147 SHA256 76fea82d0861c3e9685b7ec7ef99a773b87c14308c809a4beac1bf8153b39581 SHA512 bb4170709c31d6bbf7cc6c58ac820d9fb0ad89ff0a85301d66bb104f9d16c3a6407907d5f9d289c0853d4ddc058543238bd179c762f33634543b3bf0eca97be7 WHIRLPOOL 06674b8deb14ead7e934a93750c4a1e507801602f97d5ccc9a1284c1696e9aac48093852d679e9f14a7e47fab072bac3ce69b06224adce56afd2817079961f17
-DIST 7.1.2.0-TIVsm-msg.FR_FR.x86_64.rpm 3734253 SHA256 6fd7c7634f0415342ebd48c38e3eae9d73025a5e0a4d472e9fbe02a9de726aec SHA512 b235570fdd4c134937968d4df8b27655b402a79feb18bc151d47d7d740c004a0ac68ce23b0dcf00c565972c82447b4869be2cf2833b17cc4ef9a9020d2d0e439 WHIRLPOOL 9d491c579bafd349640b38cf6b294fd3b0f2762e6a025d2eadf63bb5e37466a9bfdcde6e08ae6aee0c1d5b1043dfcbc3fcbe1a0b1f851c219ffdf64a9a6e1da6
-DIST 7.1.2.0-TIVsm-msg.HU_HU.x86_64.rpm 3820171 SHA256 68c677945bdf7e52b66c8b18608979410ef5e15a4935c08754057c2a182478cd SHA512 146e4bbf4ebbbc150343923b9f0efc693bdb2ff4462e36718ea5f77a21e5757a40214e12965f048f42ceb0cd098eb91f88539d4be3bc0966eaffbf73e0e78063 WHIRLPOOL 8c09ec84798c222b9e86e4d77b0892191400734e854bb79f7a3c4c1df4dc31590a70014b48ff0ebeef040a6a0da3100ca46fad782092b65b530b46e89b8892f5
-DIST 7.1.2.0-TIVsm-msg.IT_IT.x86_64.rpm 3632607 SHA256 a535740f76d7f99441d9e3fe360c4410e1f6ece162b359ad7dc3d23297d52a5a SHA512 08eb9ae87eeb9d6ab14d7e3c972e212ecbd1067cb7dd105a0e2cee08e7e3aee461217c8bea2b92d3e25a784331c1ce06e7a363fd2d4d5b69637f4ef06e629dd7 WHIRLPOOL e114d3c42e946a849660fc0dcf74a94a2acfa2f4815d2f3b81195196ca8b2f92ed3c9a2f85336a8b927e45a5dbfac07d8d139cb4a8dc71a86435f89e4acd2ffd
-DIST 7.1.2.0-TIVsm-msg.JA_JP.x86_64.rpm 3772525 SHA256 db7b7d8d6baa1bc209233734cb243e92f4fb4e6773a3b00dcff48b47d98de7c9 SHA512 4c5272c286266fe4f90488c3918a724d20635a22fd21580e886c7cf1e1a636913e7c8bad459452dff98276bc8866f1cc5763cecc43a9fe57a6818d35206c63fe WHIRLPOOL 4444c0a11ee235a95c67455dc4bd77cb69feb7ecfb910420349db205962a41a415d48245851bfdd0745f7cc4a618c3d708215cc45c3b85f2129f7a1c897f66fd
-DIST 7.1.2.0-TIVsm-msg.KO_KR.x86_64.rpm 3600018 SHA256 5d78a7e49899a1496cdd62fdf84bc9b5be37e023d6cc4490b038366eacd55adb SHA512 b7f4d3a69f5c05936f46b47312b81fd618b8b49ed89d8c91c342a2b65a7e76dca572f28b9c82e161e95a20d77a46d25381c3fc98fd05920eb519c00a92257061 WHIRLPOOL ba420d84c31f99352a23b8120c3ce3f78b2e2bc73883ef9aec98dc790c2166b32466bcb5e9e296e8fdfee9295ced0e401fbd3742128d7a274178f5e1396ffd5a
-DIST 7.1.2.0-TIVsm-msg.PL_PL.x86_64.rpm 3738024 SHA256 3044a26d026baa2735ca9f7e611e8e1a46a463b9ad1d579fba7189991c196de2 SHA512 d4ef61d1226edb915c403f1d18d24c01346d55a9eb7ef023ef1f52eb32798358097affabae5c0ad20dc9640dda29bba386884ed7a99cf36c0b695e798cfbbaa9 WHIRLPOOL 822361e33546af5850276beeb67344bf3d6890317807b808335d27fdc1695d39f5666f9edf77846d8b4ffff944de98df93b2fbb7692f1ca62d7762d7dd93229a
-DIST 7.1.2.0-TIVsm-msg.PT_BR.x86_64.rpm 3736003 SHA256 9538c66e8624576ccd29a4adbf5999d8c708306b6ca0d488895c7fd63bc3b33d SHA512 4fa3bd81f3aecf2a7b5dedae814c972b79f37f757b9fbc4c99adf57c023954f19761728edb1fea99db20e6bb9f289d158d43c93c9062bed5940dd02b5d6d4d8a WHIRLPOOL 84d21ee6ed2743eea6e46ec570a29922c9c30f94ff4bced7715423cfe62fb7f75a6e2207eea186bc229252679f912ba0b9b7667eeb9df3b6b6588f96769a348a
-DIST 7.1.2.0-TIVsm-msg.RU_RU.x86_64.rpm 4378118 SHA256 2af3679b8915ff2699a9f26f6c25b21e0053a35063d74352f9c7391e57fb41ff SHA512 e4b332046097da752b77a810d89e3f0a1ac31eab192f3174cb36e3e4ebfe1e08b95895ecff7baf6fc9fb02a490edce26a26b73cd9d30ca12cfc2c2dd4b25a5a8 WHIRLPOOL 2e2bfcb0b800841ea117d1ade3ebdd2bcb1aa30495ece74371c3de32084cbf79c52c891f70c8adabcf668a9d81ecc64fcaa44c5b5144c39649ddf8baccf8cb69
-DIST 7.1.2.0-TIVsm-msg.ZH_CN.x86_64.rpm 3430014 SHA256 a10b8fc59b5b079c92222d9ad2db17d11d619e10037d53e1804a0f94897d54c3 SHA512 02f5699d09372650ec1f1d50fb728a30f5a8d9cdccff18a3057fd67ffdc8fd585132e55f11f2c1dea05ec44258a16a56030a4e2fa3218ba3c9abae4e6c9d7c81 WHIRLPOOL b5671f6ad1713f14d0d0913e124442ba3ca29121b3c24b94031347911c2f475763e6699f3550e05f95b4fa83825bc98d1afd45027ea3a564fa19579902be22cc
-DIST 7.1.2.0-TIVsm-msg.ZH_TW.x86_64.rpm 3527438 SHA256 52c4021f25bd29be08fe4fac3ace8d9e1a25c39361617e0c7cf331cf420eda6b SHA512 8e6b574ec85240d30ab4bfd1895e26db3c4cb2c624115d1315884408259df36110222826f000bb9507cff49afa003da139963ad35f5505d391ecbe6d9b9a51c0 WHIRLPOOL c28e6d067cbf0605dbd46540f527f70186824e06751188d889f119a244ef492ed1a9374f4098e75674264e4ecff2529989d84bce6a1f45740a341c5e2bb4049a
-DIST 7.1.2.3-TIV-TSMBAC-LinuxX86.tar 113408000 SHA256 d0c10d45a0c3ca283b21c0319997efed2c33e8a0cb2671191b5923b7309e0935 SHA512 47c6d7d78ebe2430bb39af084daf37e6e1020b675761c0789b7bb9078b56571423cbb7bbd7cd7f6cae41bfbc542ad569c3fd01fc6bd84b0904b4d9e64b9a564a WHIRLPOOL 2fe4448a5fa49b5f69de99812ac7df4f737c5b651284c0655f4a986bf1acd34ea59f15d0a36f63040b8f0daf7850865403091adea92a8a7c220d123c278cbe88
-DIST 7.1.2.3-TIVsm-msg.CS_CZ.x86_64.rpm 4436111 SHA256 c8da34c31b0b33ac00a80cee98070dd71289a54d1d4ae3b7d5ca702cab596b90 SHA512 ff9cc0bd3b209a19c03417e9283e5ac7572dff5ed54cd39f216bd671c432e68ee341b3560a19020ac9f4469a9747583c16af93d2c373a20227562c3ecfcbc6ca WHIRLPOOL 4169b74daa6f1327e9c6a1b7d4d5515b9c8355c6aea1ac99c0b3220b4c1c2fc64810ee905945ace9df79a2778684cb496d98c7bd92588ca691b88f7a922a0597
-DIST 7.1.2.3-TIVsm-msg.DE_DE.x86_64.rpm 3745823 SHA256 399a4cb8126691816b22f37d760c44f659133d79ac69be64b782263c7ab9b17d SHA512 d2be6d1ecab5239669eff776fede2cfaf6a370ea43e24c0623dd371b4db6b690539367350f5ec363a11d3bc8e41ad24bcbec0799e8cfadc337b69e5ab26bc0d0 WHIRLPOOL 25c4b5fd05f21692796595e09e00d049729cbe97d141de4bdba50f6029b6b6b7e751d207f1025c7cf508c7307c871c7df92d04431502d9ad4bdc77f4c29a8e07
-DIST 7.1.2.3-TIVsm-msg.ES_ES.x86_64.rpm 3780755 SHA256 9bbf3016efd6625a1fd1145348332fb0084384f6921ee57db30c575263f20d73 SHA512 d62985cceb0433a4dcb8107b241a3c13bc13ed8efef01680dd71ab8712bf908861506542735295a199ece907b9acb0df72edca7304c618f5bf5053ff94638b8e WHIRLPOOL fd9912d7b17acf7f2e359c705e77dc8d9043371876507dd0ac549aafb6702c9084f73c4145b9812b55538ec4ea1d46f04b8caec1e73bca9d051eaeff5433b5ea
-DIST 7.1.2.3-TIVsm-msg.FR_FR.x86_64.rpm 3734192 SHA256 e4aa27d42cd251ea400d5a440edcfebb690a01b7bb8a5bc7347b1c6a3eb6fb7f SHA512 c1c5614706a5c7afd74ecc4b49a5522e98a8253f4d8ab17d9f9ead8f154864f9b73e855d398655fc906f6b93f3224c8c251585c665bdb266d8ca7f41fb634ace WHIRLPOOL f198b0642e4b681a76e75c79749ad2d4b54191cc2adbefad39622065c2fb67b7750faa48578f907081d7097444044128dc666a8d5fe000cbbabcd0123e21719e
-DIST 7.1.2.3-TIVsm-msg.HU_HU.x86_64.rpm 3820435 SHA256 9db7fcdda1582e569c415cf2978ebdfb96834660a9c128f024ab3912c0300c77 SHA512 ed5afc7ff38fef08adc31226c6a8b86f66f4a8767f90d48520d2706be185684b632c368eaa702594d75a20412049daeb26ca6028095e3401a95ca7d7b6273480 WHIRLPOOL ccccb90257ae2feeab1fdd53bd00f25f592ad236af8f8d1f3c8e8e5199f04e12083925922600490fe532f7aaf1c7b3797af4b83ac934ea69a29e6d1f06e78b7b
-DIST 7.1.2.3-TIVsm-msg.IT_IT.x86_64.rpm 3632096 SHA256 2ee04d31ef14069e55b83816213ba9dac79aff34329df1f903306894187cbf6c SHA512 ba80f7137b8fc9aa53dfa501f94e07b9131d5a209728f6765b96f7b1674d39fbae91a9316a12f9432c6d2bfd553d1d58d22d8eb1a64e9ce059690370760cd7c8 WHIRLPOOL 81637a25f75a3683097f9a9f6440ebeafce5e8313ed254dfa16efe11310241fe1439130e88f04abf037244966d1cee37e54c1debb9fa44ccbf5b154691b500ee
-DIST 7.1.2.3-TIVsm-msg.JA_JP.x86_64.rpm 3771493 SHA256 3284280c11ac3fde54090caf54d43e82f952b4a83b5b387f2168dffc5cf89811 SHA512 0282a76c95f9006aafc212d4ac0f06817ffb1a509f945749a3afbffa7d31efe8688ba89b3e135cf5de671893efa1319088e36ea6ab40b3f3fdfc33e25ddadb5c WHIRLPOOL 985e8a3c3a910a872ab3bb3a49638da081b1cc5998c10f0b2a3903a935ff30af4bfdf7194db064ae080cec093d752394dbcd2df6c5fddb20130d1ae4e97c7ab3
-DIST 7.1.2.3-TIVsm-msg.KO_KR.x86_64.rpm 3600633 SHA256 e4e9e2e226fc6caa44a6dbe6bd8bdc6c4bbde553bcdbedba9d8532b2305fef1c SHA512 fee9fcd102271fcd826aa2735446ef08d30fab8861cbf3193db499150bfaad2010affa12cba2175c79f0c4cd042fb7448ae5d39e6d7913b0812ba85a302505d5 WHIRLPOOL 39f94116672540806c0be1b2ade4d2db116b1fd2d0857dd33578a8ad629f77bf61958d2561bd5ac06fcbdf1c198684cffa70927690779fc2560bedf1205b6e65
-DIST 7.1.2.3-TIVsm-msg.PL_PL.x86_64.rpm 3738872 SHA256 cd4fb8bd0f0c632c92e835f213ef3955fcccb6a85540b5b2b874ad0e49c6e47d SHA512 7dd4b8127e7f3896167c9c0cad3f2cc35c5a4c5bc30b6799f80fd75193b9730f977d4913317e7de7f2ab2c82e4fdbd4c9a0b96a009033666e11f854b547c60f1 WHIRLPOOL d228d4a8299896a61ee0df2efa3371aecdcb77e82691000542767f2bfddd719af41e7a7b569053cbc54f68c5968f0154cfe936538d52af7ae069483e0876b839
-DIST 7.1.2.3-TIVsm-msg.PT_BR.x86_64.rpm 3735750 SHA256 184baf811a5bf82a61528c1de88ba9e1136cc55212209a9d7e12625dab4fd606 SHA512 c06bc02b3bb46b9a66afef25c1acc8bc8211f94cd4a73f766cf3c98fa9a1ffd04bd7e6e806f859c94cd4f886f18d93ee12963e9e7292c11e173b4e081af7cd77 WHIRLPOOL 5f85dfc734ceea23976fe8e3336b47e983df8296336e830fa1f9005bbe49e881abc13d858ae4c957e6d4e3aa5d96b8e12216b7488da08d5eacc8a55756d1a0c1
-DIST 7.1.2.3-TIVsm-msg.RU_RU.x86_64.rpm 4378794 SHA256 97cf9bcca1a56aa7e6da501eb49ea979deaa39d1440845561bf3bcca592001b3 SHA512 8408673a046fcaafcb83205e7a0aa3dc123255cedfde58fafd88a02f4b207ba1b55e77d3eb9338bf5c61611479dd48cddaa9f82eeefd7179997c0d230b8a9aa1 WHIRLPOOL 67cfb50ed28af54d4722a665316803a9b01422477bda9b209477bf15479b04c168896fc32618a2c5ff73ba0a5902aee48aac9564280d49b3ff58e1408d8a7f3c
-DIST 7.1.2.3-TIVsm-msg.ZH_CN.x86_64.rpm 3430325 SHA256 ab741203f42010448b5d1e0500d9a8945e76add88c6b3528ec4a7f57341e9c8e SHA512 c34829170ea16c094759580475e205d65fa29a1edb08e3dd763c9486156188e9d1a8a64fb6083ee1ef7f172db568c39bf47b91a65fa3c5de8c7095e6ecb076c6 WHIRLPOOL a49fa02cd9e2254bcf33df66d23abab77e3e16d9d099faf1fcb867dace8faf87e9825e42062fd77a6078eee8abad432feb8929fbf1c3b0b2089fae9c9298c64a
-DIST 7.1.2.3-TIVsm-msg.ZH_TW.x86_64.rpm 3527076 SHA256 3499e674dc8990bbeca15c07f93b7e3bf65349b38ada66d31a057229b908124b SHA512 e81ea92d6ab15f70812475e506da15912842e31fff98de7048e620a7b56349fbbfc897cb52e7a307e2deb9978a05a051e1be8dd594ef82a13b0d81d467af4f34 WHIRLPOOL b613b13f594713c4a139b28f7f6778c3302c99e0f1484d7ffc2931de595a22f4353125428d4a2adad1f44c1b1375ec32442096a2c8ada69b5999f996abe7a47f
-DIST 7.1.3.1-TIV-TSMBAC-LinuxX86.tar 220323840 SHA256 488284bc46da88b62046cb3878dcbc93772f12f5201118a951f64535c407ac6b SHA512 9ec074d4e1417b02f51b884b775338f1df205001c073f88a8fa249c77d3b7f6b80aea97d43fb635ba8385227f2502e39ee70dbb66ff80c10225085272afd430e WHIRLPOOL 2d2c43b4ac88aa3e49ce3d0f002385a9227664847eeee5ede29eb774ed203e8700d036476d98c4b97579d25616f8745dbf9bf6c6ddb48cc57b5ae4280917144e
-DIST 7.1.3.2-TIV-TSMBAC-LinuxX86.tar 220262400 SHA256 33b74f3e38e732fd5d029ffe44ada86d118478e542cbca1b83496460818feccb SHA512 451280deabae62c6c2acd281165cbcdec7421aed17531bcc387e46be57fcbb85960fb0a6c8686e5d65d24a732c2778ce8610407f0c1fba21cd5bfce1c2c29fef WHIRLPOOL b818673a1e8dd96f91a61ac06bca002cb4d1b5e68789fb9e3ece3b778f12d42fffcdc9b20fe5786da54cd91bfc4abe7cf7b6173ec88270c116a70db79111044c
DIST 7.1.4.4-TIV-TSMBAC-LinuxX86.tar 220456960 SHA256 0b0c4c6537e96a73e4c528490509c9a5696251c871f9e31bb3f690e78337667c SHA512 5f0b0262ad4b8f1dc6d9763735c3390a9ea0d559a3efd08593c6aa81e89978387906ff728a5dee575725da7d0b7e4f4e6d207111b79625c6487b6e8d56d767de WHIRLPOOL 0990653b96d9d2e6357c98a8ba8bbe7407e629063ea48ae834d8f51abf0cbaba78ca0e51479c3f192c467972f3da2c3dab10dd7b5f1f3c54bc11c02be81856d7
diff --git a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild b/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
deleted file mode 100644
index 26837d891d5..00000000000
--- a/app-backup/tsm/tsm-7.1.0.0-r1.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
- ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.0.3.ebuild b/app-backup/tsm/tsm-7.1.0.3.ebuild
deleted file mode 100644
index 4cfd77a503c..00000000000
--- a/app-backup/tsm/tsm-7.1.0.3.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
- ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.1.4.ebuild b/app-backup/tsm/tsm-7.1.1.4.ebuild
deleted file mode 100644
index 4cfd77a503c..00000000000
--- a/app-backup/tsm/tsm-7.1.1.4.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
- ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.2.0.ebuild b/app-backup/tsm/tsm-7.1.2.0.ebuild
deleted file mode 100644
index 0a7432b68e8..00000000000
--- a/app-backup/tsm/tsm-7.1.2.0.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
- ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.6.0.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.6
- dosym libvixDiskLib.so.6.0.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.6
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.2.3.ebuild b/app-backup/tsm/tsm-7.1.2.3.ebuild
deleted file mode 100644
index 26837d891d5..00000000000
--- a/app-backup/tsm/tsm-7.1.2.3.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
- ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.3.1-r1.ebuild b/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
deleted file mode 100644
index 393cf38ff26..00000000000
--- a/app-backup/tsm/tsm-7.1.3.1-r1.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.3.1.ebuild b/app-backup/tsm/tsm-7.1.3.1.ebuild
deleted file mode 100644
index 31ce93ebfb7..00000000000
--- a/app-backup/tsm/tsm-7.1.3.1.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.3.2.ebuild b/app-backup/tsm/tsm-7.1.3.2.ebuild
deleted file mode 100644
index 393cf38ff26..00000000000
--- a/app-backup/tsm/tsm-7.1.3.2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_prepare() {
- # Avoid unnecessary dependency on ksh
- sed -i 's:^#!/usr/bin/ksh:#!/bin/bash:' \
- opt/tivoli/tsm/client/ba/bin/dsmj || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # We don't bother setting timestamps to build dates.
- # But we should delete the corresponding files.
- rm -f "${D}"$CLIENTDIR/api/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/ba/bin*/.buildDate || die
- rm -f "${D}"$CLIENTDIR/lang/.buildDate || die
-
- # Create links for messages; this is spread over several postin scripts.
- for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- # Install symlinks for sonames of libraries, bug #416503
- dosym libvixMntapi.so.1.1.0 $CLIENTDIR/ba/bin/libvixMntapi.so.1
- dosym libvixDiskLibVim.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLibVim.so.5
- dosym libvixDiskLib.so.5.5.0 $CLIENTDIR/ba/bin/libvixDiskLib.so.5
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.4.4-r1.ebuild b/app-backup/tsm/tsm-7.1.4.4-r1.ebuild
deleted file mode 100644
index 6d6e2634a68..00000000000
--- a/app-backup/tsm/tsm-7.1.4.4-r1.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install(){
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-7.1.4.4.ebuild b/app-backup/tsm/tsm-7.1.4.4.ebuild
deleted file mode 100644
index 3f145a028f8..00000000000
--- a/app-backup/tsm/tsm-7.1.4.4.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="~amd64 -*"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- =sys-fs/fuse-2*
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.7 )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install(){
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2017-11-05 13:56 James Le Cuirot
0 siblings, 0 replies; 47+ messages in thread
From: James Le Cuirot @ 2017-11-05 13:56 UTC (permalink / raw
To: gentoo-commits
commit: 66129487780afe9333d09e2317ad3d3e2e89d238
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 1 19:43:35 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Nov 5 13:48:15 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66129487
app-backup/tsm: 7.1.2.1 and above supports Java 8
Package-Manager: Portage-2.3.8, Repoman-2.3.2
app-backup/tsm/tsm-7.1.4.4-r2.ebuild | 231 +++++++++++++++++++++++++++++++++++
1 file changed, 231 insertions(+)
diff --git a/app-backup/tsm/tsm-7.1.4.4-r2.ebuild b/app-backup/tsm/tsm-7.1.4.4-r2.ebuild
new file mode 100644
index 00000000000..4bfb05faf99
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.4.4-r2.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
+HOMEPAGE="http://www.tivoli.com/"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="~amd64 -*"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ =sys-fs/fuse-2*
+ acl? ( sys-apps/acl )
+ java? ( >=virtual/jre-1.7 )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install(){
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2018-12-25 16:19 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2018-12-25 16:19 UTC (permalink / raw
To: gentoo-commits
commit: 7fd9cd2cd841eed9658b9deec1cb269e57f6f327
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 25 16:18:54 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Dec 25 16:19:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd9cd2c
app-backup/tsm: Use slotted fuse dependency, bug 668054
Closes: https://bugs.gentoo.org/673626
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/{tsm-7.1.4.4-r2.ebuild => tsm-7.1.4.4-r3.ebuild} | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-backup/tsm/tsm-7.1.4.4-r2.ebuild b/app-backup/tsm/tsm-7.1.4.4-r3.ebuild
similarity index 98%
rename from app-backup/tsm/tsm-7.1.4.4-r2.ebuild
rename to app-backup/tsm/tsm-7.1.4.4-r3.ebuild
index 4bfb05faf99..ef3867988c2 100644
--- a/app-backup/tsm/tsm-7.1.4.4-r2.ebuild
+++ b/app-backup/tsm/tsm-7.1.4.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="~amd64 -*"
+KEYWORDS="-* ~amd64"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
@@ -54,7 +54,7 @@ DEPEND=""
RDEPEND="
dev-libs/expat
dev-libs/libxml2
- =sys-fs/fuse-2*
+ sys-fs/fuse:0
acl? ( sys-apps/acl )
java? ( >=virtual/jre-1.7 )
"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2018-12-26 11:31 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2018-12-26 11:31 UTC (permalink / raw
To: gentoo-commits
commit: 615958499522ab50ba0aa0938a43b637add5ad2d
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 11:30:52 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 11:31:30 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61595849
app-backup/tsm: Version bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-7.1.8.0.ebuild | 233 ++++++++++++++++++++++++++++++++++++++
2 files changed, 234 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 40775b5bb28..0ced8297b57 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1 +1,2 @@
DIST 7.1.4.4-TIV-TSMBAC-LinuxX86.tar 220456960 BLAKE2B 1deb7f40b0db899dba475d83d4f22d602563b30c491d280f478e69c558677b9d09e49050eace4275e083eeeb670df2e545ad65abc2abf9dade1e35c947e581f6 SHA512 5f0b0262ad4b8f1dc6d9763735c3390a9ea0d559a3efd08593c6aa81e89978387906ff728a5dee575725da7d0b7e4f4e6d207111b79625c6487b6e8d56d767de
+DIST 7.1.8.0-TIV-TSMBAC-LinuxX86.tar 221849600 BLAKE2B a57d15885c802925e92afca45bfd25c1aa56c33329f03d3de89f00dd139239da3b835ef514dd8d881e76e04e84656d3d630b8e8e44fe8ef331c3f2c5d6acf816 SHA512 68dce2463554b7bd6100d5bf6a617316a04898b747fcaec182c9c4870c34bceb16eea47d073c587c7184945a3cef0f6c98d9a59364589a4745fd1fdc195e3af9
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-7.1.8.0.ebuild
new file mode 100644
index 00000000000..e0ace8567a6
--- /dev/null
+++ b/app-backup/tsm/tsm-7.1.8.0.ebuild
@@ -0,0 +1,233 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (formerly Tivoli Storage Manager) Backup/Archive (B/A) Client and API"
+HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+#KEYWORDS="-* ~amd64"
+IUSE="acl java +tsm_cit +tsm_hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND=""
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( >=virtual/jre-1.7 )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ enewgroup tsm
+ DOC_CONTENTS="
+ Note that you have to be either root or member of the group tsm to
+ be able to use the Tivoli Storage Manager client."
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm_cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm_hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install(){
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
+ fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2018-12-26 15:49 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2018-12-26 15:49 UTC (permalink / raw
To: gentoo-commits
commit: 997e51040c10cf4b31447f13a4569a69155ef7be
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 15:46:01 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 15:48:51 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=997e5104
app-backup/tsm: Version bump, work in progress
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-7.1.8.0.ebuild | 2 +-
app-backup/tsm/{tsm-7.1.8.0.ebuild => tsm-8.1.6.0.ebuild} | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 0ced8297b57..b35b13df6d7 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,2 +1,3 @@
DIST 7.1.4.4-TIV-TSMBAC-LinuxX86.tar 220456960 BLAKE2B 1deb7f40b0db899dba475d83d4f22d602563b30c491d280f478e69c558677b9d09e49050eace4275e083eeeb670df2e545ad65abc2abf9dade1e35c947e581f6 SHA512 5f0b0262ad4b8f1dc6d9763735c3390a9ea0d559a3efd08593c6aa81e89978387906ff728a5dee575725da7d0b7e4f4e6d207111b79625c6487b6e8d56d767de
DIST 7.1.8.0-TIV-TSMBAC-LinuxX86.tar 221849600 BLAKE2B a57d15885c802925e92afca45bfd25c1aa56c33329f03d3de89f00dd139239da3b835ef514dd8d881e76e04e84656d3d630b8e8e44fe8ef331c3f2c5d6acf816 SHA512 68dce2463554b7bd6100d5bf6a617316a04898b747fcaec182c9c4870c34bceb16eea47d073c587c7184945a3cef0f6c98d9a59364589a4745fd1fdc195e3af9
+DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-7.1.8.0.ebuild
index e0ace8567a6..82570635db3 100644
--- a/app-backup/tsm/tsm-7.1.8.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0.ebuild
@@ -5,7 +5,7 @@ EAPI=5
inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-DESCRIPTION="IBM Spectrum Protect (formerly Tivoli Storage Manager) Backup/Archive (B/A) Client and API"
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
MY_PV_MAJOR=$(get_major_version)
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
similarity index 98%
copy from app-backup/tsm/tsm-7.1.8.0.ebuild
copy to app-backup/tsm/tsm-8.1.6.0.ebuild
index e0ace8567a6..82570635db3 100644
--- a/app-backup/tsm/tsm-7.1.8.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -5,7 +5,7 @@ EAPI=5
inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-DESCRIPTION="IBM Spectrum Protect (formerly Tivoli Storage Manager) Backup/Archive (B/A) Client and API"
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
MY_PV_MAJOR=$(get_major_version)
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2018-12-26 19:09 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2018-12-26 19:09 UTC (permalink / raw
To: gentoo-commits
commit: af2b90d8519f3da5e50d4cc653df98f90114e7d7
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 19:09:15 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 19:09:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af2b90d8
app-backup/tsm: dsmtca does not exist anymore
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-7.1.8.0.ebuild | 13 ++++++++-----
app-backup/tsm/tsm-8.1.6.0.ebuild | 13 ++++++++-----
2 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-7.1.8.0.ebuild
index 82570635db3..015314a72dc 100644
--- a/app-backup/tsm/tsm-7.1.8.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0.ebuild
@@ -64,8 +64,14 @@ S="${WORKDIR}/bacli"
pkg_setup() {
enewgroup tsm
DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
}
src_unpack() {
@@ -162,9 +168,6 @@ src_install(){
dosym "../..${target}" "${i#${D}}"
done
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
keepdir /var/log/tsm
insinto /etc/logrotate.d
newins "${FILESDIR}/tsm.logrotate" tsm
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index 82570635db3..015314a72dc 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -64,8 +64,14 @@ S="${WORKDIR}/bacli"
pkg_setup() {
enewgroup tsm
DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
}
src_unpack() {
@@ -162,9 +168,6 @@ src_install(){
dosym "../..${target}" "${i#${D}}"
done
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
keepdir /var/log/tsm
insinto /etc/logrotate.d
newins "${FILESDIR}/tsm.logrotate" tsm
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2018-12-26 22:23 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2018-12-26 22:23 UTC (permalink / raw
To: gentoo-commits
commit: 74c3433d42ed8484c20c22d2790f20b436b7e38a
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 22:22:37 2018 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 22:23:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c3433d
app-backup/tsm: Fix 7.1.8 and re-keyword
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-7.1.8.0.ebuild | 8 +++++---
app-backup/tsm/tsm-8.1.6.0.ebuild | 6 ++++--
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-7.1.8.0.ebuild
index 015314a72dc..415ae4aa672 100644
--- a/app-backup/tsm/tsm-7.1.8.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user pax-utils
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-#KEYWORDS="-* ~amd64"
+KEYWORDS="-* ~amd64"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
@@ -232,5 +232,7 @@ pkg_postinst() {
chown root:root "${dirs[@]}" || die
chmod 0755 "${dirs[@]}" || die
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
readme.gentoo_print_elog
}
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index 015314a72dc..edcdcbf19e4 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user pax-utils
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
@@ -232,5 +232,7 @@ pkg_postinst() {
chown root:root "${dirs[@]}" || die
chmod 0755 "${dirs[@]}" || die
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
readme.gentoo_print_elog
}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2019-04-04 19:43 Aaron Bauman
0 siblings, 0 replies; 47+ messages in thread
From: Aaron Bauman @ 2019-04-04 19:43 UTC (permalink / raw
To: gentoo-commits
commit: 90898938b0b3defca76f5b383386c6ad987feb36
Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 4 19:43:04 2019 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Apr 4 19:43:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90898938
app-backup/tsm: drop vulnerable wrt bug #644496
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
app-backup/tsm/Manifest | 1 -
app-backup/tsm/tsm-7.1.4.4-r3.ebuild | 231 -----------------------------------
2 files changed, 232 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index b35b13df6d7..6fcba5100fe 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,3 +1,2 @@
-DIST 7.1.4.4-TIV-TSMBAC-LinuxX86.tar 220456960 BLAKE2B 1deb7f40b0db899dba475d83d4f22d602563b30c491d280f478e69c558677b9d09e49050eace4275e083eeeb670df2e545ad65abc2abf9dade1e35c947e581f6 SHA512 5f0b0262ad4b8f1dc6d9763735c3390a9ea0d559a3efd08593c6aa81e89978387906ff728a5dee575725da7d0b7e4f4e6d207111b79625c6487b6e8d56d767de
DIST 7.1.8.0-TIV-TSMBAC-LinuxX86.tar 221849600 BLAKE2B a57d15885c802925e92afca45bfd25c1aa56c33329f03d3de89f00dd139239da3b835ef514dd8d881e76e04e84656d3d630b8e8e44fe8ef331c3f2c5d6acf816 SHA512 68dce2463554b7bd6100d5bf6a617316a04898b747fcaec182c9c4870c34bceb16eea47d073c587c7184945a3cef0f6c98d9a59364589a4745fd1fdc195e3af9
DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
diff --git a/app-backup/tsm/tsm-7.1.4.4-r3.ebuild b/app-backup/tsm/tsm-7.1.4.4-r3.ebuild
deleted file mode 100644
index ef3867988c2..00000000000
--- a/app-backup/tsm/tsm-7.1.4.4-r3.ebuild
+++ /dev/null
@@ -1,231 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit versionator multilib eutils readme.gentoo rpm systemd user pax-utils
-
-DESCRIPTION="Tivoli Storage Manager (TSM) Backup/Archive (B/A) Client and API"
-HOMEPAGE="http://www.tivoli.com/"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="acl java +tsm_cit +tsm_hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND=""
-RDEPEND="
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( >=virtual/jre-1.7 )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- enewgroup tsm
- DOC_CONTENTS="
- Note that you have to be either root or member of the group tsm to
- be able to use the Tivoli Storage Manager client."
-}
-
-src_unpack() {
- local rpm rpms lang
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install(){
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- fowners :tsm /opt/tivoli/tsm/client/ba/bin/dsmtca
- fperms 4710 /opt/tivoli/tsm/client/ba/bin/dsmtca
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-05-06 21:15 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2020-05-06 21:15 UTC (permalink / raw
To: gentoo-commits
commit: 169af79c545582f9bec87e77c831acf682483746
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed May 6 20:20:01 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed May 6 21:15:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=169af79c
app-backup/tsm: migrate from user to GLEP 81
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-7.1.8.0-r1.ebuild | 8 +++++---
app-backup/tsm/tsm-8.1.6.0.ebuild | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
index 02b699342e4..df5a6de943e 100644
--- a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user pax-utils
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd pax-utils
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
@@ -50,8 +50,11 @@ ${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
unset lang
-DEPEND=""
+DEPEND="
+ acct-group/tsm
+"
RDEPEND="
+ acct-group/tsm
dev-libs/expat
dev-libs/libxml2
sys-fs/fuse:0
@@ -62,7 +65,6 @@ RDEPEND="
S="${WORKDIR}/bacli"
pkg_setup() {
- enewgroup tsm
DOC_CONTENTS="
Note that you have to be root to be able to use the Tivoli Storage Manager
client. The dsmtca trusted agent binary does not exist anymore.
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index e8319f4cd21..e440a76deaa 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd user pax-utils
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd pax-utils
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
@@ -50,8 +50,11 @@ ${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
unset lang
-DEPEND=""
+DEPEND="
+ acct-group/tsm
+"
RDEPEND="
+ acct-group/tsm
dev-libs/expat
dev-libs/libxml2
sys-fs/fuse:0
@@ -62,7 +65,6 @@ RDEPEND="
S="${WORKDIR}/bacli"
pkg_setup() {
- enewgroup tsm
DOC_CONTENTS="
Note that you have to be root to be able to use the Tivoli Storage Manager
client. The dsmtca trusted agent binary does not exist anymore.
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-05-06 21:15 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2020-05-06 21:15 UTC (permalink / raw
To: gentoo-commits
commit: 9ada041e9ece7eea13f52a12e55155ea8bdc9d70
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed May 6 20:06:56 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed May 6 21:15:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ada041e
app-backup/tsm: Drop ROOTPATH from env file
Closes: https://bugs.gentoo.org/682142
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/{tsm-7.1.8.0.ebuild => tsm-7.1.8.0-r1.ebuild} | 1 -
1 file changed, 1 deletion(-)
diff --git a/app-backup/tsm/tsm-7.1.8.0.ebuild b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
similarity index 99%
rename from app-backup/tsm/tsm-7.1.8.0.ebuild
rename to app-backup/tsm/tsm-7.1.8.0-r1.ebuild
index 7f08336f18a..02b699342e4 100644
--- a/app-backup/tsm/tsm-7.1.8.0.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
@@ -193,7 +193,6 @@ src_install() {
echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
insinto "/etc/revdep-rebuild"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-07-13 12:15 Marek Szuba
0 siblings, 0 replies; 47+ messages in thread
From: Marek Szuba @ 2020-07-13 12:15 UTC (permalink / raw
To: gentoo-commits
commit: 0836e8ee5ab65c1c3bfd547c498f1ab8eaf152f9
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 12:13:43 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 12:14:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0836e8ee
app-backup/tsm: s/_/-/ in USE flags
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-backup/tsm/metadata.xml | 4 ++--
app-backup/tsm/tsm-7.1.8.0-r1.ebuild | 6 +++---
app-backup/tsm/tsm-8.1.6.0.ebuild | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index 5c23451875c..249336c9081 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -5,7 +5,7 @@
<email>dilfridge@gentoo.org</email>
</maintainer>
<use>
- <flag name="tsm_cit">IBM Tivoli Common Inventory Technology</flag>
- <flag name="tsm_hw">Difference snapshot support for NetApp and N-Series file servers</flag>
+ <flag name="tsm-cit">IBM Tivoli Common Inventory Technology</flag>
+ <flag name="tsm-hw">Difference snapshot support for NetApp and N-Series file servers</flag>
</use>
</pkgmetadata>
diff --git a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
index df5a6de943e..58c58485a2b 100644
--- a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
+++ b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
SLOT="0"
KEYWORDS="-* ~amd64"
-IUSE="acl java +tsm_cit +tsm_hw"
+IUSE="acl java +tsm-cit +tsm-hw"
QA_PREBUILT="*"
# not available (yet?)
@@ -86,10 +86,10 @@ src_unpack() {
for rpm in *.rpm; do
case ${rpm} in
TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
+ use tsm-cit && rpms="${rpms} ./${rpm}"
;;
TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
+ use tsm-hw && rpms="${rpms} ./${rpm}"
;;
TIVsm-JBB.*|*-filepath-*)
# "journal based backup" for all filesystems
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index f2c450a85de..6671f616235 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -35,7 +35,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
SLOT="0"
KEYWORDS="-* ~amd64"
-IUSE="acl java +tsm_cit +tsm_hw"
+IUSE="acl java +tsm-cit +tsm-hw"
QA_PREBUILT="*"
# not available (yet?)
@@ -86,10 +86,10 @@ src_unpack() {
for rpm in *.rpm; do
case ${rpm} in
TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm_cit && rpms="${rpms} ./${rpm}"
+ use tsm-cit && rpms="${rpms} ./${rpm}"
;;
TIVsm-BAhdw.*)
- use tsm_hw && rpms="${rpms} ./${rpm}"
+ use tsm-hw && rpms="${rpms} ./${rpm}"
;;
TIVsm-JBB.*|*-filepath-*)
# "journal based backup" for all filesystems
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-07-13 12:15 Marek Szuba
0 siblings, 0 replies; 47+ messages in thread
From: Marek Szuba @ 2020-07-13 12:15 UTC (permalink / raw
To: gentoo-commits
commit: fdc069e9bc78d18504140bb2ced2de31bf1bf5b9
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 13 12:09:32 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 13 12:14:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc069e9
app-backup/tsm: keyword 8.1.6.0
Approved by maintainer in #gentoo-dev.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index e440a76deaa..f2c450a85de 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-#KEYWORDS="-* ~amd64"
+KEYWORDS="-* ~amd64"
IUSE="acl java +tsm_cit +tsm_hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-10-09 15:23 Agostino Sarubbo
0 siblings, 0 replies; 47+ messages in thread
From: Agostino Sarubbo @ 2020-10-09 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 2aa7d01386f43355ae552326701c6f87ed50a627
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 9 15:23:06 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 15:23:06 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa7d013
app-backup/tsm: amd64 stable wrt bug #719136
Package-Manager: Portage-3.0.4, Repoman-3.0.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
index 6671f616235..f84a86e3d25 100644
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0.ebuild
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="acl java +tsm-cit +tsm-hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-10-09 18:20 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2020-10-09 18:20 UTC (permalink / raw
To: gentoo-commits
commit: 30c25ab45be7ee8795c74db682ffcbe6027f5bd8
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 9 18:19:57 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 18:19:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c25ab4
app-backup/tsm: Drop ROOTPATH from env again
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0-r1.ebuild | 240 +++++++++++++++++++++++++++++++++++
1 file changed, 240 insertions(+)
diff --git a/app-backup/tsm/tsm-8.1.6.0-r1.ebuild b/app-backup/tsm/tsm-8.1.6.0-r1.ebuild
new file mode 100644
index 00000000000..34225aedc4c
--- /dev/null
+++ b/app-backup/tsm/tsm-8.1.6.0-r1.ebuild
@@ -0,0 +1,240 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator multilib eutils readme.gentoo-r1 rpm systemd pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
+HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
+
+MY_PV_MAJOR=$(get_major_version)
+MY_PV_MINOR=$(get_version_component_range 2)
+MY_PV_TINY=$(get_version_component_range 3)
+MY_PV_PATCH=$(get_version_component_range 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="acl java +tsm-cit +tsm-hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND="
+ acct-group/tsm
+"
+RDEPEND="
+ acct-group/tsm
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( >=virtual/jre-1.7 )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ DOC_CONTENTS="
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm-cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm-hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install() {
+ cp -a opt "${D}" || die
+ cp -a usr "${D}" || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}}"
+ done
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e $i ]]; then
+ touch $i || die
+ chown :tsm $i || die
+ chmod 0660 $i || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2020-10-09 18:20 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2020-10-09 18:20 UTC (permalink / raw
To: gentoo-commits
commit: 40b0f30169f2c2faa1e448567ed085191af916b8
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 9 18:20:25 2020 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Oct 9 18:20:25 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b0f301
app-backup/tsm: Remove old
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 -
app-backup/tsm/tsm-7.1.8.0-r1.ebuild | 239 -----------------------------------
2 files changed, 240 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 6fcba5100fe..b1fe5ffa9f8 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,2 +1 @@
-DIST 7.1.8.0-TIV-TSMBAC-LinuxX86.tar 221849600 BLAKE2B a57d15885c802925e92afca45bfd25c1aa56c33329f03d3de89f00dd139239da3b835ef514dd8d881e76e04e84656d3d630b8e8e44fe8ef331c3f2c5d6acf816 SHA512 68dce2463554b7bd6100d5bf6a617316a04898b747fcaec182c9c4870c34bceb16eea47d073c587c7184945a3cef0f6c98d9a59364589a4745fd1fdc195e3af9
DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
diff --git a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild b/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
deleted file mode 100644
index 58c58485a2b..00000000000
--- a/app-backup/tsm/tsm-7.1.8.0-r1.ebuild
+++ /dev/null
@@ -1,239 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="acl java +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( >=virtual/jre-1.7 )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2021-02-28 21:05 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2021-02-28 21:05 UTC (permalink / raw
To: gentoo-commits
commit: 52670cf9cd5a9dfe626f65596a0d72ce0c08e0e7
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 21:05:17 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 21:05:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52670cf9
app-backup/tsm: Stable for amd64
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-backup/tsm/tsm-8.1.6.0-r1.ebuild b/app-backup/tsm/tsm-8.1.6.0-r1.ebuild
index 34225aedc4c..cab9db6b1d1 100644
--- a/app-backup/tsm/tsm-8.1.6.0-r1.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="acl java +tsm-cit +tsm-hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2021-02-28 21:05 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2021-02-28 21:05 UTC (permalink / raw
To: gentoo-commits
commit: e98fa2be606ac916b9532bcc3d1962177eee5a79
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 21:05:33 2021 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 21:05:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e98fa2be
app-backup/tsm: Remove old
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0.ebuild | 240 --------------------------------------
1 file changed, 240 deletions(-)
diff --git a/app-backup/tsm/tsm-8.1.6.0.ebuild b/app-backup/tsm/tsm-8.1.6.0.ebuild
deleted file mode 100644
index f84a86e3d25..00000000000
--- a/app-backup/tsm/tsm-8.1.6.0.ebuild
+++ /dev/null
@@ -1,240 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator multilib eutils readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* amd64"
-IUSE="acl java +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( >=virtual/jre-1.7 )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=$RPM_INSTALL_PREFIX/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..$CLIENTDIR/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e $i ]]; then
- touch $i || die
- chown :tsm $i || die
- chmod 0660 $i || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2021-11-19 17:45 Sam James
0 siblings, 0 replies; 47+ messages in thread
From: Sam James @ 2021-11-19 17:45 UTC (permalink / raw
To: gentoo-commits
commit: e753f5f37ee36fdc8e74efc2e31529470e23e738
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 19 17:43:05 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 19 17:44:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e753f5f3
app-backup/tsm: flip libxcrypt[compat] dep order
Help Portage resolve dependencies a bit easier.
Bug: https://bugs.gentoo.org/814335
Bug: https://bugs.gentoo.org/822849
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-backup/tsm/tsm-8.1.6.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.6.0-r2.ebuild b/app-backup/tsm/tsm-8.1.6.0-r2.ebuild
index c8bfb5d1b7e5..d26ac9529906 100644
--- a/app-backup/tsm/tsm-8.1.6.0-r2.ebuild
+++ b/app-backup/tsm/tsm-8.1.6.0-r2.ebuild
@@ -61,8 +61,8 @@ RDEPEND="
acl? ( sys-apps/acl )
java? ( >=virtual/jre-1.7 )
|| (
- sys-libs/glibc[crypt(+)]
sys-libs/libxcrypt[compat]
+ sys-libs/glibc[crypt(+)]
)"
S="${WORKDIR}/bacli"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2022-01-19 21:49 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2022-01-19 21:49 UTC (permalink / raw
To: gentoo-commits
commit: 11629c2e66238b3bf753201af27c3147e3ab5cc9
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 19 21:48:28 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 21:48:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11629c2e
app-backup/tsm: Version (and EAPI) bump
Bug: https://bugs.gentoo.org/829189
Bug: https://bugs.gentoo.org/788115
Bug: https://bugs.gentoo.org/831509
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-8.1.13.3.ebuild | 244 +++++++++++++++++++++++++++++++++++++
2 files changed, 245 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index b1fe5ffa9f8a..0e8aad5c48f5 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1 +1,2 @@
+DIST 8.1.13.3-TIV-TSMBAC-LinuxX86.tar 593264640 BLAKE2B 0dec77e87403f86aaf98b3dbc61c4dcf7a107d2dbdb1733ad97294669b122a202034928b6c83df931877c6cd08272f7920250fbd6262ec9f565afdc06dd42c2b SHA512 dac6b7f701e7fb8af49988da8df952c93879b57ea57daa88d4fff3c531423c73b24e89995894c041601faf1c33f115e5153461e2672254d9f29b65dd30c8ab8e
DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
new file mode 100644
index 000000000000..91fe5ce9c71a
--- /dev/null
+++ b/app-backup/tsm/tsm-8.1.13.3.ebuild
@@ -0,0 +1,244 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 rpm systemd pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
+HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
+
+MY_PV_MAJOR=$(ver_cut 1)
+MY_PV_MINOR=$(ver_cut 2)
+MY_PV_TINY=$(ver_cut 3)
+MY_PV_PATCH=$(ver_cut 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="acl java +tsm-cit +tsm-hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND="
+ acct-group/tsm
+"
+RDEPEND="
+ acct-group/tsm
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( >=virtual/jre-1.7 )
+ || (
+ sys-libs/libxcrypt[compat]
+ sys-libs/glibc[crypt(+)]
+ )"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ DOC_CONTENTS="
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm-cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm-hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install() {
+ cp -a opt "${D}"/ || die
+ cp -a usr "${D}"/ || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ rm -rf "${D}/usr/lib/.build-id" &> /dev/null
+ [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"/usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}/}"
+ done
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e ${i} ]]; then
+ touch ${i} || die
+ chown :tsm ${i} || die
+ chmod 0660 ${i} || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2022-01-26 15:01 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2022-01-26 15:01 UTC (permalink / raw
To: gentoo-commits
commit: 19615ea1114f61342dcd610a4bedd9e9874b6c16
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 26 15:01:13 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan 26 15:01:27 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19615ea1
app-backup/tsm: Remove old
Bug: https://bugs.gentoo.org/831509
Bug: https://bugs.gentoo.org/829189
Bug: https://bugs.gentoo.org/788115
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 -
app-backup/tsm/tsm-8.1.6.0-r2.ebuild | 243 -----------------------------------
2 files changed, 244 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 0e8aad5c48f5..b2dff225bdf9 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,2 +1 @@
DIST 8.1.13.3-TIV-TSMBAC-LinuxX86.tar 593264640 BLAKE2B 0dec77e87403f86aaf98b3dbc61c4dcf7a107d2dbdb1733ad97294669b122a202034928b6c83df931877c6cd08272f7920250fbd6262ec9f565afdc06dd42c2b SHA512 dac6b7f701e7fb8af49988da8df952c93879b57ea57daa88d4fff3c531423c73b24e89995894c041601faf1c33f115e5153461e2672254d9f29b65dd30c8ab8e
-DIST 8.1.6.0-TIV-TSMBAC-LinuxX86.tar 215961600 BLAKE2B de7e3083a87e72763ffee5adbabc20f546edbc771a9ea0017af591b677cb55832c366ec42da6258ccbb81368f7934acfd116eee77236737d8015cc7588d95d3e SHA512 82897f8af6e1408b25eb95206500fa2e05f17983843de3a3456d71ee3cc25188e31a0a2b11c7ee5cf02c3a6aa46fbba03e2a31e697868905739e97c75bfd5984
diff --git a/app-backup/tsm/tsm-8.1.6.0-r2.ebuild b/app-backup/tsm/tsm-8.1.6.0-r2.ebuild
deleted file mode 100644
index d26ac9529906..000000000000
--- a/app-backup/tsm/tsm-8.1.6.0-r2.ebuild
+++ /dev/null
@@ -1,243 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
-
-MY_PV_MAJOR=$(get_major_version)
-MY_PV_MINOR=$(get_version_component_range 2)
-MY_PV_TINY=$(get_version_component_range 3)
-MY_PV_PATCH=$(get_version_component_range 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* amd64"
-IUSE="acl java +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( >=virtual/jre-1.7 )
- || (
- sys-libs/libxcrypt[compat]
- sys-libs/glibc[crypt(+)]
- )"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- cp -a opt "${D}" || die
- cp -a usr "${D}" || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- [[ -d "${D}usr/lib" ]] && die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> ${D}/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> ${D}/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> ${D}/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> ${D}/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> ${D}/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e ${i} ]]; then
- touch ${i} || die
- chown :tsm ${i} || die
- chmod 0660 ${i} || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2022-01-26 15:01 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2022-01-26 15:01 UTC (permalink / raw
To: gentoo-commits
commit: 5279a8876e6339a00122fd648893ecfd6bfc9de4
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 26 15:00:36 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Wed Jan 26 15:01:24 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5279a887
app-backup/tsm: stable 8.1.13.3 for amd64
Bug: https://bugs.gentoo.org/831509
Bug: https://bugs.gentoo.org/829189
Bug: https://bugs.gentoo.org/788115
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.13.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
index 91fe5ce9c71a..883f9d752f78 100644
--- a/app-backup/tsm/tsm-8.1.13.3.ebuild
+++ b/app-backup/tsm/tsm-8.1.13.3.ebuild
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="acl java +tsm-cit +tsm-hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2022-02-28 23:04 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2022-02-28 23:04 UTC (permalink / raw
To: gentoo-commits
commit: 7760d51e800a876f0b43a3a091d79918f8a381a9
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 28 23:04:25 2022 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Feb 28 23:04:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7760d51e
app-backup/tsm: Fix dependency
Closes: https://bugs.gentoo.org/832576
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.13.3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
index 883f9d752f78..0a2ef217d050 100644
--- a/app-backup/tsm/tsm-8.1.13.3.ebuild
+++ b/app-backup/tsm/tsm-8.1.13.3.ebuild
@@ -59,7 +59,7 @@ RDEPEND="
dev-libs/libxml2
sys-fs/fuse:0
acl? ( sys-apps/acl )
- java? ( >=virtual/jre-1.7 )
+ java? ( virtual/jre:1.8 )
|| (
sys-libs/libxcrypt[compat]
sys-libs/glibc[crypt(+)]
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2023-04-03 20:17 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2023-04-03 20:17 UTC (permalink / raw
To: gentoo-commits
commit: f2fe312522f859a37f49356030daf317ad32fdf6
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 3 20:16:41 2023 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Apr 3 20:17:18 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2fe3125
app-backup/tsm: update HOMEPAGE
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.13.3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
index a7fb3824f621..53fe1ddcce52 100644
--- a/app-backup/tsm/tsm-8.1.13.3.ebuild
+++ b/app-backup/tsm/tsm-8.1.13.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
inherit readme.gentoo-r1 rpm systemd pax-utils
DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/us-en/marketplace/data-protection-and-recovery"
+HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
MY_PV_MAJOR=$(ver_cut 1)
MY_PV_MINOR=$(ver_cut 2)
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2023-04-06 22:50 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2023-04-06 22:50 UTC (permalink / raw
To: gentoo-commits
commit: 7f071a94b49db3e421a4ee6189c391d1b39a1eba
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 6 22:49:41 2023 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Apr 6 22:50:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f071a94
app-backup/tsm: add 8.1.15.0, 8.1.17.2
Bug: https://bugs.gentoo.org/855536
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 2 +
app-backup/tsm/metadata.xml | 1 +
app-backup/tsm/tsm-8.1.15.0.ebuild | 249 +++++++++++++++++++++++++++++++++++++
app-backup/tsm/tsm-8.1.17.2.ebuild | 249 +++++++++++++++++++++++++++++++++++++
4 files changed, 501 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index b2dff225bdf9..f4f8880e6036 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1 +1,3 @@
DIST 8.1.13.3-TIV-TSMBAC-LinuxX86.tar 593264640 BLAKE2B 0dec77e87403f86aaf98b3dbc61c4dcf7a107d2dbdb1733ad97294669b122a202034928b6c83df931877c6cd08272f7920250fbd6262ec9f565afdc06dd42c2b SHA512 dac6b7f701e7fb8af49988da8df952c93879b57ea57daa88d4fff3c531423c73b24e89995894c041601faf1c33f115e5153461e2672254d9f29b65dd30c8ab8e
+DIST 8.1.15.0-TIV-TSMBAC-LinuxX86.tar 680560640 BLAKE2B 837cbe2d7e63a827062639fe52e8a17275bc7f7f47f52ddf59d5f00cc8f5a3c2875a39107047cc53cd57ac7100011bd8b0d72b0a893edcedef285a10c0d34c01 SHA512 2bdf22ae31af37641e8f06cea118671e461d157dd943c86ffafd866f6fe99ebf40135ba3ea1d2511742ed9c3841db93b8ccb46c29825ce87c217bc94c93fed73
+DIST 8.1.17.2-TIV-TSMBAC-LinuxX86.tar 704153600 BLAKE2B a652ab860dd4c44ad75b669153df63e26b8eccaf7978c847162f2028b9fb1c263e4ccf2724e1d4b18b5cb47237070a1941a7cdeb9e15a1a5ff7ba9671fcade05 SHA512 0d90976f77d93b65582492547631adf5349dad83617fcc3b40c804111cd7f316fbe238c0f943cd23675b3427a36bfbeb81160b622a5664fca34d026693194cfe
diff --git a/app-backup/tsm/metadata.xml b/app-backup/tsm/metadata.xml
index adcd5f3f170a..f53678b60439 100644
--- a/app-backup/tsm/metadata.xml
+++ b/app-backup/tsm/metadata.xml
@@ -7,5 +7,6 @@
<use>
<flag name="tsm-cit">IBM Tivoli Common Inventory Technology</flag>
<flag name="tsm-hw">Difference snapshot support for NetApp and N-Series file servers</flag>
+ <flag name="vmware">Install vmware data protection support</flag>
</use>
</pkgmetadata>
diff --git a/app-backup/tsm/tsm-8.1.15.0.ebuild b/app-backup/tsm/tsm-8.1.15.0.ebuild
new file mode 100644
index 000000000000..73ab976f5446
--- /dev/null
+++ b/app-backup/tsm/tsm-8.1.15.0.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 rpm systemd pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
+HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
+
+MY_PV_MAJOR=$(ver_cut 1)
+MY_PV_MINOR=$(ver_cut 2)
+MY_PV_TINY=$(ver_cut 3)
+MY_PV_PATCH=$(ver_cut 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="https://public.dhe.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="acl java vmware +tsm-cit +tsm-hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND="
+ acct-group/tsm
+"
+RDEPEND="
+ acct-group/tsm
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.8 )
+ vmware? ( x11-libs/libXft media-libs/alsa-lib )
+ || (
+ sys-libs/libxcrypt[compat]
+ sys-libs/glibc[crypt(+)]
+ )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ DOC_CONTENTS="
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm-cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm-hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install() {
+ if ! use vmware; then
+ rm -rf opt/tivoli/tsm/tdpvmware
+ fi
+ cp -a opt "${D}"/ || die
+ cp -a usr "${D}"/ || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ rm -rf "${D}/usr/lib/.build-id" &> /dev/null
+ [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"/usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}/}"
+ done
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e ${i} ]]; then
+ touch ${i} || die
+ chown :tsm ${i} || die
+ chmod 0660 ${i} || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
+ readme.gentoo_print_elog
+}
diff --git a/app-backup/tsm/tsm-8.1.17.2.ebuild b/app-backup/tsm/tsm-8.1.17.2.ebuild
new file mode 100644
index 000000000000..73ab976f5446
--- /dev/null
+++ b/app-backup/tsm/tsm-8.1.17.2.ebuild
@@ -0,0 +1,249 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 rpm systemd pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
+HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
+
+MY_PV_MAJOR=$(ver_cut 1)
+MY_PV_MINOR=$(ver_cut 2)
+MY_PV_TINY=$(ver_cut 3)
+MY_PV_PATCH=$(ver_cut 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="https://public.dhe.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="acl java vmware +tsm-cit +tsm-hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+DEPEND="
+ acct-group/tsm
+"
+RDEPEND="
+ acct-group/tsm
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.8 )
+ vmware? ( x11-libs/libXft media-libs/alsa-lib )
+ || (
+ sys-libs/libxcrypt[compat]
+ sys-libs/glibc[crypt(+)]
+ )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ DOC_CONTENTS="
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm-cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm-hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install() {
+ if ! use vmware; then
+ rm -rf opt/tivoli/tsm/tdpvmware
+ fi
+ cp -a opt "${D}"/ || die
+ cp -a usr "${D}"/ || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ rm -rf "${D}/usr/lib/.build-id" &> /dev/null
+ [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"/usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}/}"
+ done
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e ${i} ]]; then
+ touch ${i} || die
+ chown :tsm ${i} || die
+ chmod 0660 ${i} || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2023-04-07 12:20 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2023-04-07 12:20 UTC (permalink / raw
To: gentoo-commits
commit: 1d1fe5ea59ee6aadca5f7f0e288602c4591bdbab
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 12:20:12 2023 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Apr 7 12:20:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d1fe5ea
app-backup/tsm: require xz extra-filters for unpacking
Closes: https://bugs.gentoo.org/837503
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.13.3.ebuild | 3 +++
app-backup/tsm/tsm-8.1.15.0.ebuild | 3 +++
app-backup/tsm/tsm-8.1.17.2.ebuild | 3 +++
3 files changed, 9 insertions(+)
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
index 53fe1ddcce52..daf4b664d8cc 100644
--- a/app-backup/tsm/tsm-8.1.13.3.ebuild
+++ b/app-backup/tsm/tsm-8.1.13.3.ebuild
@@ -50,6 +50,9 @@ ${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
unset lang
+BDEPEND="
+ app-arch/xz-utils[extra-filters]
+"
DEPEND="
acct-group/tsm
"
diff --git a/app-backup/tsm/tsm-8.1.15.0.ebuild b/app-backup/tsm/tsm-8.1.15.0.ebuild
index 73ab976f5446..89ce3be8e11a 100644
--- a/app-backup/tsm/tsm-8.1.15.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.15.0.ebuild
@@ -50,6 +50,9 @@ ${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
unset lang
+BDEPEND="
+ app-arch/xz-utils[extra-filters]
+"
DEPEND="
acct-group/tsm
"
diff --git a/app-backup/tsm/tsm-8.1.17.2.ebuild b/app-backup/tsm/tsm-8.1.17.2.ebuild
index 73ab976f5446..89ce3be8e11a 100644
--- a/app-backup/tsm/tsm-8.1.17.2.ebuild
+++ b/app-backup/tsm/tsm-8.1.17.2.ebuild
@@ -50,6 +50,9 @@ ${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
done
unset lang
+BDEPEND="
+ app-arch/xz-utils[extra-filters]
+"
DEPEND="
acct-group/tsm
"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2023-04-29 17:50 Arthur Zamarin
0 siblings, 0 replies; 47+ messages in thread
From: Arthur Zamarin @ 2023-04-29 17:50 UTC (permalink / raw
To: gentoo-commits
commit: 98854d8a6f77527460441a5803e5b557c03528a0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 29 17:49:56 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 29 17:49:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98854d8a
app-backup/tsm: Stabilize 8.1.17.2 amd64, #905294
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-backup/tsm/tsm-8.1.17.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.17.2.ebuild b/app-backup/tsm/tsm-8.1.17.2.ebuild
index 89ce3be8e11a..8d88813bc04d 100644
--- a/app-backup/tsm/tsm-8.1.17.2.ebuild
+++ b/app-backup/tsm/tsm-8.1.17.2.ebuild
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="acl java vmware +tsm-cit +tsm-hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2023-05-06 20:37 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2023-05-06 20:37 UTC (permalink / raw
To: gentoo-commits
commit: 4f9d2286516aeb2260e4e89bcaa0dd347416e915
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat May 6 20:37:16 2023 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat May 6 20:37:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9d2286
app-backup/tsm: drop 8.1.13.3, 8.1.15.0
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 2 -
app-backup/tsm/tsm-8.1.13.3.ebuild | 247 ------------------------------------
app-backup/tsm/tsm-8.1.15.0.ebuild | 252 -------------------------------------
3 files changed, 501 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index f4f8880e6036..21ab9ba678a3 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,3 +1 @@
-DIST 8.1.13.3-TIV-TSMBAC-LinuxX86.tar 593264640 BLAKE2B 0dec77e87403f86aaf98b3dbc61c4dcf7a107d2dbdb1733ad97294669b122a202034928b6c83df931877c6cd08272f7920250fbd6262ec9f565afdc06dd42c2b SHA512 dac6b7f701e7fb8af49988da8df952c93879b57ea57daa88d4fff3c531423c73b24e89995894c041601faf1c33f115e5153461e2672254d9f29b65dd30c8ab8e
-DIST 8.1.15.0-TIV-TSMBAC-LinuxX86.tar 680560640 BLAKE2B 837cbe2d7e63a827062639fe52e8a17275bc7f7f47f52ddf59d5f00cc8f5a3c2875a39107047cc53cd57ac7100011bd8b0d72b0a893edcedef285a10c0d34c01 SHA512 2bdf22ae31af37641e8f06cea118671e461d157dd943c86ffafd866f6fe99ebf40135ba3ea1d2511742ed9c3841db93b8ccb46c29825ce87c217bc94c93fed73
DIST 8.1.17.2-TIV-TSMBAC-LinuxX86.tar 704153600 BLAKE2B a652ab860dd4c44ad75b669153df63e26b8eccaf7978c847162f2028b9fb1c263e4ccf2724e1d4b18b5cb47237070a1941a7cdeb9e15a1a5ff7ba9671fcade05 SHA512 0d90976f77d93b65582492547631adf5349dad83617fcc3b40c804111cd7f316fbe238c0f943cd23675b3427a36bfbeb81160b622a5664fca34d026693194cfe
diff --git a/app-backup/tsm/tsm-8.1.13.3.ebuild b/app-backup/tsm/tsm-8.1.13.3.ebuild
deleted file mode 100644
index daf4b664d8cc..000000000000
--- a/app-backup/tsm/tsm-8.1.13.3.ebuild
+++ /dev/null
@@ -1,247 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
-
-MY_PV_MAJOR=$(ver_cut 1)
-MY_PV_MINOR=$(ver_cut 2)
-MY_PV_TINY=$(ver_cut 3)
-MY_PV_PATCH=$(ver_cut 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* amd64"
-IUSE="acl java +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-BDEPEND="
- app-arch/xz-utils[extra-filters]
-"
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.8 )
- || (
- sys-libs/libxcrypt[compat]
- sys-libs/glibc[crypt(+)]
- )"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- cp -a opt "${D}"/ || die
- cp -a usr "${D}"/ || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- rm -rf "${D}/usr/lib/.build-id" &> /dev/null
- [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"/usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}/}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e ${i} ]]; then
- touch ${i} || die
- chown :tsm ${i} || die
- chmod 0660 ${i} || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
diff --git a/app-backup/tsm/tsm-8.1.15.0.ebuild b/app-backup/tsm/tsm-8.1.15.0.ebuild
deleted file mode 100644
index 89ce3be8e11a..000000000000
--- a/app-backup/tsm/tsm-8.1.15.0.ebuild
+++ /dev/null
@@ -1,252 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
-
-MY_PV_MAJOR=$(ver_cut 1)
-MY_PV_MINOR=$(ver_cut 2)
-MY_PV_TINY=$(ver_cut 3)
-MY_PV_PATCH=$(ver_cut 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="https://public.dhe.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="acl java vmware +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-BDEPEND="
- app-arch/xz-utils[extra-filters]
-"
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.8 )
- vmware? ( x11-libs/libXft media-libs/alsa-lib )
- || (
- sys-libs/libxcrypt[compat]
- sys-libs/glibc[crypt(+)]
- )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- if ! use vmware; then
- rm -rf opt/tivoli/tsm/tdpvmware
- fi
- cp -a opt "${D}"/ || die
- cp -a usr "${D}"/ || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- rm -rf "${D}/usr/lib/.build-id" &> /dev/null
- [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"/usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}/}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e ${i} ]]; then
- touch ${i} || die
- chown :tsm ${i} || die
- chmod 0660 ${i} || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2024-01-23 20:26 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2024-01-23 20:26 UTC (permalink / raw
To: gentoo-commits
commit: c27445924bd2989da766c666774388e251c19c07
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 20:20:23 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 20:26:33 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2744592
app-backup/tsm: Update glibc dependency
All glibc versions where missing crypt useflag indicated hard-enabled are gone.
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/{tsm-8.1.17.2.ebuild => tsm-8.1.17.2-r1.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-backup/tsm/tsm-8.1.17.2.ebuild b/app-backup/tsm/tsm-8.1.17.2-r1.ebuild
similarity index 99%
rename from app-backup/tsm/tsm-8.1.17.2.ebuild
rename to app-backup/tsm/tsm-8.1.17.2-r1.ebuild
index 8d88813bc04d..de1a9b67bd7a 100644
--- a/app-backup/tsm/tsm-8.1.17.2.ebuild
+++ b/app-backup/tsm/tsm-8.1.17.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -66,7 +66,7 @@ RDEPEND="
vmware? ( x11-libs/libXft media-libs/alsa-lib )
|| (
sys-libs/libxcrypt[compat]
- sys-libs/glibc[crypt(+)]
+ sys-libs/glibc[crypt(-)]
)
"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2024-04-27 14:46 Florian Schmaus
0 siblings, 0 replies; 47+ messages in thread
From: Florian Schmaus @ 2024-04-27 14:46 UTC (permalink / raw
To: gentoo-commits
commit: c16a53958a2594c747803fd4554550b4bfbb3842
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 14:46:12 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 14:46:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16a5395
app-backup/tsm: add 8.1.22.0
As requested by dilfridge in #-dev.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
app-backup/tsm/Manifest | 1 +
app-backup/tsm/tsm-8.1.22.0.ebuild | 252 +++++++++++++++++++++++++++++++++++++
2 files changed, 253 insertions(+)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 21ab9ba678a3..4be9970efe09 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1 +1,2 @@
DIST 8.1.17.2-TIV-TSMBAC-LinuxX86.tar 704153600 BLAKE2B a652ab860dd4c44ad75b669153df63e26b8eccaf7978c847162f2028b9fb1c263e4ccf2724e1d4b18b5cb47237070a1941a7cdeb9e15a1a5ff7ba9671fcade05 SHA512 0d90976f77d93b65582492547631adf5349dad83617fcc3b40c804111cd7f316fbe238c0f943cd23675b3427a36bfbeb81160b622a5664fca34d026693194cfe
+DIST 8.1.22.0-TIV-TSMBAC-LinuxX86.tar 745175040 BLAKE2B 510ab45065f21e533bc776b886c6804021caa119d43b7693da4902f3d469d12deee71adc0cdd97d84c3cdaacb1b7ca878c6f6ee228f500651fbadd177def8f6f SHA512 b6c9ab9d9d33a060a6a69f5ecb62ba69df2d31506007e958313c7b62054e49735e8864fbe9f51876bf4398ef8f12c8fe27f3e0fec91def2c2ab016e3413f9e8b
diff --git a/app-backup/tsm/tsm-8.1.22.0.ebuild b/app-backup/tsm/tsm-8.1.22.0.ebuild
new file mode 100644
index 000000000000..384b26cd4237
--- /dev/null
+++ b/app-backup/tsm/tsm-8.1.22.0.ebuild
@@ -0,0 +1,252 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit readme.gentoo-r1 rpm systemd pax-utils
+
+DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
+HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
+
+MY_PV_MAJOR=$(ver_cut 1)
+MY_PV_MINOR=$(ver_cut 2)
+MY_PV_TINY=$(ver_cut 3)
+MY_PV_PATCH=$(ver_cut 4)
+
+MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
+MY_PVR_ALLDOTS=${PV}
+
+if [[ ${MY_PV_PATCH} == 0 ]]; then
+ MY_RELEASE_PATH=maintenance
+else
+ MY_RELEASE_PATH=patches
+fi
+BASE_URI="https://public.dhe.ibm.com/storage/tivoli-storage-management/"
+BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
+BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
+SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
+SRC_URI="${BASE_URI}${SRC_TAR}"
+
+RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
+LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
+ dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
+ ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
+ || ( BSD GPL-2+ ) gSOAP libpng tsm"
+
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="acl java vmware +tsm-cit +tsm-hw"
+QA_PREBUILT="*"
+
+# not available (yet?)
+#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
+# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
+MY_LANG_PV="${MY_PVR_ALLDOTS}-"
+for lang in ${MY_LANGS}; do
+ IUSE="${IUSE} l10n_${lang%:*}"
+ SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
+${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
+${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
+done
+unset lang
+
+BDEPEND="
+ app-arch/xz-utils[extra-filters]
+"
+DEPEND="
+ acct-group/tsm
+"
+RDEPEND="
+ acct-group/tsm
+ dev-libs/expat
+ dev-libs/libxml2
+ sys-fs/fuse:0
+ acl? ( sys-apps/acl )
+ java? ( virtual/jre:1.8 )
+ vmware? ( x11-libs/libXft media-libs/alsa-lib )
+ || (
+ sys-libs/libxcrypt[compat]
+ sys-libs/glibc[crypt(-)]
+ )
+"
+
+S="${WORKDIR}/bacli"
+
+pkg_setup() {
+ DOC_CONTENTS="
+ Note that you have to be root to be able to use the Tivoli Storage Manager
+ client. The dsmtca trusted agent binary does not exist anymore.
+
+ For information on how to give other users access, please see the following
+ URLs:
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
+ https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
+ "
+}
+
+src_unpack() {
+ local rpm rpms lang
+ mkdir bacli || die
+ cd bacli || die
+ unpack ${SRC_TAR}
+
+ cd "${S}"
+ for rpm in *.rpm; do
+ case ${rpm} in
+ TIVsm-APIcit.*|TIVsm-BAcit.*)
+ use tsm-cit && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-BAhdw.*)
+ use tsm-hw && rpms="${rpms} ./${rpm}"
+ ;;
+ TIVsm-JBB.*|*-filepath-*)
+ # "journal based backup" for all filesystems
+ # requires a kernel module.
+ # "Linux Filepath source code" available
+ # by request from vendor
+ ;;
+ *)
+ rpms="${rpms} ./${rpm}"
+ ;;
+ esac
+ done
+ for rpm in ${A}; do
+ case ${rpm} in
+ *.rpm)
+ rpms="${rpms} ${rpm}"
+ ;;
+ esac
+ done
+
+ rpm_unpack ${rpms}
+
+ # Avoid strange error messages caused by read-only files
+ chmod -R u+w "${S}" || die
+}
+
+src_install() {
+ if ! use vmware; then
+ rm -rf opt/tivoli/tsm/tdpvmware
+ fi
+ cp -a opt "${D}"/ || die
+ cp -a usr "${D}"/ || die
+
+ # The RPM files contain postinstall scripts which can be extracted
+ # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
+ # Below we try to mimic the behaviour of these scripts.
+ # We don't deal with SELinux compliance (yet), though.
+ local RPM_INSTALL_PREFIX CLIENTDIR i
+ RPM_INSTALL_PREFIX=/opt
+ CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
+
+ # Create links for messages; this is spread over several postin scripts.
+ #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
+ # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
+ # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
+ #done
+
+ # Mimic TIVsm-API64 postinstall script
+ for i in libgpfs.so libdmapi.so; do
+ dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
+ done
+
+ # The TIVsm-BA postinstall script only does messages and ancient upgrades
+
+ # The gscrypt64 postinstall script only deals with s390[x] SELinux
+ # and the symlink for the iccs library which we handle in the loop below.
+
+ # Move stuff from /usr/local to /opt, #452332
+ mv "${D}"/usr/local/ibm "${D}"/opt/ || die
+ rmdir "${D}"/usr/local || die
+
+ # Mimic gskssl64 postinstall script
+ for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
+ dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
+ /usr/lib64/libgsk8${i}_64.so
+ done
+ for i in capicmd ver; do
+ dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
+ done
+
+ # Done with the postinstall scripts as the RPMs contain them.
+ # Now on to some more Gentoo-specific installation.
+
+ rm -rf "${D}/usr/lib/.build-id" &> /dev/null
+ [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
+
+ # Avoid "QA Notice: Found an absolute symlink in a library directory"
+ local target
+ find "${D}"/usr/lib* -lname '/*' | while read i; do
+ target=$(readlink "${i}")
+ rm -v "${i}" || die
+ dosym "../..${target}" "${i#${D}/}"
+ done
+
+ keepdir /var/log/tsm
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/tsm.logrotate" tsm
+
+ keepdir /etc/tivoli
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
+ echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
+
+ # Added the hostname to be more friendly, the admin will need to edit this file anyway
+ echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
+ echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
+ echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
+ dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
+
+ cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
+ dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
+
+ # Setup the env
+ dodir /etc/env.d
+ ENV_FILE="${D}/etc/env.d/80tivoli"
+ echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
+ echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+ echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
+ # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
+
+ echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
+ insinto "/etc/revdep-rebuild"
+ doins "${T}/80${PN}"
+
+ newconfd "${FILESDIR}/dsmc.conf.d" dsmc
+ newinitd "${FILESDIR}/dsmc.init.d" dsmc
+ newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
+
+ # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
+ pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
+
+ systemd_dounit "${FILESDIR}/dsmc.service"
+ systemd_dounit "${FILESDIR}/dsmcad.service"
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ local i dirs
+ for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
+ if [[ ! -e ${i} ]]; then
+ touch ${i} || die
+ chown :tsm ${i} || die
+ chmod 0660 ${i} || die
+ fi
+ done
+
+ # Bug #375041: the log directory itself should not be world writable.
+ # Have to do this in postinst due to bug #141619
+ chown root:tsm /var/log/tsm || die
+ chmod 0750 /var/log/tsm || die
+
+ # Bug 508052: directories used to be too restrictive, have to widen perms.
+ dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
+ chown root:root "${dirs[@]}" || die
+ chmod 0755 "${dirs[@]}" || die
+
+ FORCE_PRINT_ELOG=1
+ DISABLE_AUTOFORMATTING=1
+ readme.gentoo_print_elog
+}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2024-05-03 8:42 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2024-05-03 8:42 UTC (permalink / raw
To: gentoo-commits
commit: ccf03372b8adff7c38bdae56121071688386f438
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri May 3 08:39:02 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri May 3 08:42:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccf03372
app-backup/tsm: stabilize 8.1.22.0 for amd64
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/tsm-8.1.22.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.22.0.ebuild b/app-backup/tsm/tsm-8.1.22.0.ebuild
index 384b26cd4237..de1a9b67bd7a 100644
--- a/app-backup/tsm/tsm-8.1.22.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.22.0.ebuild
@@ -34,7 +34,7 @@ LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exola
|| ( BSD GPL-2+ ) gSOAP libpng tsm"
SLOT="0"
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* amd64"
IUSE="acl java vmware +tsm-cit +tsm-hw"
QA_PREBUILT="*"
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2024-05-03 8:42 Andreas K. Hüttel
0 siblings, 0 replies; 47+ messages in thread
From: Andreas K. Hüttel @ 2024-05-03 8:42 UTC (permalink / raw
To: gentoo-commits
commit: d424971c3cf48adbc7c3e050ddb13b35f2cf5440
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri May 3 08:39:30 2024 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri May 3 08:42:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d424971c
app-backup/tsm: drop 8.1.17.2-r1
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
app-backup/tsm/Manifest | 1 -
app-backup/tsm/tsm-8.1.17.2-r1.ebuild | 252 ----------------------------------
2 files changed, 253 deletions(-)
diff --git a/app-backup/tsm/Manifest b/app-backup/tsm/Manifest
index 4be9970efe09..5b1f5214da22 100644
--- a/app-backup/tsm/Manifest
+++ b/app-backup/tsm/Manifest
@@ -1,2 +1 @@
-DIST 8.1.17.2-TIV-TSMBAC-LinuxX86.tar 704153600 BLAKE2B a652ab860dd4c44ad75b669153df63e26b8eccaf7978c847162f2028b9fb1c263e4ccf2724e1d4b18b5cb47237070a1941a7cdeb9e15a1a5ff7ba9671fcade05 SHA512 0d90976f77d93b65582492547631adf5349dad83617fcc3b40c804111cd7f316fbe238c0f943cd23675b3427a36bfbeb81160b622a5664fca34d026693194cfe
DIST 8.1.22.0-TIV-TSMBAC-LinuxX86.tar 745175040 BLAKE2B 510ab45065f21e533bc776b886c6804021caa119d43b7693da4902f3d469d12deee71adc0cdd97d84c3cdaacb1b7ca878c6f6ee228f500651fbadd177def8f6f SHA512 b6c9ab9d9d33a060a6a69f5ecb62ba69df2d31506007e958313c7b62054e49735e8864fbe9f51876bf4398ef8f12c8fe27f3e0fec91def2c2ab016e3413f9e8b
diff --git a/app-backup/tsm/tsm-8.1.17.2-r1.ebuild b/app-backup/tsm/tsm-8.1.17.2-r1.ebuild
deleted file mode 100644
index de1a9b67bd7a..000000000000
--- a/app-backup/tsm/tsm-8.1.17.2-r1.ebuild
+++ /dev/null
@@ -1,252 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit readme.gentoo-r1 rpm systemd pax-utils
-
-DESCRIPTION="IBM Spectrum Protect (former Tivoli Storage Manager) Backup/Archive Client, API"
-HOMEPAGE="https://www.ibm.com/docs/en/spectrum-protect"
-
-MY_PV_MAJOR=$(ver_cut 1)
-MY_PV_MINOR=$(ver_cut 2)
-MY_PV_TINY=$(ver_cut 3)
-MY_PV_PATCH=$(ver_cut 4)
-
-MY_PV_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
-MY_PVR_ALLDOTS=${PV}
-
-if [[ ${MY_PV_PATCH} == 0 ]]; then
- MY_RELEASE_PATH=maintenance
-else
- MY_RELEASE_PATH=patches
-fi
-BASE_URI="https://public.dhe.ibm.com/storage/tivoli-storage-management/"
-BASE_URI+="${MY_RELEASE_PATH}/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/"
-BASE_URI+="Linux/LinuxX86/BA/v${MY_PV_NODOTS}/"
-SRC_TAR="${MY_PVR_ALLDOTS}-TIV-TSMBAC-LinuxX86.tar"
-SRC_URI="${BASE_URI}${SRC_TAR}"
-
-RESTRICT="strip" # Breaks libPiIMG.so and libPiSNAP.so
-LICENSE="Apache-1.1 Apache-2.0 JDOM BSD-2 CC-PD Boost-1.0 MIT CPL-1.0 HPND Exolab
- dom4j EPL-1.0 FTL icu unicode IBM Info-ZIP LGPL-2 LGPL-2.1 openafs-krb5-a
- ZLIB MPL-1.0 MPL-1.1 NPL-1.1 openssl OPENLDAP RSA public-domain W3C
- || ( BSD GPL-2+ ) gSOAP libpng tsm"
-
-SLOT="0"
-KEYWORDS="-* amd64"
-IUSE="acl java vmware +tsm-cit +tsm-hw"
-QA_PREBUILT="*"
-
-# not available (yet?)
-#MY_LANGS="cs:CS_CZ de:DE_DE es:ES_ES fr:FR_FR hu:HU_HU it:IT_IT ja:JA_JP
-# ko:KO_KR pl:PL_PL pt-BR:PT_BR ru:RU_RU zh-CN:ZH_CN zh-TW:ZH_TW"
-MY_LANG_PV="${MY_PVR_ALLDOTS}-"
-for lang in ${MY_LANGS}; do
- IUSE="${IUSE} l10n_${lang%:*}"
- SRC_URI="${SRC_URI} l10n_${lang%:*}? ( \
-${BASE_URI}TIVsm-msg.${lang#*:}.x86_64.rpm -> \
-${MY_LANG_PV}TIVsm-msg.${lang#*:}.x86_64.rpm )"
-done
-unset lang
-
-BDEPEND="
- app-arch/xz-utils[extra-filters]
-"
-DEPEND="
- acct-group/tsm
-"
-RDEPEND="
- acct-group/tsm
- dev-libs/expat
- dev-libs/libxml2
- sys-fs/fuse:0
- acl? ( sys-apps/acl )
- java? ( virtual/jre:1.8 )
- vmware? ( x11-libs/libXft media-libs/alsa-lib )
- || (
- sys-libs/libxcrypt[compat]
- sys-libs/glibc[crypt(-)]
- )
-"
-
-S="${WORKDIR}/bacli"
-
-pkg_setup() {
- DOC_CONTENTS="
- Note that you have to be root to be able to use the Tivoli Storage Manager
- client. The dsmtca trusted agent binary does not exist anymore.
-
- For information on how to give other users access, please see the following
- URLs:
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_cfg_nonadmin.html#c_macuninst_nonadmin
- https://www.ibm.com/support/knowledgecenter/SSGSG7_7.1.8/client/c_secure_pwd.html#c_secure_pwd__sec_no_tca
- "
-}
-
-src_unpack() {
- local rpm rpms lang
- mkdir bacli || die
- cd bacli || die
- unpack ${SRC_TAR}
-
- cd "${S}"
- for rpm in *.rpm; do
- case ${rpm} in
- TIVsm-APIcit.*|TIVsm-BAcit.*)
- use tsm-cit && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-BAhdw.*)
- use tsm-hw && rpms="${rpms} ./${rpm}"
- ;;
- TIVsm-JBB.*|*-filepath-*)
- # "journal based backup" for all filesystems
- # requires a kernel module.
- # "Linux Filepath source code" available
- # by request from vendor
- ;;
- *)
- rpms="${rpms} ./${rpm}"
- ;;
- esac
- done
- for rpm in ${A}; do
- case ${rpm} in
- *.rpm)
- rpms="${rpms} ${rpm}"
- ;;
- esac
- done
-
- rpm_unpack ${rpms}
-
- # Avoid strange error messages caused by read-only files
- chmod -R u+w "${S}" || die
-}
-
-src_install() {
- if ! use vmware; then
- rm -rf opt/tivoli/tsm/tdpvmware
- fi
- cp -a opt "${D}"/ || die
- cp -a usr "${D}"/ || die
-
- # The RPM files contain postinstall scripts which can be extracted
- # e.g. using https://bugs.gentoo.org/attachment.cgi?id=234663 .
- # Below we try to mimic the behaviour of these scripts.
- # We don't deal with SELinux compliance (yet), though.
- local RPM_INSTALL_PREFIX CLIENTDIR i
- RPM_INSTALL_PREFIX=/opt
- CLIENTDIR=${RPM_INSTALL_PREFIX}/tivoli/tsm/client
-
- # Create links for messages; this is spread over several postin scripts.
- #for i in $(cd "${D}"/${CLIENTDIR}/lang; ls -1d ??_??); do
- # dosym ../../lang/${i} $CLIENTDIR/ba/bin/${i}
- # dosym ../../lang/${i} $CLIENTDIR/api/bin64/${i}
- #done
-
- # Mimic TIVsm-API64 postinstall script
- for i in libgpfs.so libdmapi.so; do
- dosym ../..${CLIENTDIR}/api/bin64/${i} /usr/lib64/${i}
- done
-
- # The TIVsm-BA postinstall script only does messages and ancient upgrades
-
- # The gscrypt64 postinstall script only deals with s390[x] SELinux
- # and the symlink for the iccs library which we handle in the loop below.
-
- # Move stuff from /usr/local to /opt, #452332
- mv "${D}"/usr/local/ibm "${D}"/opt/ || die
- rmdir "${D}"/usr/local || die
-
- # Mimic gskssl64 postinstall script
- for i in sys p11 km ssl drld kicc ldap cms acmeidup valn dbfl iccs; do
- dosym ../../opt/ibm/gsk8_64/lib64/libgsk8${i}_64.so \
- /usr/lib64/libgsk8${i}_64.so
- done
- for i in capicmd ver; do
- dosym ../../opt/ibm/gsk8_64/bin/gsk8${i}_64 /usr/bin/gsk${i}_64
- done
-
- # Done with the postinstall scripts as the RPMs contain them.
- # Now on to some more Gentoo-specific installation.
-
- rm -rf "${D}/usr/lib/.build-id" &> /dev/null
- [[ -d "${D}/usr/lib" ]] && rmdir "${D}/usr/lib" || die "Using 32bit lib dir in 64bit only system"
-
- # Avoid "QA Notice: Found an absolute symlink in a library directory"
- local target
- find "${D}"/usr/lib* -lname '/*' | while read i; do
- target=$(readlink "${i}")
- rm -v "${i}" || die
- dosym "../..${target}" "${i#${D}/}"
- done
-
- keepdir /var/log/tsm
- insinto /etc/logrotate.d
- newins "${FILESDIR}/tsm.logrotate" tsm
-
- keepdir /etc/tivoli
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.sys.smp" "${D}/etc/tivoli/dsm.sys" || die
- echo ' PasswordDir "/etc/tivoli/"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' PasswordAccess generate' >> "${D}"/etc/tivoli/dsm.sys
-
- # Added the hostname to be more friendly, the admin will need to edit this file anyway
- echo ' NodeName' `hostname` >> "${D}"/etc/tivoli/dsm.sys
- echo ' ErrorLogName "/var/log/tsm/dsmerror.log"' >> "${D}"/etc/tivoli/dsm.sys
- echo ' SchedLogName "/var/log/tsm/dsmsched.log"' >> "${D}"/etc/tivoli/dsm.sys
- dosym ../../../../../../etc/tivoli/dsm.sys /opt/tivoli/tsm/client/ba/bin/dsm.sys
-
- cp -a "${S}/opt/tivoli/tsm/client/ba/bin/dsm.opt.smp" "${D}/etc/tivoli/dsm.opt"
- dosym ../../../../../../etc/tivoli/dsm.opt /opt/tivoli/tsm/client/ba/bin/dsm.opt
-
- # Setup the env
- dodir /etc/env.d
- ENV_FILE="${D}/etc/env.d/80tivoli"
- echo 'DSM_CONFIG="/etc/tivoli/dsm.opt"' >> ${ENV_FILE}
- echo 'DSM_DIR="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
- echo 'DSM_LOG="/var/log/tsm"' >> ${ENV_FILE}
- # echo 'ROOTPATH="/opt/tivoli/tsm/client/ba/bin"' >> ${ENV_FILE}
-
- echo 'SEARCH_DIRS_MASK="/opt/tivoli/tsm/client/ba/bin"' > "${T}/80${PN}" || die
- insinto "/etc/revdep-rebuild"
- doins "${T}/80${PN}"
-
- newconfd "${FILESDIR}/dsmc.conf.d" dsmc
- newinitd "${FILESDIR}/dsmc.init.d" dsmc
- newinitd "${FILESDIR}/dsmcad.init.d-r1" dsmcad
-
- # Need this for hardened, otherwise a cryptic "connection to server lost" message appears
- pax-mark -m "${D}/opt/tivoli/tsm/client/ba/bin/dsmc"
-
- systemd_dounit "${FILESDIR}/dsmc.service"
- systemd_dounit "${FILESDIR}/dsmcad.service"
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- local i dirs
- for i in /var/log/tsm/dsm{error,sched,j,webcl}.log; do
- if [[ ! -e ${i} ]]; then
- touch ${i} || die
- chown :tsm ${i} || die
- chmod 0660 ${i} || die
- fi
- done
-
- # Bug #375041: the log directory itself should not be world writable.
- # Have to do this in postinst due to bug #141619
- chown root:tsm /var/log/tsm || die
- chmod 0750 /var/log/tsm || die
-
- # Bug 508052: directories used to be too restrictive, have to widen perms.
- dirs=( /opt/tivoli $(find /opt/tivoli/tsm -type d) )
- chown root:root "${dirs[@]}" || die
- chmod 0755 "${dirs[@]}" || die
-
- FORCE_PRINT_ELOG=1
- DISABLE_AUTOFORMATTING=1
- readme.gentoo_print_elog
-}
^ permalink raw reply related [flat|nested] 47+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/
@ 2024-08-17 21:50 Mike Gilbert
0 siblings, 0 replies; 47+ messages in thread
From: Mike Gilbert @ 2024-08-17 21:50 UTC (permalink / raw
To: gentoo-commits
commit: 9cf080078cfd8bc45b8436ab071e5a33932863ce
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 21:40:25 2024 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 21:47:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cf08007
app-backup/tsm: fix xz-utils dep
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
app-backup/tsm/tsm-8.1.22.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-backup/tsm/tsm-8.1.22.0.ebuild b/app-backup/tsm/tsm-8.1.22.0.ebuild
index de1a9b67bd7a..3f42e398b274 100644
--- a/app-backup/tsm/tsm-8.1.22.0.ebuild
+++ b/app-backup/tsm/tsm-8.1.22.0.ebuild
@@ -51,7 +51,7 @@ done
unset lang
BDEPEND="
- app-arch/xz-utils[extra-filters]
+ app-arch/xz-utils[extra-filters(+)]
"
DEPEND="
acct-group/tsm
^ permalink raw reply related [flat|nested] 47+ messages in thread
end of thread, other threads:[~2024-08-17 21:50 UTC | newest]
Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-09 18:20 [gentoo-commits] repo/gentoo:master commit in: app-backup/tsm/ Andreas K. Hüttel
-- strict thread matches above, loose matches on Subject: below --
2024-08-17 21:50 Mike Gilbert
2024-05-03 8:42 Andreas K. Hüttel
2024-05-03 8:42 Andreas K. Hüttel
2024-04-27 14:46 Florian Schmaus
2024-01-23 20:26 Andreas K. Hüttel
2023-05-06 20:37 Andreas K. Hüttel
2023-04-29 17:50 Arthur Zamarin
2023-04-07 12:20 Andreas K. Hüttel
2023-04-06 22:50 Andreas K. Hüttel
2023-04-03 20:17 Andreas K. Hüttel
2022-02-28 23:04 Andreas K. Hüttel
2022-01-26 15:01 Andreas K. Hüttel
2022-01-26 15:01 Andreas K. Hüttel
2022-01-19 21:49 Andreas K. Hüttel
2021-11-19 17:45 Sam James
2021-02-28 21:05 Andreas K. Hüttel
2021-02-28 21:05 Andreas K. Hüttel
2020-10-09 18:20 Andreas K. Hüttel
2020-10-09 15:23 Agostino Sarubbo
2020-07-13 12:15 Marek Szuba
2020-07-13 12:15 Marek Szuba
2020-05-06 21:15 Andreas K. Hüttel
2020-05-06 21:15 Andreas K. Hüttel
2019-04-04 19:43 Aaron Bauman
2018-12-26 22:23 Andreas K. Hüttel
2018-12-26 19:09 Andreas K. Hüttel
2018-12-26 15:49 Andreas K. Hüttel
2018-12-26 11:31 Andreas K. Hüttel
2018-12-25 16:19 Andreas K. Hüttel
2017-11-05 13:56 James Le Cuirot
2017-11-05 13:56 James Le Cuirot
2017-11-04 22:06 Jonas Stein
2017-07-21 9:48 Marek Szuba
2016-06-25 9:55 Ulrich Müller
2016-04-02 11:33 Pacho Ramos
2016-03-18 14:03 Michael Weber
2016-03-15 16:51 Michael Weber
2016-03-15 16:51 Michael Weber
2016-03-15 16:51 Michael Weber
2016-03-15 12:36 Patrick Lauer
2016-03-11 15:14 Andreas Hüttel
2015-11-09 9:16 Michael Weber
2015-10-25 22:10 Michael Weber
2015-10-25 22:10 Michael Weber
2015-10-25 22:10 Michael Weber
2015-08-15 16:38 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox