Sync with portage [Tue Mar 15 11:10:31 MSK 2016].

mhiretskiy 262
root 8 years ago
parent bf2ee85643
commit fb552cfe08

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="dev-lang/perl
dev-perl/perl-tk
dev-perl/Tk
app-accessibility/sphinx2
app-accessibility/festival
app-accessibility/mbrola"

@ -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$
@ -26,7 +26,7 @@ RDEPEND="
app-admin/logrotate
dev-perl/Curses
net-firewall/psad
X? ( dev-perl/perl-tk )
X? ( dev-perl/Tk )
virtual/logger
"

@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~sparc ~x86"
IUSE=""
DEPEND=""

@ -2,3 +2,5 @@ DIST puppet-agent_1.3.2-1wheezy_amd64.deb 18316012 SHA256 9d36e5d2902e8ffa9cb19a
DIST puppet-agent_1.3.2-1wheezy_i386.deb 18248404 SHA256 7e6570f592a712c342c192643cacfb74ca103efea26191cb8b8baa0f359b0fca SHA512 66a092cd7579af5aff89e3c45897c2f3d036fc2fb6e35be3492bdfb273d33c356e4d5ff53362d303eead6b3c53aeef9e82da1371b3555c94f67f11a65f0f5b6d WHIRLPOOL 8cf9f5ddad6815511f2c09d76e66d456aa15c68af0485dfda86a081fa3f6ecbdeeaf4815838c2f6113a65890532164bbba1fb12fb9607c5d1fa8c95d4df14217
DIST puppet-agent_1.3.4-1wheezy_amd64.deb 20088688 SHA256 d98026bc27d680c6d674889ddf76aab3da0f9122be3aaccfd4794c5193bf58af SHA512 1a11a7df1545c405f0cbcf6fa2b12a12d6f2091068706cc2be614b2aac4c2d1b8f92f8d6bb9721b5c9b7a30f27d087b585c4d9e41e9c966f526977bff1e39a91 WHIRLPOOL 619a00bdd175ad518a00c04410a09ed9502d768878f64810d434ef45bd41b2f0d695ea9fddb01a27b31989a90e47554b6a7577842f2762872601425b6801809f
DIST puppet-agent_1.3.4-1wheezy_i386.deb 19864590 SHA256 7eaf2264fc0ce048fd1fc604f384df8d601e8571e9f92fb1432bc2be73a24874 SHA512 2640a6b0daaa2a9c913a9411a7eb56914bb127610d2bf56100f9029dc94727f3c42df7c858924b22fc5ad03a9151d98a136c0c6d369501f3e38a9c179333d2ff WHIRLPOOL 88dbebd7c5217d7efc85c877bc1977c574e17ca544a59424b805cebcad637ed5762ebe37c13d82dc01cebcd1ef1259383143adff7a748c82241124b2007d5513
DIST puppet-agent_1.3.6-1wheezy_amd64.deb 20097384 SHA256 47f04c848eff486660ba5ab4cc6c9340193ae0f9d703e0aba6094ccc7d15ec4f SHA512 a079f66bd0ff0b9535e037712ff4306ec16cc5303e1a19016a7ebb2d19f39eea1d91d758996d37e6d848cd0c1d8f047bcfad64550647de99de248071626a0845 WHIRLPOOL 42013e4abf062548b0349db3ebd628bfd887877462b3f24dbd47058bda59828c0f13f2f3bb8a7aace5d835faf3be0fbbaeb097c55c665aa71eec6d78881d71b7
DIST puppet-agent_1.3.6-1wheezy_i386.deb 19873296 SHA256 aaf16cffcf33070eda0979025b72c87d1528bf017f65dadc333defe623190065 SHA512 4d6390c6f9fd3464029ae8bde02e5f7536de7ecb701bc50a7a4a24f50102fcd542448729259148bb62343ed44e4e5b41ced670aed7a8aa3897fa2f7729fff9db WHIRLPOOL 17f7231cd5c546aa8a104aadec07457abebb71cccc1f8f718e7e0e5544b46502979b3079e1d3931f58d3d2d4232eb2ac82e5ee2c49c0ed54e280ef515575b45f

@ -0,0 +1,99 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils systemd unpacker user
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
HOMEPAGE="https://puppetlabs.com/"
SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
SRC_URI="
amd64? ( ${SRC_BASE}_amd64.deb )
x86? ( ${SRC_BASE}_i386.deb )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="puppetdb selinux"
RESTRICT="strip"
CDEPEND="!app-admin/augeas
!app-admin/mcollective
!app-admin/puppet
!dev-ruby/hiera
!dev-ruby/facter
!app-emulation/virt-what"
DEPEND="
${CDEPEND}"
RDEPEND="${CDEPEND}
sys-apps/dmidecode
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
S=${WORKDIR}
QA_PREBUILT="
/opt/puppetlabs/puppet
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/engines/*
/opt/puppetlabs/puppet/lib/virt-what/*
/opt/puppetlabs/puppet/lib/*
/opt/puppetlabs/puppet/bin/*"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/run/puppet puppet
}
src_install() {
# conf.d
doconfd etc/default/puppet
doconfd etc/default/mcollective
# logrotate.d
insinto /etc/logrotate.d
doins etc/logrotate.d/mcollective
# puppet itself
insinto /etc/puppetlabs
doins -r etc/puppetlabs/*
# logdir for systemd
dodir var/log/puppetlabs/puppet/
fperms 0750 var/log/puppetlabs/puppet/
# the rest
insinto /opt
dodir opt/puppetlabs/puppet/cache
doins -r opt/*
fperms 0750 /opt/puppetlabs/puppet/cache
# init
newinitd "${FILESDIR}/puppet.initd" puppet
newinitd "${FILESDIR}/mcollective.initd" mcollective
systemd_dounit "${FILESDIR}/puppet.service"
systemd_dounit "${FILESDIR}/mcollective.service"
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
# symlinks
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
}

@ -134,7 +134,6 @@ src_prepare() {
default
eautoreconf
elibtoolize --patch-only
}
src_configure() {

@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/cpio/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="nls"
src_prepare() {

@ -1,87 +1,3 @@
DIST 6.2.2-TIVsm-msg.CS_CZ.i386.rpm 4786763 SHA256 c4809d079dd3ed9a205d4ff5223a17fda4e768c789b1b604a7689604d03728a6 SHA512 f4e0d80f469b1f31926cd6c2dd37824d1c1be1ce71ec09d94eae37ffbab93db5173b885517eb133f5415252257d3a5832f128834170d19eba0492d6967c698cb WHIRLPOOL 0f790faf458ec8409bf658b0ad54862f3012376c44e71d8498f81088e68c04ea0568d01fa771d784d68099e93e8cf059023c2419e0660b30f8acbff38aaefa70
DIST 6.2.2-TIVsm-msg.DE_DE.i386.rpm 3425013 SHA256 b6c7291000b2f1fcf8fc0f890f68a7e7c156a0737514e9a538b21ed3a46b5cf7 SHA512 d1b3711180917a6c6905946da7a174b0e482371bef7fe8bdf6495ef25c913f9e70cf952b4c8f45160be4e8c6a457e05e4625b6668c731b65add09729a25dbcb1 WHIRLPOOL d9ee04f30777057fd909d5b34a2878ccc5932b1595ffbc6f29cad6d8ce2985f488c5ec1381e60d93f6cc662063b87321918d204245b121e3da46a4404328d9f5
DIST 6.2.2-TIVsm-msg.ES_ES.i386.rpm 3508913 SHA256 f87be48ed758431e3c589e1e0a4b3e8d676253322a586134113f09b0a8db0335 SHA512 aa64768a0137bbaab8f8563ab46db8e58fb13f131ea5ce9bd556fd56fedc1c60f57f85d460de161942575663ed0d2d843a281df9aa40ee00020ba057ba60329e WHIRLPOOL b19f6304e65fdcc478f02cc29dafc5939aa21fb4b62e725f5a5e8944f2c1eac77dbf65d2e66c5d306ec932f711c22a812eb8283a4cc71f8f70593b4786060618
DIST 6.2.2-TIVsm-msg.FR_FR.i386.rpm 3423427 SHA256 7011bab07942fc8a4f9afbdaab3d76b84494498de5557df2dd17983a4035fc52 SHA512 bed428a91272e2ac35e79cd77ac65452062ec9128a23f3851fddf6f21fd8b99778510c6643abbbadc9298a9619f2e1c2c4fd2344e8607bdb8935b7663d855994 WHIRLPOOL 76035c7d8f01f2af59f03509b48b4491e2f30b1fe5a2588583ad48b2413d774518e232c629caf64be522f9a1877aef7b03c46e92eed78aa22fcc97ce761798cf
DIST 6.2.2-TIVsm-msg.HU_HU.i386.rpm 3394821 SHA256 a9fbdbcbc4c1a34eb1525b275b8a1e5282c7fc15ce8816559c8528dcc750f3b7 SHA512 8ba56048f697c4e4fc8a254ea745e8b22d9ee704d5d3ae3d143ec13f570077a7e057ec35b2c11eb919b7a715aae52a84571ddb47fe523da4c15a81408e474ca1 WHIRLPOOL d1af4c91eac728e41e94d8985c5c2bf613bf879efc031c69e26a2f136b19c4c50108532dba6e35bb5e0b3eb71961286e81cf2a7e9c35450716a3f3659cb172d8
DIST 6.2.2-TIVsm-msg.IT_IT.i386.rpm 3255530 SHA256 d7b53fd8e6c3e43e2d55cd91bc20dda9877f2b158589a4b3cdb676f88b93e93f SHA512 fa2b20e756845333d58d20a56f58976e3c1cdf9ac74a07d63e970eacd61264ebacdcb5059c68bb20a3cc6a71ab93bb59424ca9f0550d782fd84a83a48cdd164f WHIRLPOOL a0524234f87a3f37a150170d1243870f8f8a76c9b5778c7999634456030a45fcdc7d0f4aa6178a62e6d0fae04a63a841281fca25465167285fbe9c49d637a660
DIST 6.2.2-TIVsm-msg.JA_JP.i386.rpm 3407675 SHA256 b4312b5309a07c6b4a2257472812d2af9fe2232d69dc9370386681145d9e338d SHA512 f09784bb8f61043356e137e36e944692aeedc73993111ae79f57a6d9c9d685fec7c48996b2aed551875d887213878251e511704904e95e5dfa36cc03abeba613 WHIRLPOOL 7ae279ee94af8eaeab3c3f4441420b78fbc4a0ad5b31daedcc660d597406b798f287d3d028fab9048d587335de2887359c0141310acf0ae8f7ab982beacd12c1
DIST 6.2.2-TIVsm-msg.KO_KR.i386.rpm 3329551 SHA256 c663f1ecaa145bc0ebc27ac6c1057841007479bf04c1b341d0be934f8b521c62 SHA512 f8ead5ff8ac47e16703042ca562ce83cb83a077cb0e2b45db28603e5cff473a4f2615b3283ee512eae92652a399661b60f1c44abab18ab5f14142f7fd85bfb4a WHIRLPOOL 60df7e216297f13d4579bab11355122b17898b705c52a015836bdc419bf6a7944222deae289da3a5d2b2f61bb81fc48cd7c2a3d28479ae876efe48fccbaa79af
DIST 6.2.2-TIVsm-msg.PL_PL.i386.rpm 3070981 SHA256 c0f6f27569caf0a9478e75bb47584a100037a710c0c9a122314eadeacae29c76 SHA512 897cccdf4505da25e2cf810f4604a2492f32808a199d505b4ca142af5ac8f12fe27981d05a90aa33cc682320c8b8083b9ccdca4a88a97f86e5b64618ad6c8565 WHIRLPOOL 0187d55b0802845592b802b77c153b0fd39654d9d7c36100f42189d5fee5b8c68917f1f6a2a1a8fa411724185189a76e81a9a7427301e243ff514a427ea38517
DIST 6.2.2-TIVsm-msg.PT_BR.i386.rpm 3390041 SHA256 fbc409eaa6b2c40a67165d0f512027317548f7e058978e147cfd9a1dddc601e0 SHA512 5ff3778eae87354076f999e86dea87e8f757ed3156e81371b085abe94c0a4dd6b38f69aa76dfda3661b5336549db8f74982d09abc9c92d65d7801b9ad91e0c65 WHIRLPOOL 8ce3dd31273b5df515ab832fb8223ee59ae435a9a80c7b4286c72f839b8113d2b80259ffe5a68ed11860c91b532f94445d62a8218ba03567118e03bbb74e0558
DIST 6.2.2-TIVsm-msg.RU_RU.i386.rpm 4222991 SHA256 20a28cdb598b273569071f997ddad0d56e81cc7e3453cd55ffcb851f03afe75f SHA512 f21f8c314b596b4c472f5d0502b10911fea9c3e21439a706c6726b73ebee2a53eb958380fd589a12feef6cb311f10a5e60b4441c8cca4de5c7267ab070c3b5ee WHIRLPOOL ac8fe2ef9c0d2d1084604ff697518f8298997aca8ce0d27641f2ee308e7699134976c3445dcfc812eec892abe7c5aae9611fb4c4f5cc709b19913b76c792e2ba
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
DIST 6.3.0.5-TIVsm-msg.ES_ES.x86_64.rpm 3677528 SHA256 71daff8c141abfdcfd9b7d032fbc7e88fcee9f466c52bb803d8d97b9cefc5289 SHA512 280fcc5407ba1d3b1446a20fbe56fc9ccaa3af460787cdedbdc8d172face488357d766387b9b6f2c10658479177bfb7f78f34c637c46ea15a04a45fd18e0035e WHIRLPOOL 98a74fa2f028e4d72a904e0b1ec0b9b998bba6cf59cbc790c11da6162ad9357516bebae93495883df22b9e766e8c0cca8bc2433e5ae16ab0df5d30ca65e0662d
DIST 6.3.0.5-TIVsm-msg.FR_FR.x86_64.rpm 3587890 SHA256 6386c6cb1c8cb0d68a14a724667d630268ca720295faf42dbdee631794cdc066 SHA512 37dea2f813bbe5d73c0af11c1d3739f1f64ed89ae3c437bddb71a1224d238fecfc0d1fe76327dfb4bba4d1765c69e253b687c8fe24abaef6bb7fb8fa178aa35e WHIRLPOOL 1b53541b40f750cea0328ca6444c557d95627f60f8f6eee8495fb8fc29247f20a0d15e534a349887cf269437b3f45201924305ed86e1bf0ac21a8b840f958ee1
DIST 6.3.0.5-TIVsm-msg.HU_HU.x86_64.rpm 3564140 SHA256 a17cc788e332dfbabd11d495d08ea80909f6291aeb825fceb128219078120894 SHA512 3b55e559aa11b6298083409c57e7806a81ee2456cc41a97532a2192e43acf2a36ef320202e1996b97d2d17295b49f08fc61040d5f65e1cb40a6e1f7822d197bc WHIRLPOOL e1e94a1638ff518df55cbf875bf1bf464eb2d2c12889d0472322f7d472bebb074ba8285d771ce5f7f30897d754cb5dc23d4b3b8227a68f6a66fe4fa02d4df980
DIST 6.3.0.5-TIVsm-msg.IT_IT.x86_64.rpm 3427870 SHA256 d70a1c8054958b9b1e0d57049d67148935fb1dbbedfc2b3a7b6764ec92b8051e SHA512 d0f291ad1556f9311d79b100874cb3de6a138776e274b315356db74dbec9077ff421b28eddf66dbe3d261848d6edd6e95971ec5859d837989bec750b546c7570 WHIRLPOOL 2b76d77d9ff984ec6fea80bd4ad5cb3a861afa167599f7ecaefeb2f896868cb713822a3a364cf0549dcf4e44b0c571f62d656a75da462193579762fd7413531f
DIST 6.3.0.5-TIVsm-msg.JA_JP.x86_64.rpm 3580019 SHA256 648be20ea32c5fc2b5af98e693713ebeb695c3fb494cd8ff5c3c7ce4e5e637ad SHA512 3b6545e138bca07219ef6783a0545804a13a440355c403f0a65616b744f53f1b781b9e2797f5046020157e38175807a33ed5d45369608b1e7b827e1006bfea83 WHIRLPOOL 3e039bb0dafae14df0b12dfc30c8ae1226f03c4d8c2e6c03eed96f6e801b47fec2dc12af455bfbf4feb8bf662b79ed2ca6b3b7174b0f8a72c178215b856658f6
DIST 6.3.0.5-TIVsm-msg.KO_KR.x86_64.rpm 3504580 SHA256 1b14ce3c7f1bac5f21be49732ea6850253b9eb804487588972ec3502b2a2c476 SHA512 1a2fb602172669f71f6a6a5294cc64965e5456c673faf6d1b5a5f256fd22f4c666eabf29581e563b11dfc4920fee029978d5e916388fc77eacc051f158d4d982 WHIRLPOOL 2af539428ded41dbe45a35e55cb7ec03360d32fce036686f9cfcfd7bb23b24262a00e7ae926c9e3f6ec2f5c78326e6119e7710525bb0f6f1127928cbafef3e15
DIST 6.3.0.5-TIVsm-msg.PL_PL.x86_64.rpm 3400196 SHA256 f963c78e2224e5e794b0d3a503d0f18c556ae42c4cc09f3503f3861d27c6f517 SHA512 0e55380909a9aabf3cf86d8f8ff014eaac1ce4a8f7fb6d9481c55039ff1fd3014e50a35ff9ef680ed4c2bf5d2ed5653de30c674d2d388cfedad270676103ea89 WHIRLPOOL 5759c8a7c223c0c9be61f07f323698d9234897abc7c5889420f8d17b767962b668120d10ddb63833ab37baf41629e278f9555d0d2404afd87a8bd2add66f5007
DIST 6.3.0.5-TIVsm-msg.PT_BR.x86_64.rpm 3561746 SHA256 42e23440cfb9a7e17e222a9af5ef0e99a745fb103bcc1de2039683b078e12b46 SHA512 dc73ebe5216c6e09fa81e400832e6d08ee1a8a9b94c9b1a05b0b88f03f824c0ff640d8604210d3c99abf5825c5a57d2cca2ee9e9c592149e8b55807e9172dd4f WHIRLPOOL 7881db42705c0039139668c1100180dbef52d2b1075f38163c3344c0ad3d29524a63d3d1680866ced2ed0f48d89e52ba057b2970edf3ac96712d955d10d648a9
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
DIST 6.4.0.0-TIVsm-msg.ES_ES.x86_64.rpm 3776839 SHA256 cdf77b6e61c0809559a5fa8613063cd298205c012b1a68576afb3e8f565f4c31 SHA512 7db69a5dfe5abfcde59fc145151b3a30b4d741dd1929d6cfc62e94dfe6f0d016fbb81b1e13773b2419be291482085982bf6c21a3fd8073013a61bb3d48d5c10b WHIRLPOOL 786ed890fc25ee6eb243be0903e3a789c0359caf7436fc18b56d6bf05b5ec13606d9146da197ea0ac47afc537029e590f285df6ee99f9802f80204f035b4c3e1
DIST 6.4.0.0-TIVsm-msg.FR_FR.x86_64.rpm 3695598 SHA256 f87e66363a0e14cfe5cdbd592dca32f96e8c30fa084df5aa4f81b2536521f1fe SHA512 3bbacd133aceff76cb494fee7f25bc0a19fdb2c8c50e1811f8c4d48c416d8539c7587228fc1f9d6e363f79d3f28fc9bf56cf23b49fef56e9a91c926071be136c WHIRLPOOL d0cf98cd500152c4552ee1c597133d66f42d09186bbc5e826ad07aa9d78a6a4e030169c7d461f916d140fc0e2a08209650e11b3e6a4840ed2c60919e0cd9aeb1
DIST 6.4.0.0-TIVsm-msg.HU_HU.x86_64.rpm 3690706 SHA256 64325f79b585ab5068936cf9c8646024b34c4ab5bff16781f096a2520ebcc5a8 SHA512 fd9727213409ca17aed68a2bac3127d0bb6f7270ab76e719f301ee3ebeb09a6198a66fb9fd929daee5905ea2194551f7c26e9a4b52f697ab3d3ad3292648fb48 WHIRLPOOL a111856e2861331cebe25f79faf5898729f784ee5aa68089bf779cefc614a65b0724373f8e3191928ee65fd07457576c6908118ce092e4412708f04ca12fa2eb
DIST 6.4.0.0-TIVsm-msg.IT_IT.x86_64.rpm 3536168 SHA256 bcf08a0ed7dc5f0f13babb1cd037e2c900a81ca1bb39b77f839a17536555e16c SHA512 d379b3d1bfa7e16a42b9418ce81ecd156209cfeb59a0bd7e5671e6b15fc105c486b1e946bbe875c7718327aed2ff8901e0cd65d22c4bc8bc685a1076bf622fe3 WHIRLPOOL 4eac0b64fcd62fffa1272db367562ee1922e4f889544889ba5fa2c28fcede3c0e4d2ac93fcb568363cbb517d94eff2d11625971e04c5c8a7ec82a33e48707383
DIST 6.4.0.0-TIVsm-msg.JA_JP.x86_64.rpm 3704920 SHA256 9588f54e02919a911dafbbc0077edf758c77349d2ff91e7855f6932aa66fe608 SHA512 4b3d422184ac2fb66e5185d989110700dfc30c5307a097f33512cf64dd9418fdc9461fd732dab861b193bed5e209feb59d55cf86fea0b4b96b2c06be14ccd185 WHIRLPOOL 19a0db7da2a05b8b2297a5da56aaa6375c8a16b860b8556939273718be18ec795d3042271c5cbaae26f69481b4c14242884ca57eab07920352fd52d87b4d4909
DIST 6.4.0.0-TIVsm-msg.KO_KR.x86_64.rpm 3364359 SHA256 a3138e9ddb08acfdc9c366cac4bc77f42148dbc6f51c282316d89f17e78fef0b SHA512 8c3a389ddc9b2fcee01088d4fbffae6f77c06d76a8da251942173214fce81206bc8073ec7ac161da32683064a7687d2611973604ccceb7cc10bcf10dd21cfb85 WHIRLPOOL 232dec16a4c4f15aa06589549fd95632016c6a4b1249d4fc5e529001ff3f1114646f22e84dbd8dbf951e22dd79922b73c440b35443d2826e517f53e8f89f8e13
DIST 6.4.0.0-TIVsm-msg.PL_PL.x86_64.rpm 3521618 SHA256 525644bf732f27ab4246c94ccf6a13060c886ef99fa3fcb332f27c8ede87a8a9 SHA512 3c05bdde1de1fa353103261501923b6cc3c7a4208670ee10881bc05d229d1f6b641b6a8d283e59871565abbdb32a2fd68c0193cf79afd97b562452e1d5029e08 WHIRLPOOL 4bb9c4829658d72cbb3aa8d4995e4d7f623dbc7fdd88ab97af0f8a3916baf69f6c14c72f994fffa6dbb41973371aa7779da549a8fd841cfe91133aa0a6362a52
DIST 6.4.0.0-TIVsm-msg.PT_BR.x86_64.rpm 3688190 SHA256 d0df3e3dafa753e1c20f42834127c2c18ab0f91909af60164a55a6dcdf207add SHA512 bc40bdd8cecc4fcc10e506277bc4d953b3d2e2d855d205f063983b5fec625e5e0f3db3b3fb7fa9eb97562731846a2eb86b0c9f736f111ea8fe7c55a730894d6f WHIRLPOOL a32f761b5faefde2b4c5dc2e8adc6b2732021a68e8896df6f784a1211471a4404dea5e4ac2b9d5026b2e2e015ac8bdd1b74bea76b54ebde1c3cf0b77edfb143f
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

@ -1,25 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
use net
after dns dsmc
}
start() {
ebegin "Starting dsmcad"
start-stop-daemon --start --background --nicelevel 15 \
--make-pidfile --pidfile /var/run/dsmcad.pid \
--exec /opt/tivoli/tsm/client/ba/bin/dsmcad
eend $?
}
stop() {
ebegin "Stopping dsmcad"
start-stop-daemon --stop \
--signal 1 \
--pidfile /var/run/dsmcad.pid
eend $?
}

@ -1,223 +0,0 @@
# 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_NODOTS="${MY_PV_MAJOR}${MY_PV_MINOR}${MY_PV_TINY}"
MY_PVR_ALLDOTS=${PV}
BASE_URI="ftp://ftp.software.ibm.com/storage/tivoli-storage-management/maintenance/client/v${MY_PV_MAJOR}r${MY_PV_MINOR}/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
}

@ -1,231 +0,0 @@
# 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
}

@ -1,238 +0,0 @@
# 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
}

@ -1,238 +0,0 @@
# 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
}

@ -1,234 +0,0 @@
# 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
}

@ -1,234 +0,0 @@
# 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
}

@ -23,6 +23,7 @@ src_prepare() {
# Linux compiler flags only include -O2 and are incremental
sed -i '/FLAGS/s:-O2::' Makefile.m4
epatch "${FILESDIR}"/${PN}-7.0-sysmacros.patch
# Fix compilation when DFORTIFY_SOURCE=2
# https://bugs.gentoo.org/257360
# https://bugzilla.redhat.com/show_bug.cgi?id=426068

@ -0,0 +1,12 @@
include sysmacros.h explicitly for major()/minor()/etc...
--- a/growisofs.c
+++ b/growisofs.c
@@ -408,6 +408,7 @@
# ifndef _GNU_SOURCE
# define _GNU_SOURCE
# endif
+# include <sys/sysmacros.h>
#elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || \
(defined(__APPLE__) && defined(__MACH__))
# define off64_t off_t

@ -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$
@ -21,7 +21,7 @@ RDEPEND="${DEPEND}
media-sound/vorbis-tools
virtual/cdrtools
dev-perl/MP3-Info
dev-perl/ogg-vorbis-header
dev-perl/Ogg-Vorbis-Header
dev-perl/String-ShellQuote
"

@ -9,5 +9,4 @@ DIST elisp-manual-21.2.8-patches.tar.gz 1736 SHA256 e9d78d341c365e6ee8b2e716415c
DIST elisp-manual-22-2.9.tar.bz2 669809 SHA256 2e2b830af263c7313072d181af47aef2ee4d5cddb98d49793e0aa498c23e77a6 SHA512 386020d0ba1f26985c5a31597a96c64eef358a35f409ec7ec6616ac70b661220c692e2b7c2dae47525e7389d058659c6a4fb0a6d44fea12cb5dd5c877049d56e WHIRLPOOL 237513530156bf43821ce6394fed10cba95cf30614c9fd755bbc5a2af657d615fbfca0a096655a9558a982264a97ce2480f0794259f372b9286af8350b34046b
DIST elisp-manual-23.4-patches-1.tar.xz 1140 SHA256 3368876054ddc104fb0fbb2abcac295a75308723b2fa688f871abe216ee9e7f0 SHA512 d72455ee50505411a04752ab0fef44dee13fe90163ab1dfb9b74f46de741fd2730205d33d1f8cd912647eb537bb01fe6252d6717bf0068600dd08efdb0363dc3 WHIRLPOOL 129da795a4005e83d9a48798dfed1309f0da2b2a654c7b9d0b6a33049963db37ca43bc3e4b245feded25b88e7c8dd2434dc337d442f6788773cb67bb0df59f33
DIST elisp-manual-23.4.tar.xz 686868 SHA256 cb129eb4e026147d5a19d071dd0960467874a0e97ecfae2a3988421c37ea5c70 SHA512 bf71dd18cdce1dce8880b9e67276d9cb71ef54023b5ef2f6555c85c1ffe9b9b8f0d7434227643564c9403fe484bfaeac10ea8911f9c53a9acb3d502eddc1d62d WHIRLPOOL 276b7249e3535af4208d8671e81e5ceb522d1b0c66a261c315ea0c8024c80d58f1c2677b54d8a9c29807273812c841fcc9f70085af9c9e53b0998854dbbbc3f7
DIST elisp-manual-24.4.tar.xz 763084 SHA256 bf272e4f2340df9f8a4783218be60304de1de4828916f621d9404371710b720f SHA512 65db32a817d5206a235e06317a046a96fb81141f0f424654dc4116bbccdf92e2e4842daf8b56a6e2053453380b49ca61cf5301ef095cc992c41d3c6ea9903f37 WHIRLPOOL 8fd54809445e8f588e23077b04c609d1256b43cba9afc179d086270d2525eb8b49fbbf6ad2a18d63f6968c450b52de7501053922c4b8a61c871fb431ebf1c856
DIST elisp-manual-24.5.tar.xz 766300 SHA256 4810caed1a23c6a3015ea6dc6e3dc8ed5e247157a91f90a19accd59e2f30e362 SHA512 205d48eff9a044883e433e86ec0add188727300582d82deb0b0507327098a8038fef8803457e88fd0c5c9523fc4b621704507bc463409ee30f7b046251363e65 WHIRLPOOL 1445c38bb00657a5455151652daadf8d551efeae0246a16ec35afea4c54ced2a98b60ea6169da55f3fe4e223402077fae457bbe386fd12c02f1781a71659ec1b

@ -1,35 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
# taken from doc/lispref/ of emacs-${PV}
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="FDL-1.3+"
SLOT="24"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
DEPEND="app-arch/xz-utils
sys-apps/texinfo"
S="${WORKDIR}/lispref"
src_prepare() {
epatch "${FILESDIR}/${P}-direntry.patch"
echo "@set EMACSVER ${PV}" >emacsver.texi || die
}
src_compile() {
makeinfo elisp.texi || die
}
src_install() {
doinfo elisp${SLOT}.info*
dodoc ChangeLog README
}

@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="FDL-1.3+"
SLOT="24"
KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
DEPEND="app-arch/xz-utils
sys-apps/texinfo"

@ -1,22 +0,0 @@
--- lispref-orig/elisp.texi
+++ lispref/elisp.texi
@@ -1,6 +1,6 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
-@setfilename elisp
+@setfilename elisp24.info
@ifset VOL1
@set volflag
@@ -117,9 +117,9 @@
@documentencoding UTF-8
-@dircategory Emacs lisp
+@dircategory Emacs
@direntry
-* Elisp: (elisp). The Emacs Lisp Reference Manual.
+* Elisp 24: (elisp24). The Emacs Lisp Reference Manual for Emacs 24.
@end direntry
@titlepage

@ -0,0 +1,63 @@
Index: nedit-5.5/source/file.c
===================================================================
--- nedit-5.5.orig/source/file.c 2004-08-24 11:37:24.000000000 +0200
+++ nedit-5.5/source/file.c 2010-03-27 18:44:01.000000000 +0100
@@ -1314,7 +1314,7 @@
*/
void PrintString(const char *string, int length, Widget parent, const char *jobName)
{
- char tmpFileName[L_tmpnam]; /* L_tmpnam defined in stdio.h */
+ char *tmpFileName=strdup("/tmp/neditXXXXXX");
FILE *fp;
int fd;
@@ -1325,14 +1325,10 @@
1. Create a filename
2. Open the file with the O_CREAT|O_EXCL flags
So all an attacker can do is a DoS on the print function. */
- tmpnam(tmpFileName);
+ fd = mkstemp(tmpFileName);
/* open the temporary file */
-#ifdef VMS
- if ((fp = fopen(tmpFileName, "w", "rfm = stmlf")) == NULL)
-#else
- if ((fd = open(tmpFileName, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR)) < 0 || (fp = fdopen(fd, "w")) == NULL)
-#endif /* VMS */
+ if ((fp = fdopen(fd, "w")) == NULL)
{
DialogF(DF_WARN, parent, 1, "Error while Printing",
"Unable to write file for printing:\n%s", "OK",
@@ -1346,7 +1342,7 @@
/* write to the file */
#ifdef IBM_FWRITE_BUG
- write(fileno(fp), string, length);
+ write(fd, string, length);
#else
fwrite(string, sizeof(char), length, fp);
#endif
@@ -1356,6 +1352,7 @@
"%s not printed:\n%s", "OK", jobName, errorString());
fclose(fp); /* should call close(fd) in turn! */
remove(tmpFileName);
+ free(tmpFileName);
return;
}
@@ -1366,6 +1363,7 @@
"Error closing temp. print file:\n%s", "OK",
errorString());
remove(tmpFileName);
+ free(tmpFileName);
return;
}
@@ -1377,6 +1375,7 @@
PrintFile(parent, tmpFileName, jobName);
remove(tmpFileName);
#endif /*VMS*/
+ free(tmpFileName);
return;
}

@ -0,0 +1,63 @@
Index: nedit-5.5/source/file.c
===================================================================
--- nedit-5.5.orig/source/file.c 2004-08-24 11:37:24.000000000 +0200
+++ nedit-5.5/source/file.c 2010-03-27 18:44:01.000000000 +0100
@@ -1314,7 +1314,7 @@
*/
void PrintString(const char *string, int length, Widget parent, const char *jobName)
{
- char tmpFileName[L_tmpnam]; /* L_tmpnam defined in stdio.h */
+ char *tmpFileName=strdup("/tmp/neditXXXXXX");
FILE *fp;
int fd;
@@ -1325,14 +1325,10 @@
1. Create a filename
2. Open the file with the O_CREAT|O_EXCL flags
So all an attacker can do is a DoS on the print function. */
- tmpnam(tmpFileName);
+ fd = mkstemp(tmpFileName);
/* open the temporary file */
-#ifdef VMS
- if ((fp = fopen(tmpFileName, "w", "rfm = stmlf")) == NULL)
-#else
- if ((fd = open(tmpFileName, O_CREAT|O_EXCL|O_WRONLY, S_IRUSR | S_IWUSR)) < 0 || (fp = fdopen(fd, "w")) == NULL)
-#endif /* VMS */
+ if ((fp = fdopen(fd, "w")) == NULL)
{
DialogF(DF_WARN, parent, 1, "Error while Printing",
"Unable to write file for printing:\n%s", "OK",
@@ -1346,7 +1342,7 @@
/* write to the file */
#ifdef IBM_FWRITE_BUG
- write(fileno(fp), string, length);
+ write(fd, string, length);
#else
fwrite(string, sizeof(char), length, fp);
#endif
@@ -1356,6 +1352,7 @@
"%s not printed:\n%s", "OK", jobName, errorString());
fclose(fp); /* should call close(fd) in turn! */
remove(tmpFileName);
+ free(tmpFileName);
return;
}
@@ -1366,6 +1363,7 @@
"Error closing temp. print file:\n%s", "OK",
errorString());
remove(tmpFileName);
+ free(tmpFileName);
return;
}
@@ -1377,6 +1375,7 @@
PrintFile(parent, tmpFileName, jobName);
remove(tmpFileName);
#endif /*VMS*/
+ free(tmpFileName);
return;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

@ -1,69 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2"
version="1.1"
inkscape:version="0.47 r22583"
width="82"
height="82"
sodipodi:docname="nedit_82x82.png">
<metadata
id="metadata8">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs6">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
id="perspective10" />
</defs>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="640"
inkscape:window-height="483"
id="namedview4"
showgrid="false"
inkscape:zoom="2.8780488"
inkscape:cx="41"
inkscape:cy="41"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
inkscape:current-layer="svg2" />
<image
sodipodi:absref="/home/jstile/nedit_82x82.png"
xlink:href="nedit_82x82.png"
y="0"
x="0"
id="image12"
height="82"
width="82" />
</svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1,78 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils toolchain-funcs
DESCRIPTION="Multi-purpose text editor for the X Window System"
HOMEPAGE="http://nedit.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
RDEPEND=">=x11-libs/motif-2.3:0
x11-libs/libXp
x11-libs/libXpm
x11-libs/libXt
x11-libs/libX11"
DEPEND="${RDEPEND}
|| ( dev-util/yacc sys-devel/bison )
dev-lang/perl"
S="${WORKDIR}/${PN}"
src_prepare() {
#respecting LDFLAGS, bug #208189
epatch \
"${FILESDIR}"/nedit-5.5_p20090914-ldflags.patch \
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch \
"${FILESDIR}"/${P}-security.patch
sed \
-e "s:bin/:${EPREFIX}/bin/:g" \
-i Makefile source/preferences.c source/help_data.h source/nedit.c Xlt/Makefile || die
sed \
-e "s:nc:neditc:g" -i doc/nc.pod || die
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" -e "s:check_tif_rule::" \
makefiles/Makefile.linux || die
sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" \
-e "s:MOTIFDIR=/usr/local:MOTIFDIR=${EPREFIX}/usr:" \
-e "s:-lX11:-lX11 -lXmu -liconv:" \
-e "s:check_tif_rule::" \
makefiles/Makefile.macosx || die
epatch_user
}
src_configure() { :; }
src_compile() {
case "${CHOST}" in
*-darwin*)
emake CC="$(tc-getCC)" AR="$(tc-getAR)" macosx
;;
*-linux*)
emake CC="$(tc-getCC)" AR="$(tc-getAR)" linux
;;
esac
emake VERSION="NEdit ${PV}" -j1 -C doc all
}
src_install() {
dobin source/nedit
newbin source/nc neditc
make_desktop_entry "${PN}"
doicon "${FILESDIR}/${PN}.png"
newman doc/nedit.man nedit.1
newman doc/nc.man neditc.1
dodoc README ReleaseNotes ChangeLog
dodoc doc/nedit.doc doc/NEdit.ad doc/faq.txt
dohtml doc/nedit.html
}

@ -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$
@ -30,7 +30,8 @@ src_prepare() {
epatch \
"${FILESDIR}"/${P}-format.patch \
"${FILESDIR}"/${P}-ldflags.patch \
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch
"${FILESDIR}"/${P}-40_Pointer_to_Integer.patch \
"${FILESDIR}"/${P}-security.patch
sed \
-e "s:bin/:${EPREFIX}/bin/:g" \
-i Makefile source/preferences.c source/help_data.h source/nedit.c Xlt/Makefile || die
@ -64,7 +65,7 @@ src_install() {
newbin source/nc neditc
make_desktop_entry "${PN}"
doicon "${FILESDIR}/${PN}.svg"
doicon "${FILESDIR}/${PN}.png"
newman doc/nedit.man nedit.1
newman doc/nc.man neditc.1

@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-3+ FDL-1.3+"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
KEYWORDS="amd64 arm ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="preview-latex"
DEPEND="virtual/latex-base

@ -1,2 +1 @@
DIST ebuild-mode-1.28.tar.xz 29028 SHA256 1b255ed1048c4ca3331e0c445759030d27d746d0ef98c0fbd043b4916b9a49a0 SHA512 b44805b81639dfe6e092dc6ab0c469374cb66cb7b63e9decf499859b02f45a9080f7f39cd2d0883f66d219368ce0ad25ce61bac7b5053583847589f1ca590db9 WHIRLPOOL 141e3697dac006a5908194ce5a2d35e07d656fbfe847256cc6c2178a6ebbc08c462ba709980c926cd29e48e274f3abf1a6d8cd81c3a7263051d6fcde3efa9192
DIST ebuild-mode-1.29.tar.xz 29296 SHA256 d4f095b1e58f7182218caa2d5839c0dec3eeb4f10386d846a36a895bcb979190 SHA512 bf81a5af269db49c2e9907daf7fc5d457ac07a5b9d921aa8084a55fc9065d71d114ea4210fba393b791e2473d5ab8bf37c2af2724f889061537e37e383574344 WHIRLPOOL 7e6167c79c5a22c9eab1ba91244f8ac18343092b459e8f8aa38308cd4003ec510e8be88d79e44c6432737816679b1c48491d1f3095c4f891eae499ee025c5018

@ -1,21 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit readme.gentoo elisp
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
DOCS="ChangeLog keyword-generation.sh"
ELISP_TEXINFO="${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
DOC_CONTENTS="Some optional features may require installation of additional
packages, like app-portage/gentoolkit-dev for echangelog."

@ -12,7 +12,7 @@ SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
DOCS="ChangeLog keyword-generation.sh"
ELISP_TEXINFO="${PN}.texi"

@ -0,0 +1,235 @@
#!/sbin/runscript
description="Virtual Machine Management (libvirt) Guests"
depend() {
use libvirtd
}
# set the default to QEMU
[ -z "${LIBVIRT_URIS}" ] && LIBVIRT_URIS="qemu:///system"
# default to suspending the VM via managedsave
case "${LIBVIRT_SHUTDOWN}" in
managedsave|shutdown|destroy) ;;
*) LIBVIRT_SHUTDOWN="managedsave" ;;
esac
# default to 500 seconds
[ -z ${LIBVIRT_MAXWAIT} ] && LIBVIRT_MAXWAIT=500
gueststatefile="/var/lib/libvirt/libvirt-guests.state"
netstatefile="/var/lib/libvirt/libvirt-net.state"
do_virsh() {
local hvuri=$1
shift
# if unset, default to qemu
[ -z ${hvuri} ] && hvuri="qemu:///system"
# if only qemu was supplied then correct the value
[ "xqemu" = x${hvuri} ] && hvuri="qemu:///system"
# Silence errors because virsh always throws an error about
# not finding the hypervisor version when connecting to libvirtd
# lastly strip the blank line at the end
LC_ALL=C virsh -c ${hvuri} "$@" 2>/dev/null | head -n -1
}
libvirtd_dom_list() {
# Only work with domains by their UUIDs
local hvuri=$1
shift
do_virsh "${hvuri}" list --uuid $@
}
libvirtd_dom_count() {
local hvuri=$1
shift
libvirtd_dom_list "${hvuri}" $@ | wc -l
}
libvirtd_net_list() {
# Only work with networks by their UUIDs
local hvuri=$1
shift
do_virsh "${hvuri}" net-list --uuid $@
}
libvirtd_net_count() {
local hvuri=$1
shift
libvirtd_net_list "${hvuri}" $@ | wc -l
}
libvirtd_dom_stop() {
# stops all persistent or transient domains for a given URI
# $1 - uri
# $2 - persisent/transient
local uri=$1
local persist=$2
local shutdown_type=${LIBVIRT_SHUTDOWN}
local counter=${LIBVIRT_MAXWAIT}
local dom_name=
local dom_as=
local dom_ids=
local uuid=
local dom_count=
[ "${persist}" = "--transient" ] && shutdown_type="shutdown"
[ -n "${counter}" ] || counter=500
einfo " Shutting down domain(s) ..."
# grab all persistent or transient domains running
dom_ids=$(libvirtd_dom_list ${uri} ${persist})
for uuid in ${dom_ids}; do
# Get the name
dom_name=$(do_virsh ${uri} domname ${uuid})
einfo " ${dom_name}"
# Get autostart state
dom_as=$(do_virsh ${uri} dominfo ${uuid} | \
awk '$1 == "Autostart:" { print $2 }')
if [ "${persist}" = "--persistent" ]; then
# Save our running state only if LIBVIRT_IGNORE_AUTOSTART != yes
if [ "x${LIBVIRT_IGNORE_AUTOSTART}" = "xyes" ] && \
[ ${dom_as} = "enabled" ]; then
:
else
echo "${uri} ${uuid}" >> ${gueststatefile}
fi
fi
# Now let's stop it
do_virsh "${uri}" ${shutdown_type} ${uuid} > /dev/null
done
dom_count="$(libvirtd_dom_count ${uri} ${persist})"
while [ ${dom_count} -gt 0 ] && [ ${counter} -gt 0 ] ; do
dom_count="$(libvirtd_dom_count ${uri} ${persist})"
sleep 1
if [ "${shutdown_type}" = "shutdown" ]; then
counter=$((${counter} - 1))
fi
echo -n "."
done
if [ "${shutdown_type}" = "shutdown" ]; then
# grab all domains still running
dom_ids=$(libvirtd_dom_list ${uri} ${persist})
for uuid in ${dom_ids}; do
dom_name=$(do_virsh ${uri} domname ${uuid})
eerror " ${dom_name} forcibly stopped"
do_virsh "${uri}" destroy ${uuid} > /dev/null
done
fi
}
libvirtd_net_stop() {
# stops all persistent or transient domains for a given URI
# $1 - uri
# $2 - persisent/transient
local uri=$1
local persist=$2
local uuid=
local net_name=
if [ "${LIBVIRT_NET_SHUTDOWN}" != "no" ]; then
einfo " Shutting down network(s):"
for uuid in $(libvirtd_net_list ${uri} ${persist}); do
net_name=$(do_virsh ${uri} net-name ${uuid})
einfo " ${net_name}"
if [ "${persist}" = "--persistent" ]; then
# Save our running state
echo "${uri} ${uuid}" >> ${netstatefile}
fi
# Actually stop the network
do_virsh qemu net-destroy ${uuid} > /dev/null
done
fi
}
start() {
local uri=
local uuid=
local name=
for uri in ${LIBVIRT_URIS}; do
do_virsh "${uri}" connect
if [ $? -ne 0 ]; then
eerror "Failed to connect to '${uri}'. Domains may not start."
fi
done
[ ! -e "${netstatefile}" ] && touch "${netstatefile}"
[ ! -e "${gueststatefile}" ] && touch "${gueststatefile}"
# if the user didn't want to start any guests up then respect their wish
[ "x${LIBVIRT_START}" = "xno" ] && return 0
# start networks
ebegin "Starting libvirt networks"
while read -r uri uuid
do
# ignore trash
[ -z "${uri}" ] || [ -z "${uuid}" ] && continue
name=$(do_virsh "${uri}" net-name ${uuid})
einfo " ${name}"
do_virsh "${uri}" net-start ${uuid} > /dev/null
done <"${netstatefile}"
eend 0
# start domains
ebegin "Starting libvirt domains"
while read -r uri uuid
do
# ignore trash
[ -z "${uri}" ] || [ -z "${uuid}" ] && continue
name=$(do_virsh "${uri}" domname ${uuid})
einfo " ${name}"
do_virsh "${uri}" start ${uuid} > /dev/null
done <"${gueststatefile}"
eend 0
}
stop() {
local counter=
local dom_name=
local net_name=
local dom_ids=
local uuid=
local dom_count=
rm -f "${gueststatefile}"
[ $? -ne 0 ] && eerror "Unable to save domain state"
rm -f "${netstatefile}"
[ $? -ne 0 ] && eerror "Unable to save net state"
for uri in ${LIBVIRT_URIS}; do
einfo "Stopping libvirt domains and networks for ${uri}"
libvirtd_dom_stop "${uri}" "--persistent"
libvirtd_dom_stop "${uri}" "--transient"
libvirtd_net_stop "${uri}" "--persistent"
libvirtd_net_stop "${uri}" "--transient"
einfo "Done stopping domains and networks for ${uri}"
done
}

@ -0,0 +1,385 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit eutils user autotools-utils linux-info systemd readme.gentoo
BACKPORTS=""
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="git://libvirt.org/libvirt.git"
SRC_URI=""
KEYWORDS=""
SLOT="0"
else
# Versions with 4 numbers are stable updates:
if [[ ${PV} =~ ^[0-9]+(\.[0-9]+){3} ]]; then
SRC_URI="http://libvirt.org/sources/stable_updates/${P}.tar.gz"
else
SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
fi
SRC_URI+=" ${BACKPORTS:+
https://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz
https://dev.gentoo.org/~tamiko/distfiles/${P}-${BACKPORTS}.tar.xz}"
KEYWORDS="~amd64 ~x86"
SLOT="0/${PV}"
fi
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd sasl \
selinux systemd +udev uml +vepa virtualbox virt-network wireshark-plugins \
xen"
REQUIRED_USE="
firewalld? ( virt-network )
libvirtd? ( || ( lxc openvz qemu uml virtualbox xen ) )
lxc? ( caps libvirtd )
openvz? ( libvirtd )
qemu? ( libvirtd )
uml? ( libvirtd )
vepa? ( macvtap )
virt-network? ( libvirtd )
virtualbox? ( libvirtd )
xen? ( libvirtd )"
# gettext.sh command is used by the libvirt command wrappers, and it's
# non-optional, so put it into RDEPEND.
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
# package will use 3 by default. Since we don't have slot pinning in an API,
# we must go with the most recent
RDEPEND="
app-misc/scrub
dev-libs/libgcrypt:0
dev-libs/libnl:3
>=dev-libs/libxml2-2.7.6
>=net-analyzer/netcat6-1.0-r2
>=net-libs/gnutls-1.0.25
net-libs/libssh2
>=net-misc/curl-7.18.0
sys-apps/dmidecode
>=sys-apps/util-linux-2.17
sys-devel/gettext
sys-libs/ncurses:0=
sys-libs/readline:=
apparmor? ( sys-libs/libapparmor )
audit? ( sys-process/audit )
avahi? ( >=net-dns/avahi-0.6[dbus] )
caps? ( sys-libs/libcap-ng )
firewalld? ( net-firewall/firewalld )
fuse? ( >=sys-fs/fuse-2.8.6 )
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
iscsi? ( sys-block/open-iscsi )
lvm? ( >=sys-fs/lvm2-2.02.48-r2 )
lxc? ( !systemd? ( sys-power/pm-utils ) )
nfs? ( net-fs/nfs-utils )
numa? (
>sys-process/numactl-2.0.2
sys-process/numad
)
openvz? ( sys-kernel/openvz-sources:* )
parted? (
>=sys-block/parted-1.8[device-mapper]
sys-fs/lvm2
)
pcap? ( >=net-libs/libpcap-1.0.0 )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
dev-libs/yajl
!systemd? ( sys-power/pm-utils )
)
rbd? ( sys-cluster/ceph )
sasl? ( dev-libs/cyrus-sasl )
selinux? ( >=sys-libs/libselinux-2.0.85 )
systemd? ( sys-apps/systemd )
virt-network? (
net-dns/dnsmasq[script]
net-firewall/ebtables
>=net-firewall/iptables-1.4.10[ipv6]
net-misc/radvd
sys-apps/iproute2[-minimal]
)
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
wireshark-plugins? ( net-analyzer/wireshark:= )
xen? (
app-emulation/xen
app-emulation/xen-tools:=
)
udev? (
virtual/udev
>=x11-libs/libpciaccess-0.10.9
)"
DEPEND="${RDEPEND}
app-text/xhtml1
dev-lang/perl
dev-libs/libxslt
dev-perl/XML-XPath
virtual/pkgconfig"
pkg_setup() {
enewgroup qemu 77
enewuser qemu 77 -1 -1 qemu kvm
# Some people used the masked ebuild which was not adding the qemu
# user to the kvm group originally. This results in VMs failing to
# start for some users. bug #430808
egetent group kvm | grep -q qemu
if [[ $? -ne 0 ]]; then
gpasswd -a qemu kvm
fi
# Check kernel configuration:
CONFIG_CHECK=""
use fuse && CONFIG_CHECK+="
~FUSE_FS"
use lvm && CONFIG_CHECK+="
~BLK_DEV_DM
~DM_MULTIPATH
~DM_SNAPSHOT"
use lxc && CONFIG_CHECK+="
~BLK_CGROUP
~CGROUP_CPUACCT
~CGROUP_DEVICE
~CGROUP_FREEZER
~CGROUP_NET_PRIO
~CGROUP_PERF
~CGROUPS
~CGROUP_SCHED
~CPUSETS
~DEVPTS_MULTIPLE_INSTANCES
~IPC_NS
~MACVLAN
~NAMESPACES
~NET_CLS_CGROUP
~NET_NS
~PID_NS
~POSIX_MQUEUE
~SECURITYFS
~USER_NS
~UTS_NS
~VETH
~!GRKERNSEC_CHROOT_MOUNT
~!GRKERNSEC_CHROOT_DOUBLE
~!GRKERNSEC_CHROOT_PIVOT
~!GRKERNSEC_CHROOT_CHMOD
~!GRKERNSEC_CHROOT_CAPS"
# Handle specific kernel versions for different features
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
kernel_is ge 3 6 && CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
use macvtap && CONFIG_CHECK+="
~MACVTAP"
use virt-network && CONFIG_CHECK+="
~BRIDGE_EBT_MARK_T
~BRIDGE_NF_EBTABLES
~NETFILTER_ADVANCED
~NETFILTER_XT_CONNMARK
~NETFILTER_XT_MARK
~NETFILTER_XT_TARGET_CHECKSUM"
# Bandwidth Limiting Support
use virt-network && CONFIG_CHECK+="
~BRIDGE_EBT_T_NAT
~NET_ACT_POLICE
~NET_CLS_FW
~NET_CLS_U32
~NET_SCH_HTB
~NET_SCH_INGRESS
~NET_SCH_SFQ"
ERROR_USER_NS="Optional depending on LXC configuration."
if [[ -n ${CONFIG_CHECK} ]]; then
linux-info_pkg_setup
fi
}
src_prepare() {
touch "${S}/.mailmap"
if [[ ${PV} = *9999* ]]; then
# git checkouts require bootstrapping to create the configure script.
# Additionally the submodules must be cloned to the right locations
# bug #377279
./bootstrap || die "bootstrap failed"
(
git submodule status | sed 's/^[ +-]//;s/ .*//'
git hash-object bootstrap.conf
) >.git-module-status
fi
epatch \
"${FILESDIR}"/${PN}-1.3.0-do_not_use_sysconf.patch \
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch \
"${FILESDIR}"/${P}-fix_paths_for_apparmor.patch \
"${FILESDIR}"/${PN}-1.2.21-avoid_deprecated_pc_file.patch
[[ -n ${BACKPORTS} ]] &&
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" \
EPATCH_SOURCE="${WORKDIR}/patches" epatch
epatch_user
# Tweak the init script:
cp "${FILESDIR}/libvirtd.init-r16" "${S}/libvirtd.init" || die
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
-e "s/USE_FLAG_AVAHI/$(usex avahi 'use avahi-daemon' '')/" \
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
-i "${S}/libvirtd.init" || die "sed failed"
AUTOTOOLS_AUTORECONF=true
autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=(
$(use_with apparmor)
$(use_with apparmor apparmor-profiles)
$(use_with audit)
$(use_with avahi)
$(use_with caps capng)
$(use_with firewalld)
$(use_with fuse)
$(use_with glusterfs)
$(use_with glusterfs storage-gluster)
$(use_with iscsi storage-iscsi)
$(use_with libvirtd)
$(use_with lvm storage-lvm)
$(use_with lvm storage-mpath)
$(use_with lxc)
$(use_with macvtap)
$(use_enable nls)
$(use_with numa numactl)
$(use_with numa numad)
$(use_with openvz)
$(use_with parted storage-disk)
$(use_with pcap libpcap)
$(use_with phyp)
$(use_with policykit polkit)
$(use_with qemu)
$(use_with qemu yajl)
$(use_with rbd storage-rbd)
$(use_with sasl)
$(use_with selinux)
$(use_with systemd systemd-daemon)
$(usex systemd --with-init-script=systemd '')
$(use_with udev)
$(use_with uml)
$(use_with vepa virtualport)
$(use_with virt-network network)
$(use_with wireshark-plugins wireshark-dissector)
$(use_with xen)
$(use_with xen xen-inotify)
$(usex xen --with-libxl '')
--without-hal
--without-netcf
--without-sanlock
--without-xenapi
--with-esx
--with-qemu-group=$(usex caps qemu root)
--with-qemu-user=$(usex caps qemu root)
--with-remote
--with-storage-fs
--with-vmware
--disable-static
--disable-werror
--with-html-subdir=${PF}/html
--localstatedir=/var
)
if use virtualbox && has_version app-emulation/virtualbox-ose; then
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
else
myeconfargs+=( $(use_with virtualbox vbox) )
fi
autotools-utils_src_configure
if [[ ${PV} = *9999* ]]; then
# Restore gnulib's config.sub and config.guess
# bug #377279
(cd .gnulib && git reset --hard > /dev/null)
fi
# Workaround: Sometimes this subdirectory is missing and leads to a
# build failure.
mkdir -p "${BUILD_DIR}"/docs/internals
}
src_test() {
# Explicitly allow parallel build of tests
export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
src_install() {
autotools-utils_src_compile install \
DESTDIR="${D}" \
SYSTEMD_UNIT_DIR="$(systemd_get_unitdir)"
find "${D}" -name '*.la' -delete || die
# Remove bogus, empty directories. They are either not used, or
# libvirtd is able to create them on demand
rm -rf "${D}"/etc/sysconfig
rm -rf "${D}"/var/cache
rm -rf "${D}"/var/run
rm -rf "${D}"/var/log
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
use systemd && systemd_install_serviced \
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
newinitd "${S}/libvirtd.init" libvirtd || die
newinitd "${FILESDIR}/libvirt-guests.init-r2" libvirt-guests || die
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1")
DISABLE_AUTOFORMATTING=true
readme.gentoo_create_doc
}
pkg_preinst() {
# we only ever want to generate this once
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
fi
}
pkg_postinst() {
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
fi
use libvirtd || return 0
# From here, only libvirtd-related instructions, be warned!
if [[ -n ${REPLACING_VERSIONS} ]] && ! version_is_at_least 1.2.18-r2 ${REPLACING_VERSIONS} ]]; then
FORCE_PRINT_ELOG=true
fi
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1")
DISABLE_AUTOFORMATTING=true
readme.gentoo_print_elog
}

@ -348,7 +348,7 @@ src_install() {
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
newinitd "${S}/libvirtd.init" libvirtd || die
newinitd "${FILESDIR}/libvirt-guests.init-r1" libvirt-guests || die
newinitd "${FILESDIR}/libvirt-guests.init-r2" libvirt-guests || die
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd || die
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd || die

@ -12,7 +12,7 @@ SRC_URI="https://gitweb.gentoo.org/proj/${PN}.git/snapshot/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~amd64 ~arm ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="

@ -1,4 +1,4 @@
# Copyright 1999-2012 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -17,7 +17,7 @@ IUSE="crypt"
COMMON_DEPEND="userland_GNU? ( sys-apps/coreutils )"
DEPEND="${COMMON_DEPEND}
>=dev-perl/perl-tk-804.27.0
>=dev-perl/Tk-804.27.0
userland_GNU? ( app-arch/sharutils )"
# TODO: air can utilize dc3dd, but it is not in portage ATM

@ -0,0 +1 @@
DIST icdiff-1.7.3.tar.gz 20215 SHA256 5161265f72a7c9c1d2d7b0780a381743ef3d3127944a96786422802a6bc14ca5 SHA512 ae8ca394c3fdf820d4795282672bc44eb01f88f9614d6240f035c31f99130b188185a0e241c3c17974d76f604b85ef48aa8296835b5dfb46463a88cb1f68d305 WHIRLPOOL 994bbc53673db6559444908b9a08e71283060648fdbc86e607b5ee229a933d13627b4e02b7b41fc25bf41021b9d86bed4d9e1b9df978922102b724e7be0a4642

@ -0,0 +1,16 @@
diff --git a/test.sh b/test.sh
index 264c696..1bb7290 100755
--- a/test.sh
+++ b/test.sh
@@ -97,11 +97,6 @@ check_gold gold-67-wf.txt tests/input-{6,7}.txt --cols=80 --whole-file
check_gold gold-67-ln.txt tests/input-{6,7}.txt --cols=80 --line-numbers
check_gold gold-67-u3.txt tests/input-{6,7}.txt --cols=80 -U 3
-if [ $(./icdiff --version | awk '{print $NF}') != $(head -n 1 ChangeLog) ]; then
- echo "Version mismatch between ChangeLog and icdiff source."
- fail
-fi
-
if ! $REGOLD; then
echo PASS
fi

@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=(python2_7 python3_4 python3_5)
inherit distutils-r1
DESCRIPTION="Colourized diff that supports side-by-side diffing"
HOMEPAGE="http://www.jefftk.com/icdiff"
SRC_URI="https://github.com/jeffkaufman/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}/${PN}-1.7.3-dont-check-changelog.patch"
)
DOCS=(README.md ChangeLog)
S="${WORKDIR}/${PN}-release-${PV}"
python_test() {
./test.sh "${EPYTHON%.*}" || die "Tests failed"
}

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<maintainer type="person">
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
<upstream>
<remote-id type="github">jeffkaufman/icdiff</remote-id>
</upstream>
</pkgmetadata>

@ -14,7 +14,7 @@ SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
IUSE="+edit gpm mclib nls samba sftp +slang spell test X +xdg"
REQUIRED_USE="spell? ( edit )"

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -14,7 +14,7 @@ IUSE="tk mysql"
QA_PREBUILT="opt/misterhouse/bin/viavoice_server"
RDEPEND="dev-lang/perl
tk? ( dev-perl/perl-tk
tk? ( dev-perl/Tk
dev-perl/Tk-CursorControl )
mysql? ( dev-perl/DBD-mysql )
|| ( app-accessibility/festival

@ -1,4 +1,4 @@
# Copyright 1999-2013 Gentoo Foundation
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@ -16,7 +16,7 @@ IUSE="tk mysql"
S="${WORKDIR}/mh"
RDEPEND="dev-lang/perl
tk? ( dev-perl/perl-tk
tk? ( dev-perl/Tk
dev-perl/Tk-CursorControl )
mysql? ( dev-perl/DBD-mysql )
|| ( app-accessibility/festival

@ -16,7 +16,7 @@ KEYWORDS="amd64 ppc x86"
# This warrants USE examples
IUSE=""
DEPEND="dev-perl/perl-tk
DEPEND="dev-perl/Tk
dev-perl/Date-Manip
dev-perl/HTML-Parser
dev-perl/Finance-YahooQuote

@ -1 +1 @@
DIST thefuck-3.5.tar.gz 782640 SHA256 eaa6b6466634ab4c87506a1404871af5bfd013043157b335165a63da3b14d90e SHA512 b1d5c542e25dc88ddceef98cd067f3bd48023c4ca5ee33ea61c76ad089ca85d0f440b212633ad99f9e7caa2ca56da8ba236c481cacfb50fd07dec44e896a0a71 WHIRLPOOL dd8e7bde96b45e61874f519db52550f82aa269a1e0df94271bb58bd6605e1165e1e6e8682c257ca8129ebff2955c0014b71a0191a360ad035d4de2e17fab4ba8
DIST thefuck-3.6.tar.gz 782923 SHA256 a83e2e3ff65b36a7e0d3330e853610c0da9cd2ffd5a001d9e51ad6146c558674 SHA512 630825f2a635fa8039df2b71e3a3d1c95280f48b1277f31f010a8c4adf1cd08ddbd6cff1ffae19856f27585f36c473d3c70eb30ca8e5e4cf8b159705398793bf WHIRLPOOL 17fc409d6114fb89527251888c40e05731932f192dedaefd33cd18e64c2b46980ad8a1c14a6f3bca02cfa223cde61216e2051afc458cca195919e3da94d08d91

@ -3,7 +3,7 @@
# $Id$
EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="AUTHORS CHANGES README.md"

@ -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$
@ -106,7 +106,7 @@ RDEPEND="${COMMON_DEPEND}
>=dev-tex/bibtexu-3.71_p20120701
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.8_p20120701 )
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
# texdoc needs luatex.
PDEPEND=">=dev-tex/luatex-0.70"

@ -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$
@ -106,7 +106,7 @@ RDEPEND="${COMMON_DEPEND}
>=dev-tex/bibtexu-3.71_p20120701
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.8_p20120701 )
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
# texdoc needs luatex.
PDEPEND=">=dev-tex/luatex-0.70"

@ -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$
@ -106,7 +106,7 @@ RDEPEND="${COMMON_DEPEND}
>=dev-tex/bibtexu-3.71_p20120701
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.8_p20120701 )
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
# texdoc needs luatex.
PDEPEND=">=dev-tex/luatex-0.70"

@ -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$
@ -115,7 +115,7 @@ RDEPEND="${COMMON_DEPEND}
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.9_p20130530 )
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
# texdoc needs luatex.
PDEPEND=">=dev-tex/luatex-0.76"

@ -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$
@ -115,7 +115,7 @@ RDEPEND="${COMMON_DEPEND}
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
xetex? ( >=app-text/xdvipdfmx-0.7.9_p20130530 )
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
# texdoc needs luatex.
PDEPEND=">=dev-tex/luatex-0.76"

@ -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$
@ -122,7 +122,7 @@ RDEPEND="${COMMON_DEPEND}
>=app-text/dvipsk-5.993_p20130530
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"

@ -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$
@ -122,7 +122,7 @@ RDEPEND="${COMMON_DEPEND}
>=app-text/dvipsk-5.993_p20130530
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"

@ -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$
@ -122,7 +122,7 @@ RDEPEND="${COMMON_DEPEND}
>=app-text/dvipsk-5.993_p20130530
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"

@ -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$
@ -121,7 +121,7 @@ RDEPEND="${COMMON_DEPEND}
>=app-text/dvipsk-5.993_p20130530
>=dev-tex/bibtexu-3.71_p20130530
virtual/perl-Getopt-Long
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"

@ -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$
@ -124,7 +124,7 @@ RDEPEND="${COMMON_DEPEND}
>=app-text/dvipsk-5.995_p20150521
>=dev-tex/bibtexu-3.71_p20150521
virtual/perl-Getopt-Long
tk? ( dev-perl/perl-tk )"
tk? ( dev-perl/Tk )"
S="${WORKDIR}/${P}_build"
B="${WORKDIR}/${MY_PV}"

@ -1,2 +1 @@
DIST trang-20091111.zip 1079534 SHA256 d8a3f034f9918ebe5b265aafeadbee6729ddda5732cfc368e2c30b3b8c0ca598 SHA512 c19bf98613097d377ecce347dcab31b458b16d77c320b5d2a6106ff7b06b3aa3c7b87b4c78376b3d4f89be24ecb11fad622aadc0ba9d8d6be716486d7a1ebd7b WHIRLPOOL 6ed18632dfdb7c9661fcb6e1b3a02130ac877fdda3c4cc7779ec61510a7e67e68ab7315ab6f3e5cb8ed2a83447873579791c568f7706eaab29f5e2258fa5bc3b
DIST trang-20151127.tar.gz 13746141 SHA256 86c810a42d974665d12db5213943cd72fcb6912d80b5a2853e083bc454ca6b75 SHA512 f5c6973791e8caa8dcce6bbf92cbd58491f55edd7819523947ad718ea3973eb81afc6b21d4e830949c2f183b485915dab98dbb5b90e01324677cfa41f5746e26 WHIRLPOOL c11781da0cf8d5deada8c59dcfbc13dffd78e045c97b4b27768d8772563b989e9c6434fa4be13ea3c53574ad59baf0eb3a150bc3d77edc7336315f6961fb0b6c

@ -1,68 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Author: Ralph Sennhauser -->
<project name="trang" default="jar" basedir=".">
<!-- properties -->
<property name="src.dir" value="src"/>
<property name="build.dir" value="build"/>
<property name="docs.dir" value="javadoc"/>
<property name="dist.dir" value="dist"/>
<property name="app.name" value="trang"/>
<property name="package.names" value="com.* org.*"/>
<property name="jar.name" value="${app.name}.jar"/>
<!-- targets -->
<target name="prepare">
<mkdir dir="${build.dir}"/>
<mkdir dir="${docs.dir}"/>
<mkdir dir="${dist.dir}"/>
<unzip src="${src.dir}.zip" dest="${src.dir}"/>
<!-- need the resource files shipped inside the jar, beed! -->
<unzip src="trang.jar" dest="${build.dir}">
<patternset>
<include name="**/*properties"/>
</patternset>
</unzip>
</target>
<target name="compile" description="Compiles source" depends="prepare">
<javac srcdir="${src.dir}" destdir="${build.dir}" encoding="UTF-8" classpath="${gentoo.classpath}">
<!-- <compilerarg value="-Xlint:deprecation"/> -->
<!-- <compilerarg value="-Xlint"/> -->
</javac>
</target>
<target name="javadoc" depends="prepare" description="Create javadocs">
<javadoc packagenames="net.*"
classpath="${gentoo.classpath}"
sourcepath="${src.dir}"
defaultexcludes="yes"
destdir="./${docs.dir}"
author="true"
version="true"
use="true"
windowtitle="${app.name} API">
<fileset dir="${src.dir}"/>
</javadoc>
</target>
<target name="jar" description="Create the jar" depends="compile">
<jar destfile="${dist.dir}/${jar.name}" basedir="${build.dir}">
<manifest>
<attribute name="Main-Class" value="com.thaiopensource.relaxng.translate.Driver"/>
<attribute name="Class-Path" value="."/>
</manifest>
<service type="com.thaiopensource.datatype.xsd.regex.RegexEngine">
<provider classname="com.thaiopensource.datatype.xsd.regex.java.RegexEngineImpl"/>
<provider classname="com.thaiopensource.datatype.xsd.regex.xerces2.RegexEngineImpl"/>
</service>
<service type="org.relaxng.datatype.DatatypeLibraryFactory">
<provider classname="com.thaiopensource.datatype.xsd.DatatypeLibraryFactoryImpl"/>
</service>
</jar>
</target>
</project>

@ -1,65 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Multi-format schema converter based on RELAX NG"
HOMEPAGE="http://thaiopensource.com/relaxng/trang.html"
SRC_URI="https://jing-trang.googlecode.com/files/${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEP="
dev-java/xerces:2
dev-java/xml-commons-resolver:0"
RDEPEND="
>=virtual/jre-1.5
${COMMON_DEP}"
DEPEND="
app-arch/unzip
>=virtual/jdk-1.5
${COMMON_DEP}"
java_prepare() {
# need resource files in jar archive so can't remove, see build.xml
# rm -v *.jar || die "Failed to remove jar archives"
cp "${FILESDIR}/build.xml" "${S}/build.xml"
}
EANT_GENTOO_CLASSPATH="xerces-2,xml-commons-resolver"
src_test() {
# a very simple test
mkdir "test"
java -jar "dist/${PN}.jar" "${FILESDIR}/test.xml" "test/test.xsd"
java -jar "dist/${PN}.jar" "${FILESDIR}/test.xml" "test/test.dtd"
java -jar "dist/${PN}.jar" "test/test.dtd" "test/test.dtd.xsd"
md5sum -c <<MD5SUMS_END || die "Failed to verify md5sum"
4bcb454ade46c0188f809d2e8ce15315 ${FILESDIR}/test.xml
d096c1fb462902e10a3440a604a21664 test/test.xsd
3fb46bdb16dc75a2a1e36e421b13e51d test/test.dtd
fce355ca962cb063d7baa5d7fd571bcf test/test.dtd.xsd
MD5SUMS_END
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
java-pkg_dolauncher trang \
--main com.thaiopensource.relaxng.translate.Driver
dohtml *.html || die
use doc && java-pkg_dojavadoc javadoc
use source && java-pkg_dosrc src/{org,com}
}

@ -13,7 +13,7 @@ HOMEPAGE="http://thaiopensource.com/relaxng/trang.html"
SRC_URI="https://github.com/relaxng/jing-trang/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
COMMON_DEP="
dev-java/xerces:2

@ -11,7 +11,7 @@ SRC_URI="https://github.com/LMDB/lmdb/archive/LMDB_${PV}.tar.gz"
LICENSE="OPENLDAP"
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="static-libs"
DEPEND=""

@ -1 +1,2 @@
DIST sanitized-anchor-name-0_pre20150822.tar.gz 1298 SHA256 71051787c19aff363bcccf1ea6f62baab7c46dfdc519e88043fe54b0de55ee21 SHA512 9fcaecd3962b2d4681faea7ef022b1cd6a9a6fe6c02a9608a7c57fcdb77eff6148be05debf6beb548530a9e56225596290525eb01b082601a3ee18130c9349f0 WHIRLPOOL 42e650e9132cf95f8f0fe34b0c38f16802747b48f62c7d00e903436fa4025da4848f864ca29ea66db4a9b7c9833d96dbd4a80de40a2b887b1553d1f52689c0ca
DIST sanitized-anchor-name-0_pre20151027.tar.gz 1941 SHA256 f133b81db75c7a1a627523a43427f990dc83fef26ec117764ab9d687fd1efda7 SHA512 06b8bf3f8d89a93c565de9b4219211ad08c91b2442ba31ef8bffa02c7ee823ae4f57ed8b39b4ac1eb326e5d12c65b56b16833c28fc97623c732bb6ea685a3c2a WHIRLPOOL ee1f24069a53176fcc8125084733c60d92ed03194d1d992d1ec33b499aef87b7388e5bf8cdf5c6e8c4749982769585ea2d5ded1dba75d6f37bfc5cb7919ac35b

@ -0,0 +1,24 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
EGO_PN=github.com/shurcooL/sanitized_anchor_name
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64 ~arm64"
EGIT_COMMIT=10ef21a
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi
inherit golang-build
DESCRIPTION="A Go function to provide sanitized anchor names"
HOMEPAGE="https://github.com/shurcooL/sanitized_anchor_name"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND=""

@ -2,14 +2,14 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
EAPI=6
EGO_PN=github.com/shurcooL/sanitized_anchor_name
if [[ ${PV} = *9999* ]]; then
inherit golang-vcs
else
KEYWORDS="~amd64"
EGIT_COMMIT="244f5ac"
EGIT_COMMIT=10ef21a
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
inherit golang-vcs-snapshot
fi

@ -12,7 +12,7 @@ DESCRIPTION="Java library that provides a fluent interface for writing assertion
HOMEPAGE="http://joel-costigliola.github.io/assertj/"
SRC_URI="https://github.com/joel-costigliola/${PN}/archive/${P}.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
SLOT="2"
CDEPEND="dev-java/cglib:3

@ -1,2 +1 @@
DIST commons-dbcp-1.4-src.tar.gz 932507 SHA256 f5f10846e79fc71121fe7402c61d71575506b01b59e719e974ebc4d99e6df283 SHA512 70f32ea36bae46290dc376e6040539562de98906810bd4e1985667c336e6215dc5536278000fee5d9f200cc4b97ea0a6cff74a871e962b61203741814a9c5e7b WHIRLPOOL c917bd417d95e7fc2448c87d949f440ad829ea794b943e707a23154fafaf9eeccaa2900ae7ccb27cf03c56d7e0727177e56c47f157ee85ab1be7c67d18702b26
DIST commons-dbcp2-2.1-src.tar.gz 580017 SHA256 e1a75021dc3a5314cfa0a0c65bf0bf3d8f95a289b833cf5e391149cf29367708 SHA512 830fb550cee5f9c79fad830d8b3e56417aa9dfed26093fd366693260f5b4d821baa592e60c7f5997766276049a90eacd5854b8422803825154fedee56d46409d WHIRLPOOL d4efd240eae5d891c98ad3a2fa76756fabdfa93bc17ec9d4e0b046f6dcb8e61579acfb899f338131472960aaddf25457d3a82ca00486242097319e9f7617462a

@ -1,55 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
JAVA_PKG_IUSE="doc source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Jakarta component providing database connection pooling API"
HOMEPAGE="http://commons.apache.org/dbcp/"
SRC_URI="mirror://apache/commons/dbcp/source/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE=""
COMMON_DEP="
dev-java/commons-pool:0
java-virtuals/transaction-api:0"
RDEPEND="${COMMON_DEP}
>=virtual/jre-1.6"
DEPEND="${COMMON_DEP}
virtual/jdk:1.6
test? ( dev-java/ant-junit:0 )"
S="${WORKDIR}/${P}-src"
JAVA_ANT_REWRITE_CLASSPATH="yes"
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
EANT_BUILD_TARGET="build-jar"
EANT_GENTOO_CLASSPATH="commons-pool,transaction-api"
src_test() {
# depend on not packaged geronimo #348853
rm -v src/test/org/apache/commons/dbcp/managed/TestBasicManagedDataSource.java || die
rm -v src/test/org/apache/commons/dbcp/managed/TestManagedDataSource.java || die
rm -v src/test/org/apache/commons/dbcp/managed/TestManagedDataSourceInTx.java || die
# fails :(
rm -v src/test/org/apache/commons/dbcp/TestJndi.java || die
java-pkg-2_src_test
}
src_install() {
java-pkg_dojar dist/${PN}*.jar
dodoc README.txt RELEASE-NOTES.txt
use doc && java-pkg_dojavadoc dist/docs/api
use source && java-pkg_dosrc src/java/*
}

@ -16,7 +16,7 @@ HOMEPAGE="http://pdfbox.apache.org/"
SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_P}-src.zip"
LICENSE="Apache-2.0"
SLOT="1.8"
KEYWORDS="~amd64 ~ppc64 ~x86"
KEYWORDS="amd64 ppc64 x86"
IUSE="test"
CDEPEND=">=dev-java/commons-logging-1.1.1:0"

@ -1,2 +1 @@
DIST guice-2.0-src.zip 17342981 SHA256 7f836156d9d6b7688d373a4c70971b8b42e3a553e26a8f98a110a868eb749394 SHA512 61e1c5b6bbd7db5017a99b2998b706071717781360ab8d622d163be2cc954d9b34ab8b68d2ab02f29bb1a8b640ac25350dca302c390855641ca3e4cc4438a1b9 WHIRLPOOL 7be8673b603ad1aa722ddb76cefaec5e1d03e9a4199d25cbb1a58a31f89c33ac1d9e0a479951b5412cc2c94504d46afd56f42a57f3d87ef3915554fbf821d506
DIST guice-4.0.tar.gz 23103592 SHA256 353cd5130d6e7f5bdb702af2e6b4f8aedd6e152c276275a6adcf5bbefade4ddb SHA512 45bdc00ebbad051f1f31b7cb5c134e42c841a06513563abc184739a514f39bc76dcb220af77ec60f46a0d887df93e0177ce071110b41ef6e5e69bad1a30f0e40 WHIRLPOOL 7b9b1d41b5256592ae5ccbd550b008d4cd10a50e7007a3c2b3d9b5cfaaa144f43be2d398386a762d9ca4afa76b30d4ec40aed2a9c9fd1c731f359de23c3be0df

@ -1,16 +0,0 @@
--- /tmp/guice-2.0-src.orig/build.xml 2012-08-23 23:04:55.759642915 +0300
+++ build.xml 2012-08-23 23:30:05.899593954 +0300
@@ -13,11 +13,8 @@
</path>
- <target name="jar" depends="jar.withdeps, manifest" description="Build jar.">
- <jar jarfile="${build.dir}/dist/guice-${version}.jar"
- manifest="${build.dir}/META-INF/MANIFEST.MF">
- <zipfileset src="${build.dir}/${ant.project.name}-with-deps.jar"/>
- </jar>
+ <target name="jar" depends="jar.withdeps" description="Build jar.">
+ <echo>${build.dir}/${ant.project.name}</echo>
</target>
<target name="dist" depends="distjars, javadoc"

@ -1,21 +0,0 @@
--- /tmp/guice-2.0-src.orig/common.xml 2012-08-23 23:28:51.056596381 +0300
+++ common.xml 2012-08-23 23:28:14.416597570 +0300
@@ -108,17 +108,7 @@
<target name="jar.withdeps" depends="compile"
description="Build jar with dependencies embedded.">
<mkdir dir="${build.dir}/dist"/>
- <dirname property="common.basedir" file="${ant.file.common}"/>
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask"
- classpath="${common.basedir}/lib/build/jarjar-1.0rc8.jar"/>
- <jarjar jarfile="${build.dir}/${ant.project.name}-with-deps.jar">
- <fileset dir="${build.dir}/classes"/>
- <zipfileset src="${common.basedir}/lib/build/cglib-2.2.1-snapshot.jar"/>
- <zipfileset src="${common.basedir}/lib/build/asm-3.1.jar"/>
- <rule pattern="net.sf.cglib.**" result="com.google.inject.internal.cglib.@1"/>
- <rule pattern="org.objectweb.asm.**" result="com.google.inject.internal.asm.@1"/>
- <keep pattern="com.google.inject.**"/>
- </jarjar>
+ <jar destfile="${build.dir}/${ant.project.name}.jar" basedir="${build.dir}/classes" />
</target>
</project>

@ -1,55 +0,0 @@
diff --git a/guice-3.0-src/build.xml b/guice-3.0-src/build.xml
index a66a186..da1dd76 100644
--- a/guice-3.0-src/build.xml
+++ b/guice-3.0-src/build.xml
@@ -10,11 +10,7 @@
</path>
- <target name="jar" depends="jar.withdeps, manifest" description="Build jar.">
- <jar jarfile="${build.dir}/dist/guice-${version}.jar"
- manifest="${build.dir}/META-INF/MANIFEST.MF">
- <zipfileset src="${build.dir}/${ant.project.name}-with-deps.jar"/>
- </jar>
+ <target name="jar" depends="jar.withdeps" description="Build jar.">
</target>
<target name="dist" depends="distjars, javadoc"
@@ -166,10 +162,7 @@
<target name="javadoc">
<javadoc packagenames="com.google.*"
destdir="build/docs"
- docletpath="lib/build/doclava.jar"
- bootclasspath="${java.home}/lib/rt.jar"
- maxmemory="512M"
- classpath="lib/javax.inject.jar${path.separator}lib/aopalliance.jar">
+ maxmemory="512M">
<fileset dir="${src.dir}" defaultexcludes="yes">
<include name="com/google/**"/>
<exclude name="com/google/inject/internal/**"/>
@@ -183,25 +176,7 @@
<fileset dir="${multibindings.src.dir}"/>
<fileset dir="${persist.src.dir}"/>
<fileset dir="${grapher.src.dir}"/>
- <!-- TODO: this breaks Doclava for some reason
- <fileset dir="${struts2.src.dir}"/> -->
-
- <doclet name="com.google.doclava.Doclava">
- <param name="-hdf"/> <param name="project.name"/> <param name="Guice"/>
- <param name="-since"/> <param name="lib/build/guice-1.0.xml"/> <param name="Guice_1.0" />
- <param name="-since"/> <param name="lib/build/guice-2.0.xml"/> <param name="Guice_2.0" />
- <param name="-apiversion" value="Guice_${new.api}"/>
- <param name="-assetsdir" value="javadoc/assets"/>
- <param name="-apixml" value="build/docs/guice-${new.api}.xml"/>
- <!-- TODO: fix doclava federation
- http://aopalliance.sourceforge.net/doc
- http://www.springframework.org/docs/api/
- <param name="-federate"/><param name="JDK"/><param name="http://download.oracle.com/javase/6/docs/api/index.html?"/>
- <param name="-federationxml"/><param name="JDK"/><param name="http://doclava.googlecode.com/svn/static/api/openjdk-6.xml"/>
- -->
- </doclet>
</javadoc>
- <move todir="build/docs/javadoc"><fileset dir="build/docs/reference"/></move>
</target>
<target name="no_aop"

@ -1,26 +0,0 @@
diff --git a/guice-3.0-src/common.xml b/guice-3.0-src/common.xml
index a318ab3..62cadce 100644
--- a/guice-3.0-src/common.xml
+++ b/guice-3.0-src/common.xml
@@ -137,20 +137,6 @@
<target name="jar.withdeps" depends="compile"
description="Build jar with dependencies embedded.">
<mkdir dir="${build.dir}/dist"/>
- <dirname property="common.basedir" file="${ant.file.common}"/>
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask"
- classpath="${common.basedir}/lib/build/jarjar-snapshot.jar"/>
- <jarjar jarfile="${build.dir}/${ant.project.name}-with-deps.jar">
- <fileset dir="${build.dir}/classes"/>
- <zipfileset src="${common.basedir}/lib/build/cglib-2.2.1-snapshot.jar"/>
- <zipfileset src="${common.basedir}/lib/build/asm-3.1.jar"/>
- <rule pattern="net.sf.cglib.*" result="com.google.inject.internal.cglib.$@1"/>
- <rule pattern="net.sf.cglib.**.*" result="com.google.inject.internal.cglib.@1.$@2"/>
- <rule pattern="org.objectweb.asm.*" result="com.google.inject.internal.asm.$@1"/>
- <rule pattern="org.objectweb.asm.**.*" result="com.google.inject.internal.asm.@1.$@2"/>
- <rule pattern="com.google.inject.internal.util.*" result="com.google.inject.internal.util.$@1"/>
- <rule pattern="com.google.inject.internal.util.**.*" result="com.google.inject.internal.util.@1.$@2"/>
- <keep pattern="com.google.inject.**"/>
- </jarjar>
+ <jar destfile="${build.dir}/${ant.project.name}.jar" basedir="${build.dir}/classes" />
</target>
</project>

@ -1,51 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Guice is a lightweight dependency injection framework for Java 5 and above"
HOMEPAGE="https://code.google.com/p/google-guice/"
SRC_URI="https://google-guice.googlecode.com/files/${P}-src.zip"
LICENSE="Apache-2.0"
SLOT="2"
KEYWORDS="amd64 x86"
IUSE=""
COMMON_DEPEND="dev-java/aopalliance:1
dev-java/asm:3
dev-java/cglib:3"
RDEPEND="|| ( virtual/jre:1.6 virtual/jre:1.7 )
${COMMON_DEPEND}"
DEPEND="|| ( virtual/jdk:1.6 virtual/jdk:1.7 )
${COMMON_DEPEND}"
S="${WORKDIR}/${P}-src/"
RESTRICT="test"
JAVA_PKG_BSFIX_NAME="build.xml common.xml servlet/build.xml"
JAVA_ANT_CLASSPATH_TAGS="${JAVA_ANT_CLASSPATH_TAGS} javadoc"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="aopalliance-1,asm-3,cglib-3"
java_prepare() {
find . -name '*.jar' -delete || die
find . -name '*.class' -delete || die
epatch "${FILESDIR}"/${PV}-common.xml.patch
epatch "${FILESDIR}"/${PV}-build.xml.patch
}
src_install() {
java-pkg_dojar build/${PN}.jar
use doc && java-pkg_dojavadoc javadoc/
use source && java-pkg_dosrc src/com
}

@ -14,7 +14,7 @@ SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="4"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""

@ -24,7 +24,7 @@ done
LICENSE="GPL-2-with-linking-exception"
SLOT="8"
KEYWORDS="-* ~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="-* ~amd64 ~arm ppc64 ~x86"
IUSE="+alsa cjk +cups doc examples +gtk headless-awt nsplugin pulseaudio selinux source +webstart"
REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )"

@ -13,7 +13,7 @@ SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.xz"
LICENSE="GPL-2-with-linking-exception"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc64 x86"
KEYWORDS="amd64 ~arm ppc64 x86"
IUSE="+doc test"

@ -13,7 +13,7 @@ HOMEPAGE="http://icedtea.classpath.org"
SRC_URI="http://icedtea.classpath.org/download/source/${P}.tar.gz"
LICENSE="GPL-2 GPL-2-with-linking-exception LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
KEYWORDS="~amd64 ~arm ppc64 ~x86"
IUSE="doc javascript nsplugin tagsoup test"
RESTRICT="test"

@ -1,6 +1,2 @@
DIST icu4j-4_0_1_1-docs.jar 1553089 SHA256 44319c329b628c5e14e74eeb285ddb876c34e3529b06c69abd9a54799490cd8e SHA512 15bf1cdb7c040403dcf0b7ebcf5355a192ce1e8841a13392badcce1d56c06a0e41bc8213f071a5530c892e2cc9e975cd9cbde6fa3f61e395cc437966e20733b8 WHIRLPOOL 0bd48dd1dc953f571da012b820b485f841ff3c5939b26e17cc92e872d94a7c122efce58cb0a6ac5479617687a8aa0f525f1650998f9e304d30274073d7c8f9fd
DIST icu4j-4_0_1_1-src.jar 15138020 SHA256 9d5484ccb3ad6849b6d3986ee2cf146984cbbb8adb2349dc79f6a4e006bc417e SHA512 4eb02b50df0c7a008f6291c636cfc887b61ce503e0bd994d8cd5f3ec955b287e16ea640de98398414e000af8a859a4b087aa711cdaa53c8c17c7fdb760a4ca4e WHIRLPOOL 032412b7a7cb533e1f037c32cfa74db65272ca9c735d412c0f5f4abd1c41d5c4a1db26d0d8339693ff7229a052fd3cf1b8504cc250c17a3a45e7f4d58bb7f279
DIST icu4j-4_4_2-docs.jar 1783887 SHA256 aa364c9e353e05e428112b05f9a9fda8e1c7d2b3404862e6df08a73f7f8b187a SHA512 212d042ca27e442525a1dcd4f69a6668535d57e49a1302b97e32bfc7ed216146eedff52633770bb01f32f560fb6d7c00774b34385a7d87cab9f0b68188a37203 WHIRLPOOL 804ac774e6e9e4b06f1d06795ea70ecb68ee23ed7689d4b603682ca1271c2d18d258faf3c23e99ff8269275774b4ba0e1b605b2b7288b51e9ae5445d25c32d7c
DIST icu4j-4_4_2-src.jar 14844670 SHA256 c29fbf1464ad7fb88e8651953144884eea37adf36914e38a518774a99cf33b0d SHA512 90949f007e073c0e78510c66c2a1644985367921550f61976af61089ffc8a08e34a51c36c21f241f3073c7b3c5329d1ba7234043790db8dd8eef7eaf3edff79d WHIRLPOOL 82727e4e95ef662f9c6689bf5cd1d5c16f4238b682d2d88689ee561aae9c8ecc846f2bbb0adcfd125c7353b9ba160abc0c76d0d11af78047a59fd4504a39a720
DIST icu4j-54_1_1.tgz 23457651 SHA256 1919a355742172dbd18021dfb2fd008f5c73168d2d5a39d705721614029d6704 SHA512 c41f7f9fb0819767da48ac21c4883a628da8397e0ad5b0d75e51d9185b5511608c9a635933c4ae2e0c8911b2cdecf47bc661050935bbae2ba58abfb5ad04dadf WHIRLPOOL d7c35283547c598694ead10620df1511cbe4602415ca8ee2d32ee3b291d28015db4fcd5fb3f426bf524e449099562545c3bdab81209af244890b53ea091f9f1f
DIST icu4j-55_1.tgz 23617640 SHA256 da4c91e6b89bef3da22be475e63916c4f4f304b9689d5fdc5b40a52106efc4c3 SHA512 706daed61d9d3722a0813d175fa66b24570abba492c32704d4df924861e5d2592a4a5ff40fdec2bd3fb662c3679dbc9addd580966c3cc69470d14e3fce27a054 WHIRLPOOL b6cace3616d6d0b1c185a744cc1f0a3728682557d51f4b6658f174195c1eb369a2a005e2fd9eb4b421de761e47c2424368359a1948594da7b2f8cd6e1b0d2f33

@ -1,21 +0,0 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-Vendor: %vendorName
Bundle-SymbolicName: com.ibm.icu; singleton:=true
Bundle-Version: determinedByPortage
Bundle-Localization: plugin
Export-Package: com.ibm.icu.lang;version="4.0",
com.ibm.icu.math;version="4.0",
com.ibm.icu.text;version="4.0",
com.ibm.icu.util;version="4.0",
com.ibm.icu.impl;x-internal:=true,
com.ibm.icu.impl.data;x-internal:=true,
com.ibm.icu.impl.data.icudt40b;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.brkitr;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.coll;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.rbnf;x-internal:=true,
com.ibm.icu.impl.data.icudt40b.translit;x-internal:=true
Eclipse-LazyStart: true
Bundle-ClassPath: .
Eclipse-ExtensibleAPI: true

@ -1,12 +0,0 @@
diff --git a/build.xml b/build.xml
index 6f82ec5..9e763ae 100644
--- a/build.xml
+++ b/build.xml
@@ -27,6 +27,7 @@
<or>
<contains string="${java.version}" substring="1.6."/>
<contains string="${java.version}" substring="1.7."/>
+ <contains string="${java.version}" substring="1.8."/>
</or>
</condition>
<condition property="is.java5">

@ -1,77 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=2
# We currently download the Javadoc documentation.
# It could optionally be built using the Ant build file.
# testdata.jar and icudata.jar do not contain *.class files but *.res files
# These *.res data files are needed to built the final jar
# They do not need to be installed however as they will already be present in icu4j.jar
JAVA_PKG_IUSE="doc test source"
inherit java-pkg-2 java-ant-2 java-osgi
DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
MY_PV=${PV//./_}
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
HOMEPAGE="http://www.icu-project.org/"
LICENSE="icu"
SLOT="4"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
IUSE=""
RDEPEND=">=virtual/jre-1.4"
# build.xml does file version detection that fails for 1.7
# https://bugs.gentoo.org/show_bug.cgi?id=213555
DEPEND="test? ( =virtual/jdk-1.6* )
!test? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) )
app-arch/unzip"
RESTRICT="ia64? ( test )
x86-fbsd? ( test )"
JAVA_PKG_WANT_SOURCE="1.4"
JAVA_PKG_WANT_TARGET="1.4"
S="${WORKDIR}"
src_unpack() {
jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
if use doc; then
mkdir docs; cd docs
jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
fi
}
src_compile() {
# Classes extending CharsetICU not implementing Comparable
# Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
# Restricting to javac (didn't even care to try jikes) is better
# than forcing 1.4
java-pkg_force-compiler javac
eant jar || die "Compile failed"
}
src_install() {
java-osgi_newjar-fromfile "${PN}.jar" "${FILESDIR}/icu4j-4.0-manifest" \
"International Components for Unicode for Java (ICU4J)"
java-pkg_dojar "${PN}-charsets.jar"
use doc && dohtml -r readme.html docs/*
use source && java-pkg_dosrc src/*
}
# Tests only work with JDK-1.6, severe out of memory problems appear with 1.5
src_test() {
# bug #299082 - these tests fail with icedtea, assume too much about double<>string conversions
sed -i '/DiagBigDecimal/d' src/com/ibm/icu/dev/test/TestAll.java || die
eant check
}

@ -1,78 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
# We currently download the Javadoc documentation.
# It could optionally be built using the Ant build file.
# testdata.jar and icudata.jar do not contain *.class files but *.res files
# These *.res data files are needed to built the final jar
# They do not need to be installed however as they will already be present in icu4j.jar
JAVA_PKG_IUSE="doc test source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="A set of Java libraries providing Unicode and Globalization support"
MY_PV=${PV//./_}
SRC_URI="http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-src.jar
doc? ( http://download.icu-project.org/files/${PN}/${PV}/${PN}-${MY_PV}-docs.jar )"
HOMEPAGE="http://www.icu-project.org/"
LICENSE="icu"
SLOT="4.4"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
IUSE=""
# Tests only work with JDK-1.6, severe out of memory problems appear with 1.5
DEPEND="test? ( =virtual/jdk-1.6* )
!test? ( >=virtual/jdk-1.5 )"
RDEPEND=">=virtual/jre-1.5"
RESTRICT="ia64? ( test )"
JAVA_PKG_WANT_SOURCE="1.5"
JAVA_PKG_WANT_TARGET="1.5"
JAVA_PKG_BSFIX_NAME="build.xml common-targets.xml"
S="${WORKDIR}"
src_unpack() {
jar -xf "${DISTDIR}/${PN}-${MY_PV}-src.jar" || die "Failed to unpack"
if use doc; then
mkdir docs; cd docs
jar -xf "${DISTDIR}/${PN}-${MY_PV}-docs.jar" || die "Failed to unpack docs"
fi
}
src_prepare() {
epatch "${FILESDIR}"/icu4j-4.4.2-add-jdk8-to-check.patch
}
src_compile() {
# Classes extending CharsetICU not implementing Comparable
# Breaks with ecj on jdk 1.5+, javac doesn't mind - Sun's hack?
# Restricting to javac (didn't even care to try jikes) is better
# than forcing 1.4
java-pkg_force-compiler javac
eant jar || die "Compile failed"
}
src_install() {
java-pkg_dojar "${PN}.jar"
java-pkg_dojar "${PN}-charsets.jar"
java-pkg_dojar "${PN}-localespi.jar"
dohtml readme.html || die
use doc && java-pkg_dojavadoc docs
use source && java-pkg_dosrc main/classes/*/src/com
}
src_test() {
# bug #299082 - these tests fail with icedtea, assume too much about double<>string conversions
sed -i '/DiagBigDecimal/d' main/tests/core/src/com/ibm/icu/dev/test/TestAllCore.java || die
eant check
}

@ -1,2 +1 @@
DIST iso-relax-20050331-gentoo.tar.bz2 696665 SHA256 3e3716ccc553c1a756503a56bcf92a64f6e0df3df89e6fa951a990d2c4601d70 SHA512 c327b461785ce647f9913afa6f5b77c41440e806d566884058be76e14a118d14fa305a1bc0157ee150b199b573e75af954311dc79eb8535599544f094526320a WHIRLPOOL e158e5a28d0f734b4a59923615449663b0dfc5b6b2a3ecbbff3ed37ac051fa1e6434d131195bcb6a87b5bdc36435f941bde29922be2ec92bea5c5404c8000e5e
DIST iso-relax-20050331.tar.bz2 696665 SHA256 3e3716ccc553c1a756503a56bcf92a64f6e0df3df89e6fa951a990d2c4601d70 SHA512 c327b461785ce647f9913afa6f5b77c41440e806d566884058be76e14a118d14fa305a1bc0157ee150b199b573e75af954311dc79eb8535599544f094526320a WHIRLPOOL e158e5a28d0f734b4a59923615449663b0dfc5b6b2a3ecbbff3ed37ac051fa1e6434d131195bcb6a87b5bdc36435f941bde29922be2ec92bea5c5404c8000e5e

@ -1,77 +0,0 @@
<?xml version="1.0"?>
<project name="ISORELAX" basedir="." default="release">
<!-- create a distribution package -->
<target name="release">
<tstamp />
<!-- compile files -->
<mkdir dir="temp" />
<javac srcdir="src" debug="true"
destdir="temp"
classpath="lib/verifier.jar">
<include name="**/*.java" />
</javac>
<!-- create a time stamp file -->
<echo file="temp/version.properties">version=${DSTAMP}</echo>
<!-- creates src zip -->
<delete file="src.zip"/>
<zip zipfile="src.zip"
compress="true">
<fileset dir="src">
<patternset>
<exclude name="*.vjp"/>
<exclude name="codebase.dat"/>
<exclude name="*.SRG"/>
</patternset>
</fileset>
</zip>
<!-- creates binary jar -->
<delete file="isorelax.jar"/>
<jar jarfile="isorelax.jar"
compress="true">
<fileset dir="temp" />
<fileset dir="" includes="COPYING.txt"/>
<!-- resource files -->
<fileset dir="src">
<patternset>
<include name="**/*.properties" />
<include name="**/*.rxm"/>
<include name="**/*.dtd"/>
<include name="**/*.rng"/>
<include name="**/*.mod"/>
</patternset>
</fileset>
</jar>
<delete dir="temp" />
<zip zipfile="isorelax.${DSTAMP}.zip" compress="true">
<fileset dir="." includes="isorelax.jar src.zip COPYING.txt"/>
</zip>
</target>
<!-- ant task test -->
<target name="ant-task-test">
<taskdef name="jarv" classname="org.iso_relax.ant.JARVTask">
<classpath path="isorelax.jar"/>
<classpath path="lib/verifier.jar"/>
<classpath path="lib/verifier.manifest.jar"/>
</taskdef>
<jarv
schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore"
schema="test/relax001.rlx"
file="test/relax001.v00.xml" />
<jarv
schemaLanguage="http://www.xml.gr.jp/xmlns/relaxCore"
schema="test/relax001.rlx">
<fileset dir="test" includes="*.xml"/>
</jarv>
</target>
</project>

@ -1,40 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
JAVA_PKG_IUSE="source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Interfaces useful for applications which support RELAX Core"
HOMEPAGE="http://iso-relax.sourceforge.net"
SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2"
# To get the build system:
# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax login
# mkdir iso-relax-20050331
# cd iso-relax-20050331
# cvs -d:pserver:anonymous@iso-relax.cvs.sourceforge.net:/cvsroot/iso-relax -frelease-20050331 co build.xml lib
# rm -r $(find -name CVS)
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.6
dev-java/ant-core:0"
RDEPEND=">=virtual/jre-1.6
dev-java/ant-core:0"
EANT_BUILD_TARGET="release"
src_prepare() {
java-pkg_jarfrom --into lib ant-core ant.jar
}
src_install() {
java-pkg_dojar isorelax.jar
use source && java-pkg_dosrc src/*
}

@ -14,7 +14,7 @@ SRC_URI="mirror://gentoo/${P}-gentoo.tar.bz2 -> ${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RESTRICT="test"

@ -16,7 +16,7 @@ HOMEPAGE="http://pdfbox.apache.org/"
SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_P}-src.zip"
LICENSE="Apache-2.0"
SLOT="1.8"
KEYWORDS="~amd64 ~ppc64 ~x86"
KEYWORDS="amd64 ppc64 x86"
IUSE="test"
RDEPEND=">=virtual/jre-1.6"

@ -1,2 +1 @@
DIST jtds-1.2.5-src.zip 3953955 SHA256 d86c7244826543d2f2f9cdc1d50888003596c1ec18f30808b21627e8889e9114 SHA512 d2b496a7aac4e4c9c0e164c1514d2d21392024903e1376b13fa6a3396d045a1bfc6a085b2beb1202703a6b6e59e8b534bc82508fcb58c71a25b6a13a3d051eda WHIRLPOOL b5e88e6cdb00f797de1d824a7581d693111d4d746ce6d5a709934ce00befbed4fb4c3b248448715bdf27691c33d8f1cca8ca270e942eb27907cd2567e919084d
DIST jtds-1.3.1-src.zip 3377625 SHA256 612dabd65542690f3b49b69cae6985192914594584f3eaa76c7523dc584b2d84 SHA512 1744219a52c7167449388d774fd5e834ef551f60548569c4c54e6caefaade1d932a3879a023869d8d9ddb29ce4ab52b6d08bc4c364d5f372ff5fa96bed6d9864 WHIRLPOOL 54e2ff6c0e208cad2bb44964b18eacca10cfa33bfd246f8eadb053e91c0cc52e57c21b9fde3528371bc628a946eff81e85cbaa09c1a3799eaa429b81cbd23546

@ -1,29 +0,0 @@
--- build.xml.orig 2009-11-07 18:55:41.000000000 +0100
+++ build.xml 2009-11-07 18:58:17.000000000 +0100
@@ -75,13 +75,13 @@
</junit>
</target>
- <target name="dist" depends="clean,compile,javadoc">
+ <target name="jar" depends="compile">
<mkdir dir="${dist}"/>
<!-- Runtime jar -->
<jar basedir="${build}/classes"
excludes="net/sourceforge/jtds/test/*.class"
includes="**/*"
- jarfile="${build}/${ant.project.name}-${version}.jar">
+ jarfile="${build}/${ant.project.name}.jar">
<manifest>
<attribute name="Implementation-Title" value="jTDS JDBC Driver"/>
<attribute name="Implementation-Version" value="${version}"/>
@@ -92,6 +92,10 @@
<attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
</manifest>
</jar>
+
+ </target>
+
+ <target name="dist" depends="jar">
<!-- Source package -->
<copy todir="${dist}/tmp/doc">

@ -1,52 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver"
SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
HOMEPAGE="http://jtds.sourceforge.net"
LICENSE="LGPL-2.1"
SLOT="1.2"
KEYWORDS="amd64 x86"
IUSE=""
# Would need a running server
RESTRICT="test"
COMMON_DEPEND="
dev-java/jcifs:1.1"
RDEPEND="${COMMON_DEPEND}
virtual/jre:1.6"
DEPEND="${COMMON_DEPEND}
virtual/jdk:1.6
app-arch/unzip"
S=${WORKDIR}
java_prepare() {
find -name '*.jar' -exec rm -v {} + || die
epatch "${FILESDIR}"/${P}-build.xml.patch
rm -vr ./src/test/net/sourceforge/jtds/test || die
}
JAVA_ANT_REWRITE_CLASSPATH="yes"
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
EANT_GENTOO_CLASSPATH="jcifs-1.1"
src_install() {
java-pkg_dojar build/${PN}.jar
dodoc CHANGELOG README*
use doc && java-pkg_dojavadoc build/doc
use source && java-pkg_dosrc "${S}"/src/main/*
}

@ -87,7 +87,7 @@ SRC_URI="${SOURCE_URL}
http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}"

@ -1,371 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
inherit eutils java-pkg-2 java-ant-2
DESCRIPTION="Netbeans IDE Cluster"
HOMEPAGE="http://netbeans.org/projects/ide"
SLOT="8.0"
SOURCE_URL="http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905-src.zip"
SRC_URI="${SOURCE_URL}
https://dev.gentoo.org/~fordfrog/distfiles/netbeans-8.0.2-build.xml.patch.bz2
http://hg.netbeans.org/binaries/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar
http://hg.netbeans.org/binaries/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar
http://hg.netbeans.org/binaries/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar
http://hg.netbeans.org/binaries/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar
http://hg.netbeans.org/binaries/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar
http://hg.netbeans.org/binaries/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip
http://hg.netbeans.org/binaries/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip
http://hg.netbeans.org/binaries/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip
http://hg.netbeans.org/binaries/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip
http://hg.netbeans.org/binaries/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar
http://hg.netbeans.org/binaries/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar
http://hg.netbeans.org/binaries/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip
http://hg.netbeans.org/binaries/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar
http://hg.netbeans.org/binaries/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip
http://hg.netbeans.org/binaries/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar
http://hg.netbeans.org/binaries/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar
http://hg.netbeans.org/binaries/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar
http://hg.netbeans.org/binaries/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar
http://hg.netbeans.org/binaries/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip
http://hg.netbeans.org/binaries/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar
http://hg.netbeans.org/binaries/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip
http://hg.netbeans.org/binaries/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar
http://hg.netbeans.org/binaries/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar
http://hg.netbeans.org/binaries/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar
http://hg.netbeans.org/binaries/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar
http://hg.netbeans.org/binaries/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar
http://hg.netbeans.org/binaries/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip
http://hg.netbeans.org/binaries/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip
http://hg.netbeans.org/binaries/A723CD3E76C92CFE563B602035532C1C9D3D7192-js-reststubs.zip
http://hg.netbeans.org/binaries/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar
http://hg.netbeans.org/binaries/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar
http://hg.netbeans.org/binaries/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar
http://hg.netbeans.org/binaries/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar
http://hg.netbeans.org/binaries/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar
http://hg.netbeans.org/binaries/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar
http://hg.netbeans.org/binaries/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar
http://hg.netbeans.org/binaries/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar
http://hg.netbeans.org/binaries/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar
http://hg.netbeans.org/binaries/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar
http://hg.netbeans.org/binaries/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar
http://hg.netbeans.org/binaries/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar
http://hg.netbeans.org/binaries/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar
http://hg.netbeans.org/binaries/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar
http://hg.netbeans.org/binaries/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar
http://hg.netbeans.org/binaries/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar
http://hg.netbeans.org/binaries/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar
http://hg.netbeans.org/binaries/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar
http://hg.netbeans.org/binaries/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar
http://hg.netbeans.org/binaries/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar
http://hg.netbeans.org/binaries/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar
http://hg.netbeans.org/binaries/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar
http://hg.netbeans.org/binaries/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar
http://hg.netbeans.org/binaries/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar
http://hg.netbeans.org/binaries/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar
http://hg.netbeans.org/binaries/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar
http://hg.netbeans.org/binaries/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar
http://hg.netbeans.org/binaries/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar
http://hg.netbeans.org/binaries/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar
http://hg.netbeans.org/binaries/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar
http://hg.netbeans.org/binaries/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar
http://hg.netbeans.org/binaries/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar
http://hg.netbeans.org/binaries/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar
http://hg.netbeans.org/binaries/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar
http://hg.netbeans.org/binaries/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar
http://hg.netbeans.org/binaries/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar
http://hg.netbeans.org/binaries/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar
http://hg.netbeans.org/binaries/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar
http://hg.netbeans.org/binaries/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar
http://hg.netbeans.org/binaries/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar
http://hg.netbeans.org/binaries/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar
http://hg.netbeans.org/binaries/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar
http://hg.netbeans.org/binaries/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar
http://hg.netbeans.org/binaries/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar
http://hg.netbeans.org/binaries/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar
http://hg.netbeans.org/binaries/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar"
LICENSE="|| ( CDDL GPL-2-with-linking-exception )"
KEYWORDS="amd64 x86"
IUSE=""
S="${WORKDIR}"
CDEPEND="~dev-java/netbeans-harness-${PV}
~dev-java/netbeans-platform-${PV}
dev-java/commons-httpclient:3
dev-java/commons-lang:2.1
dev-java/commons-logging:0
dev-java/icu4j:4.4
<=dev-java/iso-relax-20050331-r3:0
dev-java/jdbc-mysql:0
dev-java/jdbc-postgresql:0
>=dev-java/json-simple-1.1:0
dev-java/jsr173:0
dev-java/jvyamlb:0
dev-java/log4j:0
dev-java/lucene:3.5
dev-java/rhino:1.6
dev-java/saxon:9
dev-java/smack:2.2
dev-java/sun-jaf:0
dev-java/tomcat-servlet-api:2.2
dev-java/ws-commons-util:0
dev-java/xerces:2"
# dev-vcs/subversion>=1.8.4:0[java] missing from the tree
# app-text/jing:0 our version is probably too old
# dev-java/commons-io:1 fails with "Missing manifest tag OpenIDE-Module"
# dev-java/freemarker:2.3
# dev-java/ini4j:0 our version is too old
# dev-java/jaxb:2 upstream version contains more stuff so websvccommon does not compile with ours
# dev-java/trilead-ssh2:0 in overlay
DEPEND="virtual/jdk:1.7
app-arch/unzip
dev-java/commons-codec:0
>=dev-java/jsch-0.1.46:0
dev-java/jzlib:0
${CDEPEND}
dev-java/javacc:0
dev-java/javahelp:0"
RDEPEND=">=virtual/jdk-1.7
${CDEPEND}"
INSTALL_DIR="/usr/share/${PN}-${SLOT}"
EANT_BUILD_XML="nbbuild/build.xml"
EANT_BUILD_TARGET="rebuild-cluster"
EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.ide -Dext.binaries.downloaded=true -Djava.awt.headless=true"
EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7"
JAVA_PKG_BSFIX="off"
JAVA_PKG_WANT_SOURCE="1.7"
JAVA_PKG_WANT_TARGET="1.7"
src_unpack() {
unpack $(basename ${SOURCE_URL})
einfo "Deleting bundled jars..."
find -name "*.jar" -type f -delete
unpack netbeans-8.0.2-build.xml.patch.bz2
pushd "${S}" >/dev/null || die
ln -s "${DISTDIR}"/4E74C6BE42FE89871A878C7C4D6158F21A6D8010-antlr-runtime-3.4.jar libs.antlr3.runtime/external/antlr-runtime-3.4.jar || die
ln -s "${DISTDIR}"/98308890597ACB64047F7E896638E0D98753AE82-asm-all-4.0.jar libs.nashorn/external/asm-all-4.0.jar || die
ln -s "${DISTDIR}"/886FAF4B85054DD6E50D9B3438542F432B5F9251-bytelist-0.1.jar libs.bytelist/external/bytelist-0.1.jar || die
ln -s "${DISTDIR}"/A8762D07E76CFDE2395257A5DA47BA7C1DBD3DCE-commons-io-1.4.jar o.apache.commons.io/external/commons-io-1.4.jar || die
ln -s "${DISTDIR}"/CD0D5510908225F76C5FE5A3F1DF4FA44866F81E-commons-net-3.3.jar libs.commons_net/external/commons-net-3.3.jar || die
ln -s "${DISTDIR}"/901D8F815922C435D985DA3814D20E34CC7622CB-css21-spec.zip css.editor/external/css21-spec.zip || die
ln -s "${DISTDIR}"/53AFD6CAA1B476204557B0626E7D673FBD5D245C-css3-spec.zip css.editor/external/css3-spec.zip || die
ln -s "${DISTDIR}"/C9A6304FAA121C97CB2458B93D30B1FD6F0F7691-derbysampledb.zip derby/external/derbysampledb.zip || die
ln -s "${DISTDIR}"/C40DFDACDF892D1BA14B540B32C11B6F34659931-exechlp-1.0.zip dlight.nativeexecution/external/exechlp-1.0.zip || die
ln -s "${DISTDIR}"/5EEAAC41164FEBCB79C73BEBD678A7B6C10C3E80-freemarker-2.3.19.jar libs.freemarker/external/freemarker-2.3.19.jar || die
ln -s "${DISTDIR}"/75C30C488AD2A18A82C7FE3829F4A33FC7841643-glassfish-tooling-sdk-0.3-b054-246345.jar libs.glassfish.sdk/external/glassfish-tooling-sdk-0.3-b054-246345.jar || die
ln -s "${DISTDIR}"/23123BB29025254556B6E573023FCDF0F6715A66-html-4.01.zip html.editor/external/html-4.01.zip || die
ln -s "${DISTDIR}"/F4A1696661E6233F8C27EE323CAEF9CB052666F1-html5-datatypes.jar html.validation/external/html5-datatypes.jar || die
ln -s "${DISTDIR}"/4388C34B9F085A42FBEA06C5B00FDF0A251171EC-html5doc.zip html.parser/external/html5doc.zip || die
ln -s "${DISTDIR}"/D528B44AE7593D2275927396BF930B28078C5220-htmlparser-1.2.1.jar html.parser/external/htmlparser-1.2.1.jar || die
ln -s "${DISTDIR}"/8E737D82ECAC9BA6100A9BBA71E92A381B75EFDC-ini4j-0.5.1.jar libs.ini4j/external/ini4j-0.5.1.jar || die
ln -s "${DISTDIR}"/A2862B7795EF0E0F0716BEC84528FA3B629E479C-io-xml-util.jar html.validation/external/io-xml-util.jar || die
ln -s "${DISTDIR}"/0DCC973606CBD9737541AA5F3E76DED6E3F4D0D0-iri.jar html.validation/external/iri.jar || die
ln -s "${DISTDIR}"/F90E3DA5259DB07F36E6987EFDED647A5231DE76-ispell-enwl-3.1.20.zip spellchecker.dictionary_en/external/ispell-enwl-3.1.20.zip || die
ln -s "${DISTDIR}"/71F434378F822B09A57174AF6C75D37408687C57-jaxb-api.jar xml.jaxb.api/external/jaxb-api.jar || die
ln -s "${DISTDIR}"/27FAE927B5B9AE53A5B0ED825575DD8217CE7042-jaxb-api-doc.zip libs.jaxb/external/jaxb-api-doc.zip || die
ln -s "${DISTDIR}"/387BE740EAEF52B3F6E6EE2F140757E7632584CE-jaxb-impl.jar libs.jaxb/external/jaxb-impl.jar || die
ln -s "${DISTDIR}"/C3787DAB0DDFBD9E98086ED2F219859B0CB77EF7-jaxb-xjc.jar libs.jaxb/external/jaxb-xjc.jar || die
ln -s "${DISTDIR}"/F4DB465F207907A2406B0BF5C8FFEE22A5C3E4E3-jaxb1-impl.jar libs.jaxb/external/jaxb1-impl.jar || die
ln -s "${DISTDIR}"/5E40984A55F6FFF704F05D511A119CA5B456DDB1-jfxrt.jar libs.javafx/external/jfxrt.jar || die
ln -s "${DISTDIR}"/483A61B688B13C62BB201A683D98A6688B5373B6-jing.jar html.validation/external/jing.jar || die
ln -s "${DISTDIR}"/DA6CE3C2EB334DB61EFA99CD66134619867368FA-js-corestubs.zip javascript2.editor/external/js-corestubs.zip || die
ln -s "${DISTDIR}"/997BF4A93B8A99E37AB51C9016D1D18CF5FF4B60-js-domstubs.zip javascript2.editor/external/js-domstubs.zip || die
ln -s "${DISTDIR}"/A723CD3E76C92CFE563B602035532C1C9D3D7192-js-reststubs.zip javascript2.editor/external/js-reststubs.zip || die
ln -s "${DISTDIR}"/036FA0032B44AD06A1F13504D97B3685B1C88961-jsch.agentproxy.core-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.core-0.0.7.jar || die
ln -s "${DISTDIR}"/9F31964104D71855DF6B73F0C761CDEB3FA3C49C-jsch.agentproxy.sshagent-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.sshagent-0.0.7.jar || die
ln -s "${DISTDIR}"/3FA59A536F3DC2197826DC7F224C0823C1534203-jsch.agentproxy.pageant-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.pageant-0.0.7.jar || die
ln -s "${DISTDIR}"/F759114E5A9F9AE907EADB59DBF65189AA399B45-jsch.agentproxy.usocket-jna-0.0.7.jar libs.jsch.agentproxy/external/jsch.agentproxy.usocket-jna-0.0.7.jar || die
ln -s "${DISTDIR}"/2E07375E5CA3A452472F0E87FB33F243F7A5C08C-libpam4j-1.1.jar extexecution.impl/external/libpam4j-1.1.jar || die
ln -s "${DISTDIR}"/76E901A1F432323E7E90FC86FDB2534A28952293-nashorn-02f810c26ff9-patched.jar libs.nashorn/external/nashorn-02f810c26ff9-patched.jar || die
ln -s "${DISTDIR}"/010FC8BD229B7F68C8C4D5BDE399475373096601-non-schema.jar html.validation/external/non-schema.jar || die
ln -s "${DISTDIR}"/7052E115041D04410A4519A61307502FB7C138E6-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar o.eclipse.core.contenttype/external/org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar || die
ln -s "${DISTDIR}"/B19A4D998C76FE7A30830C96B9E3A47682F320FC-org.eclipse.core.jobs-3.5.101.jar o.eclipse.core.jobs/external/org.eclipse.core.jobs-3.5.101.jar || die
ln -s "${DISTDIR}"/E64EF6A3FC5DB01AD95632B843706CCE56614C90-org.eclipse.core.net_1.2.100.I20110511-0800.jar o.eclipse.core.net/external/org.eclipse.core.net_1.2.100.I20110511-0800.jar || die
ln -s "${DISTDIR}"/6658C235056134F7E86295E751129508802D71F2-org.eclipse.core.runtime-3.7.0.jar o.eclipse.core.runtime/external/org.eclipse.core.runtime-3.7.0.jar || die
ln -s "${DISTDIR}"/0CA9B9DF8A8E4C6805C60A5761C470FCE8AE828F-org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar o.eclipse.core.runtime.compatibility.auth/external/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar || die
ln -s "${DISTDIR}"/9C74D245214DB08E7EB9BC07A951B41CFE3E3648-org.eclipse.equinox.app-1.3.100.jar o.eclipse.equinox.app/external/org.eclipse.equinox.app-1.3.100.jar || die
ln -s "${DISTDIR}"/78E5D0B8516B042495660DA36CE5114650F8F156-org.eclipse.equinox.common_3.6.0.v20110523.jar o.eclipse.equinox.common/external/org.eclipse.equinox.common_3.6.0.v20110523.jar || die
ln -s "${DISTDIR}"/FD94003A1BCE42008753522BFED68E5A84B92644-org.eclipse.equinox.preferences-3.4.2.jar o.eclipse.equinox.preferences/external/org.eclipse.equinox.preferences-3.4.2.jar || die
ln -s "${DISTDIR}"/54AE046B40C9095C2637F8D21664C5CD76E34485-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar o.eclipse.equinox.registry/external/org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar || die
ln -s "${DISTDIR}"/0FFB9B1D7CD992CE6C8AAEEC2F6F98DFBB1D2F91-org.eclipse.equinox.security-1.1.1.jar o.eclipse.equinox.security/external/org.eclipse.equinox.security-1.1.1.jar || die
ln -s "${DISTDIR}"/7FE73A21F4A078ABAAFACE4D2B03B5EB3D306F63-org.eclipse.jgit-3.4.1.201406201815-r.jar o.eclipse.jgit/external/org.eclipse.jgit-3.4.1.201406201815-r.jar || die
ln -s "${DISTDIR}"/49F1EFEBC8CECA5D514209BE18A048EB5707C0A7-org.eclipse.jgit.java7-3.4.1.201406201815-r.jar o.eclipse.jgit.java7/external/org.eclipse.jgit.java7-3.4.1.201406201815-r.jar || die
ln -s "${DISTDIR}"/A94F8F805202B28236FFBC03C1CA149129DAEA1C-org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar o.eclipse.mylyn.bugzilla.core/external/org.eclipse.mylyn.bugzilla.core_3.10.0.20131024-1218.jar || die
ln -s "${DISTDIR}"/19D64C17A692D2023E22B16AD515118DF6427790-org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar o.eclipse.mylyn.commons.core/external/org.eclipse.mylyn.commons.core_3.10.0.20130926-1710.jar || die
ln -s "${DISTDIR}"/A1BF01D1DD09274446738C3F83360314B8881CD5-org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar o.eclipse.mylyn.commons.net/external/org.eclipse.mylyn.commons.net_3.10.0.20131018-1210.jar || die
ln -s "${DISTDIR}"/136A7EB3BB9B2559C5F9184B438F108C959B3C03-org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar o.eclipse.mylyn.commons.repositories.core/external/org.eclipse.mylyn.commons.repositories.core_1.2.0.20130704-2116.jar || die
ln -s "${DISTDIR}"/531746EBE57071AB7F8CCC7ACB0E806F25893916-org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar o.eclipse.mylyn.commons.xmlrpc/external/org.eclipse.mylyn.commons.xmlrpc_3.10.0.20130704-2116.jar || die
ln -s "${DISTDIR}"/D3ED088A49DE9E5163457E9279181DD4185BFBE6-org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar o.eclipse.mylyn.tasks.core/external/org.eclipse.mylyn.tasks.core_3.10.0.20131010-2023.jar || die
ln -s "${DISTDIR}"/8D4278A9F47D17A104182E59CF06D682B3DE0B3E-org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.confluence.core/external/org.eclipse.mylyn.wikitext.confluence.core_1.9.0.20131007-2055.jar || die
ln -s "${DISTDIR}"/1FC011B8A350B70950B3F1D722D7F2890C6E76D8-org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.core/external/org.eclipse.mylyn.wikitext.core_1.9.0.20131007-2055.jar || die
ln -s "${DISTDIR}"/6E914CA3075C8FDF7652F04A02868CF32F2EDCE3-org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar o.eclipse.mylyn.wikitext.textile.core/external/org.eclipse.mylyn.wikitext.textile.core_1.9.0.20131007-2055.jar || die
ln -s "${DISTDIR}"/8A2F6232978E0330A5D36F19BA0686F96FB980B5-org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar libs.svnClientAdapter.svnkit/external/org.tmatesoft.svnkit_1.8.4.r10218_v20140302_1242.jar || die
ln -s "${DISTDIR}"/4F94E5B4F14B4571A1D8E37885A3037C91F7C02C-svnkit_1.7.8.r9538_v20130107_2001.jar libs.svnClientAdapter.svnkit/external/svnkit_1.7.8.r9538_v20130107_2001.jar || die
ln -s "${DISTDIR}"/820FD32B3FB7F885996B15474F220BDCCACD6D27-processtreekiller-1.0.2.jar extexecution.impl/external/processtreekiller-1.0.2.jar || die
ln -s "${DISTDIR}"/B0D0FCBAC68826D2AFA3C7C89FC4D57B95A000C3-resolver-1.2.jar o.apache.xml.resolver/external/resolver-1.2.jar || die
ln -s "${DISTDIR}"/EDE7FBABD4C96D34E48FDA0E8FECED24C98CEDCA-sqljet-1.1.10.jar libs.svnClientAdapter.svnkit/external/sqljet-1.1.10.jar || die
ln -s "${DISTDIR}"/D08E473A4D0510FB329D64E4CC4F2963D000699C-svnClientAdapter-javahl-1.10.3.jar libs.svnClientAdapter.javahl/external/svnClientAdapter-javahl-1.10.3.jar || die
ln -s "${DISTDIR}"/2CD487DCDE4C4FC38D1C9EBCD45418A1B5EF188D-svnClientAdapter-main-1.10.3.jar libs.svnClientAdapter/external/svnClientAdapter-main-1.10.3.jar || die
ln -s "${DISTDIR}"/5D37A7FE167A1D44731192748C79B2D7905D474F-svnClientAdapter-svnkit-1.10.3.jar libs.svnClientAdapter.svnkit/external/svnClientAdapter-svnkit-1.10.3.jar || die
ln -s "${DISTDIR}"/24CEAE4A9A2AAAA0BD78FF001914BA06B59CEDF2-svnjavahl-1.8.4.jar libs.svnClientAdapter.javahl/external/svnjavahl-1.8.4.jar || die
ln -s "${DISTDIR}"/3B91269E9055504778F57744D24F505856698602-svnkit-1.7.0-beta4-20120316.233307-1.jar libs.svnClientAdapter.svnkit/external/svnkit-1.7.0-beta4-20120316.233307-1.jar || die
ln -s "${DISTDIR}"/015525209A02BD74254930FF844C7C13498B7FB9-svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar libs.svnClientAdapter.svnkit/external/svnkit-javahl16-1.7.0-beta4-20120316.233536-1.jar || die
ln -s "${DISTDIR}"/C0D8A3265D194CC886BAFD585117B6465FD97DCE-swingx-all-1.6.4.jar libs.swingx/external/swingx-all-1.6.4.jar || die
ln -s "${DISTDIR}"/CD5B5996B46CB8D96C8F0F89A7A734B3C01F3DF7-tomcat-webserver-3.2.jar httpserver/external/tomcat-webserver-3.2.jar || die
ln -s "${DISTDIR}"/CE9A1C96875443F2FDD5127B750DA39CF4CE818B-com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar libs.svnClientAdapter.svnkit/external/com.trilead.ssh2_1.0.0.build217_r155_v20130603_1628.jar || die
ln -s "${DISTDIR}"/89BC047153217F5254506F4C622A771A78883CBC-ValidationAPI.jar swing.validation/external/ValidationAPI.jar || die
ln -s "${DISTDIR}"/6FC6098C230D7CBA5730106D379CBBB42F6EC48A-validator.jar html.validation/external/validator.jar || die
ln -s "${DISTDIR}"/64F5BEEADD2A239C4BC354B8DFDB97CF7FDD9983-xmlrpc-client-3.0.jar o.apache.xmlrpc/external/xmlrpc-client-3.0.jar || die
ln -s "${DISTDIR}"/8FA16AD28B5E79A7CD52B8B72985B0AE8CCD6ADF-xmlrpc-common-3.0.jar o.apache.xmlrpc/external/xmlrpc-common-3.0.jar || die
ln -s "${DISTDIR}"/D6917BF718583002CBE44E773EE21E2DF08ADC71-xmlrpc-server-3.0.jar o.apache.xmlrpc/external/xmlrpc-server-3.0.jar || die
ln -s "${DISTDIR}"/C9757EFB2CFBA523A7375A78FA9ECFAF0D0AC505-winp-1.14-patched.jar extexecution.impl/external/winp-1.14-patched.jar || die
popd >/dev/null || die
}
src_prepare() {
einfo "Deleting bundled class files..."
find -name "*.class" -type f | xargs rm -vf
epatch netbeans-8.0.2-build.xml.patch
# Support for custom patches
if [ -n "${NETBEANS80_PATCHES_DIR}" -a -d "${NETBEANS80_PATCHES_DIR}" ] ; then
local files=`find "${NETBEANS80_PATCHES_DIR}" -type f`
if [ -n "${files}" ] ; then
einfo "Applying custom patches:"
for file in ${files} ; do
epatch "${file}"
done
fi
fi
einfo "Symlinking external libraries..."
java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar
java-pkg_jar-from --into libs.json_simple/external json-simple json-simple.jar json-simple-1.1.1.jar
einfo "Linking in other clusters..."
mkdir "${S}"/nbbuild/netbeans || die
pushd "${S}"/nbbuild/netbeans >/dev/null || die
ln -s /usr/share/netbeans-platform-${SLOT} platform || die
cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
touch nb.cluster.platform.built
ln -s /usr/share/netbeans-harness-${SLOT} harness || die
cat /usr/share/netbeans-harness-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die
touch nb.cluster.harness.built
popd >/dev/null || die
java-pkg_jar-from --build-only --into c.jcraft.jsch/external jsch jsch.jar jsch-0.1.49.jar
java-pkg_jar-from --build-only --into c.jcraft.jzlib/external jzlib jzlib.jar jzlib-1.0.7.jar
java-pkg_jar-from --into db.drivers/external jdbc-mysql jdbc-mysql.jar mysql-connector-java-5.1.23-bin.jar
java-pkg_jar-from --into db.drivers/external jdbc-postgresql jdbc-postgresql.jar postgresql-9.2-1002.jdbc4.jar
java-pkg_jar-from --build-only --into db.sql.visualeditor/external javacc javacc.jar javacc-3.2.jar
java-pkg_jar-from --into html.parser/external icu4j-4.4 icu4j.jar icu4j-4_4_2.jar
java-pkg_jar-from --into html.validation/external iso-relax isorelax.jar isorelax.jar
java-pkg_jar-from --into html.validation/external log4j log4j.jar log4j-1.2.15.jar
java-pkg_jar-from --into html.validation/external saxon-9 saxon.jar saxon9B.jar
# java-pkg_jar-from --into libs.freemarker/external freemarker-2.3 freemarker.jar freemarker-2.3.19.jar
java-pkg_jar-from --into libs.jvyamlb/external jvyamlb jvyamlb.jar jvyamlb-0.2.3.jar
java-pkg_jar-from --into libs.lucene/external lucene-3.5 lucene-core.jar lucene-core-3.5.0.jar
java-pkg_jar-from --into libs.smack/external smack-2.2 smack.jar smack.jar
java-pkg_jar-from --into libs.smack/external smack-2.2 smackx.jar smackx.jar
# java-pkg_jar-from --into libs.svnClientAdapter.javahl/external subversion svn-javahl.jar svnjavahl-1.8.4.jar
java-pkg_jar-from --into libs.xerces/external xerces-2 xercesImpl.jar xerces-2.8.0.jar
java-pkg_jar-from --build-only --into o.apache.commons.codec/external commons-codec commons-codec.jar apache-commons-codec-1.3.jar
java-pkg_jar-from --into o.apache.commons.httpclient/external commons-httpclient-3 commons-httpclient.jar commons-httpclient-3.1.jar
java-pkg_jar-from --into o.apache.commons.lang/external commons-lang-2.1 commons-lang.jar commons-lang-2.4.jar
java-pkg_jar-from --into o.apache.commons.logging/external commons-logging commons-logging.jar commons-logging-1.1.1.jar
java-pkg_jar-from --into o.apache.ws.commons.util/external ws-commons-util ws-commons-util.jar ws-commons-util-1.0.1.jar
java-pkg_jar-from --into servletapi/external tomcat-servlet-api-2.2 servlet.jar servlet-2.2.jar
java-pkg_jar-from --into xml.jaxb.api/external sun-jaf activation.jar activation.jar
java-pkg_jar-from --into xml.jaxb.api/external jsr173 jsr173.jar jsr173_1.0_api.jar
java-pkg-2_src_prepare
}
src_compile() {
unset DISPLAY
eant -f ${EANT_BUILD_XML} ${EANT_EXTRA_ARGS} ${EANT_BUILD_TARGET} || die "Compilation failed"
}
src_install() {
pushd nbbuild/netbeans/ide >/dev/null || die
insinto ${INSTALL_DIR}
grep -E "/ide$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die
doins -r *
rm -fr "${D}"/${INSTALL_DIR}/bin/nativeexecution || die
rm -fr "${D}"/${INSTALL_DIR}/modules/lib || die
insinto ${INSTALL_DIR}/bin/nativeexecution
doins bin/nativeexecution/*
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution >/dev/null || die
for file in *.sh ; do
fperms 755 ${file}
done
popd >/dev/null || die
if use x86 ; then
doins -r bin/nativeexecution/Linux-x86
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86 >/dev/null || die
for file in * ; do
fperms 755 ${file}
done
popd >/dev/null || die
elif use amd64 ; then
doins -r bin/nativeexecution/Linux-x86_64
pushd "${D}"/${INSTALL_DIR}/bin/nativeexecution/Linux-x86_64 >/dev/null || die
for file in * ; do
fperms 755 ${file}
done
popd >/dev/null || die
fi
popd >/dev/null || die
local instdir=${INSTALL_DIR}/modules/ext
pushd "${D}"/${instdir} >/dev/null || die
# rm freemarker-2.3.19.jar && dosym /usr/share/freemarker-2.3/lib/freemarker.jar ${instdir}/freemarker-2.3.19.jar || die
rm icu4j-4_4_2.jar && dosym /usr/share/icu4j-4.4/lib/icu4j.jar ${instdir}/icu4j-4_4_2.jar || die
rm isorelax.jar && dosym /usr/share/iso-relax/lib/isorelax.jar ${instdir}/isorelax.jar || die
rm json-simple-1.1.1.jar && dosym /usr/share/json-simple/lib/json-simple.jar ${instdir}/json-simple-1.1.1.jar || die
rm jvyamlb-0.2.3.jar && dosym /usr/share/jvyamlb/lib/jvyamlb.jar ${instdir}/jvyamlb-0.2.3.jar || die
rm log4j-1.2.15.jar && dosym /usr/share/log4j/lib/log4j.jar ${instdir}/log4j-1.2.15.jar || die
rm lucene-core-3.5.0.jar && dosym /usr/share/lucene-3.5/lib/lucene-core.jar ${instdir}/lucene-core-3.5.0.jar || die
rm mysql-connector-java-5.1.23-bin.jar && dosym /usr/share/jdbc-mysql/lib/jdbc-mysql.jar ${instdir}/mysql-connector-java-5.1.23-bin.jar || die
rm postgresql-9.2-1002.jdbc4.jar && dosym /usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar ${instdir}/postgresql-9.2-1002.jdbc4.jar || die
rm saxon9B.jar && dosym /usr/share/saxon-9/lib/saxon.jar ${instdir}/saxon9B.jar || die
rm servlet-2.2.jar && dosym /usr/share/tomcat-servlet-api-2.2/lib/servlet.jar ${instdir}/servlet-2.2.jar || die
rm smack.jar && dosym /usr/share/smack-2.2/lib/smack.jar ${instdir}/smack.jar || die
rm smackx.jar && dosym /usr/share/smack-2.2/lib/smackx.jar ${instdir}/smackx.jar || die
# rm svnjavahl.jar && dosym /usr/share/subversion/lib/svn-javahl.jar ${instdir}/svnjavahl.jar || die
rm xerces-2.8.0.jar && dosym /usr/share/xerces-2/lib/xercesImpl.jar ${instdir}/xerces-2.8.0.jar || die
popd >/dev/null || die
local instdir=${INSTALL_DIR}/modules/ext/jaxb
pushd "${D}"/${instdir} >/dev/null || die
rm activation.jar && dosym /usr/share/sun-jaf/lib/activation.jar ${instdir}/activation.jar || die
popd >/dev/null || die
local instdir=${INSTALL_DIR}/modules/ext/jaxb/api
pushd "${D}"/${instdir} >/dev/null || die
rm jsr173_1.0_api.jar && dosym /usr/share/jsr173/lib/jsr173.jar ${instdir}/jsr173_1.0_api.jar || die
popd >/dev/null || die
dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/ide
}

@ -1,3 +1,2 @@
DIST pcfi-2010.08.09.jar 6731455 SHA256 a787fb2a842de7bd5ee4fa13c4808aa6793380dde0219560b50054f6ca25c77c SHA512 067394ddac4a48ba8ac94b03f907d0faf98a91be658689a34eb85fdce49515582426f6a1fa433bfa87ca417ce3a6fa3aa89d89126a36176d8e04f3359c36d10b WHIRLPOOL fa9e9b6b2cc45f749101726c8fb7a4c7719d78448122c465b60696cd5be1a2a27bc65f549429d5a74c79bc74aaed39b3c0a8dfe02ec569303b96faa818410e73
DIST pdfbox-1.8.11-src.zip 11026359 SHA256 160a2d058325845234eaa6b5ae23535b9226aadb4e570a1a76f7106a00653b1b SHA512 05c8e5075379ed5ebb09555b39434dd936fce9dd24445871d24ea7f0f6afa49e74242bf0c9eba2d1a847b505143789b687dd039ca51ce76851132f2f18d434d1 WHIRLPOOL 9f43dff9921283d074b332ef08a34b56d58fca3624b6c263029554998b0595bb8815ad91e31c7cdee17a95db0807cb88c579ec1b1f9ab724ded3f50382220880
DIST pdfbox-1.8.8-src.zip 11339989 SHA256 90d6b9a33682586e29bbce4ffeadf38c12fe0373bfe82441c1a63610a9c4ea8a SHA512 254361d0dcbfdc52bc78a2ed7e121065a2d173d1362a219d6644c3cc8a83a37904744e03f1725e2db67494d5f54f822b6e5a16dd8e791906efb9c348d564552f WHIRLPOOL cd9e71be60ee6d92c34f4affe7d6b074896920491a731a65f2b74e9e09754e836288c632e5d4a24b2d8aba64505dc58d2c3f8d0dd103c33773fce6dcd187e5a3

@ -1,134 +0,0 @@
--- build.xml.orig 2015-05-12 16:41:01.813664913 +0000
+++ build.xml 2015-05-12 16:44:10.434652444 +0000
@@ -28,7 +28,7 @@
<property name="tool.dir" value="tools" />
<property name="bin.dir" value="bin" />
- <property name="project.version" value="1.8.7" />
+ <property name="project.version" value="1.8.8" />
<!-- pdfbox -->
<property name="pdfbox.project.name" value="pdfbox"/>
@@ -95,9 +95,6 @@
<property name="testoutput-ext.dir" value="${pdfbox.target.dir}/test-output-ext"/>
<property name="testinput-ext.dir" value="${pdfbox.target.dir}/test-input-ext"/>
- <property name="adobefiles.url" value="${maven.repo2}/com/adobe/pdf/pcfi/2010.08.09/pcfi-2010.08.09.jar"/>
- <property name="adobefiles.jar" value="${download.dir}/pcfi-2010.08.09.jar"/>
-
<property name="file" value=""/>
<!--.NET properties -->
@@ -171,7 +168,7 @@
<mkdir dir="${jempbox.dest.dir}"/>
</target>
- <target name="pdfbox.compile" depends="fontbox.package,jempbox.package,pdfbox.init,get.adobefiles"
+ <target name="pdfbox.compile" depends="fontbox.package,jempbox.package,pdfbox.init"
description="Compile Java source files">
<!-- required encoding flag to be able to build using ibm-jdk on redhat ES-->
<javac srcdir="${pdfbox.src.dir}" destdir="${pdfbox.dest.dir}"
@@ -206,31 +203,6 @@
<target name="test" depends="testextract,test-junit,testimage" description="Run all the junit tests"/>
- <target name="find.adobefiles">
- <available property="adobefiles.found" file="${dest.dir}/org/apache/pdfbox/resources/cmap"/>
- </target>
-
- <target name="get.adobefiles"
- unless="adobefiles.found" depends="find.adobefiles"
- description="Download and unpack afm and cmap files from Adobe">
- <antcall target="downloadfile">
- <param name="sourcefile" value="${adobefiles.url}"/>
- <param name="destfile" value="${adobefiles.jar}"/>
- </antcall>
- <unjar src="${adobefiles.jar}" dest="${pdfbox.dest.dir}/org/apache/pdfbox/resources/afm">
- <patternset>
- <include name="com/adobe/pdf/pcfi/afm/*.afm"/>
- </patternset>
- <mapper type="flatten"/>
- </unjar>
- <unjar src="${adobefiles.jar}" dest="${pdfbox.dest.dir}/org/apache/pdfbox/resources">
- <patternset>
- <include name="com/adobe/pdf/pcfi/glyphlist.txt"/>
- </patternset>
- <mapper type="flatten"/>
- </unjar>
- </target>
-
<target name="testextract" depends="clean,pdfbox.compile" description="Test text extraction">
<junit printsummary="off" fork="on" dir=".">
<jvmarg value="-Xmx1024M"/>
@@ -341,52 +313,7 @@
</checkstyle>
</target>
- <target name="get.externallibs.pdfbox">
- <antcall target="downloadfile">
- <param name="sourcefile" value="${bcmail.url}"/>
- <param name="destfile" value="${bcmail.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${bcprov.url}"/>
- <param name="destfile" value="${bcprov.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${junit.url}"/>
- <param name="destfile" value="${junit.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${logging.url}"/>
- <param name="destfile" value="${logging.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${icu4j.url}"/>
- <param name="destfile" value="${icu4j.jar}"/>
- </antcall>
- </target>
-
- <target name="get.externallibs.fontbox">
- <antcall target="downloadfile">
- <param name="sourcefile" value="${junit.url}"/>
- <param name="destfile" value="${junit.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${logging.url}"/>
- <param name="destfile" value="${logging.jar}"/>
- </antcall>
- </target>
-
- <target name="get.externallibs.jempbox">
- <antcall target="downloadfile">
- <param name="sourcefile" value="${junit.url}"/>
- <param name="destfile" value="${junit.jar}"/>
- </antcall>
- <antcall target="downloadfile">
- <param name="sourcefile" value="${logging.url}"/>
- <param name="destfile" value="${logging.jar}"/>
- </antcall>
- </target>
-
- <target name="pdfbox.package" depends="get.externallibs.pdfbox,pdfbox.compile" description="Package pdfbox into a jar file">
+ <target name="pdfbox.package" depends="pdfbox.compile" description="Package pdfbox into a jar file">
<propertyfile file="${pdfbox.resources.dir}/org/apache/pdfbox/resources/pdfbox.version">
<entry key="pdfbox.version" value="${pdfbox.release.name}"/>
</propertyfile>
@@ -405,7 +332,7 @@
</jar>
</target>
- <target name="fontbox.package" depends="get.externallibs.fontbox,fontbox.compile" description="Package fontbox into a jar file">
+ <target name="fontbox.package" depends="fontbox.compile" description="Package fontbox into a jar file">
<jar jarfile="${fontbox.jar}">
<fileset dir="${fontbox.dest.dir}"/>
<metainf dir="." includes="*.txt"/>
@@ -419,7 +346,7 @@
</jar>
</target>
- <target name="jempbox.package" depends="get.externallibs.jempbox,jempbox.compile" description="Package jempbox into a jar file">
+ <target name="jempbox.package" depends="jempbox.compile" description="Package jempbox into a jar file">
<jar jarfile="${jempbox.jar}">
<fileset dir="${jempbox.dest.dir}"/>
<metainf dir="." includes="*.txt"/>

@ -16,7 +16,7 @@ SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
LICENSE="Apache-2.0"
SLOT="1.8"
KEYWORDS="~amd64 ~ppc64 ~x86"
KEYWORDS="amd64 ppc64 x86"
IUSE="test"
RESTRICT="test" # Explosive even when manually using unmodified build.xml.

@ -1,64 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
JAVA_PKG_IUSE="source test"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Java library and utilities for working with PDF documents"
HOMEPAGE="http://pdfbox.apache.org/"
ADOBE_FILES="pcfi-2010.08.09.jar"
SRC_URI="mirror://apache/${PN}/${PV}/${P}-src.zip
http://repo2.maven.org/maven2/com/adobe/pdf/pcfi/2010.08.09/${ADOBE_FILES}"
LICENSE="BSD"
SLOT="1.8"
KEYWORDS="amd64 ppc64 x86"
IUSE=""
CDEPEND="dev-java/icu4j:4
dev-java/junit:4
dev-java/bcprov:1.45
dev-java/bcmail:1.45
>=dev-java/commons-logging-1.1.1:0"
RDEPEND=">=virtual/jre-1.6
${CDEPEND}"
DEPEND=">=virtual/jdk-1.6
app-arch/unzip
test? (
dev-java/ant-junit:0 )
${CDEPEND}"
S="${WORKDIR}/${P}/${PN}"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="bcprov-1.45,bcmail-1.45,commons-logging,junit-4,icu4j-4"
EANT_BUILD_TARGET="pdfbox.package"
WANT_ANT_TASKS="ant-nodeps"
RESTRICT="test"
src_unpack() {
unpack ${A}
}
java_prepare() {
# This patch:
# - turns off downloads
# - increments version number (silly mistake from upstream)
epatch "${FILESDIR}"/${P}-build.xml.patch
}
src_compile() {
java-pkg-2_src_compile
mv target/${P}.jar ${P}.jar
}
src_install() {
java-pkg_newjar ${P}.jar ${PN}.jar
if use source; then
java-pkg_dosrc src/main/java/org
fi
}

@ -13,7 +13,7 @@ HOMEPAGE="https://bitbucket.org/asomov/snakeyaml"
SRC_URI="https://bitbucket.org/asomov/${PN}/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="test"
DEPEND=">=virtual/jdk-1.6

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save