parent
ec84206899
commit
8c4698dc25
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29330 BLAKE2B 2bd0dcfc69185b1de73696378a680ec25ef84e9ef298aafe264c60be880a2c81fefc5f968be7228a610ffda3a048d08336b7cb893a4f166af2b5c3a61e3656e3 SHA512 72b7d6ec36219a5cdfb70811c1711a01e0c146a7b2004e4d8a32ed941d49fc1cab95c9f7e15ac504d5f91b16c90b823e2f995dc923e9bff8685d5f5ab420e58f
|
||||
TIMESTAMP 2021-10-13T18:09:03Z
|
||||
MANIFEST Manifest.files.gz 29303 BLAKE2B 4e60639f36cc051337ad2b99311a09f42c6e9fd41f3eb36ba7c76839ac248ebe23523d6c67647177672707e751e416000c1b48ce58e93f14fe2bc46ca47b7d7c SHA512 1c225c3206d21a74a9864241088bb303a07185dbc19c14967a59303d689f0fc5fd1c51bced5d50b28371d09cd42e806f37b1c2e711633a794a30f9c1be3307cc
|
||||
TIMESTAMP 2021-10-15T05:09:12Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFnIL9fFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFpDPhfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAFXg//c8bYQB/NDN2X5pFUWDLYiiBZHWzxkfypNHvQV+dc6ioAskttCdbMjuGF
|
||||
uepuRPKgs4rMTmnguSwMj11VVTqTFDPLhZEG80wPyukQwDJgzfZD2Le/H3DkwKG5
|
||||
ZYQV9Croxpd3iVBAAVj7AD4ryrcpBhc8HIU1kUBtVTxx6x95lUUhZ7OkzEAk+H+P
|
||||
q3QXsjQhtPvJ4dMtQSRs7OV0gD0WqHsX52KYtPrVn49L0uz2uV53q11ue5l4DApA
|
||||
eg3rh/J7QFrjPdbMXmQauqqI6e2qeUrEzAn94Ykj2WCy9TO4weYnnp9SBDZ+1GA6
|
||||
0a8QSk73j4zAEIpljQK8Cs2vGO/PqZ1HFZhVlUlUr9z5WfQv7YMWwECiaYeDR96j
|
||||
68OFsAtBzcK7qKLOzBCCg6jvp7y0XrRGZXHy+WsgjXwvcfdnUPQttnPqO/tjnE5C
|
||||
gBf2zPxaYJ5YWoEe2INB9deEwC4IQyB5IMUvgRYVEVaJb6jmLr8Z14m/BNn3Vctd
|
||||
wdLqgqB54f+lkM9yF8XMFgsRnJCAkurp5Aa6TULKA9aAXRezV8OIOUKW8JFSNnuJ
|
||||
53Swgz5raMVGcLBik1cEoaW0DvNNfuRJW5Xrp8mKDn9eY3JsJVu8pcBrDHqqPdD+
|
||||
pVrQVWeksCGb+uXyM4lwfhMmr5VG04LASoh8tvrIbv5bKv3gUsk=
|
||||
=naej
|
||||
klAmHBAArXidOqaQMLA8hjXqYjFI8NqbMbV3a6uORUNhPOusXeSAEZmfWnBY2etp
|
||||
Lej0Hk4qfhQE3tLv0MN/W7gwbk63FnpQ0lg4cHeCCq4/rKic6vAf0n7lj8+RLu3F
|
||||
RFauTbmLtFKoeRCg2zTQV4DssSfiUnrY7lZHwnfq0VTqDBgrHbp8A8In2Mrv3apR
|
||||
taK+pK/NHqMqbu80H7z2sXJ2352PQrqUO6F+jP+bGGMCOAFLKumIfT8FZWCK+oYt
|
||||
NQVDCF0nHVrbEM/8aLMHDPeIXaCosORCZ4aFpbhf3hqgn0KTCViB+2MV86Yf5Coo
|
||||
Gc8ybPiX/y5gL6fOUOMehcqLsAogzesScosDv0GruxfbOj7ut2e/m0kBZbZ6rYrX
|
||||
jz6KoP6W6xt8/9DvFQ9B2PGk2I3YN6jW5AVqgxioTmarH6UjQFUEh11xTj7uD29g
|
||||
BS1WwLvB1pCoikyZspmserN4+HseUsjygOpPkbSLWdTs1viCs0cCEcfEW5k89UGJ
|
||||
RpWjyQAIqkK6bIO1NF8ZI/pMPR3xnF6MSSermL1ooB+qVy8KtEI6JCKU9HkZFZVq
|
||||
fdUhbxcfGad9RaTHE9RR1iY4cmt2tdXl29u6GYKFJrMyw4fEwKgkJ/BIEnaacqXk
|
||||
fXPEp3k5+EczDGK2JfUjEED1YWrtBQw5XLCpyorGYJFCCHC2Sek=
|
||||
=gkic
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,90 @@
|
||||
# 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"
|
||||
|
||||
# virtual/libcrypt:= is in here despite being a pre-built package
|
||||
# to ensure that the has_version logic for the symlink doesn't become stale
|
||||
CDEPEND="!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
app-emulation/virt-what
|
||||
acct-user/puppet
|
||||
acct-group/puppet
|
||||
virtual/libcrypt:="
|
||||
|
||||
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[compat]
|
||||
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
|
||||
|
||||
# Handling of the path to the crypt library during the ongoing migration
|
||||
# from glibc[crypt] to libxcrypt
|
||||
# https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html
|
||||
if has_version "sys-libs/glibc[crypt]"; then
|
||||
local crypt_target='../../../../usr/lib64/xcrypt/libcrypt.so.1'
|
||||
else
|
||||
local crypt_target='../../../../usr/lib/libcrypt.so.1'
|
||||
fi
|
||||
dosym $crypt_target /opt/puppetlabs/puppet/lib/libcrypt.so.1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppet-agent.conf
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
USE_RUBY="ruby24 ruby25 ruby26 ruby27"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:all"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="locales"
|
||||
|
||||
inherit ruby-fakegem systemd tmpfiles
|
||||
|
||||
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
|
||||
systemd_dounit "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
newtmpfiles "${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() {
|
||||
tmpfiles_process puppet.conf
|
||||
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
elog "If updating from puppet 5 to 6, keep in mind that webrick (server/master)"
|
||||
elog "suppert was removed for >=6.x, please migrate to puppetserver if you have"
|
||||
elog "not already done so."
|
||||
elog
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
# 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
|
||||
doins ext/config/conf.d/auth.conf
|
||||
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() {
|
||||
tmpfiles_process puppetdb.conf
|
||||
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib systemd tmpfiles
|
||||
|
||||
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
|
||||
newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process puppetserver.conf
|
||||
|
||||
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.
@ -1,6 +1,9 @@
|
||||
AUX rpm-4.16.0-autotools.patch 439 BLAKE2B 173435c31b0e06f47948711da00452d08dd644fcd8ed05e61f7ed31db56a670bacdb4ca1504dd64818752e30868541e3c50f8ab84833101607cf8c487cc93bba SHA512 fce8b036dfc55e5602721206788a1a755e2df8ef6b1cc94f047f7180f97efa750957ffa063cc18c274fff8b20f41181aa1c46c11ad2feed9689d50f4f696afea
|
||||
AUX rpm-4.16.1.3-libdir.patch 1152 BLAKE2B b54191dbe36af115b828fc111cea0348ed7edae47f8b9597a57f1b7e3b4848129dc50f1b001f5e8ae92f5f1c07cbe51330ccd8c15867e7624ea07756317eaca6 SHA512 8fd4c0ee785fb583172df7b7543ba790927a9d4953a0368bc4a641fe6e34b35011e3d3cbecaf80c58e79239e68bdab6797c8592f0c5185197df726a51e06d224
|
||||
AUX rpm-4.17.0-libdir.patch 855 BLAKE2B 81a2daf0577c8dc3feac190764125da7a616e24ccdd38c3715c3c68f7fc831cf2662e629f23ed88f7d133961a40ac7f63acd6c7f52e99f17abe53442b2a5f14e SHA512 68d884cf9d57d89138ee7d6882869b0560aa9cd3dc82b837c47732f2d0248b42fbdafbbcc1f3f04322cd750744d97e4512491fb0591eb0622b2a5d1918391c46
|
||||
AUX rpm-4.8.1-db-path.patch 628 BLAKE2B 69ac0d4541c4d6e74fd716529c4cfd482432d400f84f39775bd585931e786acf45ab7a1da617f0214dcba90c78511ca22fc556896ae1963ec9160787fdaab902 SHA512 12539bbeda99d261890d50304945c7f022681ca0a283c70f17a6b1f188e9e24e9ce05b71d541ed6d951f94576b5183c49c4db784d5016d075a859c1e4dcb9005
|
||||
DIST rpm-4.16.1.3.tar.bz2 4354652 BLAKE2B 10013014bdeaf908b64c90f8e76f1d4b0cd0e8cb926f0cd979d7b1e1963b9a25c5b98531deea7e74e00168e2e6349f443fa4578c69c717ca1ab5e6b79d801f3a SHA512 54e503b32dffaa73d6168f26a00220d9d9124082d8a1eb1ddf34ce32a482f07cb06ec654cf065fca1607cc37b13fa7d4fa9895553541d7cfddecf68c9eb96f2e
|
||||
DIST rpm-4.17.0.tar.bz2 4514138 BLAKE2B e2618f7ac59189fb880d6be853aae99080b5008865298d095a123a010ab70f9e2e3ad9402124afbf8291a3863e9e805c9c65ab47cc435df82a729e81984394bf SHA512 d32af8649c6d47796a645b6ecbe580df97f5423bfb17414d5ed0016373f5cfab86ebcfad6c480fb8bfafaf3a960f9bc095ef6faad7b40bdb208cc60e4080b0c8
|
||||
EBUILD rpm-4.16.1.3.ebuild 3642 BLAKE2B 20e3eebb5667d0367ae7d40892a0898c093e81a5d06a7e663b662bdbe93a9b1f8e5c9c48295ad5ca0aa49d2ff14974c79453d9625fc1ab607f818a02ccdd976a SHA512 092048f92e01f0c8aa7f42ee16a416fd3119b9571bf59f8c27a89e4bf328ac1ee56e2200d3ba227c2caaeafe86c3bc21817a34b603d0a3e0e56b1266a8008604
|
||||
EBUILD rpm-4.17.0.ebuild 3894 BLAKE2B e9d614fc1536bf1e407495173046f60ea1f9b0a2583fceb3802afcee4d5ae488fbabcb6c26b2ce5022bd40e8f9fe8d6df63f5254b49723b742cca628e131cf74 SHA512 7fa3bcc3065d938381983129e2226791da3d7da29c6b146652bae33f77d5c280d9e09b49bd06e3cb9a0d1957f2cf8ddc617e9356403c5b53dad73d060aed281c
|
||||
MISC metadata.xml 260 BLAKE2B 00f83151d62c157bea18101b36007f01e6da9d16d438671c37b929b1e19cfc202f379816a1b0d9e3faea99c44a43f97a5d43100266c683487dabba09f1378eea SHA512 d6fc386bd5be91d5dff3d7aa514f4d72e7301a47f888db95573d72505ee86987ae6412fdd8aec82842c006abe831d99f6178b1ac78a04a7dbf9e5bce1d249cb7
|
||||
|
@ -0,0 +1,32 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -865,13 +865,7 @@ AC_ARG_WITH([rundir],
|
||||
AC_DEFINE_UNQUOTED([RUNDIR],["${RUNDIR}"],[run-time variable directory])
|
||||
AC_SUBST(RUNDIR)
|
||||
|
||||
-if test X"$prefix" = XNONE ; then
|
||||
- usrprefix="$ac_default_prefix"
|
||||
-else
|
||||
- usrprefix=$prefix
|
||||
-fi
|
||||
-
|
||||
-RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`"
|
||||
+RPMCONFIGDIR="`echo ${libexecdir}/rpm/`"
|
||||
AC_SUBST(RPMCONFIGDIR)
|
||||
|
||||
AC_SUBST(OBJDUMP)
|
||||
--- a/rpm.am
|
||||
+++ b/rpm.am
|
||||
@@ -1,10 +1,10 @@
|
||||
# Internal binaries
|
||||
## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm
|
||||
-rpmlibexecdir = $(prefix)/lib/rpm
|
||||
+rpmlibexecdir = $(pkglibexecdir)
|
||||
|
||||
# Host independent config files
|
||||
## HACK: it probably should be $(datadir)/rpm
|
||||
-rpmconfigdir = $(prefix)/lib/rpm
|
||||
+rpmconfigdir = $(pkglibexecdir)
|
||||
|
||||
# Libtool version (current-revision-age) for all our libraries
|
||||
rpm_version_info = 11:0:2
|
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{3,4} )
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
|
||||
inherit autotools lua-single perl-module python-single-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Red Hat Package Management Utils"
|
||||
HOMEPAGE="https://rpm.org
|
||||
https://github.com/rpm-software-management/rpm"
|
||||
SRC_URI="https://ftp.osuosl.org/pub/rpm/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2
|
||||
http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# Tests are broken. See bug 657500
|
||||
RESTRICT="test"
|
||||
|
||||
IUSE="acl caps +berkdb doc dbus nls openmp python selinux +sqlite test +zstd"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}
|
||||
python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="!app-arch/rpm5
|
||||
app-arch/libarchive:=
|
||||
>=app-arch/bzip2-1.0.1
|
||||
app-arch/xz-utils
|
||||
>=app-crypt/gnupg-1.2
|
||||
>=dev-lang/perl-5.8.8
|
||||
dev-libs/elfutils
|
||||
dev-libs/libgcrypt:=
|
||||
>=dev-libs/popt-1.7
|
||||
sys-apps/file
|
||||
>=sys-libs/zlib-1.2.3-r1
|
||||
virtual/libintl
|
||||
${LUA_DEPS}
|
||||
dbus? ( sys-apps/dbus )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
nls? ( virtual/libintl )
|
||||
acl? ( virtual/acl )
|
||||
caps? ( >=sys-libs/libcap-2.0 )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig
|
||||
test? ( sys-apps/fakechroot )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
selinux? ( sec-policy/selinux-rpm )
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
lua-single_pkg_setup
|
||||
|
||||
use python && python-single-r1_pkg_setup
|
||||
|
||||
# Added USE=openmp and this check for bug #779769
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${PN}-4.8.1-db-path.patch
|
||||
eapply "${FILESDIR}"/${PN}-4.17.0-libdir.patch
|
||||
|
||||
# fix #356769
|
||||
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed"
|
||||
# fix #492642
|
||||
sed -i "s:@__PYTHON@:${PYTHON}:" macros.in || die "Fixing %__python failed"
|
||||
|
||||
eapply_user
|
||||
eautoreconf
|
||||
|
||||
# Prevent automake maintainer mode from kicking in (#450448).
|
||||
touch -r Makefile.am preinstall.am || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# rpm no longer supports berkdb, but has readonly support.
|
||||
# https://github.com/rpm-software-management/rpm/commit/4290300e24c5ab17c615b6108f38438e31eeb1d0
|
||||
econf \
|
||||
--without-selinux \
|
||||
--with-crypto=libgcrypt \
|
||||
$(use_enable berkdb bdb-ro) \
|
||||
$(use_enable python) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable openmp) \
|
||||
$(use_enable dbus inhibit-plugin) \
|
||||
$(use_enable sqlite) \
|
||||
$(use_with caps cap) \
|
||||
$(use_with acl) \
|
||||
$(use_enable zstd zstd $(usex zstd yes no))
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# remove la files
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
# fix symlinks to /bin/rpm (#349840)
|
||||
for binary in rpmquery rpmverify;do
|
||||
ln -sf rpm "${ED}"/usr/bin/${binary} || die
|
||||
done
|
||||
|
||||
if ! use nls; then
|
||||
rm -rf "${ED}"/usr/share/man/?? || die
|
||||
fi
|
||||
|
||||
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD}
|
||||
|
||||
dodoc CREDITS README*
|
||||
if use doc; then
|
||||
for docname in librpm; do
|
||||
docinto "html/${docname}"
|
||||
dodoc -r "doc/${docname}/html/."
|
||||
done
|
||||
fi
|
||||
|
||||
# Fix perllocal.pod file collision
|
||||
perl_delete_localpod
|
||||
|
||||
use python && python_optimize
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Known to fail with FEATURES=usersandbox (bug #657500):
|
||||
if has usersandbox ${FEATURES} ; then
|
||||
ewarn "You are emerging ${P} with 'usersandbox' enabled." \
|
||||
"Expect some test failures or emerge with 'FEATURES=-usersandbox'!"
|
||||
fi
|
||||
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then
|
||||
einfo "RPM database found... Rebuilding database (may take a while)..."
|
||||
"${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}/" || die
|
||||
else
|
||||
einfo "No RPM database found... Creating database..."
|
||||
"${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}/" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
AUX ibus-handwrite-blink.patch 647 BLAKE2B ed7914488f5d2fd69bb9c262d88b3b60cdccdbe5f37ce90a393cc99fd91dd1e862a18f2db70ebd83c357b0b06e4bdb5d63db72e421072db0551caaddcc52b7f2 SHA512 6b493fb3a964d36c63cc29d0f906a58041f93d2dd4008cf49e58540a833573e78492331203a69a0a880bb4eea8d34fbb8c953ee91af3d2ef2dc74a51c01fe977
|
||||
AUX ibus-handwrite-headers.patch 406 BLAKE2B cb683592e24d58d2fcd4718374e0d5e8cb51c6300f5123a3d9d43c34e24a3f3413dac5b256e6e7fb74494870d449ccc4a22fc5916a27407fe7c11af391ced5b3 SHA512 4629c68451d3b3ede478b03241d58c66f1a94be0caa05b4cf22d0287beb059c807e398457f0aaaccc6d0f85b9cb987153bae213d949e78afc2c66a6880baa7d7
|
||||
AUX ibus-handwrite-nested-function.patch 715 BLAKE2B e827ee4fdd65ab9dfb6aa2e484aff8d47d2a11993dc15668d34539c89adface47344aa724851d71a80424de46022b3adaf769259d995c61f290a816d7ff20658 SHA512 6df7fb76af1e229669b5e7d945daa01b1b61249cd244211388dc26d69a417ca49edb10f9adb2f5a7dd695b730926b6cda9570e1957341c94afce797016fcdb58
|
||||
DIST ibus-handwrite-3.0.0.tar.bz2 239452 BLAKE2B 379b283565efc16c75c1811e096f814a4a0f009ab469a7bc251f34889bd62c7158379a63b71529db942969a3444a6be42f3db3bc5787993f8e15f86a6a7ddb76 SHA512 ed9b2b35919f3e061230c7085c88e5ce80ee978ffa7f8391e74364e8d6152f0d88a08f91ec58b55fc7067e9fe45d03018760ccfca7b026f36211fa344d16c9b1
|
||||
EBUILD ibus-handwrite-3.0.0.ebuild 770 BLAKE2B b0d1f161950a855bc15c07874adc08febc65267f17ff4226b2ea61319c0efd2ae2bc82d29be4f35dc8fdfe13f9196650e63dccadc46e134c68d31b3b0be6b3ee SHA512 f229abca3430d75ff899e7acd70df8490f338c36128e463f59e4bdb31e939a9fa06f6fa7307ba02d69ce583d45c0886149b7b5e3ad94e2394558f05d54f3a9d6
|
||||
EBUILD ibus-handwrite-3.0.0-r1.ebuild 857 BLAKE2B 946020fb670f50354396a66d03547e798515a9d99fb591810a23e6342bfb1efefdef0b2be1b18796295b580da08191af225be99655a2b9968cbb68f401cbfb28 SHA512 991e936fc7dc9b384582879f72803510f98f5e19ede9719d19acacffc15c934249331fc84c50e0de37842075b2452dd457e1940afaf1c812ae069632d4e0afa5
|
||||
MISC metadata.xml 335 BLAKE2B 5d4efa4813ffaf66e29f26f03ff8dcbb29fc4ece8cee37a73930c67f05ccd74f9c0fe928f81b1c65639d28912e9926684dc667c359be4f2e8b499450b8433890 SHA512 8fc0585a3c14f950d2f979faa9d5636da0446b7b170df75859a03eb3128d3c68cdeaabd894cf2e59729719a907274190a885dd0981ef5f4a8bac3aa16dab115f
|
||||
|
@ -0,0 +1,23 @@
|
||||
From fcffa8f1ed798db3c2c4db0dbfc953f3147d37ba Mon Sep 17 00:00:00 2001
|
||||
From: Peng Wu <pwu@redhat.com>
|
||||
Date: Mon, 31 Aug 2020 15:32:48 +0800
|
||||
Subject: [PATCH] Fix focus in/out issue
|
||||
|
||||
---
|
||||
src/engine.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/engine.c b/src/engine.c
|
||||
index da01f06..d3d924e 100644
|
||||
--- a/src/engine.c
|
||||
+++ b/src/engine.c
|
||||
@@ -155,9 +155,7 @@ static void ibus_handwrite_engine_focus_in(IBusHandwriteEngine *engine)
|
||||
|
||||
static void ibus_handwrite_engine_focus_out(IBusHandwriteEngine *engine)
|
||||
{
|
||||
- UI_hide_ui(engine);
|
||||
printf("%s \n", __func__);
|
||||
-
|
||||
}
|
||||
|
||||
static void ibus_handwrite_engine_reset(IBusHandwriteEngine *engine)
|
@ -0,0 +1,26 @@
|
||||
--- a/src/UI_gtk.c
|
||||
+++ b/src/UI_gtk.c
|
||||
@@ -74,6 +74,11 @@
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
+static void clicked(GtkButton *button, IBusHandwriteEngine *engine)
|
||||
+{
|
||||
+ ibus_handwrite_engine_commit_text(engine,GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button),"order")));
|
||||
+}
|
||||
+
|
||||
static void regen_loopuptable(GtkWidget * widget, IBusHandwriteEngine * engine)
|
||||
{
|
||||
int i;
|
||||
@@ -98,11 +103,6 @@
|
||||
|
||||
gtk_widget_show(bt);
|
||||
|
||||
- void clicked(GtkButton *button, IBusHandwriteEngine *engine)
|
||||
- {
|
||||
- ibus_handwrite_engine_commit_text(engine,GPOINTER_TO_INT(g_object_get_data(G_OBJECT(button),"order")));
|
||||
- }
|
||||
-
|
||||
g_object_set_data(G_OBJECT(bt),"order",GINT_TO_POINTER(i));
|
||||
g_signal_connect(bt,"clicked",G_CALLBACK(clicked),engine);
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST ibus-kkc-1.5.22_p20170607.tar.gz 55162 BLAKE2B 9d34a7da99a1792cad9ca1b82665b8008a2b11c7e09cdce7e0a5e9d0e9d482798a1facaf8d35e3daa296638383c267af70ae00d50b2c601b66895a0b1c8d2817 SHA512 519be83e17d9556c6839ecad2af4a46665a6aafd0f8072f4c1d2c8af33eb3ac814517b5b42513b898afe86ededf35b9082b9a1fb2a699dcb88757b159d5b74cf
|
||||
EBUILD ibus-kkc-1.5.22_p20170607.ebuild 766 BLAKE2B a88fb4c722e178d8e98c3ed214fab96af0ef2c5bf363b134130f9165ba7bc2d2344277d1b8e0c98227b70dcfc7ab349eb2ef43f714ee7f8ab2cd0b86865c6446 SHA512 ad4168d6f074d086ccaff4229ac5937a91274a612994ddaa3775d73958c347a38c71a1cb64b2cb426b51634ab646ab8f4aedf41bf127a34a056a84ff5843deee
|
||||
EBUILD ibus-kkc-1.5.22_p20170607.ebuild 779 BLAKE2B e20002a467c28e31a5d837e71c432a5190de99068f4c1c1cd755a7ce67c8af7828481e6d18f7e8c47c4ea70a4728d1b06cf48fd8f8c1ec53b7c43fd1a58c7d7d SHA512 4829a1e97feff5c95b248d5ad3647cf3dd9e5d07c85d82f832b86794ce76ce0495cfccc0831a147c59f3e8c78e7483fda4b9eda302e9ec93a84feac9505d4407
|
||||
MISC metadata.xml 313 BLAKE2B b1e1bcedbf32369841d3810fa0b7bca1b839f314b87e38f87b09761622f5c7dfa139b00e40cb605fbb847bcd7be00cb9f5d74e14f3ccf05196c088bc790f7692 SHA512 5d10e6154d3f6dade76491ab31ce770f8b967d536cfd90cc34b2e751d999a72c807c3d3704c5512b4c6299e141dcf3887661a64db4248a8bf7f93a5748a9d6de
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX libkkc-marisa-glib.patch 714 BLAKE2B dfe2c8c3f3fe0de904678a21890d99c548d08c2f79c9a2a5bf54080529336a0afe9ad1ef613fd1c2a2b692a3de6edd17e15a7434cb4c677660c035badc303c2a SHA512 b5f5f2158329b883709242bf7415fe91d1637f1ae6f8620ddf1b872b652292bda237b92ff1c0595168f3eb2b9b33cb48e33f02bcebd031081f2dff0b8493509f
|
||||
DIST libkkc-0.3.5_p20210928.tar.gz 390022 BLAKE2B d4b44861f4526f4f9581cd9343fb4d8dd361967cce153ab92fb9a3334502bd583081d4ae3c01879c94aee710d347c23d3372c0deb20d711b9792eb73a28b3beb SHA512 9c46ef09242ecf3d4864fff0e7df7ff362d71c382bb92fe1e784bd20bdf737dc6a528b57342093ab4415926b15f09db44a10b8088d1c9f8b9cebcb428aaee8c6
|
||||
EBUILD libkkc-0.3.5_p20210928.ebuild 1506 BLAKE2B b9421f38c9b17b27e5d8d2534a4474732021b62d195697adc0e20c7c10a7077035b977fd65de5b0575c519365a57899101e38825181f88559e72ba5e10c86c3c SHA512 bb3e2bcaf34af5819510ada361f41c43210e04ddc714052890693fdfc72f7e48a6a446992d362901d39b5e0bf3ca4137022b5089be8ece5220c94753cd7b26b0
|
||||
EBUILD libkkc-9999.ebuild 1455 BLAKE2B 993c4de5b282d984830a8fd9142bb2a84e7f59e606b29835fac6aa556e9b5708d282cd854377781a2bf2a7a279975f5ee2cd11f4dfb3d5d4b9a400a5dd992cb8 SHA512 5002724d10f3652489a699bfdf4c9dc6bcaac9f05ee2427d7d44aeca2234d878aa970b7de177f893d9a13c52c43c65555a646339996eb104a113c3f56c6e9dd9
|
||||
EBUILD libkkc-0.3.5_p20210928.ebuild 1506 BLAKE2B 85943d5a57b656474f946449f72c2d9b8ad6c99345d2740bf34da023a4c8733e31a8e059c0bdb54bb7b44f701faacdc018b72c36b2697331596dc33c5fcd0c71 SHA512 f846510ef6de2f1cf2673ac62f9a068bac1b7fe27a38d2d7e8097c06526d45e507e0102022f6607b9a4e2d40b6929bed94ccedb755f9c93a06694c49449804ff
|
||||
EBUILD libkkc-9999.ebuild 1455 BLAKE2B 1fb2ca9fb62b7146abe5da7e49f11463824b5b83c8f8d99b572183d017b62e3983793c4745ffc1d8e45f82b7dcf8e76414644943d9d627c8032da3f68f1eec2b SHA512 52bd3c5257d28ae2a62b1c873d9f378cffa7007c77fe168a8decc7ed817d8eeca7fef5b82f82bdf431046290f1075c0432bbc936fc332aaf465412d02dcb3d46
|
||||
MISC metadata.xml 459 BLAKE2B fa914e2f676f1065402ac064f0253cd3ad5a97af0fa72f333bf312b033a1d8c7c40be04f6d9626afa4ad0b67c5cdfd6da4c75e0d261cfafcbe5010e8c994e4ec SHA512 8483db54ccb88733e541875f527350354c48bb258b7a7eb18f8d092eb4a1906082072178ad9ab371039dfc8dd2b2727dc4c269e5089f648a0bd03a3ee1233bf7
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST libskk-1.0.5.tar.xz 564488 BLAKE2B e7108bd2f44e5a0a0756cd25da4b07376b36604d6d2159b283e8a5f4ef76006210ff993d58b653cbce01ae4c9e003acf4acbd93ebc40711fec2600e514c49e9f SHA512 6db675edba89b83da0c29afb42644c39bcb0ccfc47f067a18e0eda817df4f58a86c86e8747080018c132d8734754a6fd8a30fe6578050eb93ff636edeed534ab
|
||||
DIST libskk-1.0.5_p20210830.tar.gz 190676 BLAKE2B 6b9f058669929efb292692b5047084e2e95e2003a9ecd093205b198bf201249811f672d74e8ee283e6b1f5a94b6a72c79dddb12c950ffe6958ca6aef3aaea5d9 SHA512 2a34111627a43de2d854e2236fd69ec5577b162b097b6e964b891cf09eafaed0d9c3f657bcb1f78ec985a3e2adbed079d37e5e873d1ec35e5f7c66960135ee2b
|
||||
EBUILD libskk-1.0.5.ebuild 1016 BLAKE2B 2806873aca5f24aaa5e0bf666e73aab9566ef50abf51d4b7c9c6f450f940be3241510b066c262ad4e573c7b9ec4b5d47962bc5250197e68ac40cb27d63f72ccc SHA512 3beeb39d0f1d228a9896d71f7f322fc5775e563fcffc7064d3465295768c713c804c96cf7b0ba460842bae723dbda5dd1c55f8ee9c9003e21be41d0e362cc842
|
||||
EBUILD libskk-1.0.5_p20210830.ebuild 1119 BLAKE2B f795afd387786cf8f2f98a62597790e23b067f7b3879049e1e6df72dca616ea656673e80248c7566f9a83e64f57e8bc4d1fd0ef9a33027c1ece22256d9c24773 SHA512 7bdebb0990b245b972d4d33c66115be3562189bfd37a254ca60d2892bba5e660154fb94a0af0878ceb6ac01114ec198e4d6e6cf7fd38cbab703b3d5f629f15c2
|
||||
EBUILD libskk-1.0.5_p20210830.ebuild 1119 BLAKE2B d3d59524631296315def98905ea750bbac050bdef6bf4b24043b9875730295bfa8eabcbd40d9b51945304be6a20e679808b1d24bed6edc25a5c253d0fc53d320 SHA512 b779761cbb891a11dbcf0f363c602cf61006b595acaed3b281eb9c3b6837acd12ae7a03bd492e27aa2b47d5495428cd5e90649886bbeb136db7a5fa5c18af67e
|
||||
MISC metadata.xml 311 BLAKE2B c3d3e6eec52aafdd92e37f4fdc850b22d5bc13ca6adf24954f53d13f67d7acaa60a2e8fc74627c442617ec860ba02b614195a49f48551c937addda7b3732c44d SHA512 72e6be18642179d25f2eac33df667891cee4d571ffaf49f823fb31e2605cec2e8dac3b07e9aadc6080fccf96f09f8677421ee71dec0af8ae7178bca1991ffda7
|
||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST detox-1.4.2.tar.gz 106736 BLAKE2B a27f9d93bf6f6c1634517c0f193affe576b2eec6be4b8fc38e91ef75a6f1a01a4376684d5a9b109b3971d0e311b64faeba020a3b7660ff130086956a7ebe92bd SHA512 ca1327e127cf1ba1803d8931aa119c9d11fc5b998f45ad5f7c339cea7f7928a5a6a45f90db9a51a7ccf6d4ee268cd316461c621db62dcc7182cd0255e74a1481
|
||||
DIST detox-1.4.5.tar.gz 111745 BLAKE2B 2da339ea0be836671d792bd2582815f9bcf4b6a0681d4a2b52062462fe2657c01c8adf378a53b2f758c138445c5acf6183c31047bd170bc21b088635768247e9 SHA512 f91ae893cf50a3f9d731a26218625f572c783406056c0accbd8253d6dc5de9013ffbe1497120af7be4b7054d65ebbe96b73df64a5d1cc3aaec40e6542e5c6208
|
||||
EBUILD detox-1.4.2.ebuild 758 BLAKE2B 605cda9872bffe8755ece521b9bc7ecfc6ea3300a1cef8e93ff204da7d5da54f6a49e32a77864c54b036a0f571a5b52419d16733de28fa8874294d4e02948367 SHA512 8d083039907bcbb7f935f65b9129658a7b0071c90c6d03224a3d200ad3cf490f1575e77fefb08f66c32552c3db7fd06b0294045b7af091e629cfbc6789de488b
|
||||
EBUILD detox-1.4.5.ebuild 745 BLAKE2B 895e93808596dc415ba918b65a63ad11d3add168f52cc92a90dd8f548b29d0e2b3bfe73d4858951ab418674cf646303cd893372a4e94b4d195fed727e4b57eb8 SHA512 fd4be905001c282beb12c4cd2f548d587c85561298cdcbf00e0be68e2b6cd28644c81c1c377a1456e58712e384e0c1974be525b9d9b52a0051d3a5952d9b3341
|
||||
EBUILD detox-1.4.2-r1.ebuild 796 BLAKE2B f10de920042dba56509776b75b0e4e925df05b7f8ea8411eac439bd9a1fc0c72b795204b1c19bb116aa9d6c6c20bda6218929c2b0931dfbc2102fc65beb2620c SHA512 5e23aafc1370911ce72c1d7377def59289493fbf37e8916c03e740cccdad1ea798ad8ff02d0dd88de196cd962d7d1ddcba3ff3d98f4ba970aebc2ba659c54323
|
||||
EBUILD detox-1.4.5-r1.ebuild 783 BLAKE2B eb1e2a8c7df4b0ccc726d30649bdebb3d9e3aaddf474faddc6cb2b1688d1312e3356e4b5f2f03afcbb40f2655ebb9b274c0374c3661177a847f3b9e07fae9a0e SHA512 70fd10c4a862c747aebfe1d0e1568b00bc1ddd707aff7b02a32b43793a15f3a3e963a8e86c6f8479d62100c57eda482199475405bdae0dd02758ffa141bab977
|
||||
MISC metadata.xml 341 BLAKE2B 3a5f0b5465950aaf5b6140e8eb01933d909487899187bf69ceed815061be77da98591efc404cdfbebf828bd0883e47a7e3ff16de09ae7038643d3ff033a166ce SHA512 088a7bafca6cf9c382870e859bbf27f46fa0b7478b9e34d28a1bd63b23ea48c023c1a4f834f0a6ca124c80d2744c336ce6eb070851368cbbc0c246ead85444a4
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX geneweb.confd 67 BLAKE2B 83af31b2708fc64dfba852fce65d6c76bf71bceff40ef5b7ef32a58ea9ae941771569d664f3fc0d555dd8ac9e78740fc0449d1011dbcfeeb66dd320c7b1f44fd SHA512 5d7e373c042ba1de97261807cf3b223157c0f383106b4fb2f2b04de21214218ad3a6e0f097101d45cb61e74d90d060ead93dc6e79a125ad97a0126690ae732b3
|
||||
AUX geneweb.initd 429 BLAKE2B d216c7970cd7e62a3732faeee6ac97062712023a6bbad6d6542aaf930f4e7e34d4f3e3cb844b734ee3e8fbae9950438f1a7d5b7206e9a2d304b77095107e5814 SHA512 8daa663aa7d7f614ddd709616411b2078dad492813de80dd9be9866c61a1ed97c41b28ec94fece79648e2c587b991ab0820e6601891add6d0c6867fe82782eb8
|
||||
DIST geneweb-7.0.0.tar.gz 14767981 BLAKE2B 3a0a777a934d26fa91bd94d20311c6147e749961035b57aed8322c4e96f5cead2edde3a96e362b5de35073fa594d4cb5f3ef0f4d7eeaebea2095bfeef37740b6 SHA512 359b8e2258d572198a7516dd03830e536038392d552482f25fe4b93ded76dccebfe3c420eb2ba1a566500200755c87cbe19a2060eaeea895bd84c505b7b65345
|
||||
EBUILD geneweb-7.0.0-r2.ebuild 1812 BLAKE2B 9429e6b583ba623170136caa894445b3769ccc6a736ae38b9f4000f863e4646a2a85b385da171e091e23b28201b9d5b60bf84721b1479e712c9a0068e58fc0d4 SHA512 9df0d06cc98007923a895e9c7af6f5ec21bc5527a99c6fecb4e070e6358947a5db2518a9cf23d523a5b414391a63495e5328a3ea99a4184bc3b396c82cbbdef1
|
||||
EBUILD geneweb-7.0.0-r2.ebuild 1886 BLAKE2B cdf31d6c0cd6b02b1ec96442255ebcddcb3e8af2a25c995ff3404e5471f6b43e25aab5531f607e9b7c560586ad51e6e4714076da15bb7554ff7dfb4628a69995 SHA512 ae84b83647fc6cc069d512f00360085b6bded9033d8f75472e2f4002b5c5893e1047c47c3002cd1c5f3f9797c11bb073f9f36477b6264ed0f457ac2af872ac25
|
||||
MISC metadata.xml 653 BLAKE2B eb1a56a2d9653f3dfaa2d22e6e3515f371d0d2f0d8a7fcf645ece5cb9d3c475703dc5c78379522264a3164606246368e1be056b915123aa7fbb9d111807d319f SHA512 923b0b1debec0cc57ce0b5616b187b54f20ad1dd151eda62bce5f12c2f1767f40f236118224e1ff92bd8894e09d5628313ce391220d60ac903240bdf15cda3ef
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX 70ctemplate-gentoo.el 282 BLAKE2B 6004cc2b2e543f47c0c808bf494160c4b7e7e4768a954c1b0d99bc065a89145875dfc2b1e386bdf3a5e4dbb375a0bf5badc45b1666320f2a00fa8bd108f16c09 SHA512 36bc5424cb6dce40026f1d08b8764bf43d42159ff20e7d81484f5baf1c1e3c2042c12b1a60fc3cef48e297e816a12dbc41169988a6537ee41a2e2528b3c834a3
|
||||
DIST ctemplate-2.4.tar.gz 391923 BLAKE2B 96b585ed6ca323fc461857e1f2f381e0ca5c229d8c6039c24efcf34fb9ddf45cc36bef141af337e591e1cdd95ca510ea5ba1e539554322c578c25187b1906195 SHA512 4955489e7327bce18802d50fd9dfc8ac12af685e556d1c9d0eb2b7a2f4a9b6086e30be8388d694ec8912623738973d0c76e9ca97196c63c139ee5b468d4858b7
|
||||
EBUILD ctemplate-2.4.ebuild 1521 BLAKE2B a2f09889458d826530b80c0c4f348f98d9c80c6d60d414949269d2782de56f85d330fa043dcc20ca28e93932425ee2cfaabce00669f4ea1ec8ea1cd3eac43dd0 SHA512 e4978012875f94d8807d343fc09e46a05afc22824b463226adcd43d2eadee76d1db5c4ecb3db8ff269486438ade74521a22ff53a6dca3410b30b57424c194c42
|
||||
EBUILD ctemplate-2.4.ebuild 1521 BLAKE2B c204a0f74ae07e76f005a0bc075aca150693c7ddf2519655c95c21e6de45ac0841e7d7cb4c00e371bc33bd0a208a40400ea9978c25b536b0f94fb4a77f83fea0 SHA512 d7b6773281f8a5d5e3ac872a7285a0256d7036b75145c9a3aafd2f0496a2de804c5186d3b10a098c68e6cdd548de71f3b3bd15fd403d247da377183a064da3c0
|
||||
MISC metadata.xml 314 BLAKE2B f6d4b334aa6c7bdc8e813da5170b39f55d111fc1112595fc5000f7b05866a518141d514e6496ad4bfef4c818646bfdccec88fe73a6caf1912c8cf65fb064b1ff SHA512 e9f7539c69d3a229e776513eddddc9a8b7151e4dea8d2782335f169d5a988c8f1e7e28fc3698832bc1fae58d47e5274d608e3ce5772a69bac1a2f4000c39e656
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 5.0/JSP API 3.0/EL API 4.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-10/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="5.0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compile and package
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/jakarta/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R jakarta/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/jakarta/servlet/jsp" "${S}/${JSP_API_SRC}/jakarta/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R jakarta/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/jakarta ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
||||
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
||||
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
||||
AUX lazarus-0.9.26-fpcsrc.patch 407 BLAKE2B c3b006fd7bb58fb7037aae3d8d35ac146ab971fc6063652e3185b320e4cb05ccedb6c26c7d64b2f2998a901608ee251762b723f62bd9c239a51ab6a6d6f2b39d SHA512 823d9ba2041f97c39d8ea5f49cb02f68d8c98da95d0a479cc65a638365e2adafd1c5645fa6846720af18198834958f37b0cc0d92f38023ccdaf40ec8dc848f64
|
||||
DIST lazarus-1.8.4-python.tar.gz 1060859 BLAKE2B 4d6f7dc275aacd0f70d9f7c85aba99a7722b02165a5bf287bfeed46f28e3b36c5abeac19bd7c6555250102dce169f7c9c213b634ce1b634c24dadc84171aed10 SHA512 f244b4e86410fdb2ffe8ccba7fcb51c270286172b6102f757118827cac3b652210a625d65dd6c017c1992983527792ed64334291ab0e0b824f187316452c56b5
|
||||
DIST lazarus-1.8.4.tar.gz 63130653 BLAKE2B f9b2ba9971f1a9a9c3b8d2004bd3516c12db5384bb6243ef275c2fc0d458634fba0c1c23e7ecd5c160c1204d6cc2b4ebc340ce8bb5cfdd9c531f8c36ae59d1e2 SHA512 82cdc3c32dddf8e67c0bed9292a9a924227bab50f22ca479f5e98ecccbf60dd66c7f886ecb8e2979d9d8fccc3d25462ee8c55fcab085aa4194b4704660e0b95d
|
||||
DIST lazarus-2.0.12.tar.gz 69560778 BLAKE2B ff6c9414483b0d50dbbb30c8fbf626c81d9c71ef0329aa1d58b37aa4288a500e1ab55d06bad27f637e3f09b9d062af1896720b9cb7367b092fc872cf613f8a3d SHA512 dfd22b2b96fca9d0f672f03b9120c4294a7e640737a09b26c274d304025c61566a8504a5484638c108e42a322b21992229451d95e38d7e491a1c2f07a663483e
|
||||
DIST lazarus-2.0.6.tar.gz 65558951 BLAKE2B f5289562adcfeab86af074de9fc44d7faf5939655587ea9951559bbefc15ce1730e7b7dafb6ec1d0a11eb0f8f069309b8fa0a305051c5cc9ea0fcf9665e883bc SHA512 cdb4c5861e130c12bf0a4938a73c439f2766a73008678028d7e9c9bcabe7b277e70025a7c720a5c14c157cf0227e0ff629a44cf983537b3afbf341343e816d07
|
||||
EBUILD lazarus-1.8.4-r2.ebuild 3530 BLAKE2B 98ad3bf609155c9171b0911812c2cbf9bb7286ab3eee9c1d6c010dec5f0fd694409eb35f0a4d67d5e27f1abe8959129c87ef13f01e9491480d44a339c976db32 SHA512 767e7a9961425daefb834eb4cec25ce9ea537eb1ed50a44fefa11be4fd703fe3747c18158b81799f7cedad25d27e26b2bef3513a9f8f7fa6eba5b21f1bb01dc4
|
||||
EBUILD lazarus-2.0.12.ebuild 2669 BLAKE2B e94b85e0609fe5ed25e0d64d8c41473f5554646817fba31c435504a1f8203440467015b9693ec6b81d14b04ae2031c4356a8d04c5744b928ae0b8f3dab9371ba SHA512 401ab001e87ae6e342e3cd6c7a17bfbc19de350a9d5b388e126bf08040c19ab603bee54bd650e8af8c0857f405d30db21df9351d4f118b62424f7f1155395daa
|
||||
EBUILD lazarus-2.0.6.ebuild 2471 BLAKE2B e9b45f75b6a7c397d09e123bd3ceb53365656271fe6ffbb150543da83d07f6b216977a1fdb405ff17fc22fd48d2a7162c6ad88ce8cf06aaa64e572e6ff151527 SHA512 ef7ad240944f7380302ef1189669df6d3b3815f428bec0a59758b17d64ae9ed2b29c9e3a8f006138536d8e41203518f7fe715238d4afad671b5ae555a02862fe
|
||||
MISC metadata.xml 395 BLAKE2B ddc65b4329ed615ee2692ee80ff2b74b1b72992742ee27e6338aaa1ea8b7e39114ce5f735c61bf64bd603dbac7a1828f8bdb4c29b78a339a878b61092556e7ac SHA512 161abe773c486138f13a426c0d056d7efaf62f4180fc4fdfa85aa688021a5a834af7fc972867b92c6f53d45ca40940ff70ba07d7c4f61c4cfc32c2880286ba60
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop
|
||||
|
||||
# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and
|
||||
# changes in FPCVER. It *does* change between minor versions of lazarus.
|
||||
FPCVER="3.2.0"
|
||||
|
||||
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
|
||||
HOMEPAGE="https://www.lazarus-ide.org/"
|
||||
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
|
||||
net-misc/rsync
|
||||
x11-libs/gtk+:2
|
||||
>=sys-devel/binutils-2.19.1-r1:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="strip" #269221
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||
local FPCVER=$(fpc -iV)
|
||||
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||
fi
|
||||
sed -i \
|
||||
-e "s;SecondaryConfigPath:='/etc/lazarus';SecondaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');g" \
|
||||
-e "s;PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');PrimaryConfigPath:='/etc/lazarus';g" \
|
||||
ide/include/unix/lazbaseconf.inc \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# TODO: Change to LCL_PLATFORM=qt5?
|
||||
# bug #732758
|
||||
LCL_PLATFORM=gtk2 emake \
|
||||
$(usex minimal "" "bigide") \
|
||||
-j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts -m0755
|
||||
dodir /usr/share
|
||||
# Using rsync to avoid unnecessary copies and cleaning...
|
||||
# Note: *.o and *.ppu are needed
|
||||
rsync -a \
|
||||
--exclude="CVS" --exclude=".cvsignore" \
|
||||
--exclude="*.ppw" --exclude="*.ppl" \
|
||||
--exclude="*.ow" --exclude="*.a"\
|
||||
--exclude="*.rst" --exclude=".#*" \
|
||||
--exclude="*.~*" --exclude="*.bak" \
|
||||
--exclude="*.orig" --exclude="*.rej" \
|
||||
--exclude=".xvpics" --exclude="*.compiled" \
|
||||
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||
--exclude="debian" --exclude="COPYING*" \
|
||||
--exclude="*.app" \
|
||||
"${S}" "${ED}"/usr/share \
|
||||
|| die "Unable to copy files!"
|
||||
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||
use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
|
||||
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||
|
||||
make_desktop_entry startlazarus "Lazarus IDE" "lazarus"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST libevdev-1.11.0.tar.xz 445316 BLAKE2B f3c1aa688d83f4a27abec23f18817bbdb7a5911cc30fab694271f620c23273cf20109598edb0049239e78a173baa20471ad1f25266eff34a50ed8898d7b86080 SHA512 b3c6b4a1532c5142f3684b920dcdd497a5368aec516e8c389e2c8f9d1eaba16c907b2a7f2c82a3c3ff89bb4d0ae5503c736098c095f9f1bc98f0668e99bf639d
|
||||
EBUILD libevdev-1.11.0.ebuild 1111 BLAKE2B a441858e338406d2466d8f74994df7df6031361cbf4eab9de748ce1ee59ef326df8337498ca8c3d3dd1b36b262eca501b0904b2605effed1c9190a5199bb1ac3 SHA512 d3172c7f843589d8bd373288af2b38cca467b71793ef323e22726e7e055c9f1a777e962f876814fdba66a4d337b762f0cd02e662fd6b7de00dafc4e1ba7c87b6
|
||||
EBUILD libevdev-9999.ebuild 1119 BLAKE2B 4817d8e335bd1f409e33813d03e19ff45727e6902a9340db6b67fc13f03cf2373e989f3ad0f69b77b8975ad90dec1f6c960aece32e92656d9a295b458c4e1caf SHA512 379a7786ee845919e75e1577aabc7f8460723ea2758de577789e73e3b30be0acaaf6461da790fc0ce96a5371e24abf0aa3e6f6e4fd01e1e8da6094eb1986ac59
|
||||
EBUILD libevdev-1.11.0.ebuild 1111 BLAKE2B f10e33cfa17f0171956e65da7125225ff1d39d6356f48451465523fab1bb0112f6842aad3986c7720ddfc240e6cdf9162a7394038893ffd23d0b44badea90013 SHA512 9903be70f11c5ea07ac6c4005ad698f3a93068f8d30118cdade48833423ae73ddee35660e2a7d54a4cd2309a5e865d30ad50347af8ea445529eb2b0b4473d831
|
||||
EBUILD libevdev-9999.ebuild 1119 BLAKE2B 7454c31abb9ea204726b25bdf082078716cca0e911e3012121c06cb37663ebf911e48765a5e718db2b65ace23cebcc305e34129576e4bb1ff863829520f21b6d SHA512 805de4364e75326dada41594b727af707f8b1682b990cc4871a475a545b43a4539e29b57b26bde18e72620d38f2dbae0139094e8d00b4c872b0bd174a83fe8b9
|
||||
MISC metadata.xml 231 BLAKE2B 6373a9c04316f777f87754fbb7cbc856493138d32bdb05d1015946ebbb359c4b8adb9372554097833d5c9a20e00e32fa0a1c90995d9299dd2215a2cadcccbb73 SHA512 bf6ad5078a6775cd61d257939d41ec53d006124475da2949c55b4b3ac138ec85a88b9068c5920b1e781fadda963939b8f120f8864d82e10cf50e09cc8052a6dc
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
|
||||
HOMEPAGE="https://lib.filezilla-project.org/"
|
||||
SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/21" # libfilezilla.so version
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/nettle:0=
|
||||
>=net-libs/gnutls-3.5.7:=
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-util/cppunit )"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
if ! test-flag-CXX -std=c++14; then
|
||||
eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
|
||||
eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
|
||||
eerror "to gcc-4.9 or an equivalent version supporting C++14."
|
||||
die "Currently active compiler does not support -std=c++14"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use ppc || use arm || use hppa; then
|
||||
# bug 727652
|
||||
append-libs -latomic
|
||||
fi
|
||||
|
||||
econf --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -type f -name "*.la" -delete || die
|
||||
}
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
WANT_AUTOMAKE=1.13
|
||||
|
||||
inherit autotools epatch multilib
|
||||
RESTRICT="test" # https://bugs.gentoo.org/show_bug.cgi?id=498250 https://bugs.launchpad.net/gentoo/+bug/1278023
|
||||
|
||||
DESCRIPTION="a C client library to the memcached server"
|
||||
HOMEPAGE="https://libmemcached.org/libMemcached.html"
|
||||
SRC_URI="https://launchpad.net/${PN}/1.0/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="debug hsieh +libevent sasl static-libs"
|
||||
|
||||
DEPEND="net-misc/memcached
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
libevent? ( dev-libs/libevent )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/debug-disable-enable-1.0.18.patch"
|
||||
epatch "${FILESDIR}/continuum-1.0.18.patch"
|
||||
epatch "${FILESDIR}"/${P}-gcc7.patch
|
||||
sed -i '6i CFLAGS = @CFLAGS@' Makefile.am
|
||||
sed -e "/_APPEND_COMPILE_FLAGS_ERROR(\[-fmudflapth\?\])/d" -i m4/ax_harden_compiler_flags.m4
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dtrace \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable sasl sasl) \
|
||||
$(use_enable debug debug) \
|
||||
$(use_enable debug assert) \
|
||||
$(use_enable hsieh hsieh_hash) \
|
||||
--libdir=/usr/$(get_libdir) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib*.la
|
||||
|
||||
dodoc AUTHORS ChangeLog README THANKS TODO
|
||||
# remove manpage to avoid collision, see bug #299330
|
||||
rm -f "${D}"/usr/share/man/man1/memdump.*
|
||||
newman man/memdump.1 memcached_memdump.1
|
||||
}
|
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
DIST alcotest-1.2.3.tar.gz 274177 BLAKE2B 1c38baf8932fe16ec3899cd1dd747099065cf93677271aad5ec33706ed7b6fd82dac84f9ed7518c56d178bf1f98a0b131d5e0f4745d47b07021f0fef932fde28 SHA512 0f3e2a5f56a17b6ddf5173d490b8a1aa2b23382bd0535d9d8be09fb8d4dd02dd1b92f9d00b957b11843d671262469e28b3be4f987538e373eb5e1f30c3a406a3
|
||||
DIST alcotest-1.4.0.tar.gz 279675 BLAKE2B 3cc50ab37a16948ceca9b5e6aa885fa50bbe0722c6132ed4991fb64c568253d9913287d1b9e5547f59a210d6803e2a83565f02950fb12cb91ed9f8e24d7864c1 SHA512 adb73c8b2be6f47cb406bbc49dba7dc86e990a60e2e68302592a24dcc24e11e76e2aa6fc2f003c1e4fdbb79744df6ab601daff9540cd7b0096ac9f9bff18098c
|
||||
EBUILD alcotest-1.2.3-r3.ebuild 668 BLAKE2B 6147c5b6a4f40d3ee6b04f57939751098d0558135534e523585c69aafc2c4b6074a66d65d7a5b8df01d419123d0fc68585a0f5315c66d8d9199c6c1ffb6ca51e SHA512 6b5ddbe10503affb3ed5149f05b4dfe5385d0c5a40ce110f7bf0efa13297c3c807003c13af2fea8b25474e9113a7b0853787ebf8112a60bbe99893302460b009
|
||||
EBUILD alcotest-1.4.0.ebuild 670 BLAKE2B 94f3c8fca7803c44ef9afa211fe5939804cde1ec84446b3b3621747a0671331c85582fdceb9fcb8b4433e65300605f3be44ea324c7d90d1a90e327288d54518c SHA512 5f779109fcd4382ca70ef8d06f55d6c212efb4002bdbadce6b4fda396cf30d21ec2dd952414565548de7fe92818ca4fecc953cbf13d677856028de944b1a151c
|
||||
EBUILD alcotest-1.4.0.ebuild 668 BLAKE2B 6147c5b6a4f40d3ee6b04f57939751098d0558135534e523585c69aafc2c4b6074a66d65d7a5b8df01d419123d0fc68585a0f5315c66d8d9199c6c1ffb6ca51e SHA512 6b5ddbe10503affb3ed5149f05b4dfe5385d0c5a40ce110f7bf0efa13297c3c807003c13af2fea8b25474e9113a7b0853787ebf8112a60bbe99893302460b009
|
||||
MISC metadata.xml 313 BLAKE2B 8f2a0fe29ed0694a9f3b13a3c093cec830ed9bdfc482cfcb78019fa7621f5982f4f158fd8d1505dc7972a9fd4386629433f679ed216a006176444bca75313911 SHA512 72de033c1529758f63f093c39f71336490bf8628cdd51f3c0d40fcafa4602d2a877601bd316851db15097747bf1342840f150d390cd093c843767f6785cdb3f2
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST base_quickcheck-0.14.0.tar.gz 66736 BLAKE2B eeaa92ec0eec4736be911128f46b8e4698034b2cb8afa131b31ee96a6edb5db0f28cfd611c101e4417305ee5a1babc2f869f4690b266218562a8fc50f5830acf SHA512 52333bee2591531665b8f8ad0fac1cdaa607b448d0a33b9b905cf98e00df5a700bf0a4ee3cdf3c06d7fcb2b5190363dd5908cc743b2854af9ce5c8d743e3fd58
|
||||
DIST base_quickcheck-0.14.1.tar.gz 66827 BLAKE2B 2a274fc0edab3daf7e3d671f7ea24912ecf273cf2b4cb4ab2bd74171a8848163526f97ed860b44aeaa9f3f3faabb22f4598bf604b33c8401733faa22ca7a3c93 SHA512 5d5a3a070a6903ffdd1e13754721d48a9df164f78bd569d3a18b3fd808354550e4603b76d5e48eaa6a4c4d3433f18bb29888478d640fde9ea004619448c3d7d0
|
||||
EBUILD base_quickcheck-0.14.0.ebuild 765 BLAKE2B 08d36c59b4f8fcf6bb43ed9e319dfe9e1a175eda8447b41435c257f34f42eb35c26d7e5a95a28f27060983911ee22ee36f08ec67d7ecc2760979c08019f3b6c2 SHA512 30c91a1b596cd0652c2f2084ccfd9b5e3dca9ef4227a14ab2d5d3aeb413311b8846911edc0830c6190841b5290693797dcd36015f83ae4f274f4405231d740e2
|
||||
EBUILD base_quickcheck-0.14.1.ebuild 771 BLAKE2B 1311571b056ff6dcf769bac74f8faaecda3cdfc3a3151e5634a4f6d11e107a6da651641be84589a2388deebf1a34592c49a7b2945ad7913a9f0c749428c620d1 SHA512 dcba6c81e7b31b531ecdffc1c06be95bd68023c30fe7b3d02e8252589d0a2af9de1ebb3bcc5a2d2805a5bb4da55b880abdc3b119a85d577b02f095be7367829b
|
||||
EBUILD base_quickcheck-0.14.0-r1.ebuild 790 BLAKE2B 4d37037084c2eab51d1704a61029fb7a764080b907bc4fb60e3ff9306293bdbdace802230cda8b306ee84c4c205ccddbb96dabb143a26d5eb9345e685a9fbb15 SHA512 8a831c31d1c909db60868f682bb8178ff1a1e13ac7f589ef5a004d47ad89ef8fe829fe1747ff8cb9aeb565ed3a97cf41cc0c560e9653c51d9ddf451088f832d1
|
||||
EBUILD base_quickcheck-0.14.1-r1.ebuild 771 BLAKE2B 78e8ba66b0d538d90c67768570be78944e304400d5b29ec564e5f0c9d5616c15fb5c21a4231cf0cfec292388dcdaba1cb0dd9f75020078d88e219d6fa954b81e SHA512 a55e364752125ff8e902684f4395ae72283999599d8b6eb70d8a75ce0980990022520a3740d5c882d9991aeea8712894a0296573710d26cf2604a3d854c3f50d
|
||||
MISC metadata.xml 336 BLAKE2B 6e0fd85af8abd5f25bcaadbeb62f0971f6ed38780d6b045431cb258cb47bb41c958c596b01d6b5b8ba569a55976f15113c1655125c8b0d11a3b73597069e1ca1 SHA512 9cfe316d1df1581c39124da69fb2ea008e7c517eaf4bd2f46d4ef7b8d68b9c150425b878ec132f19bc8574b3ff41bffcf0d2f8a04955573b1deaf26391b53ee6
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue