parent
94183f6065
commit
4f81edc81c
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29311 BLAKE2B 990107c68330467e4b82c5bdd4b0c51b41d3c09d27a5930f8465c4f6647eb7800206224986dc257c8c3b609262a78b34f87d05256d949efdaca163e404015cc2 SHA512 3ada771792b5f22fae8579c7d3b1b2f952a737c7526cb4f266d22073f70496987e1fb8c47430a7e6bebd11d1a04f6065af43fd9d9449ee5048754f35c7584790
|
||||
TIMESTAMP 2021-04-26T06:38:34Z
|
||||
MANIFEST Manifest.files.gz 29277 BLAKE2B 0867692a7c5f39747369866280f89f7bd7e242cce4cce2e21ed76664b0962835b047cf4fe61814dd9d82c9ab4b49b4d378fc7941eed60aeaf52a7edcb7f8be61 SHA512 f4b7e2bb1463114115cea4a3118813d38e6e26afae1a618003dcbb480061ff598c87b61487b5fe594d3af881d386efc6ed83d11b74b042761b978d7dbe235c36
|
||||
TIMESTAMP 2021-04-27T20:38:40Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmCGX+pfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmCIdlBfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAU7RAAip9bQpJwZV5iI2PN9o5qet11oz+nF/C7KTTIbnyHGGZQKaawcfXRZ3oS
|
||||
ahchWXFVF36kbZQOjHfL12ug5Ow9MLrFXUapZh0UaZtZznSrEX1N1d1PPf1LsZdM
|
||||
0Mc0zznmcfL7FIAOi6C6GMxw8MGJTQgHsZ8N36kz+fJHZS6TYiCzdrxc9qZNR1SD
|
||||
5BsfrrAytUUvHSF0I2n0fA9kerZnQkJGPulZF5F+3l/XmpVAoyd9G//8A3wGmELZ
|
||||
YDEcmImz8gL43aV7ixjJMI1zLZckutuTqYGXUGACmuj9MQA8enPU/7dYC9z1szkk
|
||||
jgvDwqN60V2vLEXjqxa7Q5QpjCwAv8pIYWLtQ4XJq3GbFhpbSh4jv2GQFeyhVOZx
|
||||
gwex65gm+cGNNXFMch/vxYxpUKV5M5ZoZVcXshVJ69wYIO3kT61jzxhcCR7PIVgj
|
||||
EerxumY6ADvkWj4++yvakS9MTirrLOnMTH1MlFD+CRbmDmAlGNR+VHg2h5Zw9+MQ
|
||||
CZPS6A13rj9Ix5VLvrUR3EE2JN6TRKY6XUMPvQyChrdu3tUYvLVvnh8dZb5EJujo
|
||||
1ww/e4B4rGVvskMOSd3c9PajRcSsLndTgL8jdgY/MO1ifut3U1NO+ub+i+AHjREY
|
||||
tcwXXEjlaABTLVtS/XgTfZzch/NTF/gNojuU1+6HilSJc+KcVV8=
|
||||
=2+AZ
|
||||
klCIfxAAmCA1/CA8pyoSeMANK4smu6NvWD46Ofr9zq4muHvygdHqEwvdpqQkosr5
|
||||
Jqm36RXaAzGriytYQgcfGBh19aqwL3Cf2CyqA/QW+qEpGiEvsQeIOup5kaQ4RPkI
|
||||
QH7o9x7hdmtqGdC2p6omBpRun3um9tcTjGRHSZqcAIdqfwCBg5Jgffx//BuGsxKG
|
||||
8uLf5IcoVA4S9oXceUI80q++BrsgF0EEr7bJ4e2bJNKcCQEhrN0+o0Ul9NETfVtR
|
||||
eWunc7J1vf0dBNZjfkYY066CMWm4J8MpunM7w5faXf4MsOpKBStpKeZcB4inxwFa
|
||||
hmfKXgOq+KFt5EPAa+pe8LTiGQRULvwMc9YsMGRis84lwK3wRjq+tUFMaiGfPekN
|
||||
3VdjpE/JkHg5s2FSX+xaCt92dPDIpOMWgVZqz6/M1yADPXvGeRT7nu5Vir7Q3oJ8
|
||||
TXMZ85O/fJJExb40/BxsBgQ0/8GODc2IKGQlk/n5RTvcEGFuAereLnITb2nB8myF
|
||||
uDsA0jfTpqSLvctYEQd1O2stbT67bK/87BpIzaCnI0Uv5yoVZF3F81nv0yGSfVim
|
||||
AlzD2JWAicXl527Hp4QEhOUzf8ONCVUsdqoSBoDLH2+X22dENUOYbRWIsm3YywKk
|
||||
W3xzPzBDyV01QfnEMthaHBrVG+1wapU/SdbJNzEzCLz7r6Wup+U=
|
||||
=T4ws
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD at-0.ebuild 151 BLAKE2B 5d78739ded29cb2acb6990703fb817e1f3ac854772262f77997e165d5bf4a42e7a7c188a71c39789c15554f2ecc43e5b3b90e51586e0ad49afd7e26a18cd4dd3 SHA512 066c2618394f139ccfd2cae1eab3ec0e50a9d6b39acbea4f0d974b9920d21c1931f6b75b98a0a2200ed4184ac1fa23d66cc2694ddd99747a082f12d85210f5fb
|
||||
MISC metadata.xml 364 BLAKE2B d51cc643a5646e05725088bafb99711097593b9c7e6c78207dd6668c8c4c2830964dcceb5c66cb60b8cde463ad14e968c4d2950326e86c931e84199a3efb909a SHA512 5c5d603a57b16255de5c049c237206242c440c61ee03237b85f7909e434f877fe84082f2989d6b70646c106a4b97ef380f6fbc87ead1fbca0a3886c38d65c57d
|
@ -0,0 +1,8 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=246
|
@ -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>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
EBUILD at-0.ebuild 226 BLAKE2B cc1802cefcbe11fc06c31add5c59c444f15af0686349abee3c2090ceca86be24f273116c643a883877c7864fb80e014666b78acf5dfccf83fdba1e247fc2c3cc SHA512 a3dcd58b18451df5bf5b2c6fd0fd632711c196d471c83922d7eaee58a973ff3760682642ed398e9143097cd0af16f94b404f37f05b143ffe0e8c44cf22553dec
|
||||
MISC metadata.xml 364 BLAKE2B d51cc643a5646e05725088bafb99711097593b9c7e6c78207dd6668c8c4c2830964dcceb5c66cb60b8cde463ad14e968c4d2950326e86c931e84199a3efb909a SHA512 5c5d603a57b16255de5c049c237206242c440c61ee03237b85f7909e434f877fe84082f2989d6b70646c106a4b97ef380f6fbc87ead1fbca0a3886c38d65c57d
|
@ -0,0 +1,12 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="user for at daemon"
|
||||
ACCT_USER_ID=246
|
||||
ACCT_USER_GROUPS=( at )
|
||||
|
||||
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>polynomial-c@gentoo.org</email>
|
||||
<name>Lars Wendler</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>blueness@gentoo.org</email>
|
||||
<name>Anthony G. Basile</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit epatch ruby-fakegem
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
dev-ruby/concurrent-ruby
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
epatch "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
||||
elog "not already done so."
|
||||
elog
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd tmpfiles
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
||||
DEPEND+="acct-user/puppetdb
|
||||
acct-group/puppetdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-1.8.0
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+="acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
keepdir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
insopts -m 0644
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST stow-2.3.1.tar.gz 654191 BLAKE2B 9fd54fd3ff76aa7b72ed973cd6d70b8dc747fa3bb1ecc6bedd221b308d7d141a21a2f077c67efb432f2c7c4fb6bd126639038b196946206bf4a7f95040477ab2 SHA512 e9a7de1a6f10eaf7cdbe6737e0a8be1498e2eac46b6c57e65b83759b061efd1c0db45f7cba123e35428307e3aebe5baef9ea8bd4b5eb6ec5e1b159117a760441
|
||||
EBUILD stow-2.3.1.ebuild 692 BLAKE2B d4c2cf08f108fe7eac27688270a1867246abcdf60b266a6aafab52348918ada8365f2db96d196b1ff4483293c1d26855d6d82defceba1c318dc9a6de568f8506 SHA512 48c2cf39c94052cf85cfeaf2d1fad7621156725c6baccfeef9ae730f4c8428a2703e1fa5864c06ae6d011dee30be8cb6e5d35677af800508434ce559bd3d686d
|
||||
DIST stow-2.3.1.tar.gz.sig 833 BLAKE2B 9c4e3d5f59f793b629e27fccda6dd6c8934b3055b4104a6452dda866908c89c11845f9da68b1cfa78662421f1642c27c2d5957042d861be26951ca78203b1c2a SHA512 87cf2cb3a5be9b80edb2a4f6ec97e193d67b1301edb87664fec6d3b51a1bedd2635fcddd92825a1efeb383cad3c06662f436d3c9b301e73862775f44b324fff5
|
||||
EBUILD stow-2.3.1.ebuild 892 BLAKE2B 658a056418feb81c8d22074b93d057f167b0d78a2b12a3eb7e3f1a91444f248c4373ddad30b30f8507fd15930f19938124860e7610d2743566d691445fe897c2 SHA512 f818150ce5b4cfdfb1186a278332e26f50b33a4b40b9a4c0081aed1f050d8dc7d6a8c8670b5bb0b72cea74536ca014f76197471c5c1573dd612fc877c029207d
|
||||
MISC metadata.xml 239 BLAKE2B c3f80795644ca8d3012c8071f317e1e465b7d872e1ea1b588d39633f5a01afa8524326142708b549145b6ff5dfc2a3990cf7d05446adc81b0b757a20c73b7ec5 SHA512 d6ea54fb5d3105910888a617840c732bee452eeaa967da073389e417d2fbe0165b335ddbc261b2eb96ad5b6fabd05515f5d76962629716a5ea9a345793dad855
|
||||
|
Binary file not shown.
@ -1,5 +1,6 @@
|
||||
AUX xdms-1.3.2-dont-compress-man-pages.patch 499 BLAKE2B 69be6d731cff4d369d57d6a9fc71f122ade07f48c6351ada5e45ffa9f668d68bdf82ff2091dcdf64803659677a2d24b2133b8e04217f7ccb3273710df33497f1 SHA512 1b0e209782c68961515bfe3c6055732652ed6eb6a8aae968ab7273a5174274d37ec024c68179e43c433a129546483105c68a76c74addccd938b202dbdea3f2ee
|
||||
AUX xdms-1.3.2-fix-build-with-gcc-10.patch 1887 BLAKE2B ba0c0316bd660eebcdb3f70c29fbce2726f09528c1ef19e7659a527b6054fd6d5449a9310ad398ab05bb1ce309becfc7168f9a83bdb15177850535e3889b2d31 SHA512 e7dc413aa2b21a01fdcf1c1b19ea8a9f42ce249f3450cebc5aeee966120d67e3f2e56af2d4d4aa9bcf13e2d83edaa51b1ba1030a9f519dd4c536d592f907deea
|
||||
AUX xdms-1.3.2-respect-DESTDIR.patch 957 BLAKE2B c3296fdc3ef98936a76c76548f4294775faaa016d6ab5ab38f673c09a860b1da0a96f29824ea6583f31eb77c6ed2fbe34afcc8c561e1d842634f013a7afaa711 SHA512 59960128c6cb364483948c4009e9f465c9521990725079dea3b1431863cbacf4152ab138ee681c7226ccfa1202db2e9780cba4baa860b50b8069b0c16fb574d1
|
||||
DIST xdms-1.3.2.tar.bz2 43010 BLAKE2B 97118ce2052a93e334b02d1687e4c867f7158bdd99bfc4249a7a22d1eee57c6d6bbb26c640f0bdb61004997fcb6218724de40c759ae51f4b72da8dee0ebde48d SHA512 e29dd1d2373c635ba953ef526849e0b8fa645a0da91fff3a3512ce26eee43fb2c1280f27fae0a42a4fd47106494d6e44c5684eff3581661e538780927b851cac
|
||||
EBUILD xdms-1.3.2-r2.ebuild 908 BLAKE2B 665b14f917dd03a43fde8175c84b6b149e693558a5e7037068fe5f77b7528fa42ea812d1d384b3cf76775e12090ae59bd3ec7ce298bfce1bcc3af3d02049d025 SHA512 9e0582da45f49626ccdfb48284adf44c9741d67e4c544c1344d2316ebf444f59e0aeeb1ee4ee8beda63b914c39c6f52aac4ca4cd6237baf6e83d87b5c5ea594a
|
||||
EBUILD xdms-1.3.2-r2.ebuild 963 BLAKE2B e1fb08de2cc825114fd3636881f510eb00d38156f8327516af1c4ff5906807176fe297ce00748364147747e4fc8896c4794e5454c7fc3ae58361490c35493d29 SHA512 19b70de944766c51f9df5a7ef996a2fbd21bcf5124975ae4aa1c814da902b90c6e7953cefc61199d5cd9cdeed8118eb853b43ba2bd7fc81998958120734dfdba
|
||||
MISC metadata.xml 946 BLAKE2B afe54847b8a528e4a20820fc480adfc6d78fd7d6d7db421649cc15934f6275526da3a3f7b144008c98d0da18c2ab38e32d12c00d9d5417382c58b2dce742db4c SHA512 bcfbd892265aeab44994d7acf53d2a952a1c76ba42ed70dbd30e0fd4bb84edf8c77951ca4b677d49c380e049bd21ec64881f6340c05599239f6d858500a582c9
|
||||
|
@ -0,0 +1,80 @@
|
||||
https://sources.debian.org/patches/xdms/1.3.2-7/0002-Fix-build-with-gcc-10.patch/
|
||||
|
||||
From: Jeff Law <law@redhat.com>
|
||||
Date: Sat, 9 May 2020 15:16:39 +0200
|
||||
Subject: Fix build with gcc-10
|
||||
--- a/src/u_deep.c
|
||||
+++ b/src/u_deep.c
|
||||
@@ -17,9 +17,9 @@
|
||||
#include "getbits.h"
|
||||
|
||||
|
||||
-INLINE USHORT DecodeChar(void);
|
||||
-INLINE USHORT DecodePosition(void);
|
||||
-INLINE void update(USHORT c);
|
||||
+static INLINE USHORT DecodeChar(void);
|
||||
+static INLINE USHORT DecodePosition(void);
|
||||
+static INLINE void update(USHORT c);
|
||||
static void reconst(void);
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ USHORT Unpack_DEEP(UCHAR *in, UCHAR *out, USHORT origsize){
|
||||
|
||||
|
||||
|
||||
-INLINE USHORT DecodeChar(void){
|
||||
+static INLINE USHORT DecodeChar(void){
|
||||
USHORT c;
|
||||
|
||||
c = son[R];
|
||||
@@ -117,7 +117,7 @@ INLINE USHORT DecodeChar(void){
|
||||
|
||||
|
||||
|
||||
-INLINE USHORT DecodePosition(void){
|
||||
+static INLINE USHORT DecodePosition(void){
|
||||
USHORT i, j, c;
|
||||
|
||||
i = GETBITS(8); DROPBITS(8);
|
||||
@@ -171,7 +171,7 @@ static void reconst(void){
|
||||
|
||||
/* increment frequency of given code by one, and update tree */
|
||||
|
||||
-INLINE void update(USHORT c){
|
||||
+static INLINE void update(USHORT c){
|
||||
USHORT i, j, k, l;
|
||||
|
||||
if (freq[R] == MAX_FREQ) {
|
||||
diff --git a/src/u_heavy.c b/src/u_heavy.c
|
||||
index fff93d3..8557b71 100644
|
||||
--- a/src/u_heavy.c
|
||||
+++ b/src/u_heavy.c
|
||||
@@ -30,8 +30,8 @@ USHORT heavy_text_loc;
|
||||
|
||||
static USHORT read_tree_c(void);
|
||||
static USHORT read_tree_p(void);
|
||||
-INLINE USHORT decode_c(void);
|
||||
-INLINE USHORT decode_p(void);
|
||||
+static INLINE USHORT decode_c(void);
|
||||
+static INLINE USHORT decode_p(void);
|
||||
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ USHORT Unpack_HEAVY(UCHAR *in, UCHAR *out, UCHAR flags, USHORT origsize){
|
||||
|
||||
|
||||
|
||||
-INLINE USHORT decode_c(void){
|
||||
+static INLINE USHORT decode_c(void){
|
||||
USHORT i, j, m;
|
||||
|
||||
j = c_table[GETBITS(12)];
|
||||
@@ -96,7 +96,7 @@ INLINE USHORT decode_c(void){
|
||||
|
||||
|
||||
|
||||
-INLINE USHORT decode_p(void){
|
||||
+static INLINE USHORT decode_p(void){
|
||||
USHORT i, j, m;
|
||||
|
||||
j = pt_table[GETBITS(8)];
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST fsarchiver-0.8.5.tar.gz 298502 BLAKE2B 434fbc945bb4999243fe2b6a212c6b04118ae37749b4b14b590cf8269e541a5b09954e75a898126c8a55b5b516f458a1cf1842b4a9f4ead2185c7b5e8c99343c SHA512 bf427dfcc5a73fc799710766dc1c1392ed379565ec68d7cef49e9391da749e08fb655f2b86b4ab4db7cacaf323286b4673a7c3fbebba81ac50d0b66c1f0b91ff
|
||||
DIST fsarchiver-0.8.6.tar.gz 273652 BLAKE2B 2f8d11bb721c4e5452f0bc62661bd254226d3d62b5d7bee0a8ccfd227bdc39dd0dd544e831888bbf39010341aaa0d74b2805ab580c79cc90e96a43be1676d86c SHA512 26a2d7a68d162aabb778b14f29c52cf8fbadb8147cf5eae592352a36fbf93cc45c08c241253bd8dfe8cd0b77d0f156afcc8d89e8d24a238fd4427cb479827f14
|
||||
EBUILD fsarchiver-0.8.5-r1.ebuild 1135 BLAKE2B fcfa6ddeee0d975f57a7adc5c957f80365a1b50408729bb13dc39f447df4e3f8386b157a743e011eaf0dc23336b270210f9c64e70a92789ff137b7615759e8e6 SHA512 b1e0febbdae240580c75a8138ece1997fdd561e26c321545d98a4a526314f348c766f9bdffdad3a5ad8f2e03f8bb16866eb33194f8aafdd74fb6a64e679ec31b
|
||||
EBUILD fsarchiver-0.8.6.ebuild 1386 BLAKE2B b1b5da78228c43abd25010f534cd149614df05fb7889116de046cd2a45f6cab37bff3a8adaa4f39caced30a250ad36068cda457046629a025ce74061c859d014 SHA512 6c757b66d6a3e96dec987c82831195b71b6306874025bf0873ff4da94c11163240eef935d6b3d147a7d036f3d489b9f4348fee2500a3887d7963e1945c2d0c5b
|
||||
EBUILD fsarchiver-0.8.6.ebuild 1384 BLAKE2B 1f842f6c2352712dfbd3e2545f6b304af1b65a12fa5b5c9c70500a495fcb26b164b9dd0c266508c6ac839c3fda0e8e1ac17bc6a49cecf382dd3cc7d5072079f8 SHA512 f66fb5975e4333ebdd5598848bc4d2810a5e6c62a34bd3395d2960a531e01e18c4cd093d2070c4619e0a4c31dbb0ec4e1558f39e8049a624ac8bb9d0764418fa
|
||||
MISC metadata.xml 382 BLAKE2B 891eee8fe94ac34a54fea42dbfe6ae6f136fce28cfd45e400d16d7aac3c163e41d92100d035657cc0ca3d2f3d4698a457a28f515af56cfbcb3cc06c33782060e SHA512 b7ec7dabd9c51139e7d669bac569eefcd460b880db50247f888c14be332d679fbd680c093dd7a04a3e91f75385772552af7d0f4398106ca753ca8e261154bb41
|
||||
|
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
DIST openpgp-keys-adamspiers-20210426.asc 13166 BLAKE2B 8d20b7b3a87c78d10a85bb66fb8eaa83e5967d710d19328a922341810e112d8dceb441c22f55eb4745cd17d6fb4d90ceb79ef8940f9b701b51c95af82e327502 SHA512 4d748e343fab9e4089538e64e1d947e85c619e265fcccd9f86a59dadc8396600bbee9cf290e9d40a37ac578047a262cad0c4b70c27d2380318b826da3db3d95f
|
||||
EBUILD openpgp-keys-adamspiers-20210426.ebuild 573 BLAKE2B 5a921c809c14b7326ccb20a1f5b6d25d9d7588c50d8ac897609601e4a00141d85a923e5eaa8add2b41b66ed409e77a3ec7ed792f57fb041609914840793478be SHA512 91e68f37c699321f4c3cd4ec37d9fb570bdff6cb326bfd28ac4b867d7de32f0dc61a273fa526d4227962924e5bf870e74c3e7818f8879b81e691be141dc5beb8
|
||||
MISC metadata.xml 263 BLAKE2B 3674e5c7d5dedc501574b523bf09a9f2d8f2e066edffa5649d59afba65ef3d9c36f3fd909f196f676b5b1266e5edce6ba6c44cf11fdca73b02b30cebcb662a3e SHA512 2f82b95119eb592f8edd7468010dbdc6863b235a0827586114fca02d01d45ce32a2be24077edfa497b0692f2f14447ad070c15b8a951b87091806750b8b0b862
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used by Adam Spiers"
|
||||
HOMEPAGE="https://savannah.gnu.org/users/aspiers"
|
||||
SRC_URI="https://savannah.gnu.org/people/viewgpg.php?user_id=85959 -> ${P}.asc"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
src_install() {
|
||||
local files=( ${A} )
|
||||
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - adamspiers.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST openpgp-keys-midipix-20210426-6482133FE45A8A91EEB0733716997AE880F70A46.asc 5316 BLAKE2B f1ab82aad33fa2a2ccb8954a87caaf07d90533c087f80473bd83b739cab1d4573c0ddf88c04dab92e2f430c7bcc34ffe91adcd37ec29fccc5ee2d8ab44ca003b SHA512 4dc51f065f24851736d574497e19f05eabd21ba3b4d9449f0c723f4b956b5303813118e7ac1420278c60328ba98e95d0020cb95058a1e9f02aa845e0d80be9d3
|
||||
EBUILD openpgp-keys-midipix-20210426.ebuild 654 BLAKE2B 5d410c92277b5344f66c73a37f4a5892bf18260119c067ebdb3a42ed700d78db9994abe02e1b9e4ea913713eae8f402d6eade98ed1f2780c5abc178dce5bb2d0 SHA512 c8e83fc417c6aba9fe2ce5ef5bf593c039a3e1fe9164250b39dbab4373fd0cc142cf43c371c7115e0b52a342d88a91b077eea1b7bf1043680163589edc9d9d01
|
||||
MISC metadata.xml 239 BLAKE2B c3f80795644ca8d3012c8071f317e1e465b7d872e1ea1b588d39633f5a01afa8524326142708b549145b6ff5dfc2a3990cf7d05446adc81b0b757a20c73b7ec5 SHA512 d6ea54fb5d3105910888a617840c732bee452eeaa967da073389e417d2fbe0165b335ddbc261b2eb96ad5b6fabd05515f5d76962629716a5ea9a345793dad855
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used to sign midipix releases"
|
||||
HOMEPAGE="https://midipix.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-6482133FE45A8A91EEB0733716997AE880F70A46.asc"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
src_install() {
|
||||
local files=(
|
||||
${P}-6482133FE45A8A91EEB0733716997AE880F70A46.asc
|
||||
)
|
||||
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - midipix.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST openpgp-keys-teemutoivola-20210426-23EF1DD76E65248FB055201ADAFE84E63D140114.asc 3907 BLAKE2B 13e089c7a6f0fdc652e77bd5d201b49687952626644896f152ecf895cff05061a1cee9e07fb22e7b95d2d0e932c8723c321adf1a856528fbe6c8bf30ba80f64d SHA512 898614a9d2e0d20617b93a86de65681f66b1ee0b61108bd2545a5ca59c04f84ce4308b73596ccae241a5534067c1b390f7898d8a4401cd0abcd23a3f5139b95c
|
||||
EBUILD openpgp-keys-teemutoivola-20210426.ebuild 641 BLAKE2B bd61720afdac25c229921a134d8278e2829b053585dda15a2864bddd94a01fa01161731acff6b4b9a5258aa63cc37c0d20cebb7af3eddd564438aa7c3bcdcabe SHA512 4948ed8a5f6a202d7aea06f9083f23d6a502f569041e0b5edf488261bebe4225df7fbc42d8a37f86c484a006f3f273fb48879fa0bc1956cb8809beb2653e90c0
|
||||
MISC metadata.xml 263 BLAKE2B 3674e5c7d5dedc501574b523bf09a9f2d8f2e066edffa5649d59afba65ef3d9c36f3fd909f196f676b5b1266e5edce6ba6c44cf11fdca73b02b30cebcb662a3e SHA512 2f82b95119eb592f8edd7468010dbdc6863b235a0827586114fca02d01d45ce32a2be24077edfa497b0692f2f14447ad070c15b8a951b87091806750b8b0b862
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sam@gentoo.org</email>
|
||||
<name>Sam James</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used by Teemu Toivola"
|
||||
HOMEPAGE="https://humdi.net/"
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-23EF1DD76E65248FB055201ADAFE84E63D140114.asc"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
src_install() {
|
||||
local files=(
|
||||
${P}-23EF1DD76E65248FB055201ADAFE84E63D140114.asc
|
||||
)
|
||||
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - teemutoivola.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX 50meson-mode-gentoo.el 218 BLAKE2B 05d454f80820e17a4b9f74fae44f024568b86fc0e4261fbb129b5bf38c72f9ecabf62dce62e1f29eb46f6dc422f8aac266477eeff7289cde7cb8bf17bec79f9e SHA512 bd6d2646490fe3860595e573b79fb04b76f04cf17efa3f5f743912dc40880f397b828459f385196db755219f1b4760a16c5e54a902c7eefe7e631b8ed18788f0
|
||||
DIST meson-mode-0.3.tar.gz 30159 BLAKE2B d4d3256b1b9838d9816433c422207f99b6ad8a61d344d1ba34d00a2b1463c8d6d35cb87fa885667df95cd9622715e2f805f5e0e16bf21d404bbec9244916b70f SHA512 95dbe9b706ff9a25e9b235f5d09cbbca035ad9a9bc67abb5fee791ebf3e51cfc3d16e03cea037e9a810ff2bbd8b77caa515e8a26dbfbfe0b46b4cc019138375b
|
||||
EBUILD meson-mode-0.3.ebuild 437 BLAKE2B ec60aca3446f792d29bb9a2c169688ac35e4a925a54ffaad6c7d2c8191936aaac0dda38cf5c633b731470e8f2fc332b20137fdf2ab28629de4b3f59cc0bf1822 SHA512 256eb18cc2dba22af57fdde565dc702dc5388e7ac95acdcdc5f235bae72e5a13713bc54dd823c9f2b3a87cce5a059822a93b33fa8fcf4a0024ddd9cb271e3438
|
||||
EBUILD meson-mode-0.3.ebuild 436 BLAKE2B ef10d5fc7bbfc9d7fa22937b13364a4122b6bc79348965f9ef91e273a4bbbe40665d1cbe06c02c2477847dbd3517f65faa07cc7f7bf47488cedf6f01adde0be7 SHA512 bf71f451befed400ba15eadfdba6cd26ace94a94086e4cc137eb652a8283a0321ad061700359ed4b99a77330471d1d793177102e8b26b9c6fe76132045b534ac
|
||||
MISC metadata.xml 353 BLAKE2B 912fc0f45ddc967120eb5dbfc95a69660b9538d7db04dce68c433a7f86e96a07c7ac5bc10a1642a14a32e16799c42f28d0bb1ab6debab193234f13a7c6ace229 SHA512 6bae7e341fa9a63f1ccd204a1c7ad869984c7bf088b016eb50ac0368da8265750af60edc9c22942c66cb11fd045b35c6112233e17731024211b82da98a902098
|
||||
|
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST buildah-1.16.1.tar.gz 10525480 BLAKE2B d7a174049b9a99d11fa31a1b52fa6acfe037197171c7112607d755c788509b0798af315d1fde5c229bd6e029fdd3e57ae93042044f373d4ff63fcb121264730d SHA512 c17358d71e9102ef5da530df54648eaa13a1384b06cd43fe74094cdbaa2dfda6aa6d1a218fb88e12898ae4b9dca2d8c555643326779c5f09b6a118f0a440d17a
|
||||
DIST buildah-1.19.6.tar.gz 10815708 BLAKE2B c5ad1405d907f6d5973f55c15b86e4341dc4c7c0db32854b5b54655fe1af1606b1206f3c7a3e86f83962c2ab1355c9e2b770ada97abfd9b9f8f231bd4b77e981 SHA512 81a865b795588b86a61fdada40045c06f9f3bbf8bdc3f6e4c70a9e4c7b28bf3fc31dd080c9f7555a8924f8bffac10fad776275619053fee8039176d6d6b69571
|
||||
EBUILD buildah-1.16.1.ebuild 1142 BLAKE2B 6f18d182afb257f979e63e9b5773daf4ca5a116695a1e270572c182d9bd8dcb6413faa02f87a781489d96a60b87a22420dfa564b0ec3f9297ff5b8f192b07c05 SHA512 047b0a978aa9687b29c49cd2bc8df37a444a8d91662c8fd1ea393d0214f42ce0a5bc0b5bd4bb1cb729828f11ebdca9f3c60c1b36d21422241ae422a8252c7033
|
||||
EBUILD buildah-1.19.6.ebuild 1142 BLAKE2B 66e377badc4f4ab69dc41f0c04a88a92c7114f5a0171359898f3c8061dc04bca813f627cdf88390a89900d07f7ea8d89adca952a0434a0321cfc824534a6da46 SHA512 5beeba858d55b381e7de141256c6a3f07d4bad59367b3957977871b27105f455a4535a9152909a72c6bc11bc121cff5c5eef901a26ad6c5fa2f4497352f4bf84
|
||||
DIST buildah-1.20.1.tar.gz 11522195 BLAKE2B 2fe2aa9ad5c2212b98be5bced24b6aee39a43ab2c1b28c2c1729cce2b8cfe5920ecb64f013c28d870c6b8c9b369630f83e27dc7698eb66b3e368ef0bff4cb3ed SHA512 22495d9f0da1d6061ddb41e4cecfdb2108c152262798d6c959fc524870160f15ee486bcc37e262e571c64dc732e852f05e6c4b9331bbdef4150bd56997fefa83
|
||||
EBUILD buildah-1.20.1.ebuild 1142 BLAKE2B 66e377badc4f4ab69dc41f0c04a88a92c7114f5a0171359898f3c8061dc04bca813f627cdf88390a89900d07f7ea8d89adca952a0434a0321cfc824534a6da46 SHA512 5beeba858d55b381e7de141256c6a3f07d4bad59367b3957977871b27105f455a4535a9152909a72c6bc11bc121cff5c5eef901a26ad6c5fa2f4497352f4bf84
|
||||
MISC metadata.xml 327 BLAKE2B cd14ee5c563ac21da34ce7728d2d12b797374bc43c50f4a9923d773ae4e010d4930793a0f0ecf610bb798fb3f1b7cd567944cf9895258e9244c3852969ac2406 SHA512 bed26d87edba20ed9385633b70b8bc23fc046ed95aa9b608400933ed4199594f6d0461854060a68b42d33a9b7be0d1b61f52e22e0d3b6d2c2248f58442094711
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
GIT_COMMIT=0de2694a2e
|
||||
SRC_URI="https://github.com/containers/buildah/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
RDEPEND="app-crypt/gpgme:=
|
||||
app-emulation/skopeo
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-fs/lvm2:=
|
||||
sys-libs/libseccomp:=
|
||||
selinux? ( sys-libs/libselinux:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -f selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
selinux_tag.sh || die; }
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
||||
doman docs/*.1
|
||||
dodoc -r docs/tutorials
|
||||
dobin bin/{${PN},imgtype}
|
||||
dobashcomp contrib/completions/bash/buildah
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST containers-storage-1.18.1.tar.gz 3803605 BLAKE2B 6ecf7a2ac395f0973f2d071d6736ccd6dfe8917168b50daeb26b141457d9fc53d9f4471577c659dcf77f2d4058d0a5cecbe1599a365d7ae102916188dc44aa5d SHA512 1b2d16ae5703af232c58eb4ecc65b98a7f754cd9784b563e5323ef3303dc8f72896453f2fd84fee20490b72f9c2455437d5879f6c5c23aaa188316cb1b272211
|
||||
DIST containers-storage-1.20.2.tar.gz 3827404 BLAKE2B 7284a86c34c91c21e49d7c9f89bfe8cc65d3a6673d37ea2e6e769c8abda581189b62119480bfcb0757cc3b4b47e29c7e0c65d245ec9bac082674f4b29f0899e1 SHA512 6ed73080da5c284eb421dd3c192662b16b2c72801bd0043f676c1e3bf44ee9899b10dea7fe5e2e52f95ecc511606aa2d971fd064b4cc7c993459ea75bf14536f
|
||||
DIST containers-storage-1.23.3.tar.gz 3345068 BLAKE2B 2eb62b851e23055409a3ba41beb08add1faa0ed508572ce125359d35dd9163e85547bbec1b71903a67580f9f9f7f056107adce549b680a84cb356cba3954cde4 SHA512 0aaf2ba71f6e4ee26e9798f42c4ad4f5b5b9c625891177757bdbdcf760c2e55526167f4775cd3ddab83a0b0b61f1aebc75be4abc6565846cb442cdc26afbe17e
|
||||
EBUILD containers-storage-1.18.1.ebuild 1460 BLAKE2B 092e5d402a3fc7f8b45c8d730bc2c24dcf70dd8fc7491c048c045c92d3827082c2ebae2c26377eda8cbd7215e0b511a3f4111e456c0083832ef12419948ce005 SHA512 c96a4a96e0dcb304c811a485b75c9671a4d2d6c87422a9d0f600a356f35d5145f63647c4db370a12e399ec30fecf2ec02e829abfa19c0afd5cd30104167ff30b
|
||||
EBUILD containers-storage-1.20.2.ebuild 1460 BLAKE2B 092e5d402a3fc7f8b45c8d730bc2c24dcf70dd8fc7491c048c045c92d3827082c2ebae2c26377eda8cbd7215e0b511a3f4111e456c0083832ef12419948ce005 SHA512 c96a4a96e0dcb304c811a485b75c9671a4d2d6c87422a9d0f600a356f35d5145f63647c4db370a12e399ec30fecf2ec02e829abfa19c0afd5cd30104167ff30b
|
||||
EBUILD containers-storage-1.23.3.ebuild 1460 BLAKE2B 092e5d402a3fc7f8b45c8d730bc2c24dcf70dd8fc7491c048c045c92d3827082c2ebae2c26377eda8cbd7215e0b511a3f4111e456c0083832ef12419948ce005 SHA512 c96a4a96e0dcb304c811a485b75c9671a4d2d6c87422a9d0f600a356f35d5145f63647c4db370a12e399ec30fecf2ec02e829abfa19c0afd5cd30104167ff30b
|
||||
DIST containers-storage-1.30.0.tar.gz 3642657 BLAKE2B daab9412702822fd6be64b8a4ac88875cdc12688b919dba955a7551bb2b56af87d55bd66c02401d2c329fdcb4db466c7b5acb9e53075028fef1248e0a62c6f37 SHA512 47e256d49fbd1d507e2d8bfa45cb0c840212478594ef8551c0ebb86f4f0e70ad7ed2be6727f52768afbb55c0e912bf32c23620e508b65ed4f3edc9e1f95837a2
|
||||
EBUILD containers-storage-1.30.0.ebuild 1460 BLAKE2B 384a8e1e2097ec8c18398a563494941821b75a889bdc23addb0912ba58ef9298ff3d5751bacd9db8d0a8154ee8911d4f2c4677cb80dce4e14c03ca3e5f207ae3 SHA512 8a54ea2230607cb424698397133443747cd6b1a687381f300083b618c621708165b53714a1a29bde52faa450b7384f6ba70d35c2bc381d715b07a4ff75bea9c9
|
||||
MISC metadata.xml 603 BLAKE2B 97f54132ebad8af6ff29ffd35644f68faeca3f387025e6bfd7529e7d61582e7bbd8f4279c3608b6b8187e1f6a78c552d1bb9e828cfb2f6fe5fa6710e0730d2f2 SHA512 f65876cdaac00b0d5ed7524467b9cde201da0a3fdf17d959bb19bc2d98344ca013b93dd0d2ebbb24b585a9754b8d06711e0085092a3820bdfe238e26a64d765b
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="containers/storage library"
|
||||
HOMEPAGE="https://github.com/containers/storage"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="btrfs +device-mapper test"
|
||||
SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RDEPEND="
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
device-mapper? ( sys-fs/lvm2:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-go/go-md2man
|
||||
test? (
|
||||
sys-fs/btrfs-progs
|
||||
sys-fs/lvm2
|
||||
sys-apps/util-linux
|
||||
)"
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${P#containers-}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's|: install\.tools|:|' -i Makefile || die
|
||||
|
||||
[[ -f hack/btrfs_tag.sh ]] || die
|
||||
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
"hack/btrfs_tag.sh" || die; }
|
||||
|
||||
[[ -f hack/libdm_tag.sh ]] || die
|
||||
use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \
|
||||
"hack/libdm_tag.sh" || die; }
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME #678856
|
||||
emake GOMD2MAN=go-md2man FFJSON= containers-storage docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
while read -r -d ''; do
|
||||
mv "${REPLY}" "${REPLY%.1}" || die
|
||||
done < <(find "${S}/docs" -name '*.[[:digit:]].1' -print0)
|
||||
find "${S}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
env -u GOFLAGS unshare -m emake local-test-unit || die
|
||||
}
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit go-module
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="containers/storage library"
|
||||
HOMEPAGE="https://github.com/containers/storage"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="btrfs +device-mapper test"
|
||||
SRC_URI="https://github.com/containers/storage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
RDEPEND="
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
device-mapper? ( sys-fs/lvm2:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-go/go-md2man
|
||||
test? (
|
||||
sys-fs/btrfs-progs
|
||||
sys-fs/lvm2
|
||||
sys-apps/util-linux
|
||||
)"
|
||||
RESTRICT="test"
|
||||
|
||||
S=${WORKDIR}/${P#containers-}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's|: install\.tools|:|' -i Makefile || die
|
||||
|
||||
[[ -f hack/btrfs_tag.sh ]] || die
|
||||
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
"hack/btrfs_tag.sh" || die; }
|
||||
|
||||
[[ -f hack/libdm_tag.sh ]] || die
|
||||
use device-mapper || { echo -e "#!/bin/sh\necho btrfs_noversion exclude_graphdriver_devicemapper" > \
|
||||
"hack/libdm_tag.sh" || die; }
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME #678856
|
||||
emake GOMD2MAN=go-md2man FFJSON= containers-storage docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
while read -r -d ''; do
|
||||
mv "${REPLY}" "${REPLY%.1}" || die
|
||||
done < <(find "${S}/docs" -name '*.[[:digit:]].1' -print0)
|
||||
find "${S}/docs" -name '*.[[:digit:]]' -exec doman '{}' + || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
env -u GOFLAGS unshare -m emake local-test-unit || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
File diff suppressed because it is too large
Load Diff
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_COMMIT=ee2de87bd8e2a7a84799476cb4fc4ce8a78fdf6d
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="OCI-based implementation of Kubernetes Container Runtime Interface"
|
||||
HOMEPAGE="https://cri-o.io/"
|
||||
SRC_URI="https://github.com/cri-o/${PN}/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="btrfs +device-mapper selinux systemd"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
app-emulation/conmon
|
||||
app-emulation/runc
|
||||
dev-libs/glib:=
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
net-firewall/conntrack-tools
|
||||
net-firewall/iptables
|
||||
net-misc/cni-plugins
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-libs/libseccomp:=
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
device-mapper? ( sys-fs/lvm2:= )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
systemd? ( sys-apps/systemd:= )"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '/^GIT_.*/d' \
|
||||
-e '/ git diff --exit-code/d' \
|
||||
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \
|
||||
-e 's/\${GIT_COMMIT}/'${EGIT_COMMIT}'/' \
|
||||
-e "s|^GIT_COMMIT := .*|GIT_COMMIT := ${EGIT_COMMIT}|" \
|
||||
-e "s|^COMMIT_NO := .*|COMMIT_NO := ${EGIT_COMMIT}|" \
|
||||
-i Makefile || die
|
||||
|
||||
echo ".NOTPARALLEL: binaries docs" >> Makefile || die
|
||||
|
||||
sed -e 's:/usr/local/bin:/usr/bin:' \
|
||||
-i contrib/systemd/* || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die; }
|
||||
|
||||
[[ -f hack/libdm_installed.sh ]] || die
|
||||
use device-mapper || { echo -e "#!/bin/sh\necho exclude_graphdriver_devicemapper" > \
|
||||
hack/libdm_installed.sh || die; }
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
hack/selinux_tag.sh || die; }
|
||||
|
||||
mkdir -p bin || die
|
||||
GOBIN="${S}/bin" \
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${D}${EPREFIX}/usr" install install.config install.systemd
|
||||
|
||||
keepdir /etc/crio
|
||||
mv "${ED}/etc/crio/crio.conf"{,.example} || die
|
||||
|
||||
newinitd "${FILESDIR}/crio.initd" crio
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
|
||||
# Suppress crio log error messages triggered if these don't exist.
|
||||
keepdir /etc/containers/oci/hooks.d
|
||||
keepdir /usr/share/containers/oci/hooks.d
|
||||
|
||||
# Suppress crio "Missing CNI default network" log message.
|
||||
keepdir /etc/cni/net.d
|
||||
insinto /etc/cni/net.d
|
||||
doins contrib/cni/99-loopback.conf
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_COMMIT=61de18161fb4ccda720768c001713592b5a04e46
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="OCI-based implementation of Kubernetes Container Runtime Interface"
|
||||
HOMEPAGE="https://cri-o.io/"
|
||||
SRC_URI="https://github.com/cri-o/${PN}/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 ~arm64"
|
||||
IUSE="btrfs +device-mapper selinux systemd"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
app-emulation/conmon
|
||||
app-emulation/runc
|
||||
dev-libs/glib:=
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
net-firewall/conntrack-tools
|
||||
net-firewall/iptables
|
||||
net-misc/cni-plugins
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-libs/libseccomp:=
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
device-mapper? ( sys-fs/lvm2:= )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
systemd? ( sys-apps/systemd:= )"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '/^GIT_.*/d' \
|
||||
-e '/ git diff --exit-code/d' \
|
||||
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \
|
||||
-e 's/\${GIT_COMMIT}/'${EGIT_COMMIT}'/' \
|
||||
-e "s|^GIT_COMMIT := .*|GIT_COMMIT := ${EGIT_COMMIT}|" \
|
||||
-e "s|^COMMIT_NO := .*|COMMIT_NO := ${EGIT_COMMIT}|" \
|
||||
-i Makefile || die
|
||||
|
||||
echo ".NOTPARALLEL: binaries docs" >> Makefile || die
|
||||
|
||||
sed -e 's:/usr/local/bin:/usr/bin:' \
|
||||
-i contrib/systemd/* || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die; }
|
||||
|
||||
[[ -f hack/libdm_installed.sh ]] || die
|
||||
use device-mapper || { echo -e "#!/bin/sh\necho exclude_graphdriver_devicemapper" > \
|
||||
hack/libdm_installed.sh || die; }
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
hack/selinux_tag.sh || die; }
|
||||
|
||||
mkdir -p bin || die
|
||||
GOBIN="${S}/bin" \
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${D}${EPREFIX}/usr" install install.config install.systemd
|
||||
|
||||
keepdir /etc/crio
|
||||
mv "${ED}/etc/crio/crio.conf"{,.example} || die
|
||||
|
||||
newinitd "${FILESDIR}/crio.initd" crio
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
|
||||
# Suppress crio log error messages triggered if these don't exist.
|
||||
keepdir /etc/containers/oci/hooks.d
|
||||
keepdir /usr/share/containers/oci/hooks.d
|
||||
|
||||
# Suppress crio "Missing CNI default network" log message.
|
||||
keepdir /etc/cni/net.d
|
||||
insinto /etc/cni/net.d
|
||||
doins contrib/cni/99-loopback.conf
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_COMMIT=99c925bebdd9e392f2d575e25f2e6a1082e6c232
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="OCI-based implementation of Kubernetes Container Runtime Interface"
|
||||
HOMEPAGE="https://cri-o.io/"
|
||||
SRC_URI="https://github.com/cri-o/${PN}/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 ~arm64"
|
||||
IUSE="btrfs +device-mapper selinux systemd"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
app-emulation/conmon
|
||||
app-emulation/runc
|
||||
dev-libs/glib:=
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
net-firewall/conntrack-tools
|
||||
net-firewall/iptables
|
||||
net-misc/cni-plugins
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-libs/libseccomp:=
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
device-mapper? ( sys-fs/lvm2:= )
|
||||
selinux? ( sys-libs/libselinux:= )
|
||||
systemd? ( sys-apps/systemd:= )"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<app-emulation/podman-1.3.2-r1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e '/^GIT_.*/d' \
|
||||
-e '/ git diff --exit-code/d' \
|
||||
-e 's/$(GO) build -i/$(GO) build -v -work -x/' \
|
||||
-e 's/\${GIT_COMMIT}/'${EGIT_COMMIT}'/' \
|
||||
-e "s|^GIT_COMMIT := .*|GIT_COMMIT := ${EGIT_COMMIT}|" \
|
||||
-e "s|^COMMIT_NO := .*|COMMIT_NO := ${EGIT_COMMIT}|" \
|
||||
-i Makefile || die
|
||||
|
||||
echo ".NOTPARALLEL: binaries docs" >> Makefile || die
|
||||
|
||||
sed -e 's:/usr/local/bin:/usr/bin:' \
|
||||
-i contrib/systemd/* || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
[[ -f hack/btrfs_installed_tag.sh ]] || die
|
||||
use btrfs || { echo -e "#!/bin/sh\necho exclude_graphdriver_btrfs" > \
|
||||
hack/btrfs_installed_tag.sh || die; }
|
||||
|
||||
[[ -f hack/libdm_installed.sh ]] || die
|
||||
use device-mapper || { echo -e "#!/bin/sh\necho exclude_graphdriver_devicemapper" > \
|
||||
hack/libdm_installed.sh || die; }
|
||||
|
||||
[[ -f hack/selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
hack/selinux_tag.sh || die; }
|
||||
|
||||
mkdir -p bin || die
|
||||
GOBIN="${S}/bin" \
|
||||
emake all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${D}${EPREFIX}/usr" install install.config install.systemd
|
||||
|
||||
keepdir /etc/crio
|
||||
mv "${ED}/etc/crio/crio.conf"{,.example} || die
|
||||
|
||||
newinitd "${FILESDIR}/crio.initd" crio
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
|
||||
# Suppress crio log error messages triggered if these don't exist.
|
||||
keepdir /etc/containers/oci/hooks.d
|
||||
keepdir /usr/share/containers/oci/hooks.d
|
||||
|
||||
# Suppress crio "Missing CNI default network" log message.
|
||||
keepdir /etc/cni/net.d
|
||||
insinto /etc/cni/net.d
|
||||
doins contrib/cni/99-loopback.conf
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +1,6 @@
|
||||
AUX podman.confd 328 BLAKE2B e03a1f7f5cec555f195bd1ca9bea050a67ccac7866bd68f0c74dcbd3a6629b2da6f368274b4b664eaaa410773337a1f352c3144c3682ea0ea56b8c958b9d00a6 SHA512 58b05b7ff574f2153d7eeb3f726808e22ebe0821afc4d86dc3dea189944cdd6f2d6e1b051046456e149505b4b558a7957a278c1dba21db2fec65f2efbb3e1d84
|
||||
AUX podman.initd 704 BLAKE2B 2fc4ffaa3b971774957ea244e05d851fa2797ec074529ea7c23bc6d7a3f597c04268d7f5580852dae4ab412629a513fed152f6a20a7ed432ef00cb96848c290c SHA512 bcf3e74a4a77bac82fc4679b3161091692b301426ecf81af7c5ea7e23ba66d15602d0cf1284f160d4179e52ae78f309ad826d9f3698dfcb78c2be2c6ac51417c
|
||||
AUX podman.logrotated 85 BLAKE2B 730899f93ee354e476629276b69224cfeaaa1603b6690cac3c0cd905cd75add19179f99e26f29edbd963d5f44c38a3a2db0b5a3613dc665ab801654eac13dc2e SHA512 0136d063b15b07c41a9370ba1845c4f368ec46a7a30683b7ff7cbb0b12e5b2711c9a45329f5102af6a969e562edcec006a8de9055e43e1caf9395847d0c5ec45
|
||||
DIST podman-3.0.1.tar.gz 10365348 BLAKE2B 93a227bf1395145ebaec8e18aa8ad8101704e8e0f7344c8850ee9e1532b191aef96b1cbbba2e21bd716591d68969cfd16ee811621a383cb2d31e4105a44834bf SHA512 4addc986ad94b512d90b675a5a1988eeef365fff02c3449fd310582245a91d4ee96ff9fd3c56ce333a972dca627aa28fbd468a4a363c5c8963524bb67bc26754
|
||||
DIST podman-3.1.2.tar.gz 10488539 BLAKE2B 8536f6856e436467541f7714e75d5055545e1514604d6541671894117e752609a9e791355c162ef8fcdbc0cbd992823ecab8a3ab760bab3a469d9768b6b008e4 SHA512 fdc26368f3cce6a11fe9adeae34a2f04396a554bb5f245e07fc98d1ce21dff66faba5549e9e0b94793d67768ff03fea2990e7a2759dd41ed2b72778431f5dd9d
|
||||
EBUILD podman-3.0.1.ebuild 4811 BLAKE2B 79ead1ab8488d8dcbd492ddad8b7b126c9c73d56df329b512d0c6c4a7fdce7916c9ad5d31c11f02921ee79206776ccd264e58350e91201531fe856b8ff6f524f SHA512 16a0599c46c3da78709e8f41033f879b1a6be3230c296359573d1973e90f4f2ee8be4a1694f0820922c5b121251abe52ec2fad102d185f0a95a1660f789a26af
|
||||
EBUILD podman-3.1.2.ebuild 4661 BLAKE2B a25841f4d359ab35df46876e4da44105a9226d21d36449d204f768ba3ab1cfe83267910954ba0791df8f9ec56ae68d2419ca52e620fb0f3e3a5070cac45663c2 SHA512 da4715f8e4ff516cd1c0663fe24b17aabd4bc72c9fa1183153f8cb5e42181ce6f314e17bb5337d2d71ecb558b7d43088aa5643ccce1e93201f8237ecb7b91a67
|
||||
MISC metadata.xml 1160 BLAKE2B d56944aa9a0b3793aa581ea68233ec7b29c7caec3042aae9985d1b228e5ba205a7a631c61d31cef923e38714c934fbaf3202d5a8cf260b78f78fafe81730870e SHA512 0b1e63e5cad075899045c876d6dc93638eb36afd01fb7acef59b59c6795d767f250926cf77789f159481a7efdde09848d2a63fb7452d28ff250146d16a289064
|
||||
|
@ -1,165 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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/podman/"
|
||||
MY_PN=podman
|
||||
MY_P=${MY_PN}-${PV}
|
||||
SRC_URI="https://github.com/containers/podman/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="apparmor btrfs +fuse +rootless selinux"
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
app-crypt/gpgme:=
|
||||
>=app-emulation/conmon-2.0.0
|
||||
|| ( >=app-emulation/runc-1.0.0_rc6 app-emulation/crun )
|
||||
dev-libs/libassuan:=
|
||||
dev-libs/libgpg-error:=
|
||||
>=net-misc/cni-plugins-0.8.6
|
||||
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}
|
||||
fuse? ( sys-fs/fuse-overlayfs )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Disable installation of python modules here, since those are
|
||||
# installed by separate ebuilds.
|
||||
local makefile_sed_args=(
|
||||
-e '/^GIT_.*/d'
|
||||
-e 's/$(GO) build/$(GO) build -v -work -x/'
|
||||
-e 's/^\(install:.*\) install\.python$/\1/'
|
||||
-e 's|^pkg/varlink/iopodman.go: .gopathok pkg/varlink/io.podman.varlink$|pkg/varlink/iopodman.go: pkg/varlink/io.podman.varlink|'
|
||||
)
|
||||
|
||||
has_version -b '>=dev-lang/go-1.13.9' || makefile_sed_args+=(-e 's:GO111MODULE=off:GO111MODULE=on:')
|
||||
|
||||
sed "${makefile_sed_args[@]}" -i Makefile || die
|
||||
|
||||
sed -e 's|OUTPUT="${CIRRUS_TAG:.*|OUTPUT='v${PV}'|' \
|
||||
-i hack/get_release_info.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local git_commit
|
||||
git_commit=$(grep '^[[:space:]]*gitCommit[[:space:]]' vendor/k8s.io/client-go/pkg/version/base.go)
|
||||
git_commit=${git_commit#*\"}
|
||||
git_commit=${git_commit%\"*}
|
||||
[[ ${git_commit} ]] || die "failed to determine gitCommit"
|
||||
|
||||
# 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
|
||||
|
||||
# Avoid this error when generating pkg/varlink/iopodman.go:
|
||||
# cannot find package "github.com/varlink/go/varlink/idl"
|
||||
mkdir -p _output || die
|
||||
ln -snf ../vendor _output/src || die
|
||||
GO111MODULE=off GOPATH=${PWD}/_output go generate ./pkg/varlink/... || die
|
||||
rm _output/src || die
|
||||
|
||||
export -n GOCACHE GOPATH XDG_CACHE_HOME
|
||||
GOBIN="${S}/bin" \
|
||||
emake all \
|
||||
GIT_BRANCH=master \
|
||||
GIT_BRANCH_CLEAN=master \
|
||||
COMMIT_NO="${git_commit}" \
|
||||
GIT_COMMIT="${git_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
|
||||
|
||||
insinto /usr/share/containers
|
||||
doins vendor/github.com/containers/common/pkg/seccomp/seccomp.json
|
||||
|
||||
newconfd "${FILESDIR}"/podman.confd podman
|
||||
newinitd "${FILESDIR}"/podman.initd podman
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/podman.logrotated" podman
|
||||
|
||||
dobashcomp completions/bash/*
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins completions/zsh/*
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins completions/fish/*
|
||||
|
||||
keepdir /var/lib/containers
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
PODMAN_ROOTLESS_UPGRADE=false
|
||||
if use rootless; then
|
||||
has_version 'app-emulation/podman[rootless]' || PODMAN_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 [[ ${PODMAN_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,9 +1,7 @@
|
||||
AUX protontricks-1.4.3_no-setuptools-scm.patch 1174 BLAKE2B 16ad14073457431d388e295d5004874a8b7bc74aa5762c3f4a950c35ad485d9dc60312acaa511541ff4f2d2e826c31e5c74d1f51d80721bb5ffaa23903714283 SHA512 99349a830eba3e248db3f67f5cd842764700fff51788db1fc649ba9dbef3f356c6ec4a66e4608a74eb67b919d53700b5c501e55a98f78e67e9c63e6f851aa18d
|
||||
AUX protontricks-1.5.0_no-setuptools-scm.patch 1321 BLAKE2B d96472bf9b0827cbc6bb9debf6c8da9f27773da4587d5b5c663180913ef4595fe21c5edd4798a8e98ee0a00dad75acec41dd0776e3dfaa6ff0aa186167e70c6b SHA512 9fce0b3ddd34801b7af8adcce2990c875ce68ed9289717f08f1f1653d447887b67b65d5c35de14a126dfbd4d1143fdef8fb8399f55aa59c498a68b0bc0480bad
|
||||
DIST protontricks-1.4.3.tar.gz 43573 BLAKE2B 3a3050ba6e940182d81d98498a5558433ceaa4282f5a23fb93b3cfc299699381493eb2912c5f03bb6a8092be5c50b94bf7181208cda3d4c0f4c90c0f438f7f1b SHA512 7ca8c7c273d92f7c4526caaa8c9db6988c642913c33c6b6188d285d5cfbe30924533a9f024135865cdc1a25bd867ac00bd915b0a61417d17fe0e5ee451417e64
|
||||
DIST protontricks-1.4.4.tar.gz 45204 BLAKE2B 3fc66acae79a39e8dc7a5d507e4abcdad24da13a03e10954b667769a801ac42addb55980e3de413e71ad5395e773b065f8f1dca2e694c835a07b8993b4fb5f0e SHA512 4c61da27e97f1b46150f2808c27d1fcf7394f2cc4f272eada54abc4fdd9229443405f7466d3a1ba5603e3c40a025dbbd8fde512334c6007a64687867625abc4c
|
||||
DIST protontricks-1.5.0.tar.gz 46957 BLAKE2B 622affd9a1bfff3a5cd76fa8e279f25b5c91a6f040b6cc4e5f42e58be08a232fad2be179a47e063b45b1b1bb11b6ae9ce26cce499f4c1dae460be0bb8247e619 SHA512 6df3e0dd638684e70a8d40b7440e2340765109e31dd47fa5e33e4959bc34d3ff4cfa70c8689cafdcce82f1d97ba6d25de724ca7439e5d1ffd634b729ab222716
|
||||
EBUILD protontricks-1.4.3.ebuild 1442 BLAKE2B a1656810ec6810c0899349e7a03835a45a92183799d0a39e4257c551208a4a589211127e6b3087d4a7c68024eebd6a54be841a13e6c25c1b0a51e0b755a1e90e SHA512 9b9a9d1de030e9e7e2574295e3ed054c90a36237c462024e2a8996082e088a903a535d27a8f45742345bba6edc84ee476d0639ff60e1411045ef165dfc4c6374
|
||||
EBUILD protontricks-1.4.4.ebuild 1443 BLAKE2B 8e618ffbeb08d2eacd054c034a7b56f4c737fca62bd9957cb8b25d052f3c1cc384e95923990f49a5aca2a7dbadf246cc393f4fc006af7a0d4d888f3eb303d58a SHA512 3c985a558ac8d63bf32a3d5754f78e207029e19a2d99fc7c5c09ebe272116338ec492d40e84df721f906a2a3798aeef4bae7ccdab794b4ddb6856e1276449728
|
||||
EBUILD protontricks-1.5.0.ebuild 1443 BLAKE2B bf0b69a3d9e1dcd6c6a790b39110ee85da1a2cd9008acf2c734c929bd1c9506c9f5af43212e949932ddbb1cf72fd3c260fa5dfaa43eff64af59e0890663a80d3 SHA512 46385bc29c1d958e16eb6c65901bdcf073312a5e2d03add2148bce5c4817d513177b433459a69808cef9baba5c0b181ca3be2063bef46af7671190870b373301
|
||||
MISC metadata.xml 808 BLAKE2B 9abbb6d1689e04026c239dc2bde4a2d975bb260473178e68c0ec3e37a3e4c3e6db701ece9e8551d5ba071db14effc7e59a15a5e13c2049a6cd9d0709562bf709 SHA512 21452c10fe698d461aa814bc1bddb6350fcd8f60b7c84d8949f1eb8a1932ae3f9214c123451334ac2108f6ad930d5e6f5b522eac477ed6f6af1c916326254c32
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
|
||||
HOMEPAGE="https://github.com/Matoking/protontricks"
|
||||
SRC_URI="https://github.com/Matoking/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+gui"
|
||||
|
||||
RDEPEND="app-emulation/winetricks
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/vdf[${PYTHON_USEDEP}]
|
||||
')
|
||||
gui? ( gnome-extra/zenity
|
||||
|| (
|
||||
app-emulation/winetricks[gtk]
|
||||
app-emulation/winetricks[kde]
|
||||
)
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4.3_no-setuptools-scm.patch
|
||||
)
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
echo "version = '${PV}'" > "${S}"/src/${PN}/_version.py || die "Failed to generate the version file"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
|
||||
if ! use gui; then
|
||||
ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option,"
|
||||
ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "Protontricks can only find games for which a Proton prefix already exists."
|
||||
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
|
||||
elog
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST eselect-rust-20200419.tar.bz2 50278 BLAKE2B 5d5e773a0e0481403e1645cb5fdf642e1ce5d1819e9699a79fcaf822ff3e6f258b2d1958548e00df200d9aaf061be1d3b1773e6b0e92b498fe75316ac13ff235 SHA512 68db32df19864a8365e272946161966b9cb513d7403dd1df7a4c7d87fba3b8bfcad59b407dca7dd6c8e0756f2e5cbde367ade69629eaa78d019d2b524051f741
|
||||
EBUILD eselect-rust-20200419.ebuild 747 BLAKE2B ac121d02e3775ee599906724d4da991b80e0a0381e36c29c7473f2d860f8c0929bbe6dbcef11a1fed027138fe23e71bc91c2157d12292a7737d4d855d0f9c239 SHA512 fa943b3644c8a77b97e2b162426250d6af92b04e29c40f09239af766185c954b2806f4b81d9e402d5723eb11dca02cf7191494cda77a40cee438dd37f88328e0
|
||||
EBUILD eselect-rust-20200419.ebuild 752 BLAKE2B e606bc7daf8d7399ca8b290d5148a28d4c5ce9fe5c89cab04b6377bded7d7b1e89a2b94c6ac4e1d886386d0a67fb8a86c9628907f95c07f76fd06778536039a9 SHA512 4945e3fbf19946f2728a31ed387cfb582125b86d3f378f682aa149ccd8d75a17756aa03335e452258732e80fb0c0682761148e92e444d8bdb0e731d5d79c63dd
|
||||
MISC metadata.xml 325 BLAKE2B 4a5bfd5d1fc114ca76ec1daad158b13b9a2e2a3c4d973043aedb9b76de9724e3b64c6b0f1a819b59206af439216c7ac062b2d12c29ad00f4230f787da6e7e96b SHA512 78c24772bde775f5eae091b9fe20c07456ef2c7b8a89953b81e89b3b8f61b635eeeb98f4662f913e241219bf2c3e2812050f758a6775cafa97b398a07841b690
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
AUX aflplusplus-3.0c-CFLAGS.patch 6130 BLAKE2B 24e7d6e04a258dab3353cc82fe7263f99c176fef6abb556678534dc2b92996b5a212a8cc0516a79a73615759b88bd62f137ebb10df0eb6d0a7efddf10d15e2fa SHA512 bdf6786c1ce5613ef598a1c6f7a2371b200409431677a8c4673ccde40c7780df46865b45472cae31659c793e4ff5ebd49805b922c8c6964d2c868c3353498e75
|
||||
AUX aflplusplus-3.0c-LDFLAGS.patch 445 BLAKE2B cfb1282dcba575ed96f355bf6695896f69625b1ace2c6b5d02a0c507fc2a09d4ee6cba97d27f7ac08516a525e5a09c5d3cfab75f3c3f4421357c8aa2cc5aee8c SHA512 d3f43709debf92a0a51077c33c85cf16d9e74324999267c66765f4eeda46d0091ee5c08a6e94bdb635ee6f970445c06e0ac1fdceba561c9345670ef7e365dfb0
|
||||
DIST aflplusplus-3.12c.tar.gz 2065569 BLAKE2B ff7a87eb02f7731b5ce8e1a3016239c6fd1cd1bfeb0b9c0fb69f72bdbf079e7700cdb32abe64f64853e5ff82f1c0ecd86d2cadb892e7c40be6bb2a7b089f7387 SHA512 a814d61298b60d99388289e742dbedf2ed1ab454a5e1ea20d48bb2f18b36c01553ab1f097a06f733439d67e804d48cb823a82ff249c404fb0b83a281564f3040
|
||||
EBUILD aflplusplus-3.12c-r1.ebuild 1723 BLAKE2B 300fb23f22757aa6dc2932528f328ad0b7e92896a296657b8f2021f2804e76ac2cc5a32e2356209d658075ffcfa4e128f94d35fdce52eddd3bfabaf49a6aec66 SHA512 b654d0b4cd1398b9db57d43144378b2f567b2de6f8524c0f278abd7264a143d1ed1fb7cb3f734370494c38da90b433796b03c68608d8dfce33756000c2342144
|
||||
EBUILD aflplusplus-3.12c-r2.ebuild 2119 BLAKE2B d082ef6d5c1fc9a90a087458b3a4d1dedfb0e6adb92573049168b771c112aad6b24e23aaf6554d7bb0aa6d9880e6bd8612afb760f6dbe36a4f0ca79481f084de SHA512 1571af2293395df0da008472f0dfb7a7c798f5a8d544e2d2e7c47cf5070485f3e7624e035dde22cf697b65a3acfeee5e56c0010686eadef497590ae64d6126c5
|
||||
MISC metadata.xml 327 BLAKE2B 25fff77dada492976b7c412879dadd7df2a78a05cfa2be3ef00557f84c3f6679dd2977c8ea11573ffda864b0c88da327ea912a358a2b44b4186c71c6ed7086e8 SHA512 b2c58af252bae6ba27785f059c67edbd7c05469965e67c5e6f053bd385463b5f02b2ee65df3174fda85dfcf741add66bbc33836b3d8edb76acec91727f008746
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_REQ_USE="tk?"
|
||||
inherit cmake desktop flag-o-matic python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Desktop publishing (DTP) and layout program"
|
||||
HOMEPAGE="https://www.scribus.net/"
|
||||
SRC_URI="https://pilotfiber.dl.sourceforge.net/project/${PN}/${PN}-devel/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="+boost debug examples graphicsmagick hunspell +minimal osg +pdf scripts +templates tk"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
tk? ( scripts )"
|
||||
|
||||
# osg
|
||||
# couple of third_party libs bundled
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
app-text/libmspub
|
||||
app-text/libqxp
|
||||
app-text/poppler:=
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:0=
|
||||
dev-libs/librevenge
|
||||
dev-libs/libxml2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5[-gles2-only]
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/harfbuzz:0=[icu]
|
||||
media-libs/lcms:2
|
||||
media-libs/libcdr
|
||||
media-libs/libfreehand
|
||||
media-libs/libpagemaker
|
||||
media-libs/libpng:0=
|
||||
media-libs/libvisio
|
||||
media-libs/libzmf
|
||||
media-libs/tiff:0
|
||||
net-print/cups
|
||||
sys-libs/zlib[minizip]
|
||||
virtual/jpeg:0=
|
||||
x11-libs/cairo[X,svg]
|
||||
boost? ( dev-libs/boost:= )
|
||||
graphicsmagick? ( media-gfx/graphicsmagick:= )
|
||||
hunspell? ( app-text/hunspell:= )
|
||||
osg? ( dev-games/openscenegraph:= )
|
||||
pdf? ( app-text/podofo:0= )
|
||||
scripts? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pillow[tk?,${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# non(?)-upstreamable
|
||||
"${FILESDIR}"/${PN}-1.5.3-fpic.patch
|
||||
"${FILESDIR}"/${PN}-1.5.6-docdir.patch
|
||||
"${FILESDIR}"/${PN}-1.5.5-findhyphen-1.patch
|
||||
"${FILESDIR}"/${PN}-1.5.6-findhyphen.patch
|
||||
)
|
||||
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
rm -r codegen/cheetah scribus/third_party/hyphen || die
|
||||
|
||||
sed \
|
||||
-e "/^\s*unzip\.[ch]/d" \
|
||||
-e "/^\s*ioapi\.[ch]/d" \
|
||||
-i scribus/CMakeLists.txt Scribus.pro || die
|
||||
rm scribus/ioapi.[ch] || die
|
||||
|
||||
sed \
|
||||
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \
|
||||
-i resources/templates/CMakeLists.txt || die
|
||||
|
||||
sed \
|
||||
-e "/^add_subdirectory(ui\/qml)/s/^/#DONT/" \
|
||||
-i scribus/CMakeLists.txt || die # nothing but a bogus Hello World test
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# bug #550818
|
||||
append-cppflags -DHAVE_MEMRCHR
|
||||
|
||||
local mycmakeargs=(
|
||||
-DHAVE_PYTHON=ON
|
||||
-DWANT_DISTROBUILD=ON
|
||||
-DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
-DWITH_BOOST=$(usex boost)
|
||||
-DWANT_DEBUG=$(usex debug)
|
||||
-DWANT_NOEXAMPLES=$(usex !examples)
|
||||
-DWANT_GRAPHICSMAGICK=$(usex graphicsmagick)
|
||||
-DWANT_HUNSPELL=$(usex hunspell)
|
||||
-DWANT_HEADERINSTALL=$(usex !minimal)
|
||||
-DWANT_NOOSG=$(usex !osg)
|
||||
-DWITH_PODOFO=$(usex pdf)
|
||||
-DWANT_NOTEMPLATES=$(usex !templates)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use tk; then
|
||||
rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die
|
||||
fi
|
||||
if use scripts; then
|
||||
python_fix_shebang "${ED}"/usr/share/scribus/scripts
|
||||
python_optimize "${ED}"/usr/share/scribus/scripts
|
||||
else
|
||||
rm "${ED}"/usr/share/scribus/scripts/*.py || die
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die
|
||||
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die
|
||||
|
||||
# These files are parsed to populate the help/about window.
|
||||
cat >> "${T}"/COPYING <<- EOF || die
|
||||
${PN} is licensed under the "${LICENSE}".
|
||||
Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text.
|
||||
EOF
|
||||
dodoc "${T}"/COPYING
|
||||
docompress -x /usr/share/doc/${PF}/en /usr/share/doc/${PF}/{AUTHORS,TRANSLATION,LINKS,COPYING}
|
||||
|
||||
local size
|
||||
for size in 16 32 128 256 512; do
|
||||
newicon -s $size resources/iconsets/artwork/icon_${size}x${size}.png scribus.png
|
||||
done
|
||||
newicon -s 64 resources/iconsets/artwork/icon_32x32@2x.png scribus.png
|
||||
doicon resources/iconsets/*/scribus.png
|
||||
domenu scribus.desktop
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue