parent
fb36887c72
commit
907e69e53a
Binary file not shown.
Binary file not shown.
@ -1,5 +1,3 @@
|
||||
DIST puppet-agent_6.19.1-1focal_amd64.deb 22221600 BLAKE2B 22b03ef1f86b34955e8bad7c63a2022d2832dadd554316baf75419d6543e8a569902fb92a81a3dcc817401f06aa7dd47143a6cbd383f0e531c465cd3203dc4ed SHA512 4819a3509066516b0be76bc0f2afe94611405f7ac52fe50890d57c86a8a9c6c70787d46cb4b77085666f3e74bcb83a11acf1fef5d1e6ed3151ea06cbb8df3170
|
||||
DIST puppet-agent_7.5.0-1focal_amd64.deb 20900560 BLAKE2B a1f0e3da38cc98e677f66fd8887e4db1e1bd9d2af0b89597c0b1f2e569b78ccd8eb2d7c84c9cf5c8d03097dd6b22ae323ad7e9f989b06692a6ca7fbd28d5cf46 SHA512 250839f7d4a09545ae509273cbfb1ba004b8d0c5559b5312642b7483c605d32b7575c52b5e9a2b9d3f65e2fcfbf00f4ed85ee498ae9dc39629f1618aaab79361
|
||||
DIST puppet-agent_7.6.1-1focal_amd64.deb 20894772 BLAKE2B 235f62750c1e7a42b8b4fa013b969926c4c168fd6a6d9cfc8f243ef5571360593572faad57326019c09cd1d1e67fcc985d699acbd07c3279ac350712828eb26f SHA512 36b9f69cbef0b51a80375231472e4bab195a08b14bb860419d2ad01f13d90cba377d796b3253643f77ff415f43d2f9598dc18c37d76d844a3ea98299e5d43e65
|
||||
DIST puppet-agent_7.7.0-1focal_amd64.deb 20917640 BLAKE2B f0b154c49f083a0eba5caa9351c83534a3fcce9028d56ed7c2a9c58520c5105eab215432aab0ac188b6ccaa11d922a90bed2b093a3234ec292d80c12f8e1f188 SHA512 70375495d08eccd145fa936118341c861cad76c1b760055579814d9d79d424db1b165d884bbca20dd3ce3bf932a9d99043ef38f968318bd028b6f1b3750eeeef
|
||||
DIST puppet-agent_7.8.0-1focal_amd64.deb 20931500 BLAKE2B 3c521631fb96440e51ad82c3665f07a5ee9cba1d978fccbe9388684ad0c211138f022017ff49b92818cfc8f50ebed0a996c9321918413e4a1c7ca0f5a2f68f8a SHA512 f0cd9951b54bc9aacce987ea10e9257db9432620f50657ca220ea8b7b4aad1c5ddebd6f5e89c5bdee837b0f928bbebe375afdb72652eb33ee22e3778498aafa1
|
||||
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit systemd unpacker tmpfiles
|
||||
|
||||
DESCRIPTION="general puppet client utils along with hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_URI="http://apt.puppetlabs.com/pool/focal/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1focal_amd64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
app-admin/augeas"
|
||||
RDEPEND="${CDEPEND}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/libselinux
|
||||
sys-libs/glibc
|
||||
sys-libs/readline:0/8
|
||||
sys-libs/libxcrypt
|
||||
sys-libs/ncurses:0[tinfo]
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
keepdir var/log/puppetlabs/puppet/
|
||||
chmod 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd2" puppet
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
newtmpfiles usr/lib/tmpfiles.d/puppet-agent.conf puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym ../../../../usr/lib64/xcrypt/libcrypt.so.1 /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
@ -1,7 +1,4 @@
|
||||
DIST puppet-5.5.19.tar.gz 2993740 BLAKE2B aa6bde89489279769ee9a1ed5508fb223f7f0153b1b1991970018908eee70ff0816688c702b8dc779d01e1978ea7f9290c80523648730d5408a17674c11345fd SHA512 996fa155ca04c8c3c96c29cf65cd24eaf9e19e89fcf85345509dbd3673b28c263df5b62d6f016b8ac1c1da8ed86f0acf3100eae2656252bb10c542972db81de3
|
||||
DIST puppet-5.5.22.tar.gz 2998132 BLAKE2B 8662c89190d0904fe44ffeca1cf9a9ddca40d57ba6fb2d1e644ca353ceb55b1ca3a91416f1eef2975233c9c4498784e7d7280c111ea0cc070870cadc69341d99 SHA512 5332b084a63bdf244672cc4751022c84a1cc50d3f394a13bdcbccf7fcf4ebea67953e88957f23046608bf25e9182548449be824c18289cb2bf1e3ed29b40dc58
|
||||
DIST puppet-6.19.1.tar.gz 2917976 BLAKE2B 06019b465699494c3c5045d8d3f617046583f8bb5ebff4e72991bcf5f1ca76b4e00f56af79bbcd7ab849439fc5e627840ef08b92f586441c0cb0bb3d51805f7f SHA512 4e8a3c8d46b6aa67c31da4b510dfc32a187937af213efb9f2f0b6625b29995cdfa8cbca384ad857c19e47ae4878127564756a809c2afdff4883038249395ff01
|
||||
DIST puppet-7.5.0.tar.gz 2859905 BLAKE2B 59c6b8fee0ce13b1aeb7a59eab21e84835682e606598dac79a838d514352988d260f610aef0f0b00547a141c503f8779668006d109c3ad86133f413b57309adc SHA512 7b3ac681a91160055e4b26c904153b0800f55222201a83e8e5f20d74a7ef153e6b029ab59b237726f20576379ea7d81e64e24126e72e8f709bbc6473c3c0793b
|
||||
DIST puppet-7.6.1.tar.gz 2861371 BLAKE2B acc117a03906d710329dcd4bc3881bc9792640b4685ffb771e67e819cf21705b1635178ec527b6548245b8312c3625622827fa744227d79a81af9bae194938a9 SHA512 f7b7265f5ffca4e342e0f687cf4fbf7704c6518025d178925ae04b8902a2df2ceaa76179ecd5a1c1eb3456e29c049f701e8b45c8da7dc3b0a8948ef85ee3268a
|
||||
DIST puppet-7.7.0.tar.gz 2891530 BLAKE2B a6284f4928fc57733a5ef5fad71e25657a7a5e76cbd2214ac74184cc223d24fb664486f6aa1958f9b26f00597a0209a9613dc1e33b73fe4951b3507e115fc48a SHA512 2cd1bf799bfe5a3d5d3458db84021a29d119651faae111b8c3bfd374c2c1b008610f2c15d4b434dbd13caa91aea073503d40071d85e86687fa330e997b80f220
|
||||
DIST puppet-7.8.0.tar.gz 2893281 BLAKE2B cef1d56048a72ffa18c9fe2917e4f616dd4d778eddc91c88becf06a418471af1e2cf1688aa05ad3e71f24d5bb1923eaf35b8a1419ed05a72b299af970d1427e6 SHA512 189fabe199afefc77951ee3f2bf20c749f6efe290cc3a76f5ba58892c80cc76082b1ce77c23bca87f57f62816410bc5536e4206806fe31517915c72046ace08d
|
||||
|
@ -1,138 +0,0 @@
|
||||
# Copyright 1999-2020 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 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/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
|
||||
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
|
||||
eapply -p0 "${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
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
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
|
||||
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if [ "$(ver_cut 1 "$v")" -eq "4" ]; then
|
||||
elog
|
||||
elog "Please see the following url for the release notes for puppet-5"
|
||||
elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x"
|
||||
elog
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit epatch ruby-fakegem
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="https://puppet.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
dev-ruby/json:=
|
||||
dev-ruby/semantic_puppet
|
||||
>=dev-ruby/facter-3.0.0
|
||||
dev-ruby/concurrent-ruby
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl
|
||||
dev-ruby/hocon"
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( dev-ruby/yard )
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0
|
||||
acct-user/puppet
|
||||
acct-group/puppet"
|
||||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# fix systemd path
|
||||
epatch "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
||||
elog "not already done so."
|
||||
elog
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit 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
|
||||
eapply -p0 "${FILESDIR}/puppet-systemd.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema
|
||||
doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"
|
||||
dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
||||
elog "not already done so."
|
||||
elog
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST puppetdb-6.13.0.tar.gz 46400373 BLAKE2B 2e3cdd4e7a3e84e11f23031dba3aadf5be885e118938a0a52140e612b4006a0fd4e97f162322c80731b2bfb63dcff2d73d5b2cd0882f7aabcb69fe30aa05151b SHA512 4d16ce44666634e88c538b06f6b2e91cf9786646134a6302a80ea941e3f73168b0f4981cecdb125cac881c0233c835893e9385004461b67e7d8635865f14aee9
|
||||
DIST puppetdb-7.2.0.tar.gz 47126306 BLAKE2B aa9213b3a6e7438f7f70c73d14d5a264fe8d45f41d15a21eb457f4264599d4ffc02339b1109aeba713b7afb09780a7ce66786fc03d27e49cd0786cc81042d36c SHA512 872ebc8caf5c9c2f9509f603809c942ef8b3fc0bab96dd39a51558cae88b07318fadb81aa2f8477d231c7caac513b304c6aa178deb3aa56a4a5f7a9f1917d90c
|
||||
DIST puppetdb-7.3.1.tar.gz 47173502 BLAKE2B e9f57300585cb556f75975c4a20c35c0789816a9f141a3979348200e28e24352870109fc3597a44d075b490b9da2308e963a24e64e37552f7124205beb87aae8 SHA512 aa15aebec2f7a24a2da125078017baabe054d741ee651b91219074a274400ae54862c38d3e253e904fe26165f4fc34fb3eb021937aa9ee4304b7e83bc3f5d0dc
|
||||
DIST puppetdb-7.4.1.tar.gz 47409868 BLAKE2B 0ac4234547b27e9ad12c9c008d76be8fff7f724d93acc2ca26700d18ac2e30bf9689c46550a8976b90e662d7af97994d7e299b94e2d68e5b5f7d1166a54d4ff8 SHA512 64c42477554039991b35dfd2d29f4fa507226cc3256b07ff3524cd287c1dbf09bdf60116dd12288d1340ca74ced2872ac886f4eadde8bd83965976579e99738d
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd tmpfiles
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
||||
DEPEND+="acct-user/puppetdb
|
||||
acct-group/puppetdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd tmpfiles
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.8.0"
|
||||
DEPEND+="acct-user/puppetdb
|
||||
acct-group/puppetdb"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
newtmpfiles ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd-r2" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST puppetserver-6.14.0.tar.gz 61960111 BLAKE2B 760fb2114aef78f1d96d41023f43f162eccd14ee0fa50f8ce4c7954450087dc395d9a9347629a968d99193ba6964b11a2650513c229b48159df67e9f9d63f541 SHA512 5d66b57a0f3c64ff889c33ccf94077a0ab142b84ca17faffaf4b885ba4794a52afb1b227f101eced36655999ac402913363897a3823a387f3c48948d38471c43
|
||||
DIST puppetserver-7.1.0.tar.gz 62812783 BLAKE2B 3954ebb11c1ac62451a103507feccf829aeae20a1f8ddef5892d902be0fee2b6fecca1322e7c2d160935cf762fe2eddd31ea433b2cfde2edf7743e7f27066fea SHA512 909f2d40f13e7fbc6e53e482f596fae15dec5502709d107a3a1963414a609cc6751e0688bf3324f94d987c7405407d89a652197604ae0dc80d656628c49a3e6f
|
||||
DIST puppetserver-7.1.2.tar.gz 62628297 BLAKE2B a109f6c9581f6d22d882dbef55b52cae31b6350e07918a6642bd1130f06b6d4649b8268f4b82a700937c518254f936dd0711e0c6c8f716a8cfd4e5bed717c459 SHA512 e5243f1159707c8b2e864450cddf57e9401bdfe209c449ce962684c4dfe0df2ea8a57756b9ca19d96b3f210d18b00f44460ceec85132af1b3048d8e919357c37
|
||||
DIST puppetserver-7.2.0.tar.gz 62897576 BLAKE2B 63a8a7ea001757e15224ec819d9a23e23d3e568832421009118c1c4c3880564f614afcfa593e7c0c580cd2890ab653f5692cfc7fb23992ca7674cd5a56fa3f50 SHA512 ec90220abf4901ad98e1e07f65cdc25f09b62fda22f915260519d6fc599d36ea3a5ec2bfd5787cc9459d3c25753ff5eded2c09a67a614da1d6dda0881262b3b9
|
||||
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-1.8.0
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+="acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
dodir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
insopts -m 0644
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
||||
}
|
@ -1,131 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-1.8.0
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+="acct-user/puppet
|
||||
acct-group/puppet"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/metrics.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/ca
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
doins ext/cli/reload
|
||||
doins ext/cli/start
|
||||
doins ext/cli/stop
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli
|
||||
doins ext/cli_defaults/cli-defaults.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
keepdir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
insinto /etc/default
|
||||
newins ext/default puppetserver
|
||||
# normal init type tasks
|
||||
dosym ../default/puppetserver /etc/conf.d/puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.init-r1" puppetserver
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
insinto /opt/puppetlabs/server/data
|
||||
doins ext/build-scripts/jruby-gem-list.txt
|
||||
doins ext/build-scripts/mri-gem-list-no-dependencies.txt
|
||||
insopts -m 0644
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
elog
|
||||
elog "# install puppetserver gems"
|
||||
elog "cd /opt/puppetlabs/server/apps/puppetserver"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/jruby-gem-list.txt"
|
||||
elog "echo \"jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/puppet/lib/ruby/vendor_gems }\" > jruby.conf"
|
||||
elog "while read LINE; do"
|
||||
elog " java -cp puppet-server-release.jar:jruby-9k.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install --no-document --ignore-dependencies \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')"
|
||||
elog "done < /opt/puppetlabs/server/data/mri-gem-list-no-dependencies.txt"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST kmymoney-5.1.1.tar.xz 12059768 BLAKE2B 8b41bce8804d757ba9c801c7b1eeb214a8983c4686a9663a4b5255460139593b7f70e29f08294df810a02eab4190dc6de852be091760981fd84ff8191fda82a3 SHA512 2ed3e47b2e65c9d9e5a11b55f0d425192331b21d64f8a4a4f8921fdd67eac219bf3ae1418026071218d823acc9a36905dc5c499cb0ae2af4ced0e32d1720bf59
|
||||
DIST kmymoney-5.1.2.tar.xz 12640912 BLAKE2B 72abd190914eef258e6745ca9835de14bdb2060b0d025f8bdb1bc0e12b773fc891b143fe36adb8b7afcc86498601f6e1a7f9485f9a11c875f4c75bfe01d93738 SHA512 38c60998be4e3ffb49091eb2085b293c2d5265f6582e980d2dc60a66a00862b6afd3e2152c752a9fb14a7bf8b6255a0c39b69b65e2f5c976f23d965e3a1cdf46
|
||||
|
@ -0,0 +1,133 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_BRANCH="5.1"
|
||||
ECM_HANDBOOK="optional"
|
||||
ECM_TEST="forceoptional"
|
||||
KFMIN=5.74.0
|
||||
QTMIN=5.15.2
|
||||
VIRTUALX_REQUIRED="test"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
inherit ecm kde.org optfeature
|
||||
|
||||
DESCRIPTION="Personal finance manager based on KDE Frameworks"
|
||||
HOMEPAGE="https://kmymoney.org/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="5"
|
||||
IUSE="activities addressbook calendar hbci holidays"
|
||||
[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
|
||||
|
||||
RDEPEND="
|
||||
>=app-crypt/gpgme-1.7.1-r1[cxx]
|
||||
>=app-office/libalkimia-7.0.0:=
|
||||
dev-db/sqlcipher
|
||||
dev-libs/gmp:0=[cxx(+)]
|
||||
dev-libs/kdiagram:5
|
||||
dev-libs/libgpg-error
|
||||
dev-libs/libofx:=
|
||||
>=dev-qt/qtdbus-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtsql-${QTMIN}:5
|
||||
>=dev-qt/qtsvg-${QTMIN}:5
|
||||
>=dev-qt/qtwebengine-${QTMIN}:5[widgets]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/karchive-${KFMIN}:5
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kitemmodels-${KFMIN}:5
|
||||
>=kde-frameworks/kitemviews-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/knotifications-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/ktextwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kwallet-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
>=kde-frameworks/sonnet-${KFMIN}:5
|
||||
activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
|
||||
addressbook? (
|
||||
kde-apps/akonadi:5
|
||||
kde-apps/kidentitymanagement:5
|
||||
>=kde-frameworks/kcontacts-${KFMIN}:5
|
||||
)
|
||||
calendar? ( dev-libs/libical:= )
|
||||
hbci? (
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=net-libs/aqbanking-6.0.1
|
||||
>=sys-libs/gwenhywfar-5.1.2:=[qt5]
|
||||
)
|
||||
holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
ecm_pkg_setup
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = live ]] && use experimental; then
|
||||
ewarn "USE experimental set: Building unfinished features."
|
||||
ewarn "This *will* chew up your data. You have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_OFXIMPORTER=ON
|
||||
-DENABLE_WEBENGINE=ON
|
||||
-DENABLE_WEBOOB=OFF # ported to Py3; not yet re-added in Gentoo
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
$(cmake_use_find_package activities KF5Activities)
|
||||
$(cmake_use_find_package addressbook KF5Akonadi)
|
||||
$(cmake_use_find_package addressbook KF5Contacts)
|
||||
$(cmake_use_find_package addressbook KF5IdentityManagement)
|
||||
-DENABLE_LIBICAL=$(usex calendar)
|
||||
-DENABLE_KBANKING=$(usex hbci)
|
||||
$(cmake_use_find_package holidays KF5Holidays)
|
||||
)
|
||||
[[ ${KDE_BUILD_TYPE} = live ]] &&
|
||||
mycmakeargs+=( -DENABLE_UNFINISHEDFEATURES=$(usex experimental) )
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# bug 652636; bug 673052: needs kmymoney installed to succeed
|
||||
local myctestargs=(
|
||||
-E "(reports-chart-test|qsqlcipher-test)"
|
||||
)
|
||||
|
||||
ecm_src_test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
optfeature "more options for online stock quote retrieval" dev-perl/Finance-Quote
|
||||
fi
|
||||
if has_version "app-office/kmymoney[quotes]"; then
|
||||
elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still"
|
||||
elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote"
|
||||
elog "may provide additional sources. To keep the functionality, run:"
|
||||
elog " emerge --noreplace dev-perl/Finance-Quote"
|
||||
fi
|
||||
ecm_pkg_postinst
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST jakarta-activation-2.0.1.tar.gz 133807 BLAKE2B 3b793fc767601cc1406482facb0456efd1f784371dff602e71f579a2c74f8e66affed384c8ce3b6aa7c2abfcb5cb0ff5f781ea109829c03f645099fb52016e21 SHA512 51e60d851b9f2027944ab24b248b3c7c19028a504ccf5f92a61495ffa65176df78c63c25e91de4a22d6aa9a1989db274f419f91693a21f052875635b8b21bad1
|
||||
DIST jakarta-activation-api-1.2.2.tar.gz 123283 BLAKE2B 2d205b0a042790f931d20b30f422690eb4f7b51ffa3e8eb2af0eb1fabbcd3fa9e469e9b68384bd95278c319f97911795473cbc81282b516f30148488da729f4d SHA512 a9062eadf260621e0a10695e63082d010567665bc749f76be43381c0f313d61fdb8ab04b9b2765e7da740277cd0335e9f555dd7a1cd89b7eedf88f6e557427c4
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom jaf-1.2.2/activationapi/pom.xml --download-uri https://github.com/eclipse-ee4j/jaf/archive/refs/tags/1.2.2.tar.gz --slot 1 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jakarta-activation-api-1.2.2.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="jakarta.activation:jakarta.activation-api:1.2.2"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Jakarta Activation API jar"
|
||||
HOMEPAGE="https://eclipse-ee4j.github.io/jaf/"
|
||||
SRC_URI="https://github.com/eclipse-ee4j/jaf/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="app-arch/zip"
|
||||
|
||||
DOCS=( ../{CONTRIBUTING,LICENSE,NOTICE,README}.md )
|
||||
|
||||
S="${WORKDIR}/jaf-${PV}/activation"
|
||||
|
||||
JAVA_ENCODING="iso-8859-1"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# these files are not present in the upstream jar
|
||||
find ${JAVA_RESOURCE_DIRS} -name "*.default" -delete || die "Failed to delete *.default files"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
# we remove implementation classes from the api
|
||||
zip -d ${PN}.jar "com/*" || die "Failed to remove implementation classes"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# we remove the implementation sources so that they don't land in sources
|
||||
rm -fr ${JAVA_SRC_DIR}/com || "Failed to delete implementation sources"
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST jaxb-api-2.3.3.tar.gz 193025 BLAKE2B 1cf4461fdc67cc05ee43e880c254290b9dbe8a40b1dc39444d8fb6656698876a4bb16c679ee551ec7baa95c07eaf83e2fe5638a71eafbb158805c14c38888cb8 SHA512 37d6705fc1563f0d35a215e2f176473ee5e817a4a3017afe22042a4235c86b8556ea1fb23210d07ca7ea3cd1e0a3271daa4be8c9652cfe92ce2898f1381de3bf
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/2.3.3.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-api-2.3.3.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Jakarta XML Binding API"
|
||||
HOMEPAGE="https://github.com/eclipse-ee4j/jaxb-api"
|
||||
SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# jakarta.activation:jakarta.activation-api:1.2.2 -> >=dev-java/jakarta-activation-api-2.0.1:0
|
||||
# jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 -> >=dev-java/jaxb-api-2.3.3:0
|
||||
|
||||
CDEPEND="dev-java/jakarta-activation-api:1"
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.8:*"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( ../{LICENSE,NOTICE,README}.md )
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="jakarta-activation-api-1"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="jaxb-api.jar"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="../${PN}-test/src/test/java"
|
||||
JAVA_TEST_RESOURCE_DIRS="../${PN}-test/src/test/resources"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">eclipse-ee4j/jaxb-api</remote-id>
|
||||
<bugs-to>https://github.com/eclipse-ee4j/jaxb-api/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST AppStream-0.14.3.tar.xz 2277536 BLAKE2B 99ceae6873c189b289143c8ab59eaacfbadbbe7cf05db96079c00ba09c82aeac63f4436e1b9e54b8d172aa7e9f609583cf2a78d3f44ce880cb1a326034432563 SHA512 b4c41b44375091636cc46e2f7f5e0b86612474faa6d55010caee78cb9c9ac468d093cf261184d900be7aae8513dc72d2821ff9ee17786e123c86a928ce5e9135
|
||||
DIST AppStream-0.14.4.tar.xz 2309444 BLAKE2B 0c1fd20a01d0fe59d1b1ff029e4fbddbf9cea833d4665549480744e48dc0b3615b0d507278c75025c99ccda21b97e25e62496ecfc49dbe6527132f5dad5d6ad5 SHA512 86bd98e94f3e730d37030be31c6ea0000ba12b35e13778458c0f50bad75babf8c8e93b62492a2546a42f750f91ae81f3456d04e63ad9a4acb804cf38493440a4
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit meson xdg-utils
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/ximion/${PN}"
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz"
|
||||
S="${WORKDIR}/AppStream-${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Cross-distro effort for providing metadata for software in the Linux ecosystem"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Distributions/AppStream/"
|
||||
|
||||
LICENSE="LGPL-2.1+ GPL-2+"
|
||||
# check as_api_level
|
||||
SLOT="0/4"
|
||||
IUSE="apt doc +introspection qt5 test"
|
||||
RESTRICT="test" # bug 691962
|
||||
|
||||
RDEPEND="
|
||||
dev-db/lmdb:=
|
||||
>=dev-libs/glib-2.58:2
|
||||
dev-libs/libxml2:2
|
||||
dev-libs/libyaml
|
||||
dev-libs/snowball-stemmer
|
||||
net-misc/curl
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.56:= )
|
||||
qt5? ( dev-qt/qtcore:5 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( qt5? ( dev-qt/qttest:5 ) )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-libs/appstream-glib
|
||||
dev-libs/libxslt
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
doc? ( app-text/docbook-xml-dtd:4.5 )
|
||||
test? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.14.3-disable-Werror-flags.patch # bug 733774
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die
|
||||
if ! use test; then
|
||||
sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
|
||||
local emesonargs=(
|
||||
-Dapidocs=false
|
||||
-Ddocs=false
|
||||
-Dcompose=false
|
||||
-Dmaintainer=false
|
||||
-Dstemming=true
|
||||
-Dvapi=false
|
||||
-Dapt-support=$(usex apt true false)
|
||||
-Dinstall-docs=$(usex doc true false)
|
||||
-Dgir=$(usex introspection true false)
|
||||
-Dqt=$(usex qt5 true false)
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Radeon Open Compute Common Language Runtime"
|
||||
HOMEPAGE="https://github.com/ROCm-Developer-Tools/ROCclr"
|
||||
SRC_URI="https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-${PV}.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=dev-libs/rocm-comgr-${PV}
|
||||
>=dev-libs/rocr-runtime-${PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-libs/rocm-comgr-${PV}
|
||||
virtual/opengl
|
||||
>=dev-util/rocm-cmake-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/rocclr-3.7.0-cmake-install-destination.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/ROCclr-rocm-${PV}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_COMGR_LIBRARY=YES
|
||||
-DOPENCL_DIR="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
|
||||
-DCMAKE_INSTALL_PREFIX="/usr"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# This should be fixed in the CMakeLists.txt
|
||||
sed -e "s:${BUILD_DIR}:${EPREFIX}/usr:" -i "${D}/usr/lib/cmake/rocclr/ROCclrConfig.cmake" || die
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/"
|
||||
inherit git-r3
|
||||
S="${WORKDIR}/${P}/lib/comgr"
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ROCm-CompilerSupport-rocm-${PV}/lib/comgr"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.1.0-dependencies.patch"
|
||||
)
|
||||
|
||||
DESCRIPTION="Radeon Open Compute Code Object Manager"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-CompilerSupport"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
|
||||
RDEPEND=">=dev-libs/rocm-device-libs-${PV}
|
||||
>=sys-devel/llvm-roc-${PV}:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLD_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/lld"
|
||||
-DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/llvm"
|
||||
-DClang_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/clang"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/"
|
||||
inherit git-r3
|
||||
S="${WORKDIR}/${P}/src"
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ROCm-Device-Libs-rocm-${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Radeon Open Compute Device Libraries"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-Device-Libs"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
|
||||
RDEPEND=">=sys-devel/llvm-roc-${PV}:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:amdgcn/bitcode:lib/amdgcn/bitcode:" -i "${S}/cmake/OCL.cmake" || die
|
||||
sed -e "s:amdgcn/bitcode:lib/amdgcn/bitcode:" -i "${S}/cmake/Packages.cmake" || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/llvm"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake flag-o-matic prefix
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/ROCm-OpenCL-Runtime-rocm-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Radeon Open Compute OpenCL Compatible Runtime"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime"
|
||||
|
||||
LICENSE="Apache-2.0 MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
|
||||
RDEPEND=">=dev-libs/rocr-runtime-${PV}
|
||||
>=dev-libs/rocclr-${PV}
|
||||
>=dev-libs/rocm-comgr-${PV}
|
||||
>=dev-libs/rocm-device-libs-${PV}
|
||||
>=virtual/opencl-3
|
||||
media-libs/mesa"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/ocaml
|
||||
dev-ml/findlib"
|
||||
BDEPEND=">=dev-util/rocm-cmake-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.7.0-change-install-location.patch"
|
||||
"${FILESDIR}/${PN}-3.5.0-do-not-install-libopencl.patch"
|
||||
"${FILESDIR}/${PN}-3.10.0-add-rocclr-include-directories.patch"
|
||||
"${FILESDIR}/${PN}-3.7.0-amdocl64icd.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Remove "clinfo" - use "dev-util/clinfo" instead
|
||||
[ -d tools/clinfo ] && rm -rf tools/clinfo || die
|
||||
|
||||
cmake_src_prepare
|
||||
|
||||
hprefixify amdocl/CMakeLists.txt
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Reported upstream: https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/issues/120
|
||||
append-cflags -fcommon
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_COMGR_LIBRARY=yes
|
||||
-DROCclr_DIR="${EPREFIX}/usr/include/rocclr"
|
||||
-DLIBROCclr_STATIC_DIR="${EPREFIX}/usr/lib/cmake/rocclr"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
insinto /etc/OpenCL/vendors
|
||||
doins amdocl64.icd
|
||||
insinto /usr/lib64
|
||||
doins lib/libamdocl64.so
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/"
|
||||
inherit git-r3
|
||||
S="${WORKDIR}/${P}/src"
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ROCR-Runtime-rocm-${PV}/src"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Radeon Open Compute Runtime"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.1.0-cmake-install-paths.patch"
|
||||
)
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
|
||||
COMMON_DEPEND="sys-process/numactl
|
||||
dev-libs/elfutils:="
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=dev-libs/roct-thunk-interface-${PV}
|
||||
>=dev-libs/rocm-device-libs-${PV}"
|
||||
BDEPEND="app-editors/vim-core"
|
||||
# vim-core is needed for "xxd"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s:get_version ( \"1.0.0\" ):get_version ( \"${PV}\" ):" -i CMakeLists.txt || die
|
||||
|
||||
# ... otherwise system llvm/clang is used ...
|
||||
sed -e "s:find_package(Clang REQUIRED HINTS \${CMAKE_INSTALL_PREFIX}/llvm \${CMAKE_PREFIX_PATH}/llvm PATHS /opt/rocm/llvm ):find_package(Clang REQUIRED HINTS /usr/lib/llvm/roc ):" -i image/blit_src/CMakeLists.txt || die
|
||||
|
||||
# Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ...
|
||||
sed -e "s:/opt/rocm/amdgcn/bitcode:/usr/lib/amdgcn/bitcode:" -i image/blit_src/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=MBRADSHAW
|
||||
DIST_VERSION=2.20210112
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Object Oriented Authentication-Results Headers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
dev-perl/JSON
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? ( dev-perl/Test-Exception )
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST Mail-AuthenticationResults-2.20210112.tar.gz 30919 BLAKE2B a75feb4f72a5ea0415bda1aa1bb39b4a0bf9979a3863458649cb07e9cfe2e8ad258984aee8a4b7fa18924b46a188b27eaf56fe2c8ca1503d86c6c908e5c0910f SHA512 2168e8761947008670840ac1b534e2c374399120197d907b8d5c654bcb00baa5f7075caffa00a06eac5628a7583d96aeb9f077a1103266ad774aaff05f8f0130
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=MARKOV
|
||||
DIST_VERSION=3.005
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Mail::Box connector via POP3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-IO
|
||||
>=dev-perl/Mail-Message-3
|
||||
>=dev-perl/Mail-Box-3
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-Socket
|
||||
!!<dev-perl/Mail-Box-3
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
DIST_TEST="do" # parallel tests fail
|
@ -1 +1,2 @@
|
||||
DIST Mail-Box-POP3-3.003.tar.gz 30500 BLAKE2B cfa99af8777bc590eff77fb776a2e161590809da59148dd986fba7409860244dd99eca431e398aea9f00046b73d172a70762b504e79eeacebf57f4e8ca277688 SHA512 be63f85abbf78e1497eb6d6d3f87e80a3fd6d58fa6469f8732435cc740f72c2ffc6da8f5d98907e2dd4b7d0412c15f94abb994fc9274701ee050f4a3e1f50397
|
||||
DIST Mail-Box-POP3-3.005.tar.gz 31804 BLAKE2B e0ef2d6ed0b19de2f51497af0268bcc5fd78ab6c3027bbcd134edaf942728e4494f11eab8066151d088c933104011af7015383ef408ae6a8ae45367df03d8131 SHA512 cbcda3c9df08d8cf5d279e1b8308885213b75b0af56a3be7c0a5fc769ff60a6c9e6f2cd5ab4ab19532e388e14ceb6b4b62042dea4bb512c31384823004137079
|
||||
|
@ -1,36 +1,31 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
MODULE_AUTHOR=TEDDY
|
||||
MODULE_VERSION=0.16
|
||||
DIST_AUTHOR=TEDDY
|
||||
DIST_VERSION=0.16
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Send UTF-8 HTML and text email using templates"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON="
|
||||
>=dev-perl/Mail-Builder-1.12
|
||||
RDEPEND="
|
||||
>=dev-perl/Mail-Builder-1.120.0
|
||||
dev-perl/Email-Sender
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/Config-Any
|
||||
dev-perl/Config-General
|
||||
dev-perl/Exception-Died
|
||||
>=dev-perl/MailTools-2.04
|
||||
>=dev-perl/MailTools-2.40.0
|
||||
dev-perl/Email-MessageID
|
||||
dev-perl/MIME-tools
|
||||
dev-perl/HTML-Template
|
||||
dev-perl/Template-Toolkit
|
||||
"
|
||||
DEPEND="${COMMON}
|
||||
BDEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
RDEPEND="${COMMON}"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=MBRADSHAW
|
||||
DIST_VERSION=1.20200907
|
||||
DIST_EXAMPLES=("scripts/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Signs/verifies Internet mail using DKIM message signatures"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/Crypt-OpenSSL-RSA-0.240.0
|
||||
virtual/perl-Digest-SHA
|
||||
virtual/perl-MIME-Base64
|
||||
dev-perl/MailTools
|
||||
dev-perl/Mail-AuthenticationResults
|
||||
dev-perl/Net-DNS
|
||||
"
|
||||
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/Net-DNS-Resolver-Mock
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Test-RequiresInternet
|
||||
dev-perl/YAML-LibYAML
|
||||
)
|
||||
"
|
||||
|
||||
mydoc=("doc/*.txt" "HACKING.DKIM")
|
||||
|
||||
src_test() {
|
||||
# disable online tests
|
||||
if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
|
||||
einfo "Removing network tests w/o DIST_TEST_OVERRIDE=~network"
|
||||
perl_rm_files t/{policy,public_key,verifier,dev-manifest}.t
|
||||
fi
|
||||
perl-module_src_test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Mail-DKIM-0.44.tar.gz 155301 BLAKE2B b64877870cb2a51dedd0bba65aaae96379b5477e2d22c6e1e5165badeddbd83eb70df8ecb183730060ba7131d527bc4382519fd6965a290fe35947a1f424fe19 SHA512 08501de43ce775454e90b18e95a5320fc590c82a14e8828f53510163bc73d7e82aaad35e6d79b7fd888b45aacc56bd422151c3c2b6e1e6db80a7ca62b2a469c3
|
||||
DIST Mail-DKIM-1.20200907.tar.gz 177877 BLAKE2B a71da80038e9abc8056fb248f7c6da76fdd98427bc18fc1d3c4bdba73dde4a683db10a1b1b61bedf03adbcf349c4be9e82e29b13adaa02007db5b7422ffc27f1 SHA512 1bfdd97ca49abfd3ae6f13bc8ede8706531801e078351ac41a3a6172b9e65249d247e38a95c53eb60781b5f38b971a5acf9c8b98948e9c4d7a427a525ee231cb
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=MBRADSHAW
|
||||
DIST_VERSION=1.20210427
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl implementation of DMARC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
PERL_RM_FILES=(
|
||||
'bin/install_deps.pl'
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
!minimal? (
|
||||
dev-perl/Mail-DKIM
|
||||
dev-perl/Net-IMAP-Simple
|
||||
dev-perl/Net-SMTPS
|
||||
)
|
||||
virtual/perl-Carp
|
||||
dev-perl/Config-Tiny
|
||||
>=dev-perl/DBD-SQLite-1.310.0
|
||||
>=dev-perl/DBIx-Simple-1.350.0
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/Email-MIME
|
||||
dev-perl/Email-Simple
|
||||
virtual/perl-Encode
|
||||
dev-perl/File-ShareDir
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-HTTP-Tiny
|
||||
virtual/perl-IO
|
||||
virtual/perl-IO-Compress
|
||||
dev-perl/IO-Socket-SSL
|
||||
dev-perl/libwww-perl
|
||||
dev-perl/Mail-DKIM
|
||||
dev-perl/Net-DNS
|
||||
dev-perl/Net-HTTP
|
||||
dev-perl/Net-IDN-Encode
|
||||
dev-perl/Net-IP
|
||||
dev-perl/Net-SMTPS
|
||||
dev-perl/Net-SSLeay
|
||||
>=dev-perl/Net-Server-2
|
||||
virtual/perl-Socket
|
||||
>=dev-perl/Socket6-0.230.0
|
||||
virtual/perl-Sys-Syslog
|
||||
dev-perl/Test-File-ShareDir
|
||||
dev-perl/URI
|
||||
dev-perl/XML-LibXML
|
||||
virtual/perl-parent
|
||||
>=dev-perl/Regexp-Common-2013031301
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.360.100
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/File-ShareDir-Install-0.60.0
|
||||
test? (
|
||||
dev-perl/Test-Exception
|
||||
dev-perl/Test-Output
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
src_test() {
|
||||
local my_test_control
|
||||
local badfiles=( t/author-*.t )
|
||||
my_test_control=${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}
|
||||
if ! has network ${my_test_control} ; then
|
||||
einfo "Removing network tests w/o DIST_TEST_OVERRIDE~=network";
|
||||
badfiles+=( \
|
||||
"t/04.PurePerl.t" \
|
||||
"t/06.Result.t" \
|
||||
"t/09.HTTP.t" \
|
||||
"t/11.Report.Store.t" \
|
||||
"t/17.Report.Aggregate.Schema.t" \
|
||||
"t/22.Report.Send.SMTP.t" \
|
||||
)
|
||||
fi
|
||||
perl_rm_files "${badfiles[@]}"
|
||||
perl-module_src_test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Mail-DMARC-1.20170911.tar.gz 727703 BLAKE2B 6b339f8c0ba69ae7aa98eb41b7bebe40db320b20862f4d323a032a2fb83a7246ccbea9e9a08f408a92fac61173e41a565cc4f7f7172d4b43bb5e14b82720629f SHA512 76495835020408194919d1cc72380c95d0415982ddfe577fdbb7154df737c4a280c6068c355eb5a23998b590885a17a4c97b2f0c7f90ad8e84c93a402a6f9cc3
|
||||
DIST Mail-DMARC-1.20210427.tar.gz 793712 BLAKE2B 236f4c36659d0ba549cb6a66c7a111801ff50fdfbc5938f9d57be5b1554c5f0ae794b56c434bb966eb9c2bfcd6f8b85c68142a0df8b9b4824e3ef1d8babc4ef5 SHA512 9fd9c289557b4fd3df95d961271bee44f3e6d2d26d63129b9fcea3ee53b49be8e0e59148089615068eaad1e435bb41d42a0d89e3b30b5916e2b018bb61ce8d83
|
||||
|
@ -1,23 +1,21 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
MODULE_AUTHOR=ANTHONYU
|
||||
MODULE_VERSION=1.0
|
||||
DIST_AUTHOR=ANTHONYU
|
||||
DIST_VERSION=1.0
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A perl implementation of DomainKeys"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=">=dev-perl/Net-DNS-0.34
|
||||
RDEPEND="
|
||||
>=dev-perl/Net-DNS-0.34
|
||||
dev-perl/MailTools
|
||||
dev-perl/Crypt-OpenSSL-RSA"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Crypt-OpenSSL-RSA
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
test? ( dev-perl/Email-Address )"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=PLOBBES
|
||||
DIST_VERSION=3.43
|
||||
DIST_EXAMPLES=("examples/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="IMAP client module for Perl"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="test ntlm md5 ssl zlib"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${DIST_VERSION}-makefilepl.patch"
|
||||
)
|
||||
|
||||
PERL_RM_FILES=(
|
||||
"t/quota.t" # Requires imap server config in test.txt
|
||||
"t/basic.t"
|
||||
"t/pod.t" # Bad author test
|
||||
)
|
||||
|
||||
# IO::File, IO::Select, IO::Socket, IO::Socket::INET -> perl-IO
|
||||
# Digest::HMAC_MD5 -> Digest-HMAC
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-File-Temp
|
||||
>=virtual/perl-IO-1.260.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-MIME-Base64
|
||||
>=dev-perl/Parse-RecDescent-1.940.0
|
||||
ntlm? ( dev-perl/Authen-NTLM )
|
||||
md5? (
|
||||
dev-perl/Authen-SASL
|
||||
dev-perl/Digest-HMAC
|
||||
virtual/perl-Digest-MD5
|
||||
)
|
||||
ssl? ( dev-perl/IO-Socket-SSL )
|
||||
zlib? ( virtual/perl-IO-Compress )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
@ -1 +1,2 @@
|
||||
DIST Mail-IMAPClient-3.39.tar.gz 190965 BLAKE2B 43fb640d2282945b21e743ccb8bec037103b7bcff78396f1f72f26d7860d5b5f69bcab837f3e857610426f958c860085f66cef21c8d5115940fc64ae3667f1e3 SHA512 156e5f6682d55f2c112ae5065448f0c502d3e748c4405768152ccccd7d944cf949f7c3fd42f30f40c86337457dea5c037959bf29739e4c413e4b45af2b74c222
|
||||
DIST Mail-IMAPClient-3.43.tar.gz 189679 BLAKE2B da28ec4358532dcac59241dca4ffc29c3cf86bc3bba388dd66e27f45ac675c4754d0def00eb7112e4b1ffb1d595b3941b160a3f3e81a8ffccacc8351b4f96a94 SHA512 9e2346238d68ea62c0ad2e5c03ae9a36face8238dbccbbc083bcefd41d82a7f75887e3245c792e4bd2a5999ce66fabdc4e861118904e96cf2781e1ca549a1b09
|
||||
|
@ -0,0 +1,89 @@
|
||||
diff -ruN Mail-IMAPClient-3.43.orig/Makefile.PL Mail-IMAPClient-3.43/Makefile.PL
|
||||
--- Mail-IMAPClient-3.43.orig/Makefile.PL 2021-02-16 17:47:10.000000000 +0100
|
||||
+++ Mail-IMAPClient-3.43/Makefile.PL 2021-06-28 22:55:47.886460876 +0200
|
||||
@@ -4,39 +4,6 @@
|
||||
|
||||
use 5.008_001;
|
||||
|
||||
-my @missing;
|
||||
-my %optional = (
|
||||
- "Authen::NTLM" => { for => "Authmechanism 'NTLM'" },
|
||||
- "Authen::SASL" => { for => "Authmechanism 'DIGEST-MD5'" },
|
||||
- "Compress::Zlib" => { for => "COMPRESS DEFLATE support" },
|
||||
- "Digest::HMAC_MD5" => { for => "Authmechanism 'CRAM-MD5'" },
|
||||
- "Digest::MD5" => { for => "Authmechanism 'DIGEST-MD5'" },
|
||||
- "IO::Socket::IP" => { for => "IPv6 support" },
|
||||
- "IO::Socket::SSL" => { for => "SSL enabled connections (Ssl => 1)" },
|
||||
- "Test::Pod" => { for => "Pod tests", ver => "1.00" },
|
||||
-);
|
||||
-
|
||||
-foreach my $mod ( sort keys %optional ) {
|
||||
- my $for = $optional{$mod}->{"for"} || "";
|
||||
- my $ver = $optional{$mod}->{"ver"} || "";
|
||||
- eval "use $mod $ver ();";
|
||||
- push @missing, $mod . ( $for ? " for $for" : "" ) if $@;
|
||||
-}
|
||||
-
|
||||
-# similar message to one used in DBI:
|
||||
-if (@missing) {
|
||||
- print( "The following optional modules were not found:",
|
||||
- map( "\n\t" . $_, @missing ), "\n" );
|
||||
-
|
||||
- print <<'MSG';
|
||||
-Optional modules are available from any CPAN mirror, reference:
|
||||
- https://metacpan.org/
|
||||
- https://www.cpan.org/modules/by-module/
|
||||
-
|
||||
-MSG
|
||||
- sleep 3;
|
||||
-}
|
||||
-
|
||||
# HACK: die on broken Parse::RecDescent 1.966002 through 1.967009
|
||||
# - rt.cpan.org#74593: Recent changes break Module::ExtractUse and ...
|
||||
# - rt.cpan.org#74733: Fails with Parse::RecDescent >= 1.966_002
|
||||
@@ -92,45 +59,5 @@
|
||||
clean => { FILES => 'test.txt' },
|
||||
);
|
||||
|
||||
-set_test_data();
|
||||
-
|
||||
exit 0;
|
||||
|
||||
-###
|
||||
-### HELPERS
|
||||
-###
|
||||
-
|
||||
-sub set_test_data {
|
||||
- unless ( -f "lib/Mail/IMAPClient.pm" ) {
|
||||
- warn("ERROR: not in installation directory\n");
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- if ( -s "./test.txt" ) {
|
||||
- print("The file test.txt will be used for extended tests.\n");
|
||||
- return;
|
||||
- }
|
||||
-
|
||||
- print <<EOF;
|
||||
-
|
||||
-(OPTIONAL) For extended tests during 'make test', create a file
|
||||
-'test.txt' in the top level directory of this distribution (the same
|
||||
-directory as the Makefile.PL, etc.). This file must contain an IMAP
|
||||
-server name or IP (server=...), a user account (user=...), and a
|
||||
-password (passed=...). A port (port=....) and an authentication
|
||||
-mechanism to be used (authmechanism=...) can also be specified.
|
||||
-
|
||||
-Example:
|
||||
-
|
||||
---- BEGIN: test.txt ---
|
||||
-server=localhost
|
||||
-user=mytestuser
|
||||
-passed=mypassword
|
||||
-port=143
|
||||
---- END: test.txt ---
|
||||
-
|
||||
-NOTE: When testing is completed, be sure to remove test.txt (either by
|
||||
-hand or by 'make clean').
|
||||
-
|
||||
-EOF
|
||||
-}
|
@ -1,21 +1,20 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=8
|
||||
|
||||
MODULE_AUTHOR=MSTEVENS
|
||||
MODULE_VERSION=1.04
|
||||
DIST_AUTHOR=MSTEVENS
|
||||
DIST_VERSION=1.04
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl extension for detecting mailing list messages"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/URI
|
||||
RDEPEND="
|
||||
dev-perl/URI
|
||||
dev-perl/Email-Valid
|
||||
dev-perl/Email-Abstract"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
dev-perl/Email-Abstract
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST asgiref-3.3.4.tar.gz 30780 BLAKE2B f14a5ae3cc3d0c67a827b4b8d002c9d92388285f7388b7ac439b11fbe2e72b6dee5a9c38637e6b5189e3a3625d24a806b5aeff1ffc41861fd4947d7b7c4621ba SHA512 e224ce82f9156e3efde316f3e209a9fbb9494cb9347d6652e19ed130921143de8d3e2a45f50352bf13fcdf229c291e68a0348fff31de144e58cd1a53b4eb0c31
|
||||
DIST asgiref-3.4.0.tar.gz 32396 BLAKE2B bbf80c4f5bfc7eaf2f27896913a59f522643de35a5eac45807b88f0b2deef6acef408a6d3abb939c4653554415028b5eea68e99ee45247e384848c554ab61c7c SHA512 259dd6fafcd4db73554a4bd26f6000b33c61e8e4d42294bc22826bc95e89959bcc3f9f97d8f0b5dc7e0cf8420890ea8ab368232b4046254e8c91ad010f6509c0
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="ASGI utilities (successor to WSGI)"
|
||||
HOMEPAGE="
|
||||
https://asgi.readthedocs.io/en/latest/
|
||||
https://github.com/django/asgiref/
|
||||
https://pypi.org/project/asgiref/"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
' python3_7 pypy3)"
|
||||
BDEPEND="
|
||||
test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST importlib_resources-5.1.4.tar.gz 28783 BLAKE2B e88cbe34dfd9b251fc78f2aba173f3eb657462777cb66454fbc1735575c6cac6a868f5e40206fb8925aa8c7f708d72624693cd772f2335231bc5da4f417d622e SHA512 ede757b0ee4a246a3446a165f4c8e56edf326f90464f01d853b6c04042371ff1edc4e41f388c6ea6973302a183cf1c04ee21335342886747c991ba0b38c7aec3
|
||||
DIST importlib_resources-5.2.0.tar.gz 29655 BLAKE2B 570e92750351a72c95653302baee56dadc28a328a8e42af9d3346be9a256c2d43322d75622f78d87b5642ed9503c9b7f1df0b0223414847619efb2ebd5e27f5f SHA512 248de71aec8aae93f14b0c48381e7de4425f1eb0c014a4f4a49859db50e8b0a94c2e1c0a664086c74ac7fe19e526b8e3f4fc82d19d3d722df6625dc0dc708c90
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# This is a backport of Python 3.9's importlib.resources
|
||||
PYTHON_COMPAT=( pypy3 python3_8 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Read resources from Python packages"
|
||||
HOMEPAGE="https://github.com/python/importlib_resources"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/zipp-3.1.0[${PYTHON_USEDEP}]
|
||||
' pypy3 python3_7)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-3.4.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_sphinx docs dev-python/rst-linker dev-python/jaraco-packaging
|
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST puppetdb-termini_6.13.0-1stretch_all.deb 21296 BLAKE2B 6ef6f82047f293b854e1b0d6db2933e18bc922225d1bb7fe4a3d03d2dbe5da00cdb68e7e3ac35097f466ee21de5a7ed584606684a52c088a9e31abe9fe11d7cf SHA512 bbcf8d2ed996925ead0add6899b266ca9308b01cc12d0dfa6f61956e801a092abf5a01ae4647bf96778f9fe0fa95e17bfae0a3b30576346093651141c1982ebf
|
||||
DIST puppetdb-termini_7.2.0-1stretch_all.deb 21158 BLAKE2B bb74c11735a557bbee8452f4eb356c1ca038f8cf41bf1b5404f6f204d1d89e8bb532b8a6db8a92ebba9045e744a8a0b68629d60ab295660381a582273a0a67f3 SHA512 6dd4ee1e3d2fd069d5689cbaf0faeb417e5c12bd6d06c721923cbe92b739fa39a658675b40f0474010b3c6a6cabbff8a3fa49f8f79cbcc7bd4fbb1c68b1805f6
|
||||
DIST puppetdb-termini_7.3.1-1stretch_all.deb 21144 BLAKE2B 34e925a93b9f0c882e051ca0ff4368c06ef2467211e645a976453e60008e1a02ccf76ba8b53270ceba830e43be5d8ababf601c6a5ecad5f9d603dcf56c78e19f SHA512 745cb5fe4eb6e4bb720028f794a767fd7eeb936f310c18f153a94bab28a36e35fc1bd5559b1be20a3ef5573227cbc4f013673eca3d85ff15e8a29d238ffd0370
|
||||
DIST puppetdb-termini_7.4.1-1stretch_all.deb 21552 BLAKE2B df93159a7dc9f6a6735f44531306a2b1c7a1bf9d8b88dbd4c9784367e949a83b0cb42dd8172880df9e7f4cbc1d3bcf9da570cdf2fa0437e525452d1f2468551d SHA512 4ffdf5e2019400dbaa5bb1fee22fd66fa430ab395a42d25cca2c61feaf68168b44eb1d29c0a9984a2cb669eff4ffadd9f9c64c6c19ea21bd3ceead392ad6d26b
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Library needed to connect puppet to puppetdb"
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch_all.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
RDEPEND+=""
|
||||
DEPEND+=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/
|
||||
doins -r opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/*
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="ruby23 ruby24 ruby25 ruby26"
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="Library needed to connect puppet to puppetdb"
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch_all.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
|
||||
RDEPEND+=""
|
||||
DEPEND+=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/
|
||||
doins -r opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/*
|
||||
}
|
Binary file not shown.
@ -0,0 +1,253 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit check-reqs cuda toolchain-funcs unpacker
|
||||
|
||||
DRIVER_PV="465.19.01"
|
||||
|
||||
DESCRIPTION="NVIDIA CUDA Toolkit (compiler and friends)"
|
||||
HOMEPAGE="https://developer.nvidia.com/cuda-zone"
|
||||
SRC_URI="https://developer.download.nvidia.com/compute/cuda/${PV}/local_installers/cuda_${PV}_${DRIVER_PV}_linux.run"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="NVIDIA-CUDA"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="-* ~amd64 ~amd64-linux"
|
||||
IUSE="debugger nsight profiler vis-profiler sanitizer"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
BDEPEND=""
|
||||
RDEPEND="
|
||||
<sys-devel/gcc-11_pre[cxx]
|
||||
>=x11-drivers/nvidia-drivers-${DRIVER_PV}
|
||||
debugger? (
|
||||
dev-libs/openssl
|
||||
sys-libs/libtermcap-compat
|
||||
sys-libs/ncurses-compat:5[tinfo]
|
||||
)
|
||||
vis-profiler? (
|
||||
dev-libs/openssl
|
||||
>=virtual/jre-1.8:*
|
||||
)"
|
||||
|
||||
QA_PREBUILT="opt/cuda/*"
|
||||
CHECKREQS_DISK_BUILD="6800M"
|
||||
|
||||
pkg_setup() {
|
||||
# We don't like to run cuda_pkg_setup as it depends on us
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# ATTENTION: change requires revbump
|
||||
local cuda_supported_gcc="8.5 9.3 9.4 10.2 10.3"
|
||||
|
||||
sed \
|
||||
-e "s:CUDA_SUPPORTED_GCC:${cuda_supported_gcc}:g" \
|
||||
"${FILESDIR}"/cuda-config.in > "${T}"/cuda-config || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local cudadir=/opt/cuda
|
||||
local ecudadir="${EPREFIX}${cudadir}"
|
||||
local pathextradirs ldpathextradirs
|
||||
dodir ${cudadir}
|
||||
into ${cudadir}
|
||||
|
||||
# Install standard sub packages
|
||||
local builddirs=(
|
||||
builds/cuda_{cudart,cuobjdump,memcheck,nvcc,nvdisasm,nvml_dev,nvprune,nvrtc,nvtx,thrust}
|
||||
builds/lib{cublas,cufft,curand,cusolver,cusparse,npp,nvjpeg}
|
||||
$(usex profiler "builds/cuda_nvprof builds/cuda_cupti" "")
|
||||
$(usex vis-profiler "builds/cuda_nvvp" "")
|
||||
$(usex debugger "builds/cuda_gdb" "")
|
||||
)
|
||||
|
||||
local d f
|
||||
for d in "${builddirs[@]}"; do
|
||||
ebegin "Installing ${d}"
|
||||
[[ -d ${d} ]] || die "Directory does not exist: ${d}"
|
||||
|
||||
if [[ -d ${d}/bin ]]; then
|
||||
for f in ${d}/bin/*; do
|
||||
if [[ -f ${f} ]]; then
|
||||
dobin "${f}"
|
||||
else
|
||||
insinto ${cudadir}/bin
|
||||
doins -r "${f}"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
insinto ${cudadir}
|
||||
if [[ -d ${d}/targets ]]; then
|
||||
doins -r "${d}"/targets
|
||||
fi
|
||||
if [[ -d ${d}/share ]]; then
|
||||
doins -r "${d}"/share
|
||||
fi
|
||||
if [[ -d ${d}/extras ]]; then
|
||||
doins -r "${d}"/extras
|
||||
fi
|
||||
eend
|
||||
done
|
||||
dobin "${T}"/cuda-config
|
||||
|
||||
doins builds/EULA.txt
|
||||
# nvml and nvvm need special handling
|
||||
ebegin "Installing nvvm"
|
||||
doins -r builds/cuda_nvcc/nvvm
|
||||
fperms +x ${cudadir}/nvvm/bin/cicc
|
||||
eend
|
||||
|
||||
ebegin "Installing nvml"
|
||||
doins -r builds/cuda_nvml_dev/nvml
|
||||
eend
|
||||
|
||||
if use sanitizer; then
|
||||
ebegin "Installing sanitizer"
|
||||
dobin builds/integration/Sanitizer/compute-sanitizer
|
||||
doins -r builds/cuda_sanitizer_api/compute-sanitizer
|
||||
# special handling for the executable
|
||||
fperms +x ${cudadir}/compute-sanitizer/compute-sanitizer
|
||||
eend
|
||||
fi
|
||||
|
||||
use profiler && ldpathextradirs+=":${ecudadir}/extras/CUPTI/lib64"
|
||||
|
||||
if use vis-profiler; then
|
||||
ebegin "Installing libnvvp"
|
||||
doins -r builds/cuda_nvvp/libnvvp
|
||||
# special handling for the executable
|
||||
fperms +x ${cudadir}/libnvvp/nvvp
|
||||
eend
|
||||
pathextradirs+=":${ecudadir}/libnvvp"
|
||||
fi
|
||||
|
||||
if use nsight; then
|
||||
local ncu_dir=$(grep -o 'nsight-compute-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml)
|
||||
ebegin "Installing ${ncu_dir}"
|
||||
mv builds/nsight_compute builds/${ncu_dir} || die
|
||||
doins -r builds/${ncu_dir}
|
||||
|
||||
# check this list on every bump
|
||||
local exes=(
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/libexec/QtWebEngineProcess
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/CrashReporter
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui
|
||||
${ncu_dir}/host/linux-desktop-glibc_2_11_3-x64/ncu-ui.bin
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherTargetLdPreloadHelper
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/TreeLauncherSubreaper
|
||||
${ncu_dir}/target/linux-desktop-glibc_2_11_3-x64/ncu
|
||||
)
|
||||
|
||||
dobin builds/integration/nsight-compute/{ncu,ncu-ui,nv-nsight-cu,nv-nsight-cu-cli}
|
||||
eend
|
||||
|
||||
local nsys_dir=$(grep -o 'nsight-systems-[0-9][0-9\.]*' -m1 manifests/cuda_x86_64.xml)
|
||||
ebegin "Installing ${nsys_dir}"
|
||||
mv builds/nsight_systems builds/${nsys_dir} || die
|
||||
doins -r builds/${nsys_dir}
|
||||
|
||||
# check this list on every bump
|
||||
exes+=(
|
||||
${nsys_dir}/host-linux-x64/nsys-ui
|
||||
${nsys_dir}/host-linux-x64/nsys-ui.bin
|
||||
${nsys_dir}/host-linux-x64/ResolveSymbols
|
||||
${nsys_dir}/host-linux-x64/ImportNvtxt
|
||||
${nsys_dir}/host-linux-x64/CrashReporter
|
||||
${nsys_dir}/host-linux-x64/QdstrmImporter
|
||||
${nsys_dir}/host-linux-x64/libexec/QtWebEngineProcess
|
||||
${nsys_dir}/target-linux-x64/nsys
|
||||
${nsys_dir}/target-linux-x64/launcher
|
||||
${nsys_dir}/target-linux-x64/nvgpucs
|
||||
${nsys_dir}/target-linux-x64/nsys-launcher
|
||||
${nsys_dir}/target-linux-x64/sqlite3
|
||||
${nsys_dir}/target-linux-x64/python/bin/python
|
||||
)
|
||||
|
||||
dobin builds/integration/nsight-systems/{nsight-sys,nsys,nsys-exporter,nsys-ui}
|
||||
eend
|
||||
|
||||
# nsight scripts and binaries need to have their executable bit set, #691284
|
||||
for f in "${exes[@]}"; do
|
||||
fperms +x ${cudadir}/${f}
|
||||
done
|
||||
|
||||
# remove foreign archs (triggers SONAME warning, #749903)
|
||||
rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-glibc_2_19_0-ppc64le || die
|
||||
rm -r "${ED}"/${cudadir}/${ncu_dir}/target/linux-desktop-t210-a64 || die
|
||||
rm -r "${ED}"/${cudadir}/${nsys_dir}/target-linux-armv8 || die
|
||||
|
||||
# TODO: unbundle qt5
|
||||
# TODO: unbundle boost
|
||||
# TODO: unbundle icu
|
||||
# TODO: unbundle openssl
|
||||
# TODO: unbundle mesa
|
||||
# TODO: unbundle libz
|
||||
# TODO: unbundle libstdc++
|
||||
# TODO: unbundle libSshClient
|
||||
# TODO: unbundle sqlite
|
||||
# TODO: unbundle libpfm ?
|
||||
fi
|
||||
|
||||
# Add include and lib symlinks
|
||||
dosym targets/x86_64-linux/include ${cudadir}/include
|
||||
dosym targets/x86_64-linux/lib ${cudadir}/lib64
|
||||
|
||||
newenvd - 99cuda <<-EOF
|
||||
PATH=${ecudadir}/bin${pathextradirs}
|
||||
ROOTPATH=${ecudadir}/bin
|
||||
LDPATH=${ecudadir}/lib64:${ecudadir}/nvvm/lib64${ldpathextradirs}
|
||||
EOF
|
||||
|
||||
# Cuda prepackages libraries, don't revdep-build on them
|
||||
insinto /etc/revdep-rebuild
|
||||
newins - 80${PN} <<-EOF
|
||||
SEARCH_DIRS_MASK="${ecudadir}"
|
||||
EOF
|
||||
# TODO: Add pkgconfig files for installed libraries
|
||||
}
|
||||
|
||||
pkg_postinst_check() {
|
||||
local a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
|
||||
local b="0.0"
|
||||
local v
|
||||
for v in ${a}; do
|
||||
ver_test "${v}" -gt "${b}" && b="${v}"
|
||||
done
|
||||
|
||||
# if gcc and if not gcc-version is at least greatest supported
|
||||
if tc-is-gcc && \
|
||||
ver_test $(gcc-version) -gt "${b}"; then
|
||||
ewarn
|
||||
ewarn "gcc > ${b} will not work with CUDA"
|
||||
ewarn "Make sure you set an earlier version of gcc with gcc-config"
|
||||
ewarn "or append --compiler-bindir= pointing to a gcc bindir like"
|
||||
ewarn "--compiler-bindir=${EPREFIX}/usr/*pc-linux-gnu/gcc-bin/gcc${b}"
|
||||
ewarn "to the nvcc compiler flags"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
pkg_postinst_check
|
||||
fi
|
||||
|
||||
if use profiler || use nsight; then
|
||||
einfo
|
||||
einfo "nvidia-drivers restrict access to performance counters."
|
||||
einfo "You'll need to either run profiling tools (nvprof, nsight) "
|
||||
einfo "using sudo (needs cap SYS_ADMIN) or add the following line to "
|
||||
einfo "a modprobe configuration file "
|
||||
einfo "(e.g. /etc/modprobe.d/nvidia-prof.conf): "
|
||||
einfo
|
||||
einfo "options nvidia NVreg_RestrictProfilingToAdminUsers=0"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocminfo/"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/rocminfo-rocm-${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="ROCm Application for Reporting System Info"
|
||||
HOMEPAGE="https://github.com/RadeonOpenCompute/rocminfo"
|
||||
LICENSE="MIT"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
|
||||
RDEPEND=">=dev-libs/rocr-runtime-${PV}"
|
||||
DEPEND="${RDEPEND}"
|
Binary file not shown.
Binary file not shown.
@ -1,30 +1,44 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
inherit desktop toolchain-funcs
|
||||
|
||||
DESCRIPTION="Breakout clone written with the SDL library"
|
||||
HOMEPAGE="http://lgames.sourceforge.net/LBreakout/"
|
||||
SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=media-libs/libsdl-1.1.5"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND="
|
||||
acct-group/gamestat
|
||||
media-libs/libsdl[sound,video]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
HTML_DOCS=( lbreakout/manual/. )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e '/^sdir=/s:$datadir/games:$datadir:' \
|
||||
-e '/^hdir=/s:/var/lib/games:$localstatedir:' \
|
||||
configure \
|
||||
|| die "sed failed"
|
||||
|
||||
# remove /games from datadir, and use /var/games for highscore file
|
||||
sed -e '/^sdir=/s|/games.*||;' \
|
||||
-e "/^hdir=/s|=.*|=${EPREFIX}/var/games|" \
|
||||
-i configure || die
|
||||
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
src_install() {
|
||||
HTML_DOCS="lbreakout/manual/*"
|
||||
dodir /var/games #655000
|
||||
|
||||
default
|
||||
|
||||
fowners :gamestat /usr/bin/${PN} /var/games/${PN}.hscr
|
||||
fperms g+s /usr/bin/${PN}
|
||||
fperms 660 /var/games/${PN}.hscr
|
||||
|
||||
make_desktop_entry ${PN} LBreakout applications-games
|
||||
}
|
||||
|
@ -1,94 +1,95 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools desktop flag-o-matic gnome2-utils
|
||||
inherit autotools desktop
|
||||
|
||||
levels_V=20141220
|
||||
themes_V=20141220
|
||||
LB_LEVELS_V="20141220"
|
||||
LB_THEMES_V="20141220"
|
||||
|
||||
DESCRIPTION="Breakout clone written with the SDL library"
|
||||
HOMEPAGE="http://lgames.sourceforge.net/LBreakout2/"
|
||||
SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz
|
||||
mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-levelsets-${levels_V}.tar.gz
|
||||
themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-themes-${levels_V}.tar.gz )"
|
||||
SRC_URI="
|
||||
mirror://sourceforge/lgames/${P}.tar.gz
|
||||
mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-levelsets-${LB_LEVELS_V}.tar.gz
|
||||
themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-themes-${LB_LEVELS_V}.tar.gz )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls themes"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
media-libs/libsdl[sound,joystick,video]
|
||||
media-libs/sdl-net
|
||||
acct-group/gamestat
|
||||
media-libs/libpng:=
|
||||
media-libs/libsdl[joystick,sound,video]
|
||||
media-libs/sdl-mixer
|
||||
media-libs/sdl-net
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-libs/zlib"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
themes? ( app-arch/unzip )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo.patch
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
|
||||
cd "${S}/client/levels" || die
|
||||
unpack ${PN}-levelsets-${levels_V}.tar.gz
|
||||
unpack ${PN}-levelsets-${LB_LEVELS_V}.tar.gz
|
||||
|
||||
if use themes; then
|
||||
mkdir "${WORKDIR}"/themes || die
|
||||
cd "${WORKDIR}"/themes || die
|
||||
unpack ${PN}-themes-${themes_V}.tar.gz
|
||||
unpack ${PN}-themes-${LB_THEMES_V}.tar.gz
|
||||
|
||||
# Delete a few duplicate themes (already shipped with lbreakout2
|
||||
# tarball). Some of them have different case than built-in themes, so it
|
||||
# is harder to just compare if the filename is the same.
|
||||
rm -f absoluteB.zip oz.zip moiree.zip || die
|
||||
rm absoluteB.zip oz.zip moiree.zip || die
|
||||
local f
|
||||
for f in *.zip; do
|
||||
unzip -q "${f}" || die
|
||||
rm -f "${f}" || die
|
||||
unpack ./${f}
|
||||
rm ${f} || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
filter-flags -O?
|
||||
econf \
|
||||
--enable-sdl-net \
|
||||
--with-docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
local econfargs=(
|
||||
$(use_enable nls)
|
||||
--enable-sdl-net
|
||||
--localstatedir="${EPREFIX}"/var/games
|
||||
--with-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
|
||||
)
|
||||
econf "${econfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
fowners :gamestat /usr/bin/${PN} /var/games/${PN}.hscr
|
||||
fperms g+s /usr/bin/${PN}
|
||||
fperms 660 /var/games/${PN}.hscr
|
||||
|
||||
if use themes; then
|
||||
insinto /usr/share/lbreakout2/gfx
|
||||
doins -r "${WORKDIR}"/themes/.
|
||||
fi
|
||||
|
||||
newicon client/gfx/win_icon.png ${PN}.png
|
||||
newicon -s 32 client/gfx/win_icon.png ${PN}.png
|
||||
make_desktop_entry lbreakout2 LBreakout2
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
make_desktop_entry ${PN} LBreakout2
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
--- a/Makefile.old 2010-09-22 09:11:48.000000000 +0200
|
||||
+++ b/Makefile 2010-09-22 09:13:08.000000000 +0200
|
||||
@@ -125,10 +125,10 @@
|
||||
fi
|
||||
|
||||
$(PROGRAM): $(OBJECTS)
|
||||
- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS)
|
||||
+ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS)
|
||||
|
||||
static : $(OBJECTS)
|
||||
- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS)
|
||||
+ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS)
|
||||
|
||||
|
||||
%.o : %.c %.h
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit desktop gnome2-utils
|
||||
|
||||
DESCRIPTION="The game Missile Command for Linux"
|
||||
HOMEPAGE="http://missile.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[sound,video]
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eapply "${FILESDIR}"/${P}-ldflags.patch
|
||||
sed -i \
|
||||
-e '/^CC/d' \
|
||||
-e "s:\$(game_prefix)/\$(game_data):/usr/share/${PN}:" \
|
||||
-e "s/-O2/${CFLAGS}/" \
|
||||
-e 's/-lSDL_image $(SND_LIBS)/-lSDL_image -lm $(SND_LIBS)/g' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto /usr/share/${PN}
|
||||
doins -r data/*
|
||||
newicon -s 48 icons/${PN}_icon_black.png ${PN}.png
|
||||
make_desktop_entry ${PN} "Missile Command"
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Port of the Atari Missile Command game for Linux"
|
||||
HOMEPAGE="http://missile.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~x86"
|
||||
IUSE="+sound"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl[sound?,video]
|
||||
media-libs/sdl-image[png]
|
||||
sound? ( media-libs/sdl-mixer )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
local cppargs=(
|
||||
-DDATA="'\"${EPREFIX}/usr/share/${PN}\"'"
|
||||
-DVERSION=\\\"${PV}\\\"
|
||||
$(usev sound -DUSE_SOUND)
|
||||
$($(tc-getPKG_CONFIG) --cflags sdl SDL_image $(usev sound SDL_mixer))
|
||||
)
|
||||
append-cppflags "${cppargs[@]}"
|
||||
|
||||
LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl SDL_image $(usev sound SDL_mixer)) -lm" \
|
||||
emake -f /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r data/{graphics,missile_icon.png,sound}
|
||||
|
||||
einstalldocs
|
||||
|
||||
newicon icons/${PN}_icon_red.png ${PN}.png
|
||||
make_desktop_entry ${PN} "Missile Command"
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- a/Makefile.am.old 2011-06-14 21:44:40.242317771 +0200
|
||||
+++ b/Makefile.am 2011-06-14 21:44:49.216882568 +0200
|
||||
@@ -17,7 +17,7 @@
|
||||
nodist_pengupop_SOURCES = images.h
|
||||
|
||||
if LINUX
|
||||
-pengupop_LDADD = -lSDL -lz
|
||||
+pengupop_LDADD = -lSDL -lz -lm
|
||||
|
||||
endif
|
||||
if WIN32
|
||||
@@ -25,7 +25,7 @@
|
||||
endif
|
||||
if DARWIN
|
||||
pengupop_LDFLAGS = -framework Carbon -framework CoreServices -framework AudioUnit -framework QuickTime -framework Cocoa -framework IOKit -framework OpenGL -framework SDL SDLMain.m
|
||||
-pengupop_LDADD = -lz -lstdc++
|
||||
+pengupop_LDADD = -lz -lstdc++ -lm
|
||||
|
||||
all-local: Pengupop.dmg
|
||||
|
@ -1,55 +1,30 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools desktop gnome2-utils
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Networked multiplayer-only Puzzle Bubble clone"
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Networked Puzzle Bubble clone"
|
||||
HOMEPAGE="http://freshmeat.net/projects/pengupop"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="media-libs/libsdl[sound,video]
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eapply "${FILESDIR}"/${P}-underlink.patch
|
||||
|
||||
sed -i \
|
||||
-e '/Icon/s/\.png//' \
|
||||
-e '/^Encoding/d' \
|
||||
-e '/Categories/s/Application;//' \
|
||||
pengupop.desktop || die
|
||||
|
||||
sed -i \
|
||||
-e 's/-g -Wall -O2/-Wall/' \
|
||||
Makefile.am || die
|
||||
RDEPEND="
|
||||
media-libs/libsdl[sound,video]
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
src_compile() {
|
||||
emake LIBS=-lm #497196
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
domenu pengupop.desktop
|
||||
doicon -s 48 pengupop.png
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
doicon pengupop.png
|
||||
make_desktop_entry ${PN} Pengupop
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
DIST vor-0.5.7.tgz 358032 BLAKE2B 96813207a8529d6a7ae5863811fa02666d51b4108afd96cf5b4aed0405d6cc32668f0a7abfbc571141877803a15678c46c8664fe3599cd12e0c6fe95ab5d880f SHA512 32dbfe95971298f9f0191cc95fdb5e9ec34c5f6771df1566554b128644770bfba618df3aac7242e647c8af2f41fc59c9e5620a4c56932d3af72197f6a19f0bce
|
||||
DIST vor-0.5.8.tgz 361789 BLAKE2B b6391a03d175520ef97db7c4b80425f6f15193614f5e582b4d96019ce426b9ea21b93e9f503e5e22d5f976fe938cc883e4810803b2942ee3e373025397045c2a SHA512 95633e54c09f947c3e256fc07b1d7c061e98f69b89ce459b7736174410b7f021f4384afe65ec58eb6b89933cb6c8fe166b4491078b98671ae12640c6fc7019f5
|
||||
|
@ -1 +1,2 @@
|
||||
DIST xscavenger-1.4.4.tgz 193346 BLAKE2B eb86b97fad8a9d261935579d298f43e7063fbd0624e8fd654c72b4130e98db38541d54c59938375c8d6df4b50193436f86826c49b8bafe123b4be5c80d3f75d8 SHA512 5f200912b9114ea0c09f0bfcc3f06be2e7c2e1700a744319081f5f3a22c8b93663477076af27837326acf9830af6f597cf8f8fb44562db7d00128321487841ec
|
||||
DIST xscavenger-1.4.5.tgz 192990 BLAKE2B 5df2ca8b7b331d9c17ef8f287a8967f4f95a8737660fb42e4f5012f00ab24698d555e3f76bd82f3ba7b55423244e9d0a4392ccce99c84bed6cf80dee15ab3bf6 SHA512 ebdde5c74409dc881503ee6eeecb7194218141c6e7c169c2febd1a4339625e1532a654fc1ac2ce7b3256e8a721f656dfb7bddc4394e0513a5130e3cc8795dfe7
|
||||
|
@ -0,0 +1,130 @@
|
||||
* Missing return value (needed by clang)
|
||||
* Implicit declarations (string.h and doall)
|
||||
* Datafile loading broken on architectures where sizeof(long)>4
|
||||
https://bugs.debian.org/56139
|
||||
* Scavenger leaks file descriptors
|
||||
https://bugs.debian.org/175128
|
||||
* Font mapping with clang or gcc-7+
|
||||
https://svnweb.freebsd.org/ports?view=revision&revision=444423
|
||||
--- a/src/edit.c
|
||||
+++ b/src/edit.c
|
||||
@@ -3,2 +3,3 @@
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
--- a/src/scav.c
|
||||
+++ b/src/scav.c
|
||||
@@ -246,7 +246,9 @@
|
||||
|
||||
- val1=myci()<<24L;
|
||||
- val1|=myci()<<16L;
|
||||
- val1|=myci()<<8;
|
||||
- val1|=myci();
|
||||
+ int i,j;
|
||||
|
||||
+ for (i=0; i<4; i++) {
|
||||
+ j = myci();
|
||||
+ if (j==-1) return -1L;
|
||||
+ val1 = (val1<<8) + j;
|
||||
+ }
|
||||
return val1;
|
||||
@@ -404,6 +406,6 @@
|
||||
got=read(input,buff,8);
|
||||
- if(got!=8) return -2;
|
||||
- if (strncmp(buff,"SCAV",4)) return -3;
|
||||
+ if(got!=8) {close(input);return -2;}
|
||||
+ if (strncmp(buff,"SCAV",4)) {close(input);return -3;}
|
||||
max=(buff[4]<<24) | (buff[5]<<16) | (buff[6]<<8) | buff[7];
|
||||
- if(num>=max) return 0;
|
||||
+ if(num>=max) {close(input);return 0;}
|
||||
lseek(input,(num+1)<<3,SEEK_SET);
|
||||
@@ -413,3 +415,3 @@
|
||||
if(len>length) len=length;
|
||||
- if(!offset || !len) return 0;
|
||||
+ if(!offset || !len) {close(input);return 0;}
|
||||
lseek(input,offset,SEEK_SET);
|
||||
@@ -450,4 +452,4 @@
|
||||
got=read(input,buff,8);
|
||||
- if(got!=8) return -2;
|
||||
- if(strncmp(buff,"SCAV",4)) return -3;
|
||||
+ if(got!=8) {close(input);return -2;}
|
||||
+ if(strncmp(buff,"SCAV",4)) {close(input);return -3;}
|
||||
output=creat(bakname,00600);
|
||||
@@ -475,4 +477,4 @@
|
||||
headers[i+i]+=delta;
|
||||
- if (write(output,"SCAV",4) != 4) return -200;
|
||||
- if (!rlout(output,max)) return -200;
|
||||
+ if (write(output,"SCAV",4) != 4) {close(input);close(output);return -200;}
|
||||
+ if (!rlout(output,max)) {close(input);close(output);return -200;}
|
||||
headers[num+num]=0;
|
||||
@@ -480,3 +482,3 @@
|
||||
for(i=0;i<max+max;i++)
|
||||
- if (!rlout(output,headers[i])) return -200;
|
||||
+ if (!rlout(output,headers[i])) {close(input);close(output);return -200;}
|
||||
|
||||
@@ -489,4 +491,4 @@
|
||||
got=count>1024 ? 1024 : count;
|
||||
- if (read(input,copybuff,got) != got) return -200;
|
||||
- if (write(output,copybuff,got) != got) return -200;
|
||||
+ if (read(input,copybuff,got) != got) {close(input);close(output);return -200;}
|
||||
+ if (write(output,copybuff,got) != got) {close(input);close(output);return -200;}
|
||||
count-=got;
|
||||
@@ -500,3 +502,3 @@
|
||||
if (!got) break;
|
||||
- if (write (output, copybuff, got) != got) return -200;
|
||||
+ if (write (output, copybuff, got) != got) {close(input);close(output);return -200;}
|
||||
offset += got;
|
||||
@@ -505,8 +507,8 @@
|
||||
{
|
||||
- if (write (output, take, len) != len) return -200;
|
||||
+ if (write (output, take, len) != len) {close(input);close(output);return -200;}
|
||||
lseek (output, (num+1) << 3, SEEK_SET);
|
||||
- if (!rlout (output, offset)) return -200;
|
||||
+ if (!rlout (output, offset)) {close(input);close(output);return -200;}
|
||||
}
|
||||
close (input);
|
||||
- if (fsync(output)) return -200;
|
||||
+ if (fsync(output)) {close(output);return -200;}
|
||||
if (close(output)) return -200;
|
||||
@@ -1384,2 +1386,3 @@
|
||||
}
|
||||
+ close(file);
|
||||
}
|
||||
@@ -1418,2 +1421,4 @@
|
||||
} while(len);
|
||||
+ close(input);
|
||||
+ close(output);
|
||||
return 0;
|
||||
@@ -1450,3 +1455,3 @@
|
||||
}
|
||||
- }
|
||||
+ } else close(file);
|
||||
|
||||
@@ -1487,3 +1492,3 @@
|
||||
}
|
||||
- }
|
||||
+ } else close(file);
|
||||
}
|
||||
@@ -1574,3 +1579,3 @@
|
||||
puts(err);
|
||||
- return;
|
||||
+ return 1;
|
||||
}
|
||||
--- a/src/sound.c
|
||||
+++ b/src/sound.c
|
||||
@@ -50,2 +50,3 @@
|
||||
|
||||
+void doall();
|
||||
void opendsp(int samplerate)
|
||||
@@ -201,3 +202,3 @@
|
||||
|
||||
-doall()
|
||||
+void doall()
|
||||
{
|
||||
--- a/src/x.c
|
||||
+++ b/src/x.c
|
||||
@@ -447,3 +447,3 @@
|
||||
{
|
||||
- fmap[tolower(*p)]=fmap[*p++]=i++;
|
||||
+ fmap[tolower(*p)]=fmap[*p]=i++; p++;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lode-Runner-like arcade game"
|
||||
HOMEPAGE="https://www.linuxmotors.com/linux/scavenger/index.html"
|
||||
SRC_URI="https://www.linuxmotors.com/linux/scavenger/downloads/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/alsa-lib
|
||||
x11-libs/libX11"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-misc-fixes.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
|
||||
# skip using imake for simplicity
|
||||
local cppargs=(
|
||||
-DLIBNAME="'\"${EPREFIX}/usr/share/${PN}\"'"
|
||||
$($(tc-getPKG_CONFIG) --cflags alsa x11)
|
||||
)
|
||||
append-cppflags "${cppargs[@]}"
|
||||
|
||||
LDLIBS="$($(tc-getPKG_CONFIG) --libs alsa x11)" \
|
||||
emake -C src -E "scav: anim.o edit.o x.o sound.o"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin src/scav scavenger
|
||||
doman src/scavenger.6
|
||||
|
||||
dodoc CREDITS DOC README TODO changelog
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r data/.
|
||||
|
||||
make_desktop_entry scavenger XScavenger applications-games
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST awale-1.5-no-autoreconf2.patch.xz 37268 BLAKE2B cec173e9b0be75c5d3d037a171fd796dccca5689e53f2e08d832e15a63d96502b4277f2ca6dbcbe817949cda8243aaacf7d7ede281fa32a34ffbf5f3031042f1 SHA512 857814c6ffe828bb0c3b82c214932ddf95162b7abaac6720db987f2af31a3b144543773a607edc70e0fceb8433f2aa519d3cfaca7474750cb45074aef0c37cb1
|
||||
DIST awale-1.5.tar.gz 489357 BLAKE2B d9f5efd10018b1e5f9964abf25189df5186159c7826c23b85f794999c5bc8d8ea93792e83dbde2ae010489a7d90258651e7ab7115e0fc361ce682968c438aed6 SHA512 b3f33068d7d6cfd964051e15cfd84e7f2c8483c30f2ccea35e2dddb34353ea984561fdf28c0d668404d80cda89c6d5fcd0004a1a86d92325e5f6fc2f88197c61
|
||||
DIST awale-1.6.tar.gz 490881 BLAKE2B 721b8dfdc6dd7a558e43e00616372b2b1a89acf1cc79cb051650809b54605d4d0c2fbc91168ad940356748c0632fba7bd016db7afee2f977f8d52f64bdd08400 SHA512 0b9e4f18d6fbd5e8acdf8e5ecbbcebad4d732993cb61b8d84787fa2a9dad5b73eee62462fddc9296c050019de76a73b1e6d8d29d3ef57148ab086e49b1016f0d
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop
|
||||
|
||||
DESCRIPTION="Free Awale - The game of all Africa"
|
||||
HOMEPAGE="https://www.nongnu.org/awale/"
|
||||
SRC_URI="mirror://nongnu/awale/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gui"
|
||||
|
||||
RDEPEND="gui? ( dev-lang/tk )"
|
||||
|
||||
src_install() {
|
||||
if use gui; then
|
||||
emake -j1 DESTDIR="${D}" install #799107
|
||||
|
||||
fperms +x /usr/share/${PN}/xawale.tcl
|
||||
|
||||
doicon src/awale.png
|
||||
make_desktop_entry xawale "Free Awale"
|
||||
|
||||
rm "${ED}"/usr/share/applications/awale.desktop || die
|
||||
else
|
||||
dobin src/awale
|
||||
doman man/awale.6
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,31 +1,36 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit versionator
|
||||
EAPI=7
|
||||
|
||||
MY_PV=$(replace_all_version_separators _)
|
||||
DESCRIPTION="A map editor for the game gnocatan"
|
||||
HOMEPAGE="http://yusei.ragondux.com/loisirs_jdp_catane_camato-en.html"
|
||||
SRC_URI="http://yusei.ragondux.com/files/gnocatan/${PN}-${MY_PV}.tar.gz"
|
||||
USE_RUBY="ruby25 ruby26 ruby27"
|
||||
inherit desktop ruby-ng
|
||||
|
||||
LICENSE="GPL-2"
|
||||
DESCRIPTION="Map editor for the game gnocatan"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
SRC_URI="mirror://gentoo/${PN}-$(ver_rs 1- _).tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-ruby/ruby-gtk2"
|
||||
RDEPEND=${DEPEND}
|
||||
ruby_add_rdepend dev-ruby/ruby-gtk2
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
all_ruby_prepare() {
|
||||
# this is really single target, but ruby-single is too limited
|
||||
local ruby=$(ruby_get_use_implementations)
|
||||
sed -i "1c\\#!$(ruby_implementation_command ${ruby##* })" ${PN} || die
|
||||
|
||||
rm -f Makefile || die
|
||||
rm Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
all_ruby_install() {
|
||||
dobin ${PN}
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r *.rb img
|
||||
dodoc ChangeLog README
|
||||
|
||||
einstalldocs
|
||||
|
||||
make_desktop_entry ${PN} Camato applications-games
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/option.cpp.old 2007-02-07 23:32:25.000000000 +0100
|
||||
+++ b/option.cpp 2007-02-07 23:32:51.000000000 +0100
|
||||
@@ -29,7 +29,7 @@
|
||||
{ "Ponder", true, "false", "check", "", NULL },
|
||||
|
||||
{ "OwnBook", true, "true", "check", "", NULL },
|
||||
- { "BookFile", true, "book_small.bin", "string", "", NULL },
|
||||
+ { "BookFile", true, "@GENTOO_DATADIR@/book_small.bin", "string", "", NULL },
|
||||
|
||||
{ "NullMove Pruning", true, "Fail High", "combo", "var Always var Fail High var Never", NULL },
|
||||
{ "NullMove Reduction", true, "3", "spin", "min 1 max 3", NULL },
|
@ -1,41 +1,38 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit versionator
|
||||
EAPI=8
|
||||
|
||||
MY_PV="$(replace_all_version_separators '')"
|
||||
MY_P="${PN}_${MY_PV}_linux"
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_P="${PN}_$(ver_rs 1- '')_linux"
|
||||
|
||||
DESCRIPTION="UCI-only chess engine"
|
||||
HOMEPAGE="http://arctrix.com/nas/fruit/"
|
||||
SRC_URI="http://arctrix.com/nas/${PN}/${MY_P}.zip"
|
||||
HOMEPAGE="https://arctrix.com/nas/fruit/"
|
||||
SRC_URI="https://arctrix.com/nas/${PN}/${MY_P}.zip"
|
||||
S="${WORKDIR}/${MY_P}/src"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/src"
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eapply "${FILESDIR}/${P}"-gentoo.patch
|
||||
sed -i \
|
||||
-e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
|
||||
option.cpp || die
|
||||
sed -i \
|
||||
-e '/^CXX/d' \
|
||||
-e '/^LDFLAGS/d' \
|
||||
Makefile || die
|
||||
|
||||
sed -i "s|book_small|${EPREFIX}/usr/share/${PN}/book_small|" option.cpp || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins ../book_small.bin
|
||||
dodoc ../readme.txt ../technical_10.txt
|
||||
|
||||
dodoc ../{readme,technical_10}.txt
|
||||
}
|
||||
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue