parent
aa8c9507b5
commit
f5f51b9267
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||||
|
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/aws-cli-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+1).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests --install nose
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/awscli-1.19.47-py39.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
distutils_install_for_testing
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
nosetests -v tests/{functional,unit} ||
|
||||||
|
die "Tests failed for ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
DIST graylog-3.3.10.tgz 129330433 BLAKE2B 6633a0c4ba9efa6bdece55cc9c3036a45bb78e10e6e80f29656fd5924176ee881b7f1dfb761ea7af9cac0c1cdace87335747c9fcb23bb49b51ebb400139118cf SHA512 0280f3e4f38542487e2c9a10b0aa0ea2db711a249f9e0ad241d136ee1df5aada13a4da543ac40ceb7c715273903d83a6d62ceddde5feb9ede99c95cc8325f5f2
|
|
||||||
DIST graylog-3.3.11.tgz 129320028 BLAKE2B c90641ba1f5abaaeeba452dc623e6b6dd65ff5b3e53f111e72ebbbde1a96a9b7e82d6874d055c0fcec2e48842368fcd45510d4d4ebcfdd70a7bbcb967b5b1501 SHA512 2bcb84060254b3cd11aafd54f90debe9148cccdaec50cda53a50d302e7a152fb2622e9dd555420d25fa3ed6a8b8da5105ef322a152c3fcdabc9dec9c47338c6d
|
DIST graylog-3.3.11.tgz 129320028 BLAKE2B c90641ba1f5abaaeeba452dc623e6b6dd65ff5b3e53f111e72ebbbde1a96a9b7e82d6874d055c0fcec2e48842368fcd45510d4d4ebcfdd70a7bbcb967b5b1501 SHA512 2bcb84060254b3cd11aafd54f90debe9148cccdaec50cda53a50d302e7a152fb2622e9dd555420d25fa3ed6a8b8da5105ef322a152c3fcdabc9dec9c47338c6d
|
||||||
DIST graylog-4.0.2.tgz 163286730 BLAKE2B 102b410b89e776c43ce97442407e0e7a418b0e9c9ac82747e4e049b83e8c88a865861e365ecc57fcd45dd4dc7bd763ba9f8657038526523c3f341be73daf647a SHA512 535451f84bc28e9716d34138637b732a4ebe879970051f720997d93828846a2ac707a58a14f14e10fa0aa4e3aeed5694ac0339275ef2623d5ac01712067158ca
|
DIST graylog-3.3.13.tgz 129316329 BLAKE2B ea90edfbffaeba5a022a012ddd87b83d9d5cbd9a2d348c78dd44c22cd95fe5f2f5d5eccc067066b2fd52e0ea944827c02f89233396ee70ef4a440c52e2a8da0c SHA512 7360408db9abbba472f44a01898edb55d9a07306b03dc9ee1b1ac84df2835dd5afccc5c29fbc07137da3cce2f1c59dd26974ad6f6a2ee6e69e1679916227e115
|
||||||
DIST graylog-4.0.5.tgz 163294449 BLAKE2B 3b3c7e74bdfbc37bb4a416733b70d153b399b66cf97215a476aa3304dead0143a60253514c804e6cbeb5b4e2935e79a9e8ff16b88d2067c8820dcc5aaf7331aa SHA512 d9df101560fa0dcf63043c1dd41342caea58d77d24e81da0912270b6b627c1ec1c30900902a8456bcd3dd1281d4d57b499defc4e0da0a58bbc61ad53f1843448
|
DIST graylog-4.0.5.tgz 163294449 BLAKE2B 3b3c7e74bdfbc37bb4a416733b70d153b399b66cf97215a476aa3304dead0143a60253514c804e6cbeb5b4e2935e79a9e8ff16b88d2067c8820dcc5aaf7331aa SHA512 d9df101560fa0dcf63043c1dd41342caea58d77d24e81da0912270b6b627c1ec1c30900902a8456bcd3dd1281d4d57b499defc4e0da0a58bbc61ad53f1843448
|
||||||
|
DIST graylog-4.0.7.tgz 190560623 BLAKE2B 329a61bb6e8f08fc670a7f9673c5e67fb197febf8ab85737c651e1f8c3a078e3528d9058f0d707bd1e3ed94fa3dc60c2a70a7f931a8cea79d31c96099a86117c SHA512 991e2eec505cfde6a7254d4fa332c564e81142afec7a3b879a60ca10b7366cba46823c078f043cc5e700e462d2ba7d23fa6774ab3e58903bed91b8b5494c9d5e
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
@ -1,4 +1,3 @@
|
|||||||
DIST puppet-agent_6.19.1-1focal_amd64.deb 22221600 BLAKE2B 22b03ef1f86b34955e8bad7c63a2022d2832dadd554316baf75419d6543e8a569902fb92a81a3dcc817401f06aa7dd47143a6cbd383f0e531c465cd3203dc4ed SHA512 4819a3509066516b0be76bc0f2afe94611405f7ac52fe50890d57c86a8a9c6c70787d46cb4b77085666f3e74bcb83a11acf1fef5d1e6ed3151ea06cbb8df3170
|
DIST puppet-agent_6.19.1-1focal_amd64.deb 22221600 BLAKE2B 22b03ef1f86b34955e8bad7c63a2022d2832dadd554316baf75419d6543e8a569902fb92a81a3dcc817401f06aa7dd47143a6cbd383f0e531c465cd3203dc4ed SHA512 4819a3509066516b0be76bc0f2afe94611405f7ac52fe50890d57c86a8a9c6c70787d46cb4b77085666f3e74bcb83a11acf1fef5d1e6ed3151ea06cbb8df3170
|
||||||
DIST puppet-agent_7.4.0-1focal_amd64.deb 20897448 BLAKE2B 1ed2ad91dcba1851b5759591033cfd74ec9dc644b3da416f2c1f5598b89e7cfa1048f09331717fc2b72a479ae8a7137f8f0a074debfbc183aea1197ae31b5df4 SHA512 bd58032f38f349938843550bc1e238f1cadec685ab6f90969e12e47e021fcdf4ffd4aa7be98fd797976d7873045444ba20b4ad3d05f543897a8d3594949c55f4
|
|
||||||
DIST puppet-agent_7.5.0-1focal_amd64.deb 20900560 BLAKE2B a1f0e3da38cc98e677f66fd8887e4db1e1bd9d2af0b89597c0b1f2e569b78ccd8eb2d7c84c9cf5c8d03097dd6b22ae323ad7e9f989b06692a6ca7fbd28d5cf46 SHA512 250839f7d4a09545ae509273cbfb1ba004b8d0c5559b5312642b7483c605d32b7575c52b5e9a2b9d3f65e2fcfbf00f4ed85ee498ae9dc39629f1618aaab79361
|
DIST puppet-agent_7.5.0-1focal_amd64.deb 20900560 BLAKE2B a1f0e3da38cc98e677f66fd8887e4db1e1bd9d2af0b89597c0b1f2e569b78ccd8eb2d7c84c9cf5c8d03097dd6b22ae323ad7e9f989b06692a6ca7fbd28d5cf46 SHA512 250839f7d4a09545ae509273cbfb1ba004b8d0c5559b5312642b7483c605d32b7575c52b5e9a2b9d3f65e2fcfbf00f4ed85ee498ae9dc39629f1618aaab79361
|
||||||
DIST puppet-agent_7.6.1-1focal_amd64.deb 20894772 BLAKE2B 235f62750c1e7a42b8b4fa013b969926c4c168fd6a6d9cfc8f243ef5571360593572faad57326019c09cd1d1e67fcc985d699acbd07c3279ac350712828eb26f SHA512 36b9f69cbef0b51a80375231472e4bab195a08b14bb860419d2ad01f13d90cba377d796b3253643f77ff415f43d2f9598dc18c37d76d844a3ea98299e5d43e65
|
DIST puppet-agent_7.6.1-1focal_amd64.deb 20894772 BLAKE2B 235f62750c1e7a42b8b4fa013b969926c4c168fd6a6d9cfc8f243ef5571360593572faad57326019c09cd1d1e67fcc985d699acbd07c3279ac350712828eb26f SHA512 36b9f69cbef0b51a80375231472e4bab195a08b14bb860419d2ad01f13d90cba377d796b3253643f77ff415f43d2f9598dc18c37d76d844a3ea98299e5d43e65
|
||||||
|
@ -1,74 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit systemd unpacker tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
|
||||||
HOMEPAGE="https://puppetlabs.com/"
|
|
||||||
SRC_URI="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE="puppetdb selinux"
|
|
||||||
RESTRICT="strip"
|
|
||||||
|
|
||||||
CDEPEND="!app-admin/puppet
|
|
||||||
!dev-ruby/hiera
|
|
||||||
!dev-ruby/facter
|
|
||||||
app-emulation/virt-what
|
|
||||||
acct-user/puppet
|
|
||||||
acct-group/puppet"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
app-admin/augeas"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
app-portage/eix
|
|
||||||
sys-apps/dmidecode
|
|
||||||
sys-libs/libselinux
|
|
||||||
sys-libs/glibc
|
|
||||||
sys-libs/readline:0/8
|
|
||||||
sys-libs/libxcrypt
|
|
||||||
sys-libs/ncurses:0[tinfo]
|
|
||||||
selinux? (
|
|
||||||
sys-libs/libselinux[ruby]
|
|
||||||
sec-policy/selinux-puppet
|
|
||||||
)
|
|
||||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
QA_PREBUILT="*"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# conf.d
|
|
||||||
doconfd etc/default/puppet
|
|
||||||
doconfd etc/default/pxp-agent
|
|
||||||
# logrotate.d
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
doins etc/logrotate.d/pxp-agent
|
|
||||||
# puppet itself
|
|
||||||
insinto /etc/puppetlabs
|
|
||||||
doins -r etc/puppetlabs/*
|
|
||||||
# logdir for systemd
|
|
||||||
keepdir var/log/puppetlabs/puppet/
|
|
||||||
chmod 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.initd2" puppet
|
|
||||||
systemd_dounit lib/systemd/system/puppet.service
|
|
||||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
|
||||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
|
||||||
# symlinks
|
|
||||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
|
||||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
|
||||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
|
||||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
|
||||||
dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
|
||||||
}
|
|
@ -1,6 +1,5 @@
|
|||||||
DIST puppet-5.5.19.tar.gz 2993740 BLAKE2B aa6bde89489279769ee9a1ed5508fb223f7f0153b1b1991970018908eee70ff0816688c702b8dc779d01e1978ea7f9290c80523648730d5408a17674c11345fd SHA512 996fa155ca04c8c3c96c29cf65cd24eaf9e19e89fcf85345509dbd3673b28c263df5b62d6f016b8ac1c1da8ed86f0acf3100eae2656252bb10c542972db81de3
|
DIST puppet-5.5.19.tar.gz 2993740 BLAKE2B aa6bde89489279769ee9a1ed5508fb223f7f0153b1b1991970018908eee70ff0816688c702b8dc779d01e1978ea7f9290c80523648730d5408a17674c11345fd SHA512 996fa155ca04c8c3c96c29cf65cd24eaf9e19e89fcf85345509dbd3673b28c263df5b62d6f016b8ac1c1da8ed86f0acf3100eae2656252bb10c542972db81de3
|
||||||
DIST puppet-5.5.22.tar.gz 2998132 BLAKE2B 8662c89190d0904fe44ffeca1cf9a9ddca40d57ba6fb2d1e644ca353ceb55b1ca3a91416f1eef2975233c9c4498784e7d7280c111ea0cc070870cadc69341d99 SHA512 5332b084a63bdf244672cc4751022c84a1cc50d3f394a13bdcbccf7fcf4ebea67953e88957f23046608bf25e9182548449be824c18289cb2bf1e3ed29b40dc58
|
DIST puppet-5.5.22.tar.gz 2998132 BLAKE2B 8662c89190d0904fe44ffeca1cf9a9ddca40d57ba6fb2d1e644ca353ceb55b1ca3a91416f1eef2975233c9c4498784e7d7280c111ea0cc070870cadc69341d99 SHA512 5332b084a63bdf244672cc4751022c84a1cc50d3f394a13bdcbccf7fcf4ebea67953e88957f23046608bf25e9182548449be824c18289cb2bf1e3ed29b40dc58
|
||||||
DIST puppet-6.19.1.tar.gz 2917976 BLAKE2B 06019b465699494c3c5045d8d3f617046583f8bb5ebff4e72991bcf5f1ca76b4e00f56af79bbcd7ab849439fc5e627840ef08b92f586441c0cb0bb3d51805f7f SHA512 4e8a3c8d46b6aa67c31da4b510dfc32a187937af213efb9f2f0b6625b29995cdfa8cbca384ad857c19e47ae4878127564756a809c2afdff4883038249395ff01
|
DIST puppet-6.19.1.tar.gz 2917976 BLAKE2B 06019b465699494c3c5045d8d3f617046583f8bb5ebff4e72991bcf5f1ca76b4e00f56af79bbcd7ab849439fc5e627840ef08b92f586441c0cb0bb3d51805f7f SHA512 4e8a3c8d46b6aa67c31da4b510dfc32a187937af213efb9f2f0b6625b29995cdfa8cbca384ad857c19e47ae4878127564756a809c2afdff4883038249395ff01
|
||||||
DIST puppet-7.4.0.tar.gz 2857763 BLAKE2B 980180d10c3329f8c94f02c6a8b403d88a3836fcc5567fd00eb4e2b4ae63d7a03709f3f14a337cdface62be04f9bb9082436f69b95f8d37996a9a933801a163a SHA512 ffb4ffb5121fcbd4b61ab1ad51fce96c1f2415b85ec785c858721a7f5604a6a8de4d595b6806657b9b1757e70763b2c495ca4d8ee694d668532cd15dd38a9c7f
|
|
||||||
DIST puppet-7.5.0.tar.gz 2859905 BLAKE2B 59c6b8fee0ce13b1aeb7a59eab21e84835682e606598dac79a838d514352988d260f610aef0f0b00547a141c503f8779668006d109c3ad86133f413b57309adc SHA512 7b3ac681a91160055e4b26c904153b0800f55222201a83e8e5f20d74a7ef153e6b029ab59b237726f20576379ea7d81e64e24126e72e8f709bbc6473c3c0793b
|
DIST puppet-7.5.0.tar.gz 2859905 BLAKE2B 59c6b8fee0ce13b1aeb7a59eab21e84835682e606598dac79a838d514352988d260f610aef0f0b00547a141c503f8779668006d109c3ad86133f413b57309adc SHA512 7b3ac681a91160055e4b26c904153b0800f55222201a83e8e5f20d74a7ef153e6b029ab59b237726f20576379ea7d81e64e24126e72e8f709bbc6473c3c0793b
|
||||||
DIST puppet-7.6.1.tar.gz 2861371 BLAKE2B acc117a03906d710329dcd4bc3881bc9792640b4685ffb771e67e819cf21705b1635178ec527b6548245b8312c3625622827fa744227d79a81af9bae194938a9 SHA512 f7b7265f5ffca4e342e0f687cf4fbf7704c6518025d178925ae04b8902a2df2ceaa76179ecd5a1c1eb3456e29c049f701e8b45c8da7dc3b0a8948ef85ee3268a
|
DIST puppet-7.6.1.tar.gz 2861371 BLAKE2B acc117a03906d710329dcd4bc3881bc9792640b4685ffb771e67e819cf21705b1635178ec527b6548245b8312c3625622827fa744227d79a81af9bae194938a9 SHA512 f7b7265f5ffca4e342e0f687cf4fbf7704c6518025d178925ae04b8902a2df2ceaa76179ecd5a1c1eb3456e29c049f701e8b45c8da7dc3b0a8948ef85ee3268a
|
||||||
|
@ -1,130 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
|
||||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
|
||||||
|
|
||||||
inherit epatch ruby-fakegem
|
|
||||||
|
|
||||||
DESCRIPTION="A system automation and configuration management software."
|
|
||||||
HOMEPAGE="https://puppet.com/"
|
|
||||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0 GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
|
|
||||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
ruby_add_rdepend "
|
|
||||||
dev-ruby/hiera
|
|
||||||
dev-ruby/json:=
|
|
||||||
dev-ruby/semantic_puppet
|
|
||||||
>=dev-ruby/facter-3.0.0
|
|
||||||
dev-ruby/concurrent-ruby
|
|
||||||
augeas? ( dev-ruby/ruby-augeas )
|
|
||||||
diff? ( dev-ruby/diff-lcs )
|
|
||||||
doc? ( dev-ruby/rdoc )
|
|
||||||
ldap? ( dev-ruby/ruby-ldap )
|
|
||||||
shadow? ( dev-ruby/ruby-shadow )
|
|
||||||
sqlite? ( dev-ruby/sqlite3 )
|
|
||||||
virtual/ruby-ssl
|
|
||||||
dev-ruby/hocon"
|
|
||||||
|
|
||||||
ruby_add_bdepend "
|
|
||||||
doc? ( dev-ruby/yard )
|
|
||||||
test? (
|
|
||||||
dev-ruby/mocha
|
|
||||||
dev-ruby/rack
|
|
||||||
dev-ruby/rspec-its
|
|
||||||
)"
|
|
||||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
|
||||||
# dev-ruby/rspec-collection_matchers
|
|
||||||
|
|
||||||
RDEPEND+=" ${RDEPEND}
|
|
||||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
|
||||||
selinux? (
|
|
||||||
sys-libs/libselinux[ruby]
|
|
||||||
sec-policy/selinux-puppet
|
|
||||||
)
|
|
||||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
|
||||||
>=app-portage/eix-0.18.0
|
|
||||||
acct-user/puppet
|
|
||||||
acct-group/puppet"
|
|
||||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Avoid spec that require unpackaged json-schema.
|
|
||||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
|
||||||
|
|
||||||
# fix systemd path
|
|
||||||
epatch "${FILESDIR}/puppet-systemd.patch"
|
|
||||||
|
|
||||||
# Avoid specs that can only run in the puppet.git repository. This
|
|
||||||
# should be narrowed down to the specific specs.
|
|
||||||
rm spec/integration/parser/compiler_spec.rb || die
|
|
||||||
|
|
||||||
# Avoid failing spec that need further investigation.
|
|
||||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
|
||||||
}
|
|
||||||
|
|
||||||
each_ruby_install() {
|
|
||||||
each_fakegem_install
|
|
||||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_install() {
|
|
||||||
all_fakegem_install
|
|
||||||
|
|
||||||
# systemd stuffs
|
|
||||||
insinto /usr/lib/systemd/system
|
|
||||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
|
||||||
|
|
||||||
# tmpfiles stuff
|
|
||||||
insinto /usr/lib/tmpfiles.d
|
|
||||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
|
||||||
|
|
||||||
# openrc init stuff
|
|
||||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
|
||||||
|
|
||||||
keepdir /etc/puppetlabs/puppet/ssl
|
|
||||||
|
|
||||||
keepdir /var/lib/puppet/facts
|
|
||||||
keepdir /var/lib/puppet/files
|
|
||||||
fowners -R puppet:puppet /var/lib/puppet
|
|
||||||
|
|
||||||
fperms 0750 /var/lib/puppet
|
|
||||||
|
|
||||||
fperms 0750 /etc/puppetlabs
|
|
||||||
fperms 0750 /etc/puppetlabs/puppet
|
|
||||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
|
||||||
fowners -R :puppet /etc/puppetlabs
|
|
||||||
fowners -R :puppet /var/lib/puppet
|
|
||||||
|
|
||||||
if use ldap ; then
|
|
||||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
|
||||||
fi
|
|
||||||
|
|
||||||
# ext and examples files
|
|
||||||
for f in $(find ext examples -type f) ; do
|
|
||||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog
|
|
||||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
|
||||||
elog "cause puppet to hang while installing packages."
|
|
||||||
elog
|
|
||||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
|
||||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
|
||||||
elog
|
|
||||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
|
||||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
|
||||||
elog "not already done so."
|
|
||||||
elog
|
|
||||||
}
|
|
@ -1,4 +1,3 @@
|
|||||||
DIST puppetdb-6.13.0.tar.gz 46400373 BLAKE2B 2e3cdd4e7a3e84e11f23031dba3aadf5be885e118938a0a52140e612b4006a0fd4e97f162322c80731b2bfb63dcff2d73d5b2cd0882f7aabcb69fe30aa05151b SHA512 4d16ce44666634e88c538b06f6b2e91cf9786646134a6302a80ea941e3f73168b0f4981cecdb125cac881c0233c835893e9385004461b67e7d8635865f14aee9
|
DIST puppetdb-6.13.0.tar.gz 46400373 BLAKE2B 2e3cdd4e7a3e84e11f23031dba3aadf5be885e118938a0a52140e612b4006a0fd4e97f162322c80731b2bfb63dcff2d73d5b2cd0882f7aabcb69fe30aa05151b SHA512 4d16ce44666634e88c538b06f6b2e91cf9786646134a6302a80ea941e3f73168b0f4981cecdb125cac881c0233c835893e9385004461b67e7d8635865f14aee9
|
||||||
DIST puppetdb-7.0.1.tar.gz 46449698 BLAKE2B 63538c2c61ca5f68643f95537d5096e08e46ffbd0b7d02e03fd6fb6ae5864fc234bd18bc9389d1f073c30ed4472415b6916672875250ae3a24cb348969f950d8 SHA512 0ae763b71d02c3afc55cf2f10829da75b07d89e57b75c713bc52492a7cc3693c3d22ecbbb36fed30f562f067f78fb0d1c80b073e0238a60eb144cc3555d7219d
|
|
||||||
DIST puppetdb-7.2.0.tar.gz 47126306 BLAKE2B aa9213b3a6e7438f7f70c73d14d5a264fe8d45f41d15a21eb457f4264599d4ffc02339b1109aeba713b7afb09780a7ce66786fc03d27e49cd0786cc81042d36c SHA512 872ebc8caf5c9c2f9509f603809c942ef8b3fc0bab96dd39a51558cae88b07318fadb81aa2f8477d231c7caac513b304c6aa178deb3aa56a4a5f7a9f1917d90c
|
DIST puppetdb-7.2.0.tar.gz 47126306 BLAKE2B aa9213b3a6e7438f7f70c73d14d5a264fe8d45f41d15a21eb457f4264599d4ffc02339b1109aeba713b7afb09780a7ce66786fc03d27e49cd0786cc81042d36c SHA512 872ebc8caf5c9c2f9509f603809c942ef8b3fc0bab96dd39a51558cae88b07318fadb81aa2f8477d231c7caac513b304c6aa178deb3aa56a4a5f7a9f1917d90c
|
||||||
DIST puppetdb-7.3.1.tar.gz 47173502 BLAKE2B e9f57300585cb556f75975c4a20c35c0789816a9f141a3979348200e28e24352870109fc3597a44d075b490b9da2308e963a24e64e37552f7124205beb87aae8 SHA512 aa15aebec2f7a24a2da125078017baabe054d741ee651b91219074a274400ae54862c38d3e253e904fe26165f4fc34fb3eb021937aa9ee4304b7e83bc3f5d0dc
|
DIST puppetdb-7.3.1.tar.gz 47173502 BLAKE2B e9f57300585cb556f75975c4a20c35c0789816a9f141a3979348200e28e24352870109fc3597a44d075b490b9da2308e963a24e64e37552f7124205beb87aae8 SHA512 aa15aebec2f7a24a2da125078017baabe054d741ee651b91219074a274400ae54862c38d3e253e904fe26165f4fc34fb3eb021937aa9ee4304b7e83bc3f5d0dc
|
||||||
|
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib systemd tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
|
||||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
|
||||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
|
||||||
DEPEND+="acct-user/puppetdb
|
|
||||||
acct-group/puppetdb"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
|
||||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
|
||||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
|
||||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
|
||||||
sed -i 's/var\/run/run/g' install.sh || die
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "not compiling"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /opt/puppetlabs/server/data/puppetdb
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
|
||||||
insopts -m0744
|
|
||||||
doins ext/ezbake-functions.sh
|
|
||||||
insopts -m0644
|
|
||||||
doins ext/ezbake.manifest
|
|
||||||
doins puppetdb.jar
|
|
||||||
insinto /etc/puppetlabs/puppetdb
|
|
||||||
doins ext/config/logback.xml
|
|
||||||
doins ext/config/bootstrap.cfg
|
|
||||||
doins ext/config/request-logging.xml
|
|
||||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
|
||||||
doins ext/config/conf.d/jetty.ini
|
|
||||||
doins ext/config/conf.d/repl.ini
|
|
||||||
doins ext/config/conf.d/database.ini
|
|
||||||
doins ext/config/conf.d/config.ini
|
|
||||||
insopts -m0755
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
|
||||||
doins install.sh
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
|
||||||
doins ext/cli/foreground
|
|
||||||
doins ext/cli/ssl-setup
|
|
||||||
doins ext/cli/config-migration
|
|
||||||
doins ext/cli/foreground
|
|
||||||
doins ext/cli/anonymize
|
|
||||||
doins ext/cli/reload
|
|
||||||
doins ext/cli/start
|
|
||||||
doins ext/cli/stop
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
|
||||||
doins ext/bin/puppetdb
|
|
||||||
insopts -m0644
|
|
||||||
dodir /opt/puppetlabs/server/bin
|
|
||||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
|
||||||
dodir /opt/puppetlabs/bin
|
|
||||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
|
||||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
|
||||||
# init type tasks
|
|
||||||
newconfd ext/default puppetdb
|
|
||||||
systemd_dounit ext/redhat/puppetdb.service
|
|
||||||
newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
|
|
||||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
|
||||||
# misc
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins ext/puppetdb.logrotate.conf puppetdb
|
|
||||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
|
||||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
|
||||||
elog
|
|
||||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
|
||||||
}
|
|
@ -1,5 +1,3 @@
|
|||||||
DIST puppetserver-6.13.0.tar.gz 61890579 BLAKE2B be514b3c41dcc018715e949f1f1c86317499baa22fa70e5f7e8df89211b566651ab4de469afadf14fcd1dbc9b1d0b0c21452c313f74052eb8d65bbd591231194 SHA512 ab67ebf94c37a50999a5597e1ceeadf606296c2b6e557bd6ee2bb99ac44b7c8fe8df892f4e3bccb9f0e3822fc480f61a27d6799b7dfc8df12e058c7074d589f9
|
|
||||||
DIST puppetserver-6.14.0.tar.gz 61960111 BLAKE2B 760fb2114aef78f1d96d41023f43f162eccd14ee0fa50f8ce4c7954450087dc395d9a9347629a968d99193ba6964b11a2650513c229b48159df67e9f9d63f541 SHA512 5d66b57a0f3c64ff889c33ccf94077a0ab142b84ca17faffaf4b885ba4794a52afb1b227f101eced36655999ac402913363897a3823a387f3c48948d38471c43
|
DIST puppetserver-6.14.0.tar.gz 61960111 BLAKE2B 760fb2114aef78f1d96d41023f43f162eccd14ee0fa50f8ce4c7954450087dc395d9a9347629a968d99193ba6964b11a2650513c229b48159df67e9f9d63f541 SHA512 5d66b57a0f3c64ff889c33ccf94077a0ab142b84ca17faffaf4b885ba4794a52afb1b227f101eced36655999ac402913363897a3823a387f3c48948d38471c43
|
||||||
DIST puppetserver-7.0.3.tar.gz 62780509 BLAKE2B ca8762f503e69a8d22881218b1036aeaea19612a96a148999e1c32bb7a1bf53f1940051268896aed1e9c64c3552f4480bd45f2404eb6c4be7ad20b68d02ecff5 SHA512 eb849a4ee95c8f5545e0d92ed9c450ce77ffd327f7d88f320ef99245217ab0f5ecb55bafaef5a97047a5f7559e4f05d06fc4333f76ba0b6418b184e03c705733
|
|
||||||
DIST puppetserver-7.1.0.tar.gz 62812783 BLAKE2B 3954ebb11c1ac62451a103507feccf829aeae20a1f8ddef5892d902be0fee2b6fecca1322e7c2d160935cf762fe2eddd31ea433b2cfde2edf7743e7f27066fea SHA512 909f2d40f13e7fbc6e53e482f596fae15dec5502709d107a3a1963414a609cc6751e0688bf3324f94d987c7405407d89a652197604ae0dc80d656628c49a3e6f
|
DIST puppetserver-7.1.0.tar.gz 62812783 BLAKE2B 3954ebb11c1ac62451a103507feccf829aeae20a1f8ddef5892d902be0fee2b6fecca1322e7c2d160935cf762fe2eddd31ea433b2cfde2edf7743e7f27066fea SHA512 909f2d40f13e7fbc6e53e482f596fae15dec5502709d107a3a1963414a609cc6751e0688bf3324f94d987c7405407d89a652197604ae0dc80d656628c49a3e6f
|
||||||
DIST puppetserver-7.1.2.tar.gz 62628297 BLAKE2B a109f6c9581f6d22d882dbef55b52cae31b6350e07918a6642bd1130f06b6d4649b8268f4b82a700937c518254f936dd0711e0c6c8f716a8cfd4e5bed717c459 SHA512 e5243f1159707c8b2e864450cddf57e9401bdfe209c449ce962684c4dfe0df2ea8a57756b9ca19d96b3f210d18b00f44460ceec85132af1b3048d8e919357c37
|
DIST puppetserver-7.1.2.tar.gz 62628297 BLAKE2B a109f6c9581f6d22d882dbef55b52cae31b6350e07918a6642bd1130f06b6d4649b8268f4b82a700937c518254f936dd0711e0c6c8f716a8cfd4e5bed717c459 SHA512 e5243f1159707c8b2e864450cddf57e9401bdfe209c449ce962684c4dfe0df2ea8a57756b9ca19d96b3f210d18b00f44460ceec85132af1b3048d8e919357c37
|
||||||
|
@ -1,131 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
|
||||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
|
||||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="puppetdb"
|
|
||||||
# will need the same keywords as puppet
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
RDEPEND+="
|
|
||||||
>=virtual/jdk-1.8.0
|
|
||||||
app-admin/puppet-agent[puppetdb?]"
|
|
||||||
DEPEND+="acct-user/puppet
|
|
||||||
acct-group/puppet"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
|
||||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
|
||||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
|
||||||
sed -i 's/var\/run/run/g' install.sh || die
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "not compiling"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
|
||||||
insopts -m0774
|
|
||||||
doins ext/ezbake-functions.sh
|
|
||||||
insopts -m0644
|
|
||||||
doins ext/ezbake.manifest
|
|
||||||
doins puppet-server-release.jar
|
|
||||||
insinto /etc/puppetlabs/puppetserver
|
|
||||||
doins ext/config/logback.xml
|
|
||||||
doins ext/config/request-logging.xml
|
|
||||||
insinto /etc/puppetlabs/puppetserver/services.d
|
|
||||||
doins ext/system-config/services.d/bootstrap.cfg
|
|
||||||
doins ext/config/services.d/ca.cfg
|
|
||||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
|
||||||
doins ext/config/conf.d/puppetserver.conf
|
|
||||||
doins ext/config/conf.d/auth.conf
|
|
||||||
doins ext/config/conf.d/global.conf
|
|
||||||
doins ext/config/conf.d/web-routes.conf
|
|
||||||
doins ext/config/conf.d/metrics.conf
|
|
||||||
doins ext/config/conf.d/webserver.conf
|
|
||||||
insopts -m0755
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
|
||||||
doins install.sh
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
|
||||||
doins ext/cli/ca
|
|
||||||
doins ext/cli/irb
|
|
||||||
doins ext/cli/foreground
|
|
||||||
doins ext/cli/gem
|
|
||||||
doins ext/cli/ruby
|
|
||||||
doins ext/cli/reload
|
|
||||||
doins ext/cli/start
|
|
||||||
doins ext/cli/stop
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
|
||||||
doins ext/cli_defaults/cli-defaults.sh
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
|
||||||
doins ext/bin/puppetserver
|
|
||||||
insopts -m0644
|
|
||||||
dodir /opt/puppetlabs/server/bin
|
|
||||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
|
||||||
dodir /opt/puppetlabs/bin
|
|
||||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
|
||||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
|
||||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
|
||||||
# other sys stuff
|
|
||||||
dodir /etc/puppetlabs/code
|
|
||||||
# needed for systemd
|
|
||||||
dodir /var/log/puppetlabs/puppetserver
|
|
||||||
dodir /etc/puppetlabs/puppet/ssl
|
|
||||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
|
||||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
|
||||||
# systemd type things
|
|
||||||
insinto /etc/systemd/system/puppetserver.service.d/
|
|
||||||
systemd_dounit ext/redhat/puppetserver.service
|
|
||||||
insinto /etc/default
|
|
||||||
newins ext/default puppetserver
|
|
||||||
# normal init type tasks
|
|
||||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
|
||||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
|
||||||
# misc
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins ext/puppetserver.logrotate.conf puppetserver
|
|
||||||
# cleanup
|
|
||||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
|
||||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
|
||||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
|
||||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
|
||||||
insinto /opt/puppetlabs/server/data
|
|
||||||
doins ext/build-scripts/jruby-gem-list.txt
|
|
||||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
|
||||||
insopts -m 0644
|
|
||||||
insinto /usr/lib/tmpfiles.d
|
|
||||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "to install you may want to run the following:"
|
|
||||||
elog
|
|
||||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
|
||||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
|
||||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
|
||||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
|
||||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
|
||||||
elog
|
|
||||||
elog "# install puppetserver gems"
|
|
||||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
|
||||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
|
||||||
elog "while read LINE; do"
|
|
||||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
|
||||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
|
||||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
|
||||||
elog "while read LINE; do"
|
|
||||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
|
||||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
|
||||||
}
|
|
@ -1,131 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib systemd
|
|
||||||
|
|
||||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
|
||||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
|
||||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="puppetdb"
|
|
||||||
# will need the same keywords as puppet
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
RDEPEND+="
|
|
||||||
>=virtual/jdk-1.8.0
|
|
||||||
app-admin/puppet-agent[puppetdb?]"
|
|
||||||
DEPEND+="acct-user/puppet
|
|
||||||
acct-group/puppet"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
|
||||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
|
||||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
|
||||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
|
||||||
sed -i 's/var\/run/run/g' install.sh || die
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
einfo "not compiling"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
|
||||||
insopts -m0774
|
|
||||||
doins ext/ezbake-functions.sh
|
|
||||||
insopts -m0644
|
|
||||||
doins ext/ezbake.manifest
|
|
||||||
doins puppet-server-release.jar
|
|
||||||
insinto /etc/puppetlabs/puppetserver
|
|
||||||
doins ext/config/logback.xml
|
|
||||||
doins ext/config/request-logging.xml
|
|
||||||
insinto /etc/puppetlabs/puppetserver/services.d
|
|
||||||
doins ext/system-config/services.d/bootstrap.cfg
|
|
||||||
doins ext/config/services.d/ca.cfg
|
|
||||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
|
||||||
doins ext/config/conf.d/puppetserver.conf
|
|
||||||
doins ext/config/conf.d/auth.conf
|
|
||||||
doins ext/config/conf.d/global.conf
|
|
||||||
doins ext/config/conf.d/web-routes.conf
|
|
||||||
doins ext/config/conf.d/metrics.conf
|
|
||||||
doins ext/config/conf.d/webserver.conf
|
|
||||||
insopts -m0755
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
|
||||||
doins install.sh
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
|
||||||
doins ext/cli/ca
|
|
||||||
doins ext/cli/irb
|
|
||||||
doins ext/cli/foreground
|
|
||||||
doins ext/cli/gem
|
|
||||||
doins ext/cli/ruby
|
|
||||||
doins ext/cli/reload
|
|
||||||
doins ext/cli/start
|
|
||||||
doins ext/cli/stop
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
|
||||||
doins ext/cli_defaults/cli-defaults.sh
|
|
||||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
|
||||||
doins ext/bin/puppetserver
|
|
||||||
insopts -m0644
|
|
||||||
dodir /opt/puppetlabs/server/bin
|
|
||||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
|
||||||
dodir /opt/puppetlabs/bin
|
|
||||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
|
||||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
|
||||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
|
||||||
# other sys stuff
|
|
||||||
dodir /etc/puppetlabs/code
|
|
||||||
# needed for systemd
|
|
||||||
keepdir /var/log/puppetlabs/puppetserver
|
|
||||||
dodir /etc/puppetlabs/puppet/ssl
|
|
||||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
|
||||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
|
||||||
# systemd type things
|
|
||||||
insinto /etc/systemd/system/puppetserver.service.d/
|
|
||||||
systemd_dounit ext/redhat/puppetserver.service
|
|
||||||
insinto /etc/default
|
|
||||||
newins ext/default puppetserver
|
|
||||||
# normal init type tasks
|
|
||||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
|
||||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
|
||||||
# misc
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins ext/puppetserver.logrotate.conf puppetserver
|
|
||||||
# cleanup
|
|
||||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
|
||||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
|
||||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
|
||||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
|
||||||
insinto /opt/puppetlabs/server/data
|
|
||||||
doins ext/build-scripts/jruby-gem-list.txt
|
|
||||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
|
||||||
insopts -m 0644
|
|
||||||
insinto /usr/lib/tmpfiles.d
|
|
||||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "to install you may want to run the following:"
|
|
||||||
elog
|
|
||||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
|
||||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
|
||||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
|
||||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
|
||||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
|
||||||
elog
|
|
||||||
elog "# install puppetserver gems"
|
|
||||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
|
||||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
|
||||||
elog "while read LINE; do"
|
|
||||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
|
||||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
|
||||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
|
||||||
elog "while read LINE; do"
|
|
||||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
|
||||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
DIST xkcdpass-1.17.6.tar.gz 8216233 BLAKE2B dc6f8b1bf76eba5271bf6027baf6bfbe5a18081ac85970ba35be3d0cf4e08d98d60b8bc819c05512aab94d621cf93fe9dca74a0108cdd4d94ad6ae830c28d3c2 SHA512 db47d6f0d5711e1aa4520fa3afb78b085b2e5a7599fa7eecbc3f806f5c7edceae9c54c250923147c87a837b54b5efd0d8f34f9c08e3104341f1243de0edf87f9
|
DIST xkcdpass-1.17.6.tar.gz 8216233 BLAKE2B dc6f8b1bf76eba5271bf6027baf6bfbe5a18081ac85970ba35be3d0cf4e08d98d60b8bc819c05512aab94d621cf93fe9dca74a0108cdd4d94ad6ae830c28d3c2 SHA512 db47d6f0d5711e1aa4520fa3afb78b085b2e5a7599fa7eecbc3f806f5c7edceae9c54c250923147c87a837b54b5efd0d8f34f9c08e3104341f1243de0edf87f9
|
||||||
|
DIST xkcdpass-1.19.2.tar.gz 2073808 BLAKE2B 19ad3f505ab672b1a2554e534896b15c77eb9741e7da01e22efff44d069ff6a482c122ec7fa616bc3789d2ce4bd5f6050c06bcff9661476d15fbc78edc505c36 SHA512 20376fc22fb4d251e2b921d4db48fea2109a4c42832614d41e807b262130111c58e01d1ded2019fad230a458953a2f185d92cfe95f3950aaa0a97750b3b3a2b6
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9,10} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Password generator inspired by XKCD 936"
|
||||||
|
HOMEPAGE="https://github.com/redacted/XKCD-password-generator"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD CC-BY-3.0
|
||||||
|
l10n_de? ( GPL-3 )
|
||||||
|
l10n_it? ( CC-BY-SA-3.0 )
|
||||||
|
l10n_no? ( CC-BY-4.0 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="l10n_de l10n_en l10n_es l10n_fi l10n_fr l10n_it l10n_no l10n_pt"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
use l10n_de || rm ${PN}/static/ger-anlx
|
||||||
|
use l10n_en || rm ${PN}/static/{eff-short,eff-special,legacy}
|
||||||
|
use l10n_es || rm ${PN}/static/spa-mich
|
||||||
|
use l10n_fi || rm ${PN}/static/fin-kotus
|
||||||
|
use l10n_fr || rm ${PN}/static/fr-*
|
||||||
|
use l10n_it || rm ${PN}/static/ita-wiki
|
||||||
|
use l10n_no || rm ${PN}/static/nor-nb
|
||||||
|
use l10n_pt || rm ${PN}/static/pt-*
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
doman ${PN}.1
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="A simple, modern and secure encryption tool (and Go library)"
|
||||||
|
HOMEPAGE="https://github.com/FiloSottile/age"
|
||||||
|
|
||||||
|
MY_PV=$(ver_cut 1-3)-rc.$(ver_cut 5)
|
||||||
|
|
||||||
|
EGO_SUM=(
|
||||||
|
"filippo.io/edwards25519 v1.0.0-beta.3"
|
||||||
|
"filippo.io/edwards25519 v1.0.0-beta.3/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad"
|
||||||
|
"golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037"
|
||||||
|
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
|
||||||
|
"golang.org/x/term v0.0.0-20201117132131-f5c789dd3221"
|
||||||
|
"golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod"
|
||||||
|
"golang.org/x/text v0.3.0/go.mod"
|
||||||
|
)
|
||||||
|
go-module_set_globals
|
||||||
|
SRC_URI="https://github.com/FiloSottile/age/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_SUM_SRC_URI}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/age-${MY_PV}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
#RESTRICT+=" test"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
BDEPEND="dev-go/gox"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
go build -ldflags "-X main.Version=${MY_PV}" -o . filippo.io/age/cmd/... || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
go test -race filippo.io/age/cmd/... || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin age age-keygen
|
||||||
|
doman doc/age.1 doc/age-keygen.1
|
||||||
|
dodoc README.md
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST free42-nologo-2.5.24.tgz 7423183 BLAKE2B e10425af8d5c30be6ab5b728130bbe3068c414e24f033b65623951f915bcfeea0672857ff8def3e9f2766aba79411a1022d4b83592281567de38e82613d8a832 SHA512 a0702c3e4b2f3f38f73c54de4e51da8d1dc90585b253d1ae087d59dfabbe83be9c80086df8540cb6420dae8c6e766cd1ccce875d9bcb94ecbc85791e3fa89b8b
|
DIST free42-nologo-2.5.24.tgz 7423183 BLAKE2B e10425af8d5c30be6ab5b728130bbe3068c414e24f033b65623951f915bcfeea0672857ff8def3e9f2766aba79411a1022d4b83592281567de38e82613d8a832 SHA512 a0702c3e4b2f3f38f73c54de4e51da8d1dc90585b253d1ae087d59dfabbe83be9c80086df8540cb6420dae8c6e766cd1ccce875d9bcb94ecbc85791e3fa89b8b
|
||||||
DIST free42-nologo-2.5.25.tgz 7423321 BLAKE2B 23d69045df8e7a96669a14e5760da4e1f8578b050ff6ddb19b000c8254b04883449c38e78c5af93a9341485363ae52ce41e6398b9954a6eac61aae6276e20488 SHA512 cedc05ad60cf56b4634e0b1525ef75fac8ad16ce14ae80752fda12a6373cc2cf42d4b696e99c121b1dc42087e477ca2d948f173c9128acc91d5bc266259b2836
|
DIST free42-nologo-2.5.25.tgz 7423321 BLAKE2B 23d69045df8e7a96669a14e5760da4e1f8578b050ff6ddb19b000c8254b04883449c38e78c5af93a9341485363ae52ce41e6398b9954a6eac61aae6276e20488 SHA512 cedc05ad60cf56b4634e0b1525ef75fac8ad16ce14ae80752fda12a6373cc2cf42d4b696e99c121b1dc42087e477ca2d948f173c9128acc91d5bc266259b2836
|
||||||
DIST free42-nologo-3.0.1.tgz 7438742 BLAKE2B 1cbfe038d63a5cc77e20e8ae257f7edfb891a109d8e49e79a149942d318788879df0b61f037caf9609a36766648fd34909fa3f41f439fb2ac2d4e14837b1bdd2 SHA512 73fd32289a191a40f3fd5cbef1f85f28ca6da62c38eeb2c1adc5e58b5cd620985f5f78ce110ff90156e5986a5e1e067aa265bbabdffd6f250440a9d766f214c2
|
DIST free42-nologo-3.0.1.tgz 7438742 BLAKE2B 1cbfe038d63a5cc77e20e8ae257f7edfb891a109d8e49e79a149942d318788879df0b61f037caf9609a36766648fd34909fa3f41f439fb2ac2d4e14837b1bdd2 SHA512 73fd32289a191a40f3fd5cbef1f85f28ca6da62c38eeb2c1adc5e58b5cd620985f5f78ce110ff90156e5986a5e1e067aa265bbabdffd6f250440a9d766f214c2
|
||||||
|
DIST free42-nologo-3.0.3.tgz 7443713 BLAKE2B dd9db670aa463343387e66a2ad56f212463c0b02135cb489e8937eb434fa0431228f6120ade8000f357f92a384f5f5bdf53d07fe1d14eb0ad2f81be269a075b8 SHA512 fc5c9520c04eabd5978cc4e8a9e237107605775cf94a4bc3877fedf19d3b94c0c4ee59db9a6a423cf1747ab3e63e479860f3da5968606414824df5b986eba3a1
|
||||||
|
@ -0,0 +1,50 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
MY_PV="${PN}-nologo-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="An HP-42S Calculator Simulator"
|
||||||
|
HOMEPAGE="https://thomasokken.com/free42/"
|
||||||
|
SRC_URI="https://thomasokken.com/free42/upstream/${MY_PV}.tgz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+alsa"
|
||||||
|
|
||||||
|
DEPEND="dev-libs/atk
|
||||||
|
x11-libs/cairo
|
||||||
|
x11-libs/gdk-pixbuf
|
||||||
|
x11-libs/gtk+:3
|
||||||
|
alsa? ( media-libs/alsa-lib )"
|
||||||
|
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
DOCS=( CREDITS HISTORY README )
|
||||||
|
S="${WORKDIR}/${MY_PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-2.5.16-fix-makefile.patch"
|
||||||
|
"${FILESDIR}/${PN}-2.5.3-fix-build-intel-lib.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local myconf
|
||||||
|
use alsa && myconf="AUDIO_ALSA=yes"
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" ${myconf} -C gtk
|
||||||
|
emake -C gtk clean
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" BCD_MATH=1 ${myconf} -C gtk
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
dobin gtk/free42bin gtk/free42dec
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST ca-certificates_20210119.tar.xz 232964 BLAKE2B 593352912d2b490e3f46ea032ac1ddf1c87a7ac93859d475461cbba490918cdec853b0bb30bb253a634d8d597ca6f0304bc81122b4b31b5b31fd6a80e1faaf33 SHA512 a824209fa0ff0865872a07d8e6b901d8407f599243810fd5c820e1f69226e05b0b4f1e25e5ff3d8d398ff952529084442f026e32220961f359f6323f6bf03373
|
DIST ca-certificates_20210119.tar.xz 232964 BLAKE2B 593352912d2b490e3f46ea032ac1ddf1c87a7ac93859d475461cbba490918cdec853b0bb30bb253a634d8d597ca6f0304bc81122b4b31b5b31fd6a80e1faaf33 SHA512 a824209fa0ff0865872a07d8e6b901d8407f599243810fd5c820e1f69226e05b0b4f1e25e5ff3d8d398ff952529084442f026e32220961f359f6323f6bf03373
|
||||||
DIST nss-3.64.tar.gz 82173054 BLAKE2B 4786a1ff6f4e47dbb6bfef6a2bc47ffeac51aa37f12168872d23799b8d6ca440578acf512e9ec7563ef64331d3fd84c387f17e41afa2ee30d8623c6f66207631 SHA512 0a85e1f64f97670f70596d8a479693939ca454025a4b3bbd557a54ed683ffed625c670fef6a6e3440365af9aa472384f84464942381b1c093659f6a6a222ba04
|
DIST nss-3.66.tar.gz 82401896 BLAKE2B ae369899af681e1c6ea8046098c83da08c2112b16d85a0eaee46e9d4f97dfb3f7c3e97eb681ec947b5648446c6db51e8f1396ec9bb6c731c9678ecf925e7f743 SHA512 327129cb065a8c19246e081e3cbc4798c81dc52eab6ee366eade151e9d308990592075c52a7c672165725fd855a0c539d56a803c26ef066561c584d693e0e467
|
||||||
DIST nss-cacert-class1-class3-r1.patch 22503 BLAKE2B d2ba6b5c3675484dab5b6709478101a9dadc0baded3dbf891dcd04e5eb912079b87cdd17f893a0f539a2a53fb05357c6dd309fb624facac3b021c82c7424a91f SHA512 68906d2442986ad13ebf9cd97c26fac34af3efd5cfaacb3d7824adad966349ad796c9cec8dec44c46d5c571df88ce83aea02ce82e71da337aa4e1aeef58eda66
|
DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d SHA512 1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST mydumper-0.10.1.tar.gz 63967 BLAKE2B ad2876eb4fd6528c119d722e70b096d12698119e6d84737601d7bc0e71022926f579d21456b73b8ff1d384c961256538467badeaceaf60a92b333196a17dda10 SHA512 dbcb207c8ac61b286cd4464a3f2c67ea6972d1cab215c09a577cdf621f685011cc26e1e36399b72be2a8165b4e4c518b401be928b6a1a31e35d2f27c169dcc18
|
DIST mydumper-0.10.1.tar.gz 63967 BLAKE2B ad2876eb4fd6528c119d722e70b096d12698119e6d84737601d7bc0e71022926f579d21456b73b8ff1d384c961256538467badeaceaf60a92b333196a17dda10 SHA512 dbcb207c8ac61b286cd4464a3f2c67ea6972d1cab215c09a577cdf621f685011cc26e1e36399b72be2a8165b4e4c518b401be928b6a1a31e35d2f27c169dcc18
|
||||||
DIST mydumper-0.10.3.tar.gz 64622 BLAKE2B 14020b6bbb72271659dec965de164274e2bf81c72b52fa7c1d6997f393d1c0cc977d06d689bb7d7c6e3da86926add2c61f1551afdd30be71ddc97c4803d4e455 SHA512 d7cf6897815de3d46ec15cbcacc393722f7d547300a45e70960e47b8ce30e06a5e652f52a0ff8999d2ac3662b4a48927aadbab464668ac23f446eee95ba574cf
|
DIST mydumper-0.10.3.tar.gz 64622 BLAKE2B 14020b6bbb72271659dec965de164274e2bf81c72b52fa7c1d6997f393d1c0cc977d06d689bb7d7c6e3da86926add2c61f1551afdd30be71ddc97c4803d4e455 SHA512 d7cf6897815de3d46ec15cbcacc393722f7d547300a45e70960e47b8ce30e06a5e652f52a0ff8999d2ac3662b4a48927aadbab464668ac23f446eee95ba574cf
|
||||||
|
DIST mydumper-0.10.5.tar.gz 66399 BLAKE2B 77bba97580bcdb267d77be455f56831209a29b71389337c844e4e0cb37749dc22d000d3845e936f5d589951a21ad61bf19cd3b9084004a62aa1b33f16f81b5a0 SHA512 61127c4b9ae5a01111d431672ec3818a6c3db74704ac5db12d286e380273968b8b9e56298ac73eb6c1c32649875fd2ee01d099a73c99cb9c8d4604eaf0eedb09
|
||||||
DIST mydumper-0.9.5.tar.gz 60010 BLAKE2B f74a949712526b3fc3b1957c9f9dc5c5f820d88f781926331e751eb99e6315b37bd8f38ac8a0e1943485cc74fe9b14a7e74e955c77ceba6b10bb1e18a7720d75 SHA512 5b72234c88fd22c103afb9fa5a7c3c99d6585cb450b8cc7385cfd23ae2ce09c0848d15767a5957a7b8f87a7614bdb058dea8990f1a2a12300c2c74fc9da2de75
|
DIST mydumper-0.9.5.tar.gz 60010 BLAKE2B f74a949712526b3fc3b1957c9f9dc5c5f820d88f781926331e751eb99e6315b37bd8f38ac8a0e1943485cc74fe9b14a7e74e955c77ceba6b10bb1e18a7720d75 SHA512 5b72234c88fd22c103afb9fa5a7c3c99d6585cb450b8cc7385cfd23ae2ce09c0848d15767a5957a7b8f87a7614bdb058dea8990f1a2a12300c2c74fc9da2de75
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
diff --git a/cmake/modules/FindMySQL.cmake b/cmake/modules/FindMySQL.cmake
|
||||||
|
index 23470a8..2b8ae63 100644
|
||||||
|
--- a/cmake/modules/FindMySQL.cmake
|
||||||
|
+++ b/cmake/modules/FindMySQL.cmake
|
||||||
|
@@ -85,20 +85,8 @@ find_path(MYSQL_INCLUDE_DIR mysql.h
|
||||||
|
|
||||||
|
set(TMP_MYSQL_LIBRARIES "")
|
||||||
|
set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .so.1 .dylib .a)
|
||||||
|
-foreach(MY_LIB ${MYSQL_ADD_LIBRARIES})
|
||||||
|
- find_library("MYSQL_LIBRARIES_${MY_LIB}" NAMES ${MY_LIB}
|
||||||
|
- HINTS
|
||||||
|
- ${MYSQL_ADD_LIBRARY_PATH}
|
||||||
|
- /usr/lib/mysql
|
||||||
|
- /usr/lib
|
||||||
|
- /usr/local/lib
|
||||||
|
- /usr/local/lib/mysql
|
||||||
|
- /usr/local/mysql/lib
|
||||||
|
- )
|
||||||
|
- list(APPEND TMP_MYSQL_LIBRARIES "${MYSQL_LIBRARIES_${MY_LIB}}")
|
||||||
|
-endforeach(MY_LIB ${MYSQL_ADD_LIBRARIES})
|
||||||
|
-
|
||||||
|
-set(MYSQL_LIBRARIES ${TMP_MYSQL_LIBRARIES} CACHE FILEPATH INTERNAL)
|
||||||
|
+
|
||||||
|
+set(MYSQL_LIBRARIES ${MYSQL_ADD_LIBRARIES} CACHE FILEPATH INTERNAL)
|
||||||
|
|
||||||
|
if(MYSQL_INCLUDE_DIR AND MYSQL_LIBRARIES)
|
||||||
|
set(MYSQL_FOUND TRUE CACHE INTERNAL "MySQL found")
|
@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="A high-performance multi-threaded backup (and restore) toolset for MySQL"
|
||||||
|
HOMEPAGE="https://github.com/maxbube/mydumper"
|
||||||
|
SRC_URI="https://github.com/maxbube/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc"
|
||||||
|
|
||||||
|
RDEPEND="app-arch/zstd
|
||||||
|
dev-db/mysql-connector-c:=
|
||||||
|
dev-libs/glib:=
|
||||||
|
dev-libs/libpcre:=
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
sys-libs/zlib:="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig
|
||||||
|
doc? ( dev-python/sphinx )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-atomic.patch" #654314
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# respect user cflags; do not expand ${CMAKE_C_FLAGS} (!)
|
||||||
|
sed -i -e 's|-Werror -O3 -g|${CMAKE_C_FLAGS}|' CMakeLists.txt || die
|
||||||
|
|
||||||
|
# fix doc install path
|
||||||
|
sed -i -e "s|share/doc/mydumper|share/doc/${PF}|" docs/CMakeLists.txt || die
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=("-DBUILD_DOCS=$(usex doc)")
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Binary file not shown.
@ -1,45 +1,38 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI="5"
|
EAPI=7
|
||||||
|
|
||||||
JAVA_PKG_IUSE="doc source"
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
DESCRIPTION="OSGi Enterprise Release 5 Companion Code"
|
DESCRIPTION="OSGi Enterprise Release 5 Companion Code"
|
||||||
SRC_URI="http://www.osgi.org/download/r5/osgi.enterprise-${PV}.jar"
|
|
||||||
HOMEPAGE="http://www.osgi.org/Main/HomePage"
|
HOMEPAGE="http://www.osgi.org/Main/HomePage"
|
||||||
|
SRC_URI="https://docs.osgi.org/download/r5/osgi.enterprise-${PV}.jar"
|
||||||
|
|
||||||
LICENSE="Apache-2.0 OSGi-Specification-2.0"
|
LICENSE="Apache-2.0 OSGi-Specification-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64 ~ppc64 x86"
|
KEYWORDS="amd64 ~ppc64 x86"
|
||||||
|
|
||||||
RESTRICT="bindist fetch"
|
RESTRICT="bindist"
|
||||||
|
|
||||||
CDEPEND="dev-java/glassfish-persistence:0
|
CDEPEND="dev-java/glassfish-persistence:0
|
||||||
dev-java/osgi-core-api:0
|
dev-java/osgi-core-api:0
|
||||||
java-virtuals/servlet-api:2.5"
|
java-virtuals/servlet-api:2.5"
|
||||||
|
|
||||||
RDEPEND="${CDEPEND}
|
RDEPEND="${CDEPEND}
|
||||||
>=virtual/jre-1.5"
|
>=virtual/jre-1.8:*"
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
DEPEND="${CDEPEND}
|
||||||
>=virtual/jdk-1.5
|
>=virtual/jdk-1.8:*
|
||||||
app-arch/unzip"
|
app-arch/unzip"
|
||||||
|
|
||||||
JAVA_SRC_DIR="OSGI-OPT/src"
|
JAVA_SRC_DIR="OSGI-OPT/src"
|
||||||
|
|
||||||
JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5"
|
JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,servlet-api-2.5"
|
||||||
|
|
||||||
pkg_nofetch() {
|
src_prepare() {
|
||||||
einfo "Please download osgi.enterprise-${PV}.jar from"
|
default
|
||||||
einfo " http://www.osgi.org/Download/Release5"
|
|
||||||
einfo "which you can find listed as"
|
|
||||||
einfo " OSGi Enterprise Release 5 Companion Code"
|
|
||||||
einfo "after accepting the license."
|
|
||||||
}
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
rm -r org || die
|
rm -r org || die
|
||||||
}
|
}
|
Binary file not shown.
@ -0,0 +1,41 @@
|
|||||||
|
--- a/gcc-10-2021-20210519-19A74-src/gcc/ada/osint.adb 2017-03-10 21:58:02.600710156 +0100
|
||||||
|
+++ b/gcc-10-2021-20210519-19A74-src/gcc/ada/osint.adb 2017-03-10 21:59:38.033983293 +0100
|
||||||
|
@@ -2229,14 +2229,11 @@
|
||||||
|
for J in Start_Of_Prefix .. Name_Len - Prog'Length + 1 loop
|
||||||
|
if Name_Buffer (J .. J + Prog'Length - 1) = Prog then
|
||||||
|
End_Of_Prefix := J - 1;
|
||||||
|
+ Start_Of_Suffix := J + Prog'Length;
|
||||||
|
exit;
|
||||||
|
end if;
|
||||||
|
end loop;
|
||||||
|
|
||||||
|
- if End_Of_Prefix > 1 then
|
||||||
|
- Start_Of_Suffix := End_Of_Prefix + Prog'Length + 1;
|
||||||
|
- end if;
|
||||||
|
-
|
||||||
|
-- Create the new program name
|
||||||
|
|
||||||
|
return new String'
|
||||||
|
--- a/patch/04_all_nossp-on-nostdlib.patch 2021-05-10 21:37:05.733985417 +0200
|
||||||
|
+++ b/patch/04_all_nossp-on-nostdlib.patch 2021-05-10 21:38:02.925029050 +0200
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
--- a/gcc/gcc.c 2017-07-04 09:15:57.740793000 +0200
|
||||||
|
+++ b/gcc/gcc.c 2018-03-02 13:58:44.387741114 +0100
|
||||||
|
@@ -857,6 +857,12 @@ proper position among the other output f
|
||||||
|
- #define LINK_GCC_C_SEQUENCE_SPEC "%G %L %G"
|
||||||
|
+ #define LINK_GCC_C_SEQUENCE_SPEC "%G %{!nolibc:%L %G}"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#ifdef ENABLE_DEFAULT_SSP
|
||||||
|
@@ -19,9 +19,9 @@
|
||||||
|
@@ -1131,7 +1148,7 @@ static const char *cc1_options =
|
||||||
|
%{-version:--version}\
|
||||||
|
%{-help=*:--help=%*}\
|
||||||
|
- %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}}\
|
||||||
|
+ %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %w%b.s}}}\
|
||||||
|
- %{fsyntax-only:-o %j} %{-param*}\
|
||||||
|
+ %{fsyntax-only:-o %j} %{-param*} " NO_SSP_SPEC "\
|
||||||
|
%{coverage:-fprofile-arcs -ftest-coverage}\
|
||||||
|
+ %{fdump-scos:-fpreserve-decisions-generic}\
|
||||||
|
%{fprofile-arcs|fprofile-generate*|coverage:\
|
||||||
|
- %{!fprofile-update=singel:\
|
@ -0,0 +1,132 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PATCH_GCC_VER=10.3.0
|
||||||
|
PATCH_VER="1"
|
||||||
|
|
||||||
|
TOOLCHAIN_GCC_PV=10.3.1
|
||||||
|
|
||||||
|
REL=10
|
||||||
|
MYP=gcc-${REL}-${PV}-20210519-19A74-src
|
||||||
|
GNATDIR=gnat-${PV}-20210519-19A70-src
|
||||||
|
INTFDIR=gcc-interface-${REL}-${PV}-20210519-19A75-src
|
||||||
|
BTSTRP_X86=gnat-gpl-2014-x86-linux-bin
|
||||||
|
BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin
|
||||||
|
|
||||||
|
# we provide own tarball below
|
||||||
|
GCC_TARBALL_SRC_URI="
|
||||||
|
https://community.download.adacore.com/v1/005d2b2eff627177986d2517eb31e1959bec6f3a?filename=${GNATDIR}.tar.gz
|
||||||
|
-> ${GNATDIR}.tar.gz
|
||||||
|
https://community.download.adacore.com/v1/44cd393be0b468cc253bf2cf9cf7804c993e7b5b?filename=${MYP}.tar.gz
|
||||||
|
-> ${MYP}.tar.gz
|
||||||
|
https://community.download.adacore.com/v1/8ace7d06e469d36d726cc8badb0ed78411e727f3?filename=${INTFDIR}.tar.gz
|
||||||
|
-> ${INTFDIR}.tar.gz
|
||||||
|
bootstrap? (
|
||||||
|
amd64? (
|
||||||
|
http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c ->
|
||||||
|
${BTSTRP_AMD64}.tar.gz
|
||||||
|
)
|
||||||
|
x86? (
|
||||||
|
http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 ->
|
||||||
|
${BTSTRP_X86}.tar.gz
|
||||||
|
)
|
||||||
|
)"
|
||||||
|
|
||||||
|
inherit toolchain-funcs toolchain
|
||||||
|
|
||||||
|
DESCRIPTION="GNAT Ada Compiler - GPL version"
|
||||||
|
HOMEPAGE="http://libre.adacore.com/"
|
||||||
|
|
||||||
|
LICENSE+=" GPL-2 GPL-3"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+ada +bootstrap"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}"
|
||||||
|
BDEPEND=sys-devel/binutils
|
||||||
|
|
||||||
|
S="${WORKDIR}"/${MYP}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
|
||||||
|
eerror "You need a gcc compiler that provides the Ada Compiler:"
|
||||||
|
eerror "1) use gcc-config to select the right compiler or"
|
||||||
|
eerror "2) set the bootstrap use flag"
|
||||||
|
die "ada compiler not available"
|
||||||
|
fi
|
||||||
|
|
||||||
|
toolchain_src_unpack
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use amd64; then
|
||||||
|
BTSTRP=${BTSTRP_AMD64}
|
||||||
|
else
|
||||||
|
BTSTRP=${BTSTRP_X86}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use bootstrap; then
|
||||||
|
GCC="${WORKDIR}"/${BTSTRP}/bin/gcc
|
||||||
|
else
|
||||||
|
GCC=${ADA:-$(tc-getCC)}
|
||||||
|
fi
|
||||||
|
|
||||||
|
gnatbase=$(basename ${GCC})
|
||||||
|
gnatpath=$(dirname ${GCC})
|
||||||
|
|
||||||
|
GNATMAKE=${gnatbase/gcc/gnatmake}
|
||||||
|
if [[ ${gnatpath} != "." ]] ; then
|
||||||
|
GNATMAKE="${gnatpath}/${GNATMAKE}"
|
||||||
|
fi
|
||||||
|
if use bootstrap; then
|
||||||
|
rm "${WORKDIR}"/${BTSTRP}/libexec/gcc/*/4.7.4/ld || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
CC=${GCC}
|
||||||
|
CXX="${gnatbase/gcc/g++}"
|
||||||
|
GNATBIND="${gnatbase/gcc/gnatbind}"
|
||||||
|
GNATLINK="${gnatbase/gcc/gnatlink}"
|
||||||
|
GNATLS="${gnatbase/gcc/gnatls}"
|
||||||
|
if [[ ${gnatpath} != "." ]] ; then
|
||||||
|
CXX="${gnatpath}/${CXX}"
|
||||||
|
GNATBIND="${gnatpath}/${GNATBIND}"
|
||||||
|
GNATLINK="${gnatpath}/${GNATLINK}"
|
||||||
|
GNATLS="${gnatpath}/${GNATLS}"
|
||||||
|
fi
|
||||||
|
mkdir bin || die
|
||||||
|
ln -s $(which ${GCC}) bin/gcc || die
|
||||||
|
ln -s $(which ${CXX}) bin/g++ || die
|
||||||
|
ln -s $(which ${GNATMAKE}) bin/gnatmake || die
|
||||||
|
ln -s $(which ${GNATBIND}) bin/gnatbind || die
|
||||||
|
ln -s $(which ${GNATLINK}) bin/gnatlink || die
|
||||||
|
ln -s $(which ${GNATLS}) bin/gnatls || die
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
mv ${GNATDIR}/src/ada ${MYP}/gcc/ || die
|
||||||
|
mv ${INTFDIR} ${MYP}/gcc/ada/gcc-interface || die
|
||||||
|
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||||||
|
cd -
|
||||||
|
sed -i \
|
||||||
|
-e 's:$(P) ::g' \
|
||||||
|
gcc/ada/gcc-interface/Makefile.in \
|
||||||
|
|| die "sed failed"
|
||||||
|
toolchain_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
export PATH=${PWD}/bin:${PATH}
|
||||||
|
downgrade_arch_flags "$(gcc-version)"
|
||||||
|
toolchain_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
toolchain_pkg_postinst
|
||||||
|
einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"
|
||||||
|
einfo "The compiler binary is ${CTARGET}-gcc-${TOOLCHAIN_GCC_PV}"
|
||||||
|
einfo "Even if the c/c++ compilers are using almost the same patched"
|
||||||
|
einfo "source as the sys-devel/gcc package its use is not extensively"
|
||||||
|
einfo "tested, and not supported for updating your system, except for ada"
|
||||||
|
einfo "related packages"
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST expat-2.2.10.tar.xz 425432 BLAKE2B 5d84d7dec5aae6ca7906bd2a2b8a249457111e064295b83b6c9927b5ef0dc97e7220bac1da17781e24541259ae81b60a2314cd372bfbdfc2e08fab082377df4a SHA512 a8e0c8a9cf7e6fbacdc6e709f3c99c533ab550fba52557d24259bb8b360f9697624c7500c0e9886fa57ee2b529aadd0d1835d66fe8112e15c20df75cd3eb090f
|
|
||||||
DIST expat-2.3.0.tar.xz 433508 BLAKE2B b547cbca23f2ca11bef326225b8e2958a3539dbb14789c33fb0f2aede35bfbe12981d151624b0497ab2ad488ec06529ae2a996e514b19b39622ae7fc29f47832 SHA512 dde8a9a094b18d795a0e86ca4aa68488b352dc67019e0d669e8b910ed149628de4c2a49bc3a5b832f624319336a01f9e4debe03433a43e1c420f36356d886820
|
|
||||||
DIST expat-2.4.1.tar.xz 445024 BLAKE2B 2ae66d284a03176ef7290093f59bb7ad98011dfbf3c7c3515ba4e4b99f849474def6ce6d9844c944fed22d86ac4ea1a38863646be914d9432eda7b69d890be65 SHA512 9dc760dbf701f75e55c4479d81417622f8c750d8473498458a382a4c2932a2976a059cb3589f88855188e5173ec7868d285c4601428e0ca625df7a59cf975191
|
DIST expat-2.4.1.tar.xz 445024 BLAKE2B 2ae66d284a03176ef7290093f59bb7ad98011dfbf3c7c3515ba4e4b99f849474def6ce6d9844c944fed22d86ac4ea1a38863646be914d9432eda7b69d890be65 SHA512 9dc760dbf701f75e55c4479d81417622f8c750d8473498458a382a4c2932a2976a059cb3589f88855188e5173ec7868d285c4601428e0ca625df7a59cf975191
|
||||||
|
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
AUTOTOOLS_AUTO_DEPEND=no
|
|
||||||
inherit autotools multilib-minimal usr-ldscript
|
|
||||||
|
|
||||||
DESCRIPTION="Stream-oriented XML parser library"
|
|
||||||
HOMEPAGE="https://libexpat.github.io/"
|
|
||||||
SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
|
||||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
|
||||||
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# fix interpreter to be a recent/good shell
|
|
||||||
sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
|
|
||||||
if use unicode; then
|
|
||||||
cp -R "${S}" "${S}"w || die
|
|
||||||
pushd "${S}"w >/dev/null
|
|
||||||
find -name Makefile.am \
|
|
||||||
-exec sed \
|
|
||||||
-e 's,libexpat\.la,libexpatw.la,' \
|
|
||||||
-e 's,libexpat_la,libexpatw_la,' \
|
|
||||||
-i {} + || die
|
|
||||||
eautoreconf
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf="$(use_enable static-libs static) --without-docbook"
|
|
||||||
|
|
||||||
mkdir -p "${BUILD_DIR}"w || die
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf ${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
emake -C lib
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake install DESTDIR="${D}"
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
emake -C lib install DESTDIR="${D}"
|
|
||||||
popd >/dev/null
|
|
||||||
|
|
||||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
|
||||||
cp expat.pc expatw.pc
|
|
||||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
|
||||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
|
||||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
doman doc/xmlwf.1
|
|
||||||
|
|
||||||
# Note: Use of HTML_DOCS would add unwanted "doc" subfolder
|
|
||||||
docinto html
|
|
||||||
dodoc doc/*.{css,html,png}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
dodoc examples/*.c
|
|
||||||
docompress -x usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
@ -1,99 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
AUTOTOOLS_AUTO_DEPEND=no
|
|
||||||
inherit autotools multilib-minimal usr-ldscript
|
|
||||||
|
|
||||||
DESCRIPTION="Stream-oriented XML parser library"
|
|
||||||
HOMEPAGE="https://libexpat.github.io/"
|
|
||||||
SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
|
||||||
IUSE="elibc_FreeBSD examples static-libs unicode"
|
|
||||||
BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
|
|
||||||
|
|
||||||
DOCS=( README.md )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# fix interpreter to be a recent/good shell
|
|
||||||
sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
|
|
||||||
if use unicode; then
|
|
||||||
cp -R "${S}" "${S}"w || die
|
|
||||||
pushd "${S}"w >/dev/null
|
|
||||||
find -name Makefile.am \
|
|
||||||
-exec sed \
|
|
||||||
-e 's,libexpat\.la,libexpatw.la,' \
|
|
||||||
-e 's,libexpat_la,libexpatw_la,' \
|
|
||||||
-i {} + || die
|
|
||||||
eautoreconf
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf="$(use_enable static-libs static) --without-docbook"
|
|
||||||
|
|
||||||
mkdir -p "${BUILD_DIR}"w || die
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf ${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
emake -C lib
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake install DESTDIR="${D}"
|
|
||||||
|
|
||||||
if use unicode; then
|
|
||||||
pushd "${BUILD_DIR}"w >/dev/null
|
|
||||||
emake -C lib install DESTDIR="${D}"
|
|
||||||
popd >/dev/null
|
|
||||||
|
|
||||||
pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
|
|
||||||
cp expat.pc expatw.pc
|
|
||||||
sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
|
|
||||||
popd >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
# libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
|
|
||||||
# we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
|
|
||||||
use elibc_FreeBSD && gen_usr_ldscript -a expat
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
doman doc/xmlwf.1
|
|
||||||
|
|
||||||
# Note: Use of HTML_DOCS would add unwanted "doc" subfolder
|
|
||||||
docinto html
|
|
||||||
dodoc doc/*.{css,html,png}
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
docinto examples
|
|
||||||
dodoc examples/*.c
|
|
||||||
docompress -x usr/share/doc/${PF}/examples
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -type f -delete || die
|
|
||||||
}
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue