parent
ebec77a52e
commit
63b1f60d06
Binary file not shown.
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>ultrabug@gentoo.org</email>
|
||||||
|
<name>Alexys Jacob</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>hydrapolic@gmail.com</email>
|
||||||
|
<name>Tomáš Mózes</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="MongoDB program group"
|
||||||
|
ACCT_GROUP_ID=481
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>JoMull01@protonmail.com</email>
|
||||||
|
<name>Josiah Mullins</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,7 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit acct-group
|
||||||
|
DESCRIPTION="Group management for package net-libs/tox"
|
||||||
|
ACCT_GROUP_ID=236 #day-month of first commit of tox (23-6-13).
|
Binary file not shown.
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>ultrabug@gentoo.org</email>
|
||||||
|
<name>Alexys Jacob</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>hydrapolic@gmail.com</email>
|
||||||
|
<name>Tomáš Mózes</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="MongoDB program user"
|
||||||
|
ACCT_USER_ID=481
|
||||||
|
ACCT_USER_HOME=/var/lib/mongodb
|
||||||
|
ACCT_USER_HOME_PERMS=0750
|
||||||
|
ACCT_USER_GROUPS=( mongodb )
|
||||||
|
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>JoMull01@protonmail.com</email>
|
||||||
|
<name>Josiah Mullins</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for package net-libs/tox"
|
||||||
|
|
||||||
|
ACCT_USER_ID=236 #day-month of first tox commit
|
||||||
|
ACCT_USER_GROUPS=( tox )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
@ -1,6 +1,4 @@
|
|||||||
DIST puppet-agent_6.10.1-1stretch_amd64.deb 19712026 BLAKE2B 82f5d9d18a3171b230d0e6027b9b8409b51096e12c5fd88844643320a0f5f654bc79880b35565571a6367a2d95f7a8f90ac811c2df1f1ec6c1866508c7e112e0 SHA512 8b289f8690fb67d353bc004a281e3e32a118048523bb6c743fa8ff46f2583c155ddffc22a7898662b598128f5ef75d77fd9a99b43c4afb72a23a2bfa3959f0c6
|
DIST puppet-agent_6.10.1-1stretch_amd64.deb 19712026 BLAKE2B 82f5d9d18a3171b230d0e6027b9b8409b51096e12c5fd88844643320a0f5f654bc79880b35565571a6367a2d95f7a8f90ac811c2df1f1ec6c1866508c7e112e0 SHA512 8b289f8690fb67d353bc004a281e3e32a118048523bb6c743fa8ff46f2583c155ddffc22a7898662b598128f5ef75d77fd9a99b43c4afb72a23a2bfa3959f0c6
|
||||||
DIST puppet-agent_6.10.1-1stretch_i386.deb 20055310 BLAKE2B 31bb9bd40f5098b666d911545b565654d84a422625536eff954256851089d211ea2660dbdab7b73df370efc0bbc41875617df3012ee734ec586af87967e8bc02 SHA512 33348839a245bcda4c76feae214d72bb36c1959c1b6f5f9c2db084ad1bb0018393ab6bd94e16ed987a23b2f253baf31f1df0453ead1cc6860941954ff31930c2
|
DIST puppet-agent_6.10.1-1stretch_i386.deb 20055310 BLAKE2B 31bb9bd40f5098b666d911545b565654d84a422625536eff954256851089d211ea2660dbdab7b73df370efc0bbc41875617df3012ee734ec586af87967e8bc02 SHA512 33348839a245bcda4c76feae214d72bb36c1959c1b6f5f9c2db084ad1bb0018393ab6bd94e16ed987a23b2f253baf31f1df0453ead1cc6860941954ff31930c2
|
||||||
DIST puppet-agent_6.8.0-1stretch_amd64.deb 19184708 BLAKE2B ac961857784eaaa55604285cf305dac437007628ea5baa3c3ae9a8a345fcb8cf2b20820bd80cc2c96afb77cb03c4d2779b17b1183c9bc9461b56860d2179f448 SHA512 707146f71b21df4b89244df7b786f481136cfe7b0cabf20aa0d4784aca547ba85c75d13309b77c853b9e034b8271f350b30bc5358010d90b7573e3fdb63c31b6
|
|
||||||
DIST puppet-agent_6.8.0-1stretch_i386.deb 19478404 BLAKE2B 0b9d76bb3d745ca42e489e16a133d684aa0e485941d59c6773c447f5fc79be7a964f0a2ff9e4c334a47b7d2ffc0264bd49e4f7806cbc2e72e037da1c9e385d51 SHA512 f8bc962b32abbaf070b81245b7488b4fc131d5a9e3ec94ac97038f5e9c942c70a493e61e13190fe2837eb898518724bb5f360b37531003dab37606436d66219b
|
|
||||||
DIST puppet-agent_6.9.0-1stretch_amd64.deb 19846122 BLAKE2B 7f9133d1f5cb85f45c96490c230ee0cfda707db390a3a39be218fcd730e2298099e6d70c4f44bb5c6af46736c2c8aa7906a16375088c0119045dc77b53343b91 SHA512 f96cb1a6108a21192493b7b9958243e537ab41ce3ab6a7dde4d12bcd5da25ec6a5b29632acb87c4e156256578e8348c6fdfe26043539292f98203cce69b04fff
|
DIST puppet-agent_6.9.0-1stretch_amd64.deb 19846122 BLAKE2B 7f9133d1f5cb85f45c96490c230ee0cfda707db390a3a39be218fcd730e2298099e6d70c4f44bb5c6af46736c2c8aa7906a16375088c0119045dc77b53343b91 SHA512 f96cb1a6108a21192493b7b9958243e537ab41ce3ab6a7dde4d12bcd5da25ec6a5b29632acb87c4e156256578e8348c6fdfe26043539292f98203cce69b04fff
|
||||||
DIST puppet-agent_6.9.0-1stretch_i386.deb 20170516 BLAKE2B 391a61a847bc05f9f03885f2e2140ea42b4eeca247f3223f17a82d3ede2e1bbc88226f9794777f4b20e81943d94b11612f8d4ffd9f74c2f494bdc242fb05e1a1 SHA512 595dbe1591a8ee9d703a3efdf103a3095966b22cafd0fd63fb2a7b9274ea858b55d0b915ecc32e93c49bcbeba453654fc9126efe3855924fb5c5b6732e0af83d
|
DIST puppet-agent_6.9.0-1stretch_i386.deb 20170516 BLAKE2B 391a61a847bc05f9f03885f2e2140ea42b4eeca247f3223f17a82d3ede2e1bbc88226f9794777f4b20e81943d94b11612f8d4ffd9f74c2f494bdc242fb05e1a1 SHA512 595dbe1591a8ee9d703a3efdf103a3095966b22cafd0fd63fb2a7b9274ea858b55d0b915ecc32e93c49bcbeba453654fc9126efe3855924fb5c5b6732e0af83d
|
||||||
|
@ -1,79 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit eutils systemd unpacker user
|
|
||||||
|
|
||||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
|
||||||
HOMEPAGE="https://puppetlabs.com/"
|
|
||||||
SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
|
|
||||||
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/puppet
|
|
||||||
!dev-ruby/hiera
|
|
||||||
!dev-ruby/facter
|
|
||||||
!app-emulation/virt-what"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
app-portage/eix
|
|
||||||
sys-apps/dmidecode
|
|
||||||
sys-libs/glibc
|
|
||||||
sys-libs/readline:0/7
|
|
||||||
sys-libs/ncurses:0[tinfo]
|
|
||||||
selinux? (
|
|
||||||
sys-libs/libselinux[ruby]
|
|
||||||
sec-policy/selinux-puppet
|
|
||||||
)
|
|
||||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
|
||||||
|
|
||||||
S=${WORKDIR}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup puppet
|
|
||||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
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
|
|
||||||
systemd_dounit lib/systemd/system/puppet.service
|
|
||||||
systemd_dounit lib/systemd/system/pxp-agent.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/puppet /usr/bin/puppet
|
|
||||||
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
|
|
||||||
}
|
|
@ -1,138 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
USE_RUBY="ruby23 ruby24 ruby25"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
|
||||||
|
|
||||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
|
||||||
|
|
||||||
inherit eutils user ruby-fakegem eapi7-ver
|
|
||||||
|
|
||||||
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
|
|
||||||
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"
|
|
||||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup puppet
|
|
||||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
|
||||||
}
|
|
||||||
|
|
||||||
all_ruby_prepare() {
|
|
||||||
# Avoid spec that require unpackaged json-schema.
|
|
||||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
|
||||||
|
|
||||||
# can't be run within portage.
|
|
||||||
epatch "${FILESDIR}/puppet-fix-tests-6.4.1.patch"
|
|
||||||
|
|
||||||
# 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,3 +1,2 @@
|
|||||||
DIST puppetdb-6.5.0.tar.gz 41768030 BLAKE2B 2a52239dabb5c026f4d00ee2942e3128ce50f1de23aa5ff5d53f2020237b54867b48727e774ecc27f5f18bd1617b43fcf30fbd3b03a730ca60d5bab7296e3f9c SHA512 8aee40101a17e22ef5b9b7b965ffe8d8a9b8dfaa787721b3e6a5e7363b98e0c52dc0583216a058540618a6a980cf80f138fa6b358a9daac518abd50981910cf5
|
|
||||||
DIST puppetdb-6.6.0.tar.gz 43366185 BLAKE2B 224c13ff2583a7c8124f03845eca4756be6446e7470565c44d3fe1fcb756d5564ae2ded69d0bef1dda939efe082756c0e44afd3c6b0fc4268a744946860b5a02 SHA512 5076f52af51b7a3b43a0deb9cf1f10d77da98a5e531983d3661cda522c8d46f70882457934be6f70e77587b930077c0a4d2eaf7ed41eff9c6bcf4bc5ecbf2205
|
DIST puppetdb-6.6.0.tar.gz 43366185 BLAKE2B 224c13ff2583a7c8124f03845eca4756be6446e7470565c44d3fe1fcb756d5564ae2ded69d0bef1dda939efe082756c0e44afd3c6b0fc4268a744946860b5a02 SHA512 5076f52af51b7a3b43a0deb9cf1f10d77da98a5e531983d3661cda522c8d46f70882457934be6f70e77587b930077c0a4d2eaf7ed41eff9c6bcf4bc5ecbf2205
|
||||||
DIST puppetdb-6.7.1.tar.gz 43563417 BLAKE2B 902397b2bedb64f4ccb2d6932d6dbfb7d67c479640fb8429aecf3de558ce31ab0017175f183ee3e66268d802fc9901f5473271b6598414a7b57182bc1788f1e3 SHA512 58c6f3db268885e603bb1219f89c2aeb237c042fe7eccc95ce5622cfc739f971d9d37e0cc37cae335552d0d9845fccfd9425381faf6ec3534b20991bd9f7db0e
|
DIST puppetdb-6.7.1.tar.gz 43563417 BLAKE2B 902397b2bedb64f4ccb2d6932d6dbfb7d67c479640fb8429aecf3de558ce31ab0017175f183ee3e66268d802fc9901f5473271b6598414a7b57182bc1788f1e3 SHA512 58c6f3db268885e603bb1219f89c2aeb237c042fe7eccc95ce5622cfc739f971d9d37e0cc37cae335552d0d9845fccfd9425381faf6ec3534b20991bd9f7db0e
|
||||||
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib systemd user
|
|
||||||
|
|
||||||
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=""
|
|
||||||
# will need the same keywords as puppet
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
|
||||||
DEPEND+=""
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup puppetdb
|
|
||||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "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
|
|
||||||
systemd_newtmpfilesd 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,3 +1,2 @@
|
|||||||
DIST puppetserver-6.5.0.tar.gz 76080713 BLAKE2B 0562128001a24eae6cec071a366e16ab3ce5b0babbe50330ecddd13ab3dbfd35d6cb23634770e4bd7904cd231752ce923d4af8dc42d783cc137f300efcb05fb2 SHA512 d871f3817c370ddd08e8d791deb1a30aa50ab0d801192ebfb5ef225d8dce21885175fe4e9911287437b687b2bcbf5a098d8b9511b24bd05fdf4854575a686cfe
|
|
||||||
DIST puppetserver-6.6.0.tar.gz 59095750 BLAKE2B adbc08a68a1382106c43d27604c2cef52bd1d9875c5f555320d97d31dcf9d248c88baa2d6dfd37a855010fda76ad4d273a7bd5eca77bb216aabf6a120e41cee0 SHA512 2b43092752e246027a437398d6d23a4085caa2956a1453cec2e62f1001fca1c98bddca0a9d90c178ce9c89a06c26edcaee49416c1b8a4941e2bc4b6b5bb1fe0e
|
DIST puppetserver-6.6.0.tar.gz 59095750 BLAKE2B adbc08a68a1382106c43d27604c2cef52bd1d9875c5f555320d97d31dcf9d248c88baa2d6dfd37a855010fda76ad4d273a7bd5eca77bb216aabf6a120e41cee0 SHA512 2b43092752e246027a437398d6d23a4085caa2956a1453cec2e62f1001fca1c98bddca0a9d90c178ce9c89a06c26edcaee49416c1b8a4941e2bc4b6b5bb1fe0e
|
||||||
DIST puppetserver-6.7.1.tar.gz 59202711 BLAKE2B 9f88617811d05dc09ee568b40ff332f88e44998916df6d2c88a268fe443d35b62e4d94816acc49a87dd355925bb13e99f8694596831423013b96119a4e1a0727 SHA512 80af1266d122f131f8d5385acbcf712d3042e7665eb739491d1d3d06adec8c0d78009aaec86161ed4fdb180bf529a48b2964c784ec728d40319f63c6d2f8f0df
|
DIST puppetserver-6.7.1.tar.gz 59202711 BLAKE2B 9f88617811d05dc09ee568b40ff332f88e44998916df6d2c88a268fe443d35b62e4d94816acc49a87dd355925bb13e99f8694596831423013b96119a4e1a0727 SHA512 80af1266d122f131f8d5385acbcf712d3042e7665eb739491d1d3d06adec8c0d78009aaec86161ed4fdb180bf529a48b2964c784ec728d40319f63c6d2f8f0df
|
||||||
|
@ -1,135 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit multilib systemd user
|
|
||||||
|
|
||||||
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 x86"
|
|
||||||
|
|
||||||
RDEPEND+="
|
|
||||||
>=virtual/jdk-1.8.0
|
|
||||||
app-admin/puppet-agent[puppetdb?]"
|
|
||||||
DEPEND+=""
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup puppet
|
|
||||||
enewuser puppet -1 -1 /opt/puppetlabs/server/data/puppetserver "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" 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-ri --no-rdoc \$(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-ri --no-rdoc \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
|
||||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list.txt"
|
|
||||||
}
|
|
Binary file not shown.
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit flag-o-matic multilib-minimal ltprune
|
|
||||||
|
|
||||||
APPLE_PV=400
|
|
||||||
DESCRIPTION="An easily extensible archive format"
|
|
||||||
HOMEPAGE="https://opensource.apple.com/source/xar/"
|
|
||||||
SRC_URI="https://opensource.apple.com/tarballs/xar/xar-${APPLE_PV}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
||||||
IUSE="libressl kernel_Darwin"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
!kernel_Darwin? (
|
|
||||||
virtual/acl
|
|
||||||
!libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
app-arch/bzip2[${MULTILIB_USEDEP}]
|
|
||||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
|
||||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.6.1-ext2.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.8-safe_dirname.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.8-arm-ppc.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-${APPLE_PV}/${PN}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
use kernel_Darwin || append-libs $(pkg-config --libs openssl)
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
econf \
|
|
||||||
--disable-static
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
default
|
|
||||||
prune_libtool_files
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1,3 @@
|
|||||||
DIST xfburn-0.5.5.tar.bz2 819546 BLAKE2B 180f50e9dc8e9bb2372ac7335374b09eade93b6477e557b4282ee65705e55d1f391578343e3473061921cfe296e0da9dae0ddb8823fc5daadc673537331f3085 SHA512 37574aa7dcec65c26a8fd5019c3776196763fa1ebb0f531002f5bcb72a6eb0ec19ed994dd14726988766d890ef257c39c26e64ca3f5944386c03d9b54c26a90a
|
DIST xfburn-0.5.5.tar.bz2 819546 BLAKE2B 180f50e9dc8e9bb2372ac7335374b09eade93b6477e557b4282ee65705e55d1f391578343e3473061921cfe296e0da9dae0ddb8823fc5daadc673537331f3085 SHA512 37574aa7dcec65c26a8fd5019c3776196763fa1ebb0f531002f5bcb72a6eb0ec19ed994dd14726988766d890ef257c39c26e64ca3f5944386c03d9b54c26a90a
|
||||||
|
DIST xfburn-0.6.0.tar.bz2 847356 BLAKE2B 76f7dce31166b4524631fb1278adfb8a456f5ec8202ca1e29d86cc52b58a084a09099602c3258eda85f93e0d802afd281a15d91801b79d16520ebd13cc5fceb8 SHA512 b72f75ed8923cda1eaed9c64385a9e578635a678ef6fce54e8d1b27e3974b8def8b83ec66a1e0113521fe637901af02c53bb806e1b67e10687b7e0a6c9d80a5b
|
||||||
|
DIST xfburn-0.6.1.tar.bz2 847568 BLAKE2B 30ce56257d4794c23712cebd334f0cfa6c631f55f7213fc7daecb1d693450821faef4c9a78de824e7832fdcb91c128fb75c639a5fa403932e74619cc8910e5ed SHA512 8ea747ab248a20e835082bbb89e09c3e4746201a1da956bc87a2eef5359d1508e5461c7d8a35327aa2261fb7cac576e8521596f83011bc2240b2fbebde60b9c2
|
||||||
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="GTK+ based CD and DVD burning application"
|
||||||
|
HOMEPAGE="https://goodies.xfce.org/projects/applications/xfburn"
|
||||||
|
SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||||
|
IUSE="gstreamer +udev"
|
||||||
|
# only .po check, that fails
|
||||||
|
# https://bugzilla.xfce.org/show_bug.cgi?id=16115
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.32:=
|
||||||
|
>=dev-libs/libburn-0.4.2:=
|
||||||
|
>=dev-libs/libisofs-0.6.2:=
|
||||||
|
>=x11-libs/gtk+-3.20:3=
|
||||||
|
>=xfce-base/exo-0.11:=
|
||||||
|
>=xfce-base/libxfce4ui-4.12:=
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0=
|
||||||
|
media-libs/gst-plugins-base:1.0= )
|
||||||
|
udev? ( dev-libs/libgudev:= )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable udev gudev)
|
||||||
|
$(use_enable gstreamer)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="GTK+ based CD and DVD burning application"
|
||||||
|
HOMEPAGE="https://goodies.xfce.org/projects/applications/xfburn"
|
||||||
|
SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ppc ~x86"
|
||||||
|
IUSE="gstreamer +udev"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/glib-2.32:=
|
||||||
|
>=dev-libs/libburn-0.4.2:=
|
||||||
|
>=dev-libs/libisofs-0.6.2:=
|
||||||
|
>=x11-libs/gtk+-3.20:3=
|
||||||
|
>=xfce-base/exo-0.11:=
|
||||||
|
>=xfce-base/libxfce4ui-4.12:=
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0=
|
||||||
|
media-libs/gst-plugins-base:1.0= )
|
||||||
|
udev? ( dev-libs/libgudev:= )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-util/intltool
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable udev gudev)
|
||||||
|
$(use_enable gstreamer)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
Binary file not shown.
@ -1,60 +0,0 @@
|
|||||||
--- src/Crypto/Aes_hw_cpu.asm.old
|
|
||||||
+++ src/Crypto/Aes_hw_cpu.asm
|
|
||||||
@@ -328,3 +328,12 @@
|
|
||||||
|
|
||||||
|
|
||||||
%endif ; __BITS__ != 16
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf32
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf64
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
--- src/Crypto/AesSmall_x86.asm.old
|
|
||||||
+++ src/Crypto/AesSmall_x86.asm
|
|
||||||
@@ -1442,3 +1442,12 @@
|
|
||||||
db v8(0xe1),v8(0x69),v8(0x14),v8(0x63),v8(0x55),v8(0x21),v8(0x0c),v8(0x7d)
|
|
||||||
|
|
||||||
%endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf32
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf64
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
--- src/Crypto/Aes_x64.asm.old
|
|
||||||
+++ src/Crypto/Aes_x64.asm
|
|
||||||
@@ -905,3 +905,12 @@
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf32
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf64
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
--- src/Crypto/Aes_x86.asm.old
|
|
||||||
+++ src/Crypto/Aes_x86.asm
|
|
||||||
@@ -644,3 +644,12 @@
|
|
||||||
do_exit
|
|
||||||
|
|
||||||
%endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf32
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
||||||
+ %ifidn __OUTPUT_FORMAT__,elf64
|
|
||||||
+ section .note.GNU-stack noalloc noexec nowrite progbits
|
|
||||||
+ %endif
|
|
@ -1,26 +0,0 @@
|
|||||||
From 181857089b11045c701e9195275a408430beb580 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Mounir IDRASSI <mounir.idrassi@idrix.fr>
|
|
||||||
Date: Sat, 5 Nov 2016 23:39:46 +0100
|
|
||||||
Subject: [PATCH] Linux: Always use "uname -m" to determine processor type.
|
|
||||||
This fixes Slackware build issue.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/Makefile | 5 +----
|
|
||||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/Makefile b/src/Makefile
|
|
||||||
index 7bfc5ad..00e6e5b 100644
|
|
||||||
--- src/Makefile
|
|
||||||
+++ src/Makefile
|
|
||||||
@@ -131,10 +131,7 @@ export PLATFORM_UNSUPPORTED := 0
|
|
||||||
export CPU_ARCH ?= unknown
|
|
||||||
export SIMD_SUPPORTED := 0
|
|
||||||
|
|
||||||
-ARCH = $(shell uname -p)
|
|
||||||
-ifeq "$(ARCH)" "unknown"
|
|
||||||
- ARCH = $(shell uname -m)
|
|
||||||
-endif
|
|
||||||
+ARCH = $(shell uname -m)
|
|
||||||
|
|
||||||
ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
|
|
||||||
CPU_ARCH = x86
|
|
@ -1,52 +0,0 @@
|
|||||||
--- src/Main/Main.make.orig
|
|
||||||
+++ src/Main/Main.make
|
|
||||||
@@ -190,49 +190,6 @@
|
|
||||||
rm -fr "$(PWD)/Setup/MacOSX/VeraCrypt_dmg"
|
|
||||||
endif
|
|
||||||
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-ifeq "$(PLATFORM)" "Linux"
|
|
||||||
-ifeq "$(TC_BUILD_CONFIG)" "Release"
|
|
||||||
- mkdir -p $(PWD)/Setup/Linux/usr/bin
|
|
||||||
- mkdir -p $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc
|
|
||||||
- cp $(PWD)/Main/$(APPNAME) $(PWD)/Setup/Linux/usr/bin/$(APPNAME)
|
|
||||||
- cp $(PWD)/Setup/Linux/$(APPNAME)-uninstall.sh $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
|
|
||||||
- chmod +x $(PWD)/Setup/Linux/usr/bin/$(APPNAME)-uninstall.sh
|
|
||||||
- cp $(PWD)/License.txt $(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/License.txt
|
|
||||||
- cp "$(PWD)/Release/Setup Files/VeraCrypt User Guide.pdf" "$(PWD)/Setup/Linux/usr/share/$(APPNAME)/doc/VeraCrypt User Guide.pdf"
|
|
||||||
-
|
|
||||||
-ifndef TC_NO_GUI
|
|
||||||
- mkdir -p $(PWD)/Setup/Linux/usr/share/applications
|
|
||||||
- mkdir -p $(PWD)/Setup/Linux/usr/share/pixmaps
|
|
||||||
- cp $(PWD)/Resources/Icons/VeraCrypt-256x256.xpm $(PWD)/Setup/Linux/usr/share/pixmaps/$(APPNAME).xpm
|
|
||||||
- cp $(PWD)/Setup/Linux/$(APPNAME).desktop $(PWD)/Setup/Linux/usr/share/applications/$(APPNAME).desktop
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-
|
|
||||||
- tar cfz $(PWD)/Setup/Linux/$(PACKAGE_NAME) --directory $(PWD)/Setup/Linux usr
|
|
||||||
-
|
|
||||||
- @rm -fr $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "#!/bin/sh" > $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "VERSION=$(TC_VERSION)" >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "PACKAGE_TYPE=tar" >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "PACKAGE_NAME=$(PACKAGE_NAME)" >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "PACKAGE_START=1107" >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @echo "INSTALLER_TYPE=$(INSTALLER_TYPE)" >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
-
|
|
||||||
- @cat $(PWD)/Setup/Linux/veracrypt_install_template.sh >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- @cat $(PWD)/Setup/Linux/$(PACKAGE_NAME) >> $(INTERNAL_INSTALLER_NAME)
|
|
||||||
- chmod +x $(INTERNAL_INSTALLER_NAME)
|
|
||||||
-
|
|
||||||
- rm -fr $(PWD)/Setup/Linux/packaging
|
|
||||||
- mkdir -p $(PWD)/Setup/Linux/packaging
|
|
||||||
- cp $(INTERNAL_INSTALLER_NAME) $(PWD)/Setup/Linux/packaging/.
|
|
||||||
- makeself $(PWD)/Setup/Linux/packaging $(PWD)/Setup/Linux/$(INSTALLER_NAME) "VeraCrypt $(TC_VERSION) Installer" ./$(INTERNAL_INSTALLER_NAME)
|
|
||||||
-
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
-endif
|
|
||||||
-
|
|
||||||
$(OBJS): $(PCH)
|
|
||||||
|
|
||||||
Resources.o: $(RESOURCES)
|
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST mode-compile-2.29.1.tar.gz 22924 BLAKE2B 7ef71f958ffd5022ddcc64c07ef60822af5bc4a1f5deac5c4e57ce63cd9596d5f612d73eb9cdac627ecfef59e893d795afbeaa19b380b0cc4291bb4dc23fc05c SHA512 bc43d9cae411f5177ce70c736041db74c6db1dc5b766b22b92227e9e1324d304276bd104d8e3cac9ff5a877fc48b6da5b904e1acdb6cca7396fc7c26cc572815
|
|
@ -1,5 +0,0 @@
|
|||||||
(add-to-list 'load-path "@SITELISP@")
|
|
||||||
(autoload 'mode-compile "mode-compile"
|
|
||||||
"Command to compile current buffer file based on the major mode" t)
|
|
||||||
(autoload 'mode-compile-kill "mode-compile"
|
|
||||||
"Command to kill a compilation launched by `mode-compile'" t)
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="project">
|
|
||||||
<email>gnu-emacs@gentoo.org</email>
|
|
||||||
<name>Gentoo GNU Emacs project</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">emacsmirror/mode-compile</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
|
@ -1,17 +0,0 @@
|
|||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Smart command for compiling files according to major-mode"
|
|
||||||
HOMEPAGE="https://github.com/emacsmirror/mode-compile
|
|
||||||
https://www.emacswiki.org/emacs/ModeCompile"
|
|
||||||
SRC_URI="https://github.com/emacsmirror/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST libpod-1.5.1.tar.gz 8010274 BLAKE2B 4928b45a6d86fe14ff7359c856da664d14fc578dcff095c984eb0fa3b4aed42576cf610f19a9015064f406109d79cd6df60eb0b2990e5058de1e4f9f7d9ae7ee SHA512 d9d422c4189adb840cfe3dd8b7e8278412f0ea17e4ccd2cdf4f4b134a87b1add61bbdca1c8d9db3db846c272e2ab3f624bf9e4aac005b78d0c7e161af898dc02
|
DIST libpod-1.5.1.tar.gz 8010274 BLAKE2B 4928b45a6d86fe14ff7359c856da664d14fc578dcff095c984eb0fa3b4aed42576cf610f19a9015064f406109d79cd6df60eb0b2990e5058de1e4f9f7d9ae7ee SHA512 d9d422c4189adb840cfe3dd8b7e8278412f0ea17e4ccd2cdf4f4b134a87b1add61bbdca1c8d9db3db846c272e2ab3f624bf9e4aac005b78d0c7e161af898dc02
|
||||||
DIST libpod-1.6.2.tar.gz 8270781 BLAKE2B 5d86533ddc821f731292e126102a31d651956c275a22c5c4ab3c57b9351832a1d85d75be877343c60af47716f9d1776315b3bf41fb17037d02fee10cf88efba3 SHA512 68192dda019623e3f3af9f82f946be8efbaf3e2c54acf23f62af67ac1ca093dd4dba11d2a7c1c950b99060393ed7e945752c1eaa9eada0dfc30f3dcaac8e1c04
|
DIST libpod-1.6.2.tar.gz 8270781 BLAKE2B 5d86533ddc821f731292e126102a31d651956c275a22c5c4ab3c57b9351832a1d85d75be877343c60af47716f9d1776315b3bf41fb17037d02fee10cf88efba3 SHA512 68192dda019623e3f3af9f82f946be8efbaf3e2c54acf23f62af67ac1ca093dd4dba11d2a7c1c950b99060393ed7e945752c1eaa9eada0dfc30f3dcaac8e1c04
|
||||||
|
DIST libpod-1.6.3.tar.gz 8340471 BLAKE2B b017a29ab034d8432b3abe2d920e0a71ad6542a5f088ed0de8fc67e846b409efbfd5be2e72908b52b5d21f05ce30c31db3bd55f8d8974711eb8f48cf8c3553a5 SHA512 a4d9f4c74db42fade86c36f4b2c27b8b3ff42db90af21bccab2eae8e9d710ae102c05e1fa926ac1d8e67613e11fa40163800077b61e49d90de521ab472e9c8dd
|
||||||
|
@ -0,0 +1,130 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
EGIT_COMMIT="9d087f6a766259ba53b224944f1b7b778035c370"
|
||||||
|
|
||||||
|
inherit bash-completion-r1 flag-o-matic go-module
|
||||||
|
|
||||||
|
DESCRIPTION="Library and podman tool for running OCI-based containers in Pods"
|
||||||
|
HOMEPAGE="https://github.com/containers/libpod/"
|
||||||
|
SRC_URI="https://github.com/containers/libpod/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="apparmor btrfs ostree +rootless selinux"
|
||||||
|
REQUIRED_USE="!ostree"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
app-crypt/gpgme:=
|
||||||
|
>=app-emulation/conmon-2.0.0
|
||||||
|
>=app-emulation/runc-1.0.0_rc6
|
||||||
|
dev-libs/libassuan:=
|
||||||
|
dev-libs/libgpg-error:=
|
||||||
|
sys-fs/lvm2
|
||||||
|
sys-libs/libseccomp:=
|
||||||
|
|
||||||
|
apparmor? ( sys-libs/libapparmor )
|
||||||
|
btrfs? ( sys-fs/btrfs-progs )
|
||||||
|
rootless? ( app-emulation/slirp4netns )
|
||||||
|
selinux? ( sys-libs/libselinux:= )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
dev-go/go-md2man"
|
||||||
|
RDEPEND="${COMMON_DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Disable installation of python modules here, since those are
|
||||||
|
# installed by separate ebuilds.
|
||||||
|
sed -e '/^GIT_.*/d' \
|
||||||
|
-e 's/$(GO) build/$(GO) build -v -work -x/' \
|
||||||
|
-e 's/^\(install:.*\) install\.python$/\1/' \
|
||||||
|
-i Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Filter unsupported linker flags
|
||||||
|
filter-flags '-Wl,*'
|
||||||
|
|
||||||
|
[[ -f hack/apparmor_tag.sh ]] || die
|
||||||
|
if use apparmor; then
|
||||||
|
echo -e "#!/bin/sh\necho apparmor" > hack/apparmor_tag.sh || die
|
||||||
|
else
|
||||||
|
echo -e "#!/bin/sh\ntrue" > hack/apparmor_tag.sh || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||||
|
if use btrfs; then
|
||||||
|
echo -e "#!/bin/sh\ntrue" > hack/btrfs_installed_tag.sh || die
|
||||||
|
else
|
||||||
|
echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||||
|
hack/btrfs_installed_tag.sh || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -f hack/selinux_tag.sh ]] || die
|
||||||
|
if use selinux; then
|
||||||
|
echo -e "#!/bin/sh\necho selinux" > hack/selinux_tag.sh || die
|
||||||
|
else
|
||||||
|
echo -e "#!/bin/sh\ntrue" > hack/selinux_tag.sh || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
export -n GOCACHE XDG_CACHE_HOME
|
||||||
|
GOBIN="${S}/bin" \
|
||||||
|
emake all \
|
||||||
|
GIT_BRANCH=master \
|
||||||
|
GIT_BRANCH_CLEAN=master \
|
||||||
|
COMMIT_NO="${EGIT_COMMIT}" \
|
||||||
|
GIT_COMMIT="${EGIT_COMMIT}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||||
|
|
||||||
|
insinto /etc/containers
|
||||||
|
newins test/registries.conf registries.conf.example
|
||||||
|
newins test/policy.json policy.json.example
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/podman.initd podman
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/podman.logrotated" podman
|
||||||
|
|
||||||
|
dobashcomp completions/bash/*
|
||||||
|
|
||||||
|
keepdir /var/lib/containers
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
LIBPOD_ROOTLESS_UPGRADE=false
|
||||||
|
if use rootless; then
|
||||||
|
has_version 'app-emulation/libpod[rootless]' || LIBPOD_ROOTLESS_UPGRADE=true
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local want_newline=false
|
||||||
|
if [[ ! ( -e ${EROOT%/*}/etc/containers/policy.json && -e ${EROOT%/*}/etc/containers/registries.conf ) ]]; then
|
||||||
|
elog "You need to create the following config files:"
|
||||||
|
elog "/etc/containers/registries.conf"
|
||||||
|
elog "/etc/containers/policy.json"
|
||||||
|
elog "To copy over default examples, use:"
|
||||||
|
elog "cp /etc/containers/registries.conf{.example,}"
|
||||||
|
elog "cp /etc/containers/policy.json{.example,}"
|
||||||
|
want_newline=true
|
||||||
|
fi
|
||||||
|
if [[ ${LIBPOD_ROOTLESS_UPGRADE} == true ]] ; then
|
||||||
|
${want_newline} && elog ""
|
||||||
|
elog "For rootless operation, you need to configure subuid/subgid"
|
||||||
|
elog "for user running podman. In case subuid/subgid has only been"
|
||||||
|
elog "configured for root, run:"
|
||||||
|
elog "usermod --add-subuids 1065536-1131071 <user>"
|
||||||
|
elog "usermod --add-subgids 1065536-1131071 <user>"
|
||||||
|
want_newline=true
|
||||||
|
fi
|
||||||
|
}
|
@ -1,474 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
PYTHON_REQ_USE='ncurses,xml,threads'
|
|
||||||
|
|
||||||
inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
|
|
||||||
|
|
||||||
MY_PV=${PV/_/-}
|
|
||||||
|
|
||||||
if [[ $PV == *9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
REPO="xen.git"
|
|
||||||
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
|
||||||
S="${WORKDIR}/${REPO}"
|
|
||||||
else
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
UPSTREAM_VER=0
|
|
||||||
SECURITY_VER=
|
|
||||||
# xen-tools's gentoo patches tarball
|
|
||||||
GENTOO_VER=19
|
|
||||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
|
||||||
GENTOO_GPV=0
|
|
||||||
# xen-tools ovmf's patches
|
|
||||||
OVMF_VER=
|
|
||||||
|
|
||||||
SEABIOS_VER=1.11.1
|
|
||||||
EDK2_COMMIT=ef529e6ab7c31290a33045bb1f1837447cc0eb56
|
|
||||||
|
|
||||||
[[ -n ${UPSTREAM_VER} ]] && \
|
|
||||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
|
||||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
|
||||||
[[ -n ${SECURITY_VER} ]] && \
|
|
||||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
|
||||||
[[ -n ${GENTOO_VER} ]] && \
|
|
||||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz
|
|
||||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
|
||||||
[[ -n ${OVMF_VER} ]] && \
|
|
||||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
|
||||||
|
|
||||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
|
||||||
https://git.seabios.org/cgit/seabios.git/snapshot/seabios-rel-${SEABIOS_VER}.tar.gz
|
|
||||||
ovmf? ( https://github.com/tianocore/edk2/archive/${EDK2_COMMIT}.tar.gz -> edk2-${EDK2_COMMIT}.tar.gz
|
|
||||||
${OVMF_PATCHSET_URI} )
|
|
||||||
${UPSTREAM_PATCHSET_URI}
|
|
||||||
${SECURITY_PATCHSET_URI}
|
|
||||||
${GENTOO_PATCHSET_URI}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/xen-${MY_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Xen tools including QEMU and xl"
|
|
||||||
HOMEPAGE="https://www.xenproject.org"
|
|
||||||
DOCS=( README docs/README.xen-bugtool )
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0/$(ver_cut 1-2)"
|
|
||||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
|
||||||
# >=dev-lang/ocaml-4 stable
|
|
||||||
# Masked in profiles/eapi-5-files instead
|
|
||||||
IUSE="api custom-cflags debug doc flask +hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional screen sdl static-libs system-qemu system-seabios"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
ovmf? ( hvm )
|
|
||||||
pygrub? ( python )
|
|
||||||
?? ( qemu system-qemu )"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
sys-apps/pciutils
|
|
||||||
dev-libs/lzo:2
|
|
||||||
dev-libs/glib:2
|
|
||||||
dev-libs/yajl
|
|
||||||
dev-libs/libaio
|
|
||||||
dev-libs/libgcrypt:0
|
|
||||||
sys-libs/zlib
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
>=sys-kernel/linux-headers-4.11
|
|
||||||
dev-python/lxml[${PYTHON_USEDEP}]
|
|
||||||
x86? ( sys-devel/dev86
|
|
||||||
sys-firmware/ipxe[qemu]
|
|
||||||
sys-power/iasl )
|
|
||||||
pam? ( dev-python/pypam[${PYTHON_USEDEP}] )
|
|
||||||
api? ( dev-libs/libxml2
|
|
||||||
net-misc/curl )
|
|
||||||
ovmf? (
|
|
||||||
!arm? ( !arm64? ( dev-lang/nasm ) )
|
|
||||||
$(python_gen_impl_dep sqlite)
|
|
||||||
)
|
|
||||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
|
||||||
amd64? ( sys-devel/bin86
|
|
||||||
sys-devel/dev86
|
|
||||||
sys-firmware/ipxe[qemu]
|
|
||||||
sys-power/iasl
|
|
||||||
system-seabios? ( sys-firmware/seabios ) )
|
|
||||||
dev-lang/perl
|
|
||||||
app-misc/pax-utils
|
|
||||||
doc? (
|
|
||||||
app-text/ghostscript-gpl
|
|
||||||
app-text/pandoc
|
|
||||||
dev-python/markdown[${PYTHON_USEDEP}]
|
|
||||||
dev-texlive/texlive-latexextra
|
|
||||||
media-gfx/transfig
|
|
||||||
)
|
|
||||||
hvm? ( x11-base/xorg-proto )
|
|
||||||
qemu? (
|
|
||||||
app-arch/snappy:=
|
|
||||||
x11-libs/pixman
|
|
||||||
sdl? ( media-libs/libsdl[X] )
|
|
||||||
)
|
|
||||||
system-qemu? ( app-emulation/qemu[xen] )
|
|
||||||
ocaml? ( dev-ml/findlib
|
|
||||||
>=dev-lang/ocaml-4 )"
|
|
||||||
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
sys-apps/iproute2[-minimal]
|
|
||||||
net-misc/bridge-utils
|
|
||||||
screen? (
|
|
||||||
app-misc/screen
|
|
||||||
app-admin/logrotate
|
|
||||||
)"
|
|
||||||
|
|
||||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
|
||||||
# Approved by QA team in bug #144032
|
|
||||||
QA_WX_LOAD="
|
|
||||||
usr/libexec/xen/boot/hvmloader
|
|
||||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
|
||||||
usr/share/qemu-xen/qemu/u-boot.e500
|
|
||||||
"
|
|
||||||
|
|
||||||
QA_PREBUILT="
|
|
||||||
usr/libexec/xen/bin/ivshmem-client
|
|
||||||
usr/libexec/xen/bin/ivshmem-server
|
|
||||||
usr/libexec/xen/bin/qemu-img
|
|
||||||
usr/libexec/xen/bin/qemu-io
|
|
||||||
usr/libexec/xen/bin/qemu-keymap
|
|
||||||
usr/libexec/xen/bin/qemu-nbd
|
|
||||||
usr/libexec/xen/bin/qemu-pr-helper
|
|
||||||
usr/libexec/xen/bin/qemu-system-i386
|
|
||||||
usr/libexec/xen/bin/virtfs-proxy-helper
|
|
||||||
usr/libexec/xen/libexec/xen-bridge-helper
|
|
||||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
|
||||||
usr/share/qemu-xen/qemu/s390-netboot.img
|
|
||||||
usr/share/qemu-xen/qemu/u-boot.e500
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python_setup
|
|
||||||
export "CONFIG_LOMOUNT=y"
|
|
||||||
|
|
||||||
#bug 522642, disable compile tools/tests
|
|
||||||
export "CONFIG_TESTS=n"
|
|
||||||
|
|
||||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
|
||||||
if use x86 && use amd64; then
|
|
||||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
|
||||||
elif use x86; then
|
|
||||||
export XEN_TARGET_ARCH="x86_32"
|
|
||||||
elif use amd64 ; then
|
|
||||||
export XEN_TARGET_ARCH="x86_64"
|
|
||||||
elif use arm; then
|
|
||||||
export XEN_TARGET_ARCH="arm32"
|
|
||||||
elif use arm64; then
|
|
||||||
export XEN_TARGET_ARCH="arm64"
|
|
||||||
else
|
|
||||||
die "Unsupported architecture!"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
local i
|
|
||||||
|
|
||||||
# Upstream's patchset
|
|
||||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
|
||||||
einfo "Try to apply Xen Upstream patch set"
|
|
||||||
eapply "${WORKDIR}"/patches-upstream
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Security patchset
|
|
||||||
if [[ -n ${SECURITY_VER} ]]; then
|
|
||||||
einfo "Try to apply Xen Security patch set"
|
|
||||||
# apply main xen patches
|
|
||||||
# Two parallel systems, both work side by side
|
|
||||||
# Over time they may concdense into one. This will suffice for now
|
|
||||||
EPATCH_SUFFIX="patch"
|
|
||||||
EPATCH_FORCE="yes"
|
|
||||||
|
|
||||||
source "${WORKDIR}"/patches-security/${PV}.conf || die
|
|
||||||
|
|
||||||
for i in ${XEN_SECURITY_MAIN}; do
|
|
||||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
|
||||||
done
|
|
||||||
|
|
||||||
# apply qemu-xen/upstream patches
|
|
||||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
|
||||||
for i in ${XEN_SECURITY_QEMUU}; do
|
|
||||||
eapply "${WORKDIR}"/patches-security/qemuu/$i
|
|
||||||
done
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
# apply qemu-traditional patches
|
|
||||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
|
||||||
for i in ${XEN_SECURITY_QEMUT}; do
|
|
||||||
eapply "${WORKDIR}"/patches-security/qemut/$i
|
|
||||||
done
|
|
||||||
popd > /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
|
||||||
mv ../seabios-rel-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
|
||||||
pushd tools/firmware/ > /dev/null
|
|
||||||
ln -s seabios-dir-remote seabios-dir || die
|
|
||||||
popd > /dev/null
|
|
||||||
|
|
||||||
# Gentoo's patchset
|
|
||||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
|
||||||
einfo "Try to apply Gentoo specific patch set"
|
|
||||||
source "${FILESDIR}"/gentoo-patches.conf || die
|
|
||||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
|
||||||
for i in ${!_gpv}; do
|
|
||||||
eapply "${WORKDIR}"/patches-gentoo/$i
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ovmf's patchset
|
|
||||||
if use ovmf; then
|
|
||||||
if [[ -n ${OVMF_VER} ]];then
|
|
||||||
einfo "Try to apply Ovmf patch set"
|
|
||||||
pushd "${WORKDIR}"/edk2-*/ > /dev/null
|
|
||||||
eapply "${WORKDIR}"/patches-ovmf
|
|
||||||
popd > /dev/null
|
|
||||||
fi
|
|
||||||
mv ../edk2-${EDK2_COMMIT} tools/firmware/ovmf-dir-remote || die
|
|
||||||
cp tools/firmware/ovmf-makefile tools/firmware/ovmf-dir-remote/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
|
||||||
|
|
||||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
|
||||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
|
||||||
|
|
||||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
|
||||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
|
||||||
-i tools/firmware/Makefile || die
|
|
||||||
|
|
||||||
# Drop .config, fixes to gcc-4.6
|
|
||||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
|
||||||
|
|
||||||
# if the user *really* wants to use their own custom-cflags, let them
|
|
||||||
if use custom-cflags; then
|
|
||||||
einfo "User wants their own CFLAGS - removing defaults"
|
|
||||||
|
|
||||||
# try and remove all the default cflags
|
|
||||||
find "${S}" \( -name Makefile -o -name Rules.mk -o -name Config.mk \) \
|
|
||||||
-exec sed \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-i {} + || die "failed to re-set custom-cflags"
|
|
||||||
else
|
|
||||||
unset CFLAGS
|
|
||||||
unset LDFLAGS
|
|
||||||
unset ASFLAGS
|
|
||||||
unset CPPFLAGS
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use pygrub; then
|
|
||||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use python; then
|
|
||||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use hvm; then
|
|
||||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
|
||||||
# Bug 351648
|
|
||||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
|
||||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
|
||||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
|
||||||
export CPATH="${WORKDIR}"/extra-headers
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use qemu; then
|
|
||||||
if use sdl; then
|
|
||||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
|
||||||
tools/Makefile || die
|
|
||||||
else
|
|
||||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
|
||||||
tools/qemu-xen-traditional/xen-setup || die
|
|
||||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
|
||||||
tools/Makefile || die
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
# Don't bother with qemu, only needed for fully virtualised guests
|
|
||||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Reset bash completion dir; Bug 472438
|
|
||||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
|
||||||
-i Config.mk || die
|
|
||||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
|
||||||
|
|
||||||
# xencommons, Bug #492332, sed lighter weight than patching
|
|
||||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
|
||||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
|
||||||
|
|
||||||
# fix bashishm
|
|
||||||
sed -e '/Usage/s/\$//g' \
|
|
||||||
-i tools/hotplug/Linux/init.d/xendriverdomain.in || die
|
|
||||||
|
|
||||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
|
||||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
|
||||||
-i tools/qemu-xen/configure || die
|
|
||||||
|
|
||||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
|
||||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
|
||||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# uncomment lines in xl.conf
|
|
||||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
|
||||||
-e 's:^#lockfile=:lockfile=:' \
|
|
||||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
|
||||||
-i tools/examples/xl.conf || die
|
|
||||||
|
|
||||||
# disable capstone (Bug #673474)
|
|
||||||
sed -e "s:\$\$source/configure:\0 --disable-capstone:" \
|
|
||||||
-i tools/Makefile || die
|
|
||||||
|
|
||||||
# disable glusterfs
|
|
||||||
sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
|
|
||||||
-i tools/Makefile || die
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local myconf="--prefix=${PREFIX}/usr \
|
|
||||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
|
||||||
--libexecdir=${PREFIX}/usr/libexec \
|
|
||||||
--localstatedir=${EPREFIX}/var \
|
|
||||||
--disable-werror \
|
|
||||||
--disable-xen \
|
|
||||||
--enable-tools \
|
|
||||||
--enable-docs \
|
|
||||||
$(use_enable api xenapi) \
|
|
||||||
$(use_enable pam) \
|
|
||||||
$(use_enable ocaml ocamltools) \
|
|
||||||
$(use_enable ovmf) \
|
|
||||||
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
|
||||||
"
|
|
||||||
|
|
||||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
|
||||||
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
|
|
||||||
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
|
||||||
tc-ld-disable-gold # Bug 669570
|
|
||||||
econf ${myconf}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local myopt
|
|
||||||
use debug && myopt="${myopt} debug=y"
|
|
||||||
|
|
||||||
if test-flag-CC -fno-strict-overflow; then
|
|
||||||
append-flags -fno-strict-overflow
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
emake -C docs build
|
|
||||||
else
|
|
||||||
emake -C docs man-pages
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Override auto-detection in the build system, bug #382573
|
|
||||||
export INITD_DIR=/tmp/init.d
|
|
||||||
export CONFIG_LEAF_DIR=../tmp/default
|
|
||||||
|
|
||||||
# Let the build system compile installed Python modules.
|
|
||||||
local PYTHONDONTWRITEBYTECODE
|
|
||||||
export PYTHONDONTWRITEBYTECODE
|
|
||||||
|
|
||||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
|
||||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
|
||||||
|
|
||||||
# Created at runtime
|
|
||||||
rm -rv "${ED}/var/run" || die
|
|
||||||
|
|
||||||
# Fix the remaining Python shebangs.
|
|
||||||
python_fix_shebang "${D}"
|
|
||||||
|
|
||||||
# Remove RedHat-specific stuff
|
|
||||||
rm -rf "${D}/tmp" || die
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
|
||||||
dodoc -r docs/{pdf,txt}
|
|
||||||
else
|
|
||||||
emake -C docs DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-man-pages # Bug 668032
|
|
||||||
fi
|
|
||||||
dodoc ${DOCS[@]}
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
|
||||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
|
||||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
|
||||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
|
||||||
newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
|
|
||||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
|
||||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
|
||||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
|
||||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
|
||||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
|
||||||
newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
|
|
||||||
|
|
||||||
if use screen; then
|
|
||||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
|
||||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
|
||||||
keepdir /var/log/xen-consoles
|
|
||||||
fi
|
|
||||||
|
|
||||||
# For -static-libs wrt Bug 384355
|
|
||||||
if ! use static-libs; then
|
|
||||||
rm -f "${D}"/usr/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ocaml/*/*.a
|
|
||||||
fi
|
|
||||||
|
|
||||||
# for xendomains
|
|
||||||
keepdir /etc/xen/auto
|
|
||||||
|
|
||||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
|
||||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
|
||||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
|
||||||
|
|
||||||
keepdir /var/lib/xen/dump
|
|
||||||
keepdir /var/lib/xen/xenpaging
|
|
||||||
keepdir /var/lib/xenstored
|
|
||||||
keepdir /var/log/xen
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Official Xen Guide and the offical wiki page:"
|
|
||||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
|
||||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
|
||||||
elog ""
|
|
||||||
elog "Recommended to utilise the xencommons script to config system at boot"
|
|
||||||
elog "Add by use of rc-update on completion of the install"
|
|
||||||
|
|
||||||
if ! use hvm; then
|
|
||||||
echo
|
|
||||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
|
||||||
elog "support enable the hvm use flag."
|
|
||||||
elog "An x86 or amd64 system is required to build HVM support."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use qemu; then
|
|
||||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
|
||||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
|
||||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
|
||||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,171 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 )
|
|
||||||
|
|
||||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
|
||||||
|
|
||||||
MY_PV=${PV/_/-}
|
|
||||||
MY_P=${PN}-${MY_PV}
|
|
||||||
|
|
||||||
if [[ $PV == *9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
KEYWORDS="amd64 ~arm -x86"
|
|
||||||
UPSTREAM_VER=0
|
|
||||||
SECURITY_VER=
|
|
||||||
GENTOO_VER=
|
|
||||||
|
|
||||||
[[ -n ${UPSTREAM_VER} ]] && \
|
|
||||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
|
||||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
|
||||||
[[ -n ${SECURITY_VER} ]] && \
|
|
||||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
|
||||||
[[ -n ${GENTOO_VER} ]] && \
|
|
||||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
|
||||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
|
||||||
${UPSTREAM_PATCHSET_URI}
|
|
||||||
${SECURITY_PATCHSET_URI}
|
|
||||||
${GENTOO_PATCHSET_URI}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="The Xen virtual machine monitor"
|
|
||||||
HOMEPAGE="https://www.xenproject.org"
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="custom-cflags debug efi flask"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}
|
|
||||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
|
||||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
|
||||||
RDEPEND=""
|
|
||||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
|
||||||
|
|
||||||
# no tests are available for the hypervisor
|
|
||||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
|
||||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
|
||||||
RESTRICT="test splitdebug strip"
|
|
||||||
|
|
||||||
# Approved by QA team in bug #144032
|
|
||||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
|
||||||
|
|
||||||
REQUIRED_USE="arm? ( debug )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
python-any-r1_pkg_setup
|
|
||||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
|
||||||
if use amd64; then
|
|
||||||
export XEN_TARGET_ARCH="x86_64"
|
|
||||||
elif use arm; then
|
|
||||||
export XEN_TARGET_ARCH="arm32"
|
|
||||||
elif use arm64; then
|
|
||||||
export XEN_TARGET_ARCH="arm64"
|
|
||||||
else
|
|
||||||
die "Unsupported architecture!"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use flask ; then
|
|
||||||
export "XSM_ENABLE=y"
|
|
||||||
export "FLASK_ENABLE=y"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Upstream's patchset
|
|
||||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
|
||||||
|
|
||||||
# Security patchset
|
|
||||||
if [[ -n ${SECURITY_VER} ]]; then
|
|
||||||
einfo "Try to apply Xen Security patch set"
|
|
||||||
# apply main xen patches
|
|
||||||
# Two parallel systems, both work side by side
|
|
||||||
# Over time they may concdense into one. This will suffice for now
|
|
||||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
|
||||||
|
|
||||||
local i
|
|
||||||
for i in ${XEN_SECURITY_MAIN}; do
|
|
||||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Gentoo's patchset
|
|
||||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
|
||||||
|
|
||||||
eapply "${FILESDIR}"/${PN}-4.6-efi.patch
|
|
||||||
|
|
||||||
# Drop .config
|
|
||||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
|
||||||
|
|
||||||
if use efi; then
|
|
||||||
export EFI_VENDOR="gentoo"
|
|
||||||
export EFI_MOUNTPOINT="boot"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# if the user *really* wants to use their own custom-cflags, let them
|
|
||||||
if use custom-cflags; then
|
|
||||||
einfo "User wants their own CFLAGS - removing defaults"
|
|
||||||
# try and remove all the default custom-cflags
|
|
||||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
|
||||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
|
||||||
-i {} \; || die "failed to re-set custom-cflags"
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
|
||||||
|
|
||||||
use debug && myopt="${myopt} debug=y"
|
|
||||||
|
|
||||||
if use custom-cflags; then
|
|
||||||
filter-flags -fPIE -fstack-protector
|
|
||||||
replace-flags -O3 -O2
|
|
||||||
else
|
|
||||||
unset CFLAGS
|
|
||||||
unset LDFLAGS
|
|
||||||
unset ASFLAGS
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Send raw LDFLAGS so that --as-needed works
|
|
||||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local myopt
|
|
||||||
use debug && myopt="${myopt} debug=y"
|
|
||||||
|
|
||||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
|
||||||
if use efi; then
|
|
||||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
|
||||||
|
|
||||||
# make install likes to throw in some extra EFI bits if it built
|
|
||||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Official Xen Guide:"
|
|
||||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
|
||||||
|
|
||||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
|
||||||
|
|
||||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
|
||||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
|
||||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
|
||||||
}
|
|
Binary file not shown.
@ -0,0 +1,15 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="An eselect library to manage executable symlinks"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/eselect-lib-bin-symlink/"
|
||||||
|
SRC_URI="https://github.com/mgorny/eselect-lib-bin-symlink/releases/download/${P}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="app-admin/eselect"
|
@ -1,28 +1,22 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
# Copyright 1999-2019 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
|
||||||
|
|
||||||
#if LIVE
|
inherit autotools git-r3
|
||||||
EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
|
|
||||||
AUTOTOOLS_AUTORECONF=1
|
|
||||||
inherit git-r3
|
|
||||||
#endif
|
|
||||||
|
|
||||||
inherit autotools-utils
|
|
||||||
|
|
||||||
DESCRIPTION="An eselect library to manage executable symlinks"
|
DESCRIPTION="An eselect library to manage executable symlinks"
|
||||||
HOMEPAGE="https://bitbucket.org/mgorny/eselect-lib-bin-symlink/"
|
HOMEPAGE="https://github.com/mgorny/eselect-lib-bin-symlink/"
|
||||||
SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
|
EGIT_REPO_URI="https://github.com/mgorny/eselect-lib-bin-symlink.git"
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
KEYWORDS=""
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
RDEPEND="app-admin/eselect"
|
RDEPEND="app-admin/eselect"
|
||||||
#if LIVE
|
|
||||||
|
|
||||||
KEYWORDS=
|
src_prepare() {
|
||||||
SRC_URI=
|
default
|
||||||
#endif
|
eautoreconf
|
||||||
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST ytree-1.99pl1.tar.gz 122996 BLAKE2B 2e40cca19cf9c9c3726e877bd05158acb34f732d266c0a7d9d6a15c6c665eb4efa38694ceee81d1006e5eeb2fb5be92be8dc40c3b9aff52eed962491eec1f06a SHA512 3d2ffae5cccf973bb06ec64917dc8f5b69e0ab95910144c5058b166479334fc563807a813ef608678463a032a8d2234f1006b820baa04aa95e77b06888af81fc
|
|
||||||
DIST ytree-1.99pl2.tar.gz 124601 BLAKE2B c0cdabbdcc46169edb64c52bec737e51e1dbe4d70ff58eb6ad414fbdfa08a57027ea755609b31d098539e17d4ec9794a384bf0f5b9d655157de597503b880c3b SHA512 a82c897a0ba6c744a213bd04d8d1a2032419761f4a0948e0ca605ee0eacb8a477b960bc7485cd72dca2cfc3e4844bfca0082e84d2cd78eca8d996222e5b414c5
|
DIST ytree-1.99pl2.tar.gz 124601 BLAKE2B c0cdabbdcc46169edb64c52bec737e51e1dbe4d70ff58eb6ad414fbdfa08a57027ea755609b31d098539e17d4ec9794a384bf0f5b9d655157de597503b880c3b SHA512 a82c897a0ba6c744a213bd04d8d1a2032419761f4a0948e0ca605ee0eacb8a477b960bc7485cd72dca2cfc3e4844bfca0082e84d2cd78eca8d996222e5b414c5
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
MY_P="${PN}-1.99pl1"
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A curses-based file manager"
|
|
||||||
HOMEPAGE="http://www.han.de/~werner/ytree.html"
|
|
||||||
SRC_URI="http://www.han.de/~werner/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:0=
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-1.94-bindir.patch"
|
|
||||||
"${FILESDIR}/${PN}-1.99-tinfo.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
DOCS=( CHANGES README THANKS ytree.conf )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
einstalldocs
|
|
||||||
dobin ${PN}
|
|
||||||
doman ${PN}.1
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MY_P="${PN}-1.99pl1"
|
|
||||||
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="A curses-based file manager"
|
|
||||||
HOMEPAGE="http://www.han.de/~werner/ytree.html"
|
|
||||||
SRC_URI="http://www.han.de/~werner/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
sys-libs/ncurses:0=
|
|
||||||
sys-libs/readline:0=
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-1.94-bindir.patch" )
|
|
||||||
|
|
||||||
DOCS=( CHANGES README THANKS ytree.conf )
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}usr" install
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST java-ebuilder-0.3.0.tar.gz 23127 BLAKE2B 2893d8afffe128bff769f2e2bbeaa393182c8d6671cdc3da0755a3cabb07552f6f22d9120e77232f7db83dbde5baae8ce9b40becbad85fabaf5238f6ee96bbeb SHA512 0f6ce22d144e888c05d4cbe488434454f9f5ff8598ebb6e6f9734bab90cead14283b6b82b5bfc52aa43f39ad786085453d6171d81537af2983717363645b6c63
|
DIST java-ebuilder-0.4.0.tar.gz 26063 BLAKE2B ae7dfac8695ab1b0c42b1c12f4bb3a4bb088b95f30e9c1563aa39e5bf05f0e3c1ceee17802c1e7b858f875a88b179f64b2cc6075b051b9bdbf8a4c017bf25248 SHA512 690e802cccc96c48ba34076f6fc75ff4c131dc9e633e49d818d8db8a9a8bba3e0281bd5049768b8130eaa212f2d7782f7a4fcb6ae44de0e5e57be363d4936152
|
||||||
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST bash-completion-2.9.tar.xz 305788 BLAKE2B c8a05bbb16fb671d73025c2fc579f77569251974a57fa4125a8e0aebcbed4e50fc1a47b9743abab0264599ffdef30b33cb540c6c3ab0d8a3577c6dda95f622b6 SHA512 e864091196d670699bdb2af3fc40464788e79c932fa564afa7ba34a637aa1583db7dbceab0e7ba6718fac99e9fd2dfb03d1ee51d7cf279d925ad63f60401d7d5
|
DIST bash-completion-2.9.tar.xz 305788 BLAKE2B c8a05bbb16fb671d73025c2fc579f77569251974a57fa4125a8e0aebcbed4e50fc1a47b9743abab0264599ffdef30b33cb540c6c3ab0d8a3577c6dda95f622b6 SHA512 e864091196d670699bdb2af3fc40464788e79c932fa564afa7ba34a637aa1583db7dbceab0e7ba6718fac99e9fd2dfb03d1ee51d7cf279d925ad63f60401d7d5
|
||||||
DIST bashcomp-2.0.2.tar.gz 3625 BLAKE2B ebd835e23634e8a7491467ad66c53941763cea43bad75fe24982d3885be2d2ba132e5273a655fec34705224315d7a3f0248c030fb7685fc613ac4f489cde5bf5 SHA512 46bc1bcc32263135f44be68569459a409250dd2c81c18190735f11e13a26508e9d3cb91d24a8fe7b21bdea678347873b7ac1b67d5e8c78c8444011f85dfdcdce
|
|
||||||
DIST bashcomp-2.0.3.tar.gz 3539 BLAKE2B 75304d144792cc7f6ad5455a05a65c33c646d6f7384d020a06a1fcf012cd51625a3dd0750ad539253453b1eede196c340286a1e81737f0835b5091609ba01295 SHA512 b2bd185ccbd4456939ccc731cc1983fcec2b9564a9920642a753fadd5d897fdb96b925ac1524657629d621d45b37d99076c8ae72511a827e96ff6c388d720008
|
DIST bashcomp-2.0.3.tar.gz 3539 BLAKE2B 75304d144792cc7f6ad5455a05a65c33c646d6f7384d020a06a1fcf012cd51625a3dd0750ad539253453b1eede196c340286a1e81737f0835b5091609ba01295 SHA512 b2bd185ccbd4456939ccc731cc1983fcec2b9564a9920642a753fadd5d897fdb96b925ac1524657629d621d45b37d99076c8ae72511a827e96ff6c388d720008
|
||||||
|
@ -1,154 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
BASHCOMP_P=bashcomp-2.0.2
|
|
||||||
PYTHON_COMPAT=( python3_{5,6,7} )
|
|
||||||
inherit bash-completion-r1 python-any-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Programmable Completion for bash"
|
|
||||||
HOMEPAGE="https://github.com/scop/bash-completion"
|
|
||||||
SRC_URI="
|
|
||||||
https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz
|
|
||||||
https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
# completion collision with net-fs/mc
|
|
||||||
RDEPEND=">=app-shells/bash-4.3_p30-r1:0
|
|
||||||
sys-apps/miscfiles
|
|
||||||
!app-eselect/eselect-bashcomp
|
|
||||||
!!net-fs/mc"
|
|
||||||
DEPEND="app-arch/xz-utils
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
app-misc/dtach
|
|
||||||
dev-util/dejagnu
|
|
||||||
dev-tcltk/tcllib
|
|
||||||
$(python_gen_any_dep '
|
|
||||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
)"
|
|
||||||
PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
|
|
||||||
|
|
||||||
strip_completions() {
|
|
||||||
# Remove unwanted completions.
|
|
||||||
local strip_completions=(
|
|
||||||
# Slackware package stuff, quite generic names cause collisions
|
|
||||||
# (e.g. with sys-apps/pacman)
|
|
||||||
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
|
|
||||||
|
|
||||||
# Debian/Red Hat network stuff
|
|
||||||
ifdown ifup ifquery ifstatus
|
|
||||||
|
|
||||||
# Installed in app-editors/vim-core
|
|
||||||
xxd
|
|
||||||
|
|
||||||
# Now-dead symlinks to deprecated completions
|
|
||||||
hd ncal
|
|
||||||
)
|
|
||||||
if [[ ${ARCH} != *-fbsd && ${ARCH} != *-freebsd ]]; then
|
|
||||||
strip_completions+=(
|
|
||||||
freebsd-update kldload kldunload portinstall portsnap
|
|
||||||
pkg_deinstall pkg_delete pkg_info
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
local file
|
|
||||||
for file in "${strip_completions[@]}"; do
|
|
||||||
rm "${ED}"/usr/share/bash-completion/completions/${file} ||
|
|
||||||
die "stripping ${file} failed"
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove deprecated completions (moved to other packages)
|
|
||||||
rm "${ED}"/usr/share/bash-completion/completions/_* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use test && python-any-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
python_check_deps() {
|
|
||||||
has_version "dev-python/pexpect[${PYTHON_USEDEP}]" &&
|
|
||||||
has_version "dev-python/pytest[${PYTHON_USEDEP}]"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch
|
|
||||||
# Bug 543100, update bug 601194
|
|
||||||
eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch"
|
|
||||||
eapply_user
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Tests need an interactive shell, #477066
|
|
||||||
# idea stolen from:
|
|
||||||
# http://pkgs.fedoraproject.org/cgit/rpms/bash-completion.git/tree/bash-completion.spec
|
|
||||||
|
|
||||||
# real-time output of the log ;-)
|
|
||||||
touch "${T}/dtach-test.log" || die
|
|
||||||
tail -f "${T}/dtach-test.log" &
|
|
||||||
local tail_pid=${!}
|
|
||||||
|
|
||||||
# override the default expect timeout and buffer size to avoid tests
|
|
||||||
# failing randomly due to cold cache, busy system or just more output
|
|
||||||
# than upstream anticipated (they run tests on pristine docker
|
|
||||||
# installs of binary distros)
|
|
||||||
nonfatal dtach -N "${T}/dtach.sock" \
|
|
||||||
bash -c 'emake check RUNTESTFLAGS="OPT_TIMEOUT=300 OPT_BUFFER_SIZE=1000000" PYTESTFLAGS="-vv" \
|
|
||||||
&> "${T}"/dtach-test.log; echo ${?} > "${T}"/dtach-test.out'
|
|
||||||
|
|
||||||
kill "${tail_pid}"
|
|
||||||
[[ -f ${T}/dtach-test.out ]] || die "Unable to run tests"
|
|
||||||
[[ $(<"${T}"/dtach-test.out) == 0 ]] || die "Tests failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# work-around race conditions, bug #526996
|
|
||||||
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
|
|
||||||
|
|
||||||
strip_completions
|
|
||||||
# fix missing aliases
|
|
||||||
bashcomp_alias tar bsdtar gtar star
|
|
||||||
|
|
||||||
dodoc AUTHORS CHANGES CONTRIBUTING.md README.md
|
|
||||||
|
|
||||||
# install the eselect module
|
|
||||||
insinto /usr/share/eselect/modules
|
|
||||||
doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
|
|
||||||
doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
local v
|
|
||||||
for v in ${REPLACING_VERSIONS}; do
|
|
||||||
if ver_test "${v}" -lt 2.1-r90; then
|
|
||||||
ewarn "For bash-completion autoloader to work, all completions need to"
|
|
||||||
ewarn "be installed in /usr/share/bash-completion/completions. You may"
|
|
||||||
ewarn "need to rebuild packages that installed completions in the old"
|
|
||||||
ewarn "location. You can do this using:"
|
|
||||||
ewarn
|
|
||||||
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
|
|
||||||
ewarn
|
|
||||||
ewarn "After the rebuild, you should remove the old setup symlinks:"
|
|
||||||
ewarn
|
|
||||||
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if has_version 'app-shells/zsh'; then
|
|
||||||
elog
|
|
||||||
elog "If you are interested in using the provided bash completion functions with"
|
|
||||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
|
||||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
|
||||||
elog
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1 @@
|
|||||||
|
DIST kshdb-1.0.0.tar.gz 153633 BLAKE2B 91e5d77e1a74f98149ef4c953c34b6a4ac43f68c930092bde6f5313be6d581072fb8ef39a500204e5eb544e1e6bc53d1f5f7800ba1d333020f6908bbde2268f6 SHA512 f010b3b739f1a9fdead52c251a536405f8cbae67882c554b034ef115a9d9ecd60438d883d51dd282a747068e108ad8e5d9442380b6563a2aa262c35b423ee1dd
|
@ -0,0 +1,47 @@
|
|||||||
|
From a989aef80767d6608f3c3c9db007c5aafd022358 Mon Sep 17 00:00:00 2001
|
||||||
|
From: rocky <rocky@gnu.org>
|
||||||
|
Date: Sun, 3 Nov 2019 18:23:07 -0500
|
||||||
|
Subject: [PATCH] Remove COLORFGBG message from term-background.sh
|
||||||
|
|
||||||
|
---
|
||||||
|
init/term-background.sh | 12 ++++--------
|
||||||
|
1 file changed, 4 insertions(+), 8 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/init/term-background.sh b/init/term-background.sh
|
||||||
|
index 63f6e7d..716bb04 100644
|
||||||
|
--- a/init/term-background.sh
|
||||||
|
+++ b/init/term-background.sh
|
||||||
|
@@ -57,9 +57,9 @@ get_default_bg() {
|
||||||
|
# Pass as parameters R G B values in hex
|
||||||
|
# On return, variable is_dark_bg is set
|
||||||
|
is_dark_rgb() {
|
||||||
|
- typeset r g b
|
||||||
|
+ typeset -i r g b
|
||||||
|
r=$1; g=$2; b=$3
|
||||||
|
- if (( (16#$r + 16#$g + 16#$b) < $TERMINAL_COLOR_MIDPOINT )) ; then
|
||||||
|
+ if (( (16#r + 16#g + 16#b) < TERMINAL_COLOR_MIDPOINT )) ; then
|
||||||
|
is_dark_bg=1
|
||||||
|
else
|
||||||
|
is_dark_bg=0
|
||||||
|
@@ -172,11 +172,7 @@ if (( !success )) && [[ -n $TERM ]] ; then
|
||||||
|
fi
|
||||||
|
|
||||||
|
if (( success )) ; then
|
||||||
|
- if (( is_dark_bg == 1 )) ; then
|
||||||
|
- echo "Dark background from ${method}"
|
||||||
|
- else
|
||||||
|
- echo "Light background from ${method}"
|
||||||
|
- fi
|
||||||
|
+ :
|
||||||
|
elif [[ -n $COLORFGBG ]] ; then
|
||||||
|
# Note that this can be wrong if
|
||||||
|
# COLORFGBG was set prior invoking a terminal
|
||||||
|
@@ -196,7 +192,7 @@ fi
|
||||||
|
# some environment variables
|
||||||
|
if is_sourced ; then
|
||||||
|
if (( exitrc == 0 )) ; then
|
||||||
|
- if (( $is_dark_bg == 1 )) ; then
|
||||||
|
+ if (( is_dark_bg == 1 )) ; then
|
||||||
|
export DARK_BG=1
|
||||||
|
[[ -z $COLORFGBG ]] && export COLORFGBG='0;15'
|
||||||
|
else
|
@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="Korn Shell Debugger"
|
||||||
|
HOMEPAGE="https://github.com/rocky/kshdb"
|
||||||
|
SRC_URI="https://github.com/rocky/kshdb/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
RDEPEND="app-shells/ksh"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/kshdb-1.0.0-remove-COLORFGBG-message.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
eautoreconf
|
||||||
|
}
|
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
<upstream>
|
<email>floppym@gentoo.org</email>
|
||||||
<remote-id type="sourceforge">openpam</remote-id>
|
<name>Mike Gilbert</name>
|
||||||
</upstream>
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
|
DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
|
||||||
DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686 SHA512 41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
|
|
||||||
DIST dos2unix-7.4.1.tar.gz 711570 BLAKE2B 3dbe33007aa3e2ef47ec3dc0c3165987986955fffd7ae1435725014d52ba716626e7891911afe11674beec11fa62a12983c8dfc28cff682ca0c3e798449a9b0f SHA512 81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4
|
DIST dos2unix-7.4.1.tar.gz 711570 BLAKE2B 3dbe33007aa3e2ef47ec3dc0c3165987986955fffd7ae1435725014d52ba716626e7891911afe11674beec11fa62a12983c8dfc28cff682ca0c3e798449a9b0f SHA512 81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4
|
||||||
|
DIST dos2unix-7.4.2-beta1.tar.gz 712261 BLAKE2B 020b51a53b3b8ac601efd0f3fa424fbe5a42ca5b06e1f7282c2aca021e22b38aac21e4aa7b42ed428c95053d57bb5c35483881b06dc580b533eac2fe716142a2 SHA512 323c0dd90616bca1891f8228d43bca1c6415b5765f5fba4ccf5ce692da9b545c8f10f908ba5ebd65c3409fb4d9fdaaa2fb36d589faa8b5940d27ecf8f72bc422
|
||||||
|
Binary file not shown.
@ -1,5 +1,3 @@
|
|||||||
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f
|
|
||||||
DIST gps-gpl-2017-src.tar.gz 41216830 BLAKE2B 51ca89c38fa81888a9cf1831cf97f7e0ad72c444328a29063249a4fe72bbdc8357552d470872e9fbbeaf349ef0427b59fa41a0efb56200a07a9426343c731a57 SHA512 101ecef7f183de1da0c2b09d77f284a5e8c5ae56f34a897c8d471e79fe9a2832742608ff5251197ba2a52b5d9dfee6c6937fc22cd55f6d8f38359b070393cb64
|
|
||||||
DIST gps-gpl-2018-src.tar.gz 40541905 BLAKE2B abe38dd23d9afede27b4ec8294e3245c12d52d60491b6e7c1b2d120a6f1e5d808fdcfb648e72da31376e2de176f7a039c5493341ad295db33b6a1ce44bb64096 SHA512 da0eaa85eb753f215354c9765272d85378f36ebe207314bab9211642f9d9b505a3d05cdec9de6964ae9139c4f8942a29e06c72db32b2aeb053a694e9c982e470
|
DIST gps-gpl-2018-src.tar.gz 40541905 BLAKE2B abe38dd23d9afede27b4ec8294e3245c12d52d60491b6e7c1b2d120a6f1e5d808fdcfb648e72da31376e2de176f7a039c5493341ad295db33b6a1ce44bb64096 SHA512 da0eaa85eb753f215354c9765272d85378f36ebe207314bab9211642f9d9b505a3d05cdec9de6964ae9139c4f8942a29e06c72db32b2aeb053a694e9c982e470
|
||||||
DIST gtk+-3.14.15-src.tar.gz 32009863 BLAKE2B 93c6897c431fa8e1c19ea758378bc7e365d486d1decccefbba64876d8c51a488e6bcf932481daa11e7e43a960a328c3db746e41a845e574c6b6070ab71e23188 SHA512 add4607a1758319a938d2be0bbd0dd140c4099accffa9301e3049bc460bf94f395c5a092368214e8b28d53bc25335d1b8329b50c7eb80a1e9a65b2e154135b84
|
DIST gtk+-3.14.15-src.tar.gz 32009863 BLAKE2B 93c6897c431fa8e1c19ea758378bc7e365d486d1decccefbba64876d8c51a488e6bcf932481daa11e7e43a960a328c3db746e41a845e574c6b6070ab71e23188 SHA512 add4607a1758319a938d2be0bbd0dd140c4099accffa9301e3049bc460bf94f395c5a092368214e8b28d53bc25335d1b8329b50c7eb80a1e9a65b2e154135b84
|
||||||
DIST libadalang-tools-gpl-2018-src.tar.gz 19938182 BLAKE2B 34104f3bc43c165a9b74ba8c0c03ee2f34686bcd06b5ced730f70f654d8b808e129a85566e081830b4f20304c793eefe0af81b56984cf06190302ad2f6a419be SHA512 a1176575944cd88b9da5f4e9f03caa1a4d09358df71e6a91300d0b35c2a843d0ea1a77fbd93e7b7f16cef1b978022ee20991f5c2ff74f7d05878c3de1220f2b5
|
DIST libadalang-tools-gpl-2018-src.tar.gz 19938182 BLAKE2B 34104f3bc43c165a9b74ba8c0c03ee2f34686bcd06b5ced730f70f654d8b808e129a85566e081830b4f20304c793eefe0af81b56984cf06190302ad2f6a419be SHA512 a1176575944cd88b9da5f4e9f03caa1a4d09358df71e6a91300d0b35c2a843d0ea1a77fbd93e7b7f16cef1b978022ee20991f5c2ff74f7d05878c3de1220f2b5
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue