parent
20ab39ba47
commit
cd0419132a
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="http://ansible.com/"
|
||||
SRC_URI="http://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/CVE-2017-7481.patch" )
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
}
|
@ -0,0 +1,135 @@
|
||||
From ed56f51f185a1ffd7ea57130d260098686fcc7c2 Mon Sep 17 00:00:00 2001
|
||||
From: James Cammarata <jimi@sngx.net>
|
||||
Date: Mon, 8 May 2017 10:37:10 -0500
|
||||
Subject: [PATCH] Fixing security issue with lookup returns not tainting the
|
||||
jinja2 environment
|
||||
|
||||
CVE-2017-7481
|
||||
|
||||
Lookup returns wrap the result in unsafe, however when used through the
|
||||
standard templar engine, this does not result in the jinja2 environment being
|
||||
marked as unsafe as a whole. This means the lookup result looses the unsafe
|
||||
protection and may become simple unicode strings, which can result in bad
|
||||
things being re-templated.
|
||||
|
||||
This also adds a global lookup param and cfg options for lookups to allow
|
||||
unsafe returns, so users can force the previous (insecure) behavior.
|
||||
---
|
||||
docs/docsite/rst/intro_configuration.rst | 14 ++++++++++++++
|
||||
examples/ansible.cfg | 8 +++++++-
|
||||
lib/ansible/constants.py | 1 +
|
||||
lib/ansible/template/__init__.py | 11 +++++++++--
|
||||
4 files changed, 31 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/docs/docsite/rst/intro_configuration.rst b/docs/docsite/rst/intro_configuration.rst
|
||||
index 3647e22..259e107 100644
|
||||
--- a/docs/docsite/rst/intro_configuration.rst
|
||||
+++ b/docs/docsite/rst/intro_configuration.rst
|
||||
@@ -86,6 +86,20 @@ different locations::
|
||||
Most users will not need to use this feature. See :doc:`dev_guide/developing_plugins` for more details.
|
||||
|
||||
|
||||
+.. _allow_unsafe_lookups:
|
||||
+
|
||||
+allow_unsafe_lookups
|
||||
+====================
|
||||
+
|
||||
+.. versionadded:: 2.2.3, 2.3.1
|
||||
+
|
||||
+When enabled, this option allows lookup plugins (whether used in variables as `{{lookup('foo')}}` or as a loop as `with_foo`) to return data that is **not** marked "unsafe". By default, such data is marked as unsafe to prevent the templating engine from evaluating any jinja2 templating language, as this could represent a security risk.
|
||||
+
|
||||
+This option is provided to allow for backwards-compatibility, however users should first consider adding `allow_unsafe=True` to any lookups which may be expected to contain data which may be run through the templating engine later. For example::
|
||||
+
|
||||
+ {{lookup('pipe', '/path/to/some/command', allow_unsafe=True)}}
|
||||
+
|
||||
+
|
||||
.. _allow_world_readable_tmpfiles:
|
||||
|
||||
allow_world_readable_tmpfiles
|
||||
diff --git a/examples/ansible.cfg b/examples/ansible.cfg
|
||||
index e283064..77ba5d2 100644
|
||||
--- a/examples/ansible.cfg
|
||||
+++ b/examples/ansible.cfg
|
||||
@@ -282,7 +282,7 @@
|
||||
# Controls showing custom stats at the end, off by default
|
||||
#show_custom_stats = True
|
||||
|
||||
-# Controlls which files to ignore when using a directory as inventory with
|
||||
+# Controls which files to ignore when using a directory as inventory with
|
||||
# possibly multiple sources (both static and dynamic)
|
||||
#inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo
|
||||
|
||||
@@ -294,6 +294,12 @@
|
||||
# Setting to True keeps them under the ansible_facts namespace, the default is False
|
||||
#restrict_facts_namespace: True
|
||||
|
||||
+# When enabled, this option allows lookups (via variables like {{lookup('foo')}} or when used as
|
||||
+# a loop with `with_foo`) to return data that is not marked "unsafe". This means the data may contain
|
||||
+# jinja2 templating language which will be run through the templating engine.
|
||||
+# ENABLING THIS COULD BE A SECURITY RISK
|
||||
+#allow_unsafe_lookups = False
|
||||
+
|
||||
[privilege_escalation]
|
||||
#become=True
|
||||
#become_method=sudo
|
||||
diff --git a/lib/ansible/constants.py b/lib/ansible/constants.py
|
||||
index da45037..40d1038 100644
|
||||
--- a/lib/ansible/constants.py
|
||||
+++ b/lib/ansible/constants.py
|
||||
@@ -236,6 +236,7 @@ def load_config_file():
|
||||
["~", ".orig", ".bak", ".ini", ".cfg", ".retry", ".pyc", ".pyo"], value_type='list')
|
||||
DEFAULT_VAR_COMPRESSION_LEVEL = get_config(p, DEFAULTS, 'var_compression_level', 'ANSIBLE_VAR_COMPRESSION_LEVEL', 0, value_type='integer')
|
||||
DEFAULT_INTERNAL_POLL_INTERVAL = get_config(p, DEFAULTS, 'internal_poll_interval', None, 0.001, value_type='float')
|
||||
+DEFAULT_ALLOW_UNSAFE_LOOKUPS = get_config(p, DEFAULTS, 'allow_unsafe_lookups', None, False, value_type='boolean')
|
||||
ERROR_ON_MISSING_HANDLER = get_config(p, DEFAULTS, 'error_on_missing_handler', 'ANSIBLE_ERROR_ON_MISSING_HANDLER', True, value_type='boolean')
|
||||
SHOW_CUSTOM_STATS = get_config(p, DEFAULTS, 'show_custom_stats', 'ANSIBLE_SHOW_CUSTOM_STATS', False, value_type='boolean')
|
||||
NAMESPACE_FACTS = get_config(p, DEFAULTS, 'restrict_facts_namespace', 'ANSIBLE_RESTRICT_FACTS', False, value_type='boolean')
|
||||
diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py
|
||||
index 5d551d7..49de8aa 100644
|
||||
--- a/lib/ansible/template/__init__.py
|
||||
+++ b/lib/ansible/template/__init__.py
|
||||
@@ -252,6 +252,9 @@ def __init__(self, loader, shared_loader_obj=None, variables=dict()):
|
||||
loader=FileSystemLoader(self._basedir),
|
||||
)
|
||||
|
||||
+ # the current rendering context under which the templar class is working
|
||||
+ self.cur_context = None
|
||||
+
|
||||
self.SINGLE_VAR = re.compile(r"^%s\s*(\w*)\s*%s$" % (self.environment.variable_start_string, self.environment.variable_end_string))
|
||||
|
||||
self._clean_regex = re.compile(r'(?:%s|%s|%s|%s)' % (
|
||||
@@ -574,6 +577,7 @@ def _lookup(self, name, *args, **kwargs):
|
||||
|
||||
if instance is not None:
|
||||
wantlist = kwargs.pop('wantlist', False)
|
||||
+ allow_unsafe = kwargs.pop('allow_unsafe', C.DEFAULT_ALLOW_UNSAFE_LOOKUPS)
|
||||
|
||||
from ansible.utils.listify import listify_lookup_plugin_terms
|
||||
loop_terms = listify_lookup_plugin_terms(terms=args, templar=self, loader=self._loader, fail_on_undefined=True, convert_bare=False)
|
||||
@@ -510,7 +510,7 @@
|
||||
raise AnsibleError("An unhandled exception occurred while running the lookup plugin '%s'. Error was a %s, original message: %s" % (name, type(e), e))
|
||||
ran = None
|
||||
|
||||
- if ran:
|
||||
+ if ran and not allow_unsafe:
|
||||
from ansible.vars.unsafe_proxy import UnsafeProxy, wrap_var
|
||||
if wantlist:
|
||||
ran = wrap_var(ran)
|
||||
@@ -600,6 +605,8 @@ def _lookup(self, name, *args, **kwargs):
|
||||
else:
|
||||
ran = wrap_var(ran)
|
||||
|
||||
+ if self.cur_context:
|
||||
+ self.cur_context.unsafe = True
|
||||
return ran
|
||||
else:
|
||||
raise AnsibleError("lookup plugin (%s) not found" % name)
|
||||
@@ -656,7 +663,7 @@ def do_template(self, data, preserve_trailing_newlines=True, escape_backslashes=
|
||||
|
||||
jvars = AnsibleJ2Vars(self, t.globals)
|
||||
|
||||
- new_context = t.new_context(jvars, shared=True)
|
||||
+ self.cur_context = new_context = t.new_context(jvars, shared=True)
|
||||
rf = t.root_render_func(new_context)
|
||||
|
||||
try:
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Tool for managing events and logs"
|
||||
HOMEPAGE="https://www.elastic.co/products/logstash"
|
||||
SRC_URI="https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
||||
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${MY_PN}
|
||||
enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} ${MY_PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
||||
keepdir "/var/log/${MY_PN}"
|
||||
|
||||
insinto "/usr/share/${MY_PN}"
|
||||
newins "${FILESDIR}/agent.conf.sample" agent.conf
|
||||
|
||||
insinto "/opt/${MY_PN}"
|
||||
doins -r .
|
||||
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${MY_PN}.logrotate" "${MY_PN}"
|
||||
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" "${MY_PN}"
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" "${MY_PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "The default user changed from root to ${MY_PN}. If you wish to run as root (for"
|
||||
ewarn "example to read local logs), be sure to change LS_USER and LS_GROUP in"
|
||||
ewarn "${EROOT%/}/etc/conf.d/${MY_PN}"
|
||||
einfo
|
||||
einfo "Installing plugins: (bug #601294)"
|
||||
einfo "DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-output-gelf"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST mktwpol-0.2.6.tar.gz 55328 SHA256 e1adfe151d4bf98eb28d4f4c6cd9303ec9e2cf3a8c5efc3f4fa9fc38a2ac62b7 SHA512 58d739bf789f7e25678adb19cc2d05bf98920d4f42a761f2c1fc45c72ac9080def9f2533f63c10dfea50f5d8428f7d4a19760a38dcc34bff9aaeb6fdd7e89434 WHIRLPOOL 33170e4fa54e99644a32977637fd2d47ee6739150cd70a2e381cb2ecba89b2fe20bcf6b8566f607a2dc45d725feb0ec7db63beb13903373461feefb158f9bcde
|
||||
DIST mktwpol-1.0.0.tar.gz 59748 SHA256 1aad28f5b90bfb4ad7ae0218470b7e7e046f1419c86ea6ae6f0e6a0210238e9c SHA512 f7a04bb3acdada6407e3e422e26ba2c0c454f10011a2848d0c8e962996e135a381c893f7fcdea67e1a3a23f503eb2071448beca05b7ca90e179d2a28173a973e WHIRLPOOL 997488dcee1ce4b55beee3225af58bc88c23420d9458eebd6a07b5ecb50efae4476efac3489527187cb580d3868aa0a179674360b7e19df301453b50434e763a
|
||||
EBUILD mktwpol-0.2.6.ebuild 1327 SHA256 53b53f10aee15f6f8fd3c72687b6d5da08eb647ed1b01c0f750df56df03fcdb4 SHA512 5af5b285e3cd9cf4197d7b30c485339dac7dcd0ecb7499e320e1df24514827995d2d951b53b669dee688bad0577aa004d9fed27dce7c0bc6b66a0b57a71179fc WHIRLPOOL 26718ffab8b3acbadba0dbeabc184633ee2a6e87221d16f448ff9f91d77f4f3b07eb7c7be45abeaead17d843d0eb1c65a8457ec8bf6db623f58f8e89e2544517
|
||||
EBUILD mktwpol-1.0.0.ebuild 1328 SHA256 4974946bd0db33e6d4b488bc9c26b35417dc07ecb98f327a67cda63f5ba69e9b SHA512 7e8b9904b26296ceed13da5421d0a776217e022669a543963615f1c0a4b5c823f6c7ed5aabbe2a11e3ec7658b29e8a593c7f57d0d699727bb5013bb31c61c212 WHIRLPOOL 106ae94d16189d5de821099eb50ecbe236368f2ab9e6291b5f0a8eb7af429a5076d5d1e9cb25437e08746db39cecf63512ba5f613dab9331a14a773673afbdbc
|
||||
EBUILD mktwpol-1.0.0.ebuild 1327 SHA256 53b53f10aee15f6f8fd3c72687b6d5da08eb647ed1b01c0f750df56df03fcdb4 SHA512 5af5b285e3cd9cf4197d7b30c485339dac7dcd0ecb7499e320e1df24514827995d2d951b53b669dee688bad0577aa004d9fed27dce7c0bc6b66a0b57a71179fc WHIRLPOOL 26718ffab8b3acbadba0dbeabc184633ee2a6e87221d16f448ff9f91d77f4f3b07eb7c7be45abeaead17d843d0eb1c65a8457ec8bf6db623f58f8e89e2544517
|
||||
MISC ChangeLog 2358 SHA256 59077479696b6b2ffe104199ff34585a3582d310de133d79f16e7d329128a9de SHA512 02e7f8f81ec8c6d762f4fc117e3297a2d373f4c7a8a2d2f633b118848eef602e8652215c09353f5962ca75e8a11de1a11634d09d7da0ef448c47d254bd6c6025 WHIRLPOOL 116e74a3261e759474c9ea7be4d47ffa4077421aa98bbae653be0582d555a9ec259445410bc96f7719d84b762883b4a3855cd2da8edfc591dc93743ba7098bd6
|
||||
MISC ChangeLog-2015 2288 SHA256 488ded941b7e60015321af413000ce215d834f7f8ebab500f38a610d61fca947 SHA512 9cd656c85147e2e702ef9acea35d84239bb127dcd8de5725c41881c25b09d1a7f2ca8a7891d2197d8c78f7975e302cea9c181a8c3d713f9df152f4a3e9cc313b WHIRLPOOL 5d422b84212522ee49b51f7dd2c5fddd588734a01a8f203e31400eaecb551d0e94e638c6daee4d9cf240b7d77968f0ea4b3be9abd0da2851a0be4b2dda5c40d5
|
||||
MISC metadata.xml 1814 SHA256 f00d66c77e1bb1e989f13fc15dd9204c32894fd0272b785b636ff9f6b85a4ed8 SHA512 861a3e0c87dee0750caff734aa96708c72d6cb8a79b33a29b8aff5442b11e3e9855beb3d80428f3d6ab91542b3d1df033f55dc6942150d1eabc02fff46139e50 WHIRLPOOL 8a743adf0749362add25a22178ba18a5066b36510f467af3c945bcbf00a421a9ab73372d565373e1250e35ab74e7a8a466d3a423d81c8ee815590e207c92a01c
|
||||
|
@ -1,188 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ~ppc ~sparc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.7.0
|
||||
>=dev-ruby/facter-1.6.2 <dev-ruby/facter-3
|
||||
dev-ruby/json
|
||||
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"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/mocha )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
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"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# Avoid Rails specs to avoid this dependency and because they
|
||||
# currently fail against Rails 4.1.
|
||||
find spec -type f -name '*rails*' -o -name '*active_record*' | xargs rm || die
|
||||
rm -r spec/unit/rails || die
|
||||
rm spec/unit/parser/collector_spec.rb || die
|
||||
|
||||
# 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 spec/integration/parser/future_compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
#${RUBY} install.rb --destdir="${D}" install || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
#systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/log/puppet
|
||||
fowners -R puppet:puppet /var/log/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppetmaster.service"
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
fperms 0750 /var/lib/puppet
|
||||
fi
|
||||
fperms 0750 /etc/puppet
|
||||
fowners :puppet /etc/puppet
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 2.x then we strongly suggest you to read:"
|
||||
elog "http://docs.puppetlabs.com/guides/upgrading.html"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.6.5
|
||||
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"
|
||||
|
||||
ruby_add_bdepend "
|
||||
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
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
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"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-4.4.2.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
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
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 emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 3.x then please move everything in /etc/puppet to"
|
||||
elog "/etc/puppetlabs/puppet"
|
||||
elog "Also, puppet now uses config directories for modules and manifests."
|
||||
elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html"
|
||||
elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html"
|
||||
elog "for more information."
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.6.5
|
||||
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"
|
||||
|
||||
ruby_add_bdepend "
|
||||
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
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
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"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-${PV}.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
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
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 emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 3.x then please move everything in /etc/puppet to"
|
||||
elog "/etc/puppetlabs/puppet"
|
||||
elog "Also, puppet now uses config directories for modules and manifests."
|
||||
elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html"
|
||||
elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html"
|
||||
elog "for more information."
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,174 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.6.5
|
||||
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"
|
||||
|
||||
ruby_add_bdepend "
|
||||
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
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
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"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-4.7.0.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
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
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 emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 3.x then please move everything in /etc/puppet to"
|
||||
elog "/etc/puppetlabs/puppet"
|
||||
elog "Also, puppet now uses config directories for modules and manifests."
|
||||
elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html"
|
||||
elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html"
|
||||
elog "for more information."
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,10 +1,8 @@
|
||||
AUX tripwire 466 SHA256 222c078588d03394c4502a884d6049f210b25d7f826e9bb29a69d68a01b40eac SHA512 1df37364a84ab26ca0a3f2637e9f4938333c394979c2ccadb69401b7e6a93d03911ce737b25bb6e76c1963e4b7eaffd35b3551aa141b51bc9b3a8a00d9c828cf WHIRLPOOL afb61e9885b1c7d0214f03e35af6f02a5dca77a68f74441d6c84091ef7a7f9ee0d5a6b70e1a0ac2cf5f75f4739185ab3c2eaf7f47b2795f1c7a7bdaf347de36d
|
||||
AUX tripwire.txt 11492 SHA256 532a53633dca25ff96b13518e13c81744c191f4ec7ec28d46d8d865f74d77ee6 SHA512 ec53b2f71fb33f227628e1160a72fecf4a1aca7ee58b750945e7c0d0ce756a37666a02fe9e8ec235055fe6d28e1d20e77a449ae229f5d5d2349eaffe07827d47 WHIRLPOOL b00973d96255889bd8084c6f8d3a1718acb3bfdf41897b2de7839972fdf41f1146a6ed49ea9b999d060f75b13ed84b68123f1523fe5de8779d2c8a465c6e8960
|
||||
AUX twcfg.txt 604 SHA256 31d7d51cf90ee95627e27732524a3ba2b90f074ceda23d0035c52d2b02d90846 SHA512 c8a568638d5a18bb9508ee6f70aea815b8bfdb9efbf7823cdad59890a617bbe941454f6f4622e38e4ac4622e1d611c9fc085d73aec5a23b5c13ae7f1d783b388 WHIRLPOOL a290ac4d1e421890b99c9b4b78088a5ae5abd52d85c0e96e2398f89a97d8f0a2b958b3a7d0f1c8a2a7df0bc8e7cf8d71fbeb3d4557619f554a787d3718b4aa6e
|
||||
DIST tripwire-2.4.3.4.tar.gz 968065 SHA256 ca0828ed624791cbe0f81f47e10f35866b73695ccd264b8341e2087b63766536 SHA512 ff47443c1c0c0248808e51df65f07aa2cbcc1d0901cc1a65830db78a1e7c4aa62c82e45827cadb1ab70281a2d4194ee3c4007050652efef9e328a98bc36f2995 WHIRLPOOL 01b3a7cdbac632928e006f21546e9040a1547ac14c9aad7cfef14f24abe0a6f333d562d1442289f79cf81bdce3ae116234890381861c9da73aa3b8828a10d7f3
|
||||
DIST tripwire-2.4.3.5.tar.gz 965014 SHA256 4bb0b400d8f5d7f8762ffb87a683f113f8c77186689cc63b8cedbbc628c9c33b SHA512 7aef0e7d38f4b6966a806a4e556636c7b2477f4ea5451e89f1749c1535a489c2f490ea13898edff5d7786acf572f77d04430115b8ddd4c6a03c38382feb45269 WHIRLPOOL f5f06d2f509e8047ede81226d3179f253e32aae4193817ab1000dd843f4b9810f6aacc6cd9c0bdc8a0c6835fdb11f79c85838a3b799d8c6565861d43dd433a99
|
||||
EBUILD tripwire-2.4.3.4.ebuild 2407 SHA256 e92dcd221898e4735b4b352ad222ad3b5c78c5475276cb8d15b28b5142641b17 SHA512 a16a7873ce32ee7c86afb14488c439257f5697b84dd20fc9321ab5bb99603b0a614202ef37916e2ce3df3d6b777af06c3e680caec160f9d50add847f06aa9d59 WHIRLPOOL 8da61324fc67f11ef545638b75667f56b33715df2130c02822f28b91783e69778aae12775dfabe04115eea5779b760d6607138887ba9d7841680bc988eb157b9
|
||||
EBUILD tripwire-2.4.3.5.ebuild 2408 SHA256 f0afaf8e38bb9ab548d455a96c2f8c44fd9317eeb5970b8e490b71de3f1872a7 SHA512 b35e263e3c204403f9d73574d2fc7028cb4e9eb24a0401af9d0e1285eff74c75a7f2eaeb5d55b563b72c6a2235d3635d1cac2290cdfc8a0c1547b41ab9e28070 WHIRLPOOL 05802919dc91ff27e7c13e8b019fde1726ed9a824d98111bdb5379d0ee058a132a54bb8f76d9006f8858a0d83938da82c71e21e450a490a1f6c3150522540da5
|
||||
EBUILD tripwire-2.4.3.5.ebuild 2407 SHA256 e92dcd221898e4735b4b352ad222ad3b5c78c5475276cb8d15b28b5142641b17 SHA512 a16a7873ce32ee7c86afb14488c439257f5697b84dd20fc9321ab5bb99603b0a614202ef37916e2ce3df3d6b777af06c3e680caec160f9d50add847f06aa9d59 WHIRLPOOL 8da61324fc67f11ef545638b75667f56b33715df2130c02822f28b91783e69778aae12775dfabe04115eea5779b760d6607138887ba9d7841680bc988eb157b9
|
||||
MISC ChangeLog 4534 SHA256 70b8e927eb118da4b9f8fc0a3b45d39c53d75f2c2fcff4088f4292464784a449 SHA512 42e38df0a2cc9a95dbfe37299321655bfa637f4c9a9361508cbcfb3e9e57c313d426bbb8af69d0f96cfc1f299e741f6694593c748e95e9635c17e2dd3d0a4af5 WHIRLPOOL 1b86ebc590ff89d1a79b0097b6db8d7d99c0248dc09a2f2103a6f8aa976144f117a83912ba8db5f3a9b831e801e2358181cae976cc2f0b51c67b91fec2d89d2b
|
||||
MISC ChangeLog-2015 10548 SHA256 7160399cc44557c92981c50f67f726c44103810f2cdd92173d2f636193723324 SHA512 0e6332b6021f6ffe3f0bcdaccc13b2f5af85b8d135e263e42b6b2c3a4caa3e5dbd8efae01e9c04ab3daa977d1ac7e977542c96718443a5a94d2e04e60be9b110 WHIRLPOOL f4b70c099751eab07d4bb85b9effb68b443c870c5eecad70e6ec42441049d26e567abdc4659122a6cc8263efb0dceddd58f798bdd01906dce1f6bf9bb74c33ba
|
||||
MISC metadata.xml 1616 SHA256 0b739488758f343224051751110c9a5ea9189df298e31c471a8a7929d5d28de1 SHA512 ae04a581b34beb18adb7aea67d9ec17dc5cd897d3e974515c5c59e2e5e8391f86238bcaa59967aa7413c99ce56ae670a7badf8008ed8b6926f7f0a4eab0b83a2 WHIRLPOOL f6e75fbe709dcb4b6d11293edac615288f750b66a654eee24d34981da4ffa0c677fc50ec39262e702c4122ef2998765a827b6e8d639e8266cb358d31b69f9efd
|
||||
|
@ -1,79 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Open Source File Integrity Checker and IDS"
|
||||
HOMEPAGE="http://www.tripwire.org/"
|
||||
SRC_URI="https://github.com/Tripwire/tripwire-open-source/archive/${PV}.tar.gz -> ${PF}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
|
||||
IUSE="libressl selinux ssl static +tools"
|
||||
|
||||
DEPEND="sys-devel/automake
|
||||
sys-devel/autoconf
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
RDEPEND="virtual/cron
|
||||
virtual/mta
|
||||
selinux? ( sec-policy/selinux-tripwire )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
PDEPEND="tools? ( app-admin/mktwpol )"
|
||||
|
||||
S="${WORKDIR}/tripwire-open-source-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# tripwire can be sensitive to compiler optimisation.
|
||||
# see #32613, #45823, and others.
|
||||
# -taviso@gentoo.org
|
||||
strip-flags
|
||||
append-cppflags -DCONFIG_DIR='"\"/etc/tripwire\""' -fno-strict-aliasing
|
||||
econf $(use_enable ssl openssl) $(use_enable static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin "${S}"/bin/{siggen,tripwire,twadmin,twprint}
|
||||
doman "${S}"/man/man{4/*.4,5/*.5,8/*.8}
|
||||
dodir /etc/tripwire /var/lib/tripwire{,/report}
|
||||
keepdir /var/lib/tripwire{,/report}
|
||||
|
||||
exeinto /etc/cron.daily
|
||||
doexe "${FILESDIR}"/tripwire
|
||||
|
||||
dodoc ChangeLog policy/policyguide.txt TRADEMARK \
|
||||
"${FILESDIR}"/tripwire.txt
|
||||
|
||||
insinto /etc/tripwire
|
||||
doins "${FILESDIR}"/twcfg.txt policy/twpol-GENERIC.txt
|
||||
|
||||
fperms 750 /etc/cron.daily/tripwire
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||
elog "Tripwire needs to be configured before its first run. You can"
|
||||
elog "do this by manually editing the twpol-GENERIC.txt file shipped with"
|
||||
elog "the package to suit your needs. A quickstart guide is provided"
|
||||
elog "in tripwire.txt file to help you with this."
|
||||
elog "To configure tripwire automatically, you can use the twsetup.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package is"
|
||||
elog "installed for you by the \"tools\" USE flag (which is enabled by"
|
||||
elog "default."
|
||||
else
|
||||
elog "Maintenance of tripwire policy files as packages are added"
|
||||
elog "and deleted from your system can be automated by the mktwpol.sh"
|
||||
elog "script provided by the app-admin/mktwpol package. This package"
|
||||
elog "is installed for you if you append \"tools\" to your USE flags"
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX b5i2iso-0.2-segfault.patch 388 SHA256 ecd63e3093cff7670b1c28c77277604c740a458c060a8ea7ebaa2009210b6841 SHA512 133fb1c4da9391e1465f0c820fea2038859c351dbf9b9a8de293294c66857a68f0f544bbca9b8a927a615cc3488a691db6a0bb532bea98362904876634966a5f WHIRLPOOL fcc5f376f9eaf27d31887b28ea4ed3bdcaaf4d29548a307f10cf2b14a9d5c0cca19313ec8d6dba31f607a4c715554d701def5d01ebb2633c9f58208cab64e82d
|
||||
DIST b5i2iso.tar.bz2 7503 SHA256 5fbf0522fa4c1e1c606ceb58c0711c5294ac4eb641ad5d8d599d7c2fe9999d31 SHA512 2ec6ce30225370898aee9876937b70ee38ed68b6515bef13eb010f1ef1970894995461d5dc5f44ac24d2e7e682774e4fc3c6d2bdde8f744129a3f6103b50f9e4 WHIRLPOOL 9ad871dcaae09cbbee3bb255b1ac32043bad73e0df586c9141b7a8e098587a90576fed29c364f839735577caf60605c5a355bc774009ef962d3edc721abbcc00
|
||||
EBUILD b5i2iso-0.2-r1.ebuild 583 SHA256 8a9875b001667c9bd73407a9d1466bd24af7d661e83a4f56e0a40e67631bb3fa SHA512 459c452c318d2112fd67e23e547b5d893f9fc09852da82aa61da16f296340cad155a4087505cc8b548c7788370fd312bfd73b6611582f7edcb5725acb58ba1af WHIRLPOOL 0b26d0ac50e41536ece0bbf073a5f8f7b687c317c548d9e83caeb99d5d165948ac21bee70023edd47bb25cb832fece406a85bb89d95c56855c43499b6d7705be
|
||||
EBUILD b5i2iso-0.2.ebuild 479 SHA256 6476ce87233d6479ac0600632fffd1f95de9f9ba11b51cbc86644d71158428df SHA512 97d8b01c2a030cbc52b390ef2983efb15bf83f929ea1af3c39be4212312a664f9231e2a90868255f8fc9acbf533c6b5f16970219c480e74725a0566e55080f44 WHIRLPOOL 77f17e064836ef0abfa25887142a1baabf5006c48dfb267df9b8b0a135793d8fce53275eac88192977c183f2533840121805f193692bb48af99513db224fa7e5
|
||||
MISC ChangeLog 2926 SHA256 53e16d0d945b15e52dedb3c4d88754e70cb46aa73e5f6d8fe68dd2629ef7282a SHA512 9ddd7f2be6c5812bfc5e5ee801a4f183086982e82228c9e4efcbf37d45c0abb14a806b5409b7b271d173484e52dc765e10c59ae16eba046ef7f58652ab8ecb04 WHIRLPOOL e461deefa2cd1f44bf3cda8a845c8f680032eb272cde3f1fdc90583e3f3b66b8ea1dd4ceaf553cf9f36b9c3569f1ae5d36b81f73e5b0abc324fcc8094adddbb5
|
||||
MISC ChangeLog-2015 1409 SHA256 fcaab851c7b16da84b036c3e8e80751e14f5df19478fcc5fc444eb276fdc82b3 SHA512 5115dd4bcda6bafe082c23076953597d3f54c58cda067569a6c25a2ac2e1fc5c9c12325705d1365550979b88ce7b02f3f0d000051f72424bb5183d17f2b0b298 WHIRLPOOL ce2a3a5366d67af2d5a04ff1611f817218fc7923e15dbf76f142495e0646d407f72bae04cea09f45ebddd15214398935efcd00470cbe128f85f17f6b7eaaa849
|
||||
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
|
||||
MISC metadata.xml 261 SHA256 20f1ca6cb98760618ecbe19fee0e5de0a6eaf8f8dc10903253e17302c8bfb21c SHA512 e4423d8f1573689a066e7a664b0a134f9a5059c2a5fcc3e2ca9a5ecd432e1fbd8fbcef2865a342d2cc4f375d3586002c23f691f1e131c6eb92701c41375c37d8 WHIRLPOOL 1d5c2c1f99ae73f62615630a461d60a75c1ed0aee993f0ce4e648111347d139fa2ab78e45c1bafd47acb30fa901f8c164e8c783c2d12a25dd14196591f2f2916
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert CD images from b5i (BlindWrite) to iso"
|
||||
HOMEPAGE="https://web.archive.org/web/20100116120705/b5i2iso.berlios.de"
|
||||
SRC_URI="mirror://gentoo/${PN}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x64-macos"
|
||||
PATCHES=( "${FILESDIR}/${P}-segfault.patch" )
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${LDFLAGS} ${CFLAGS} src/${PN}.c -o ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
--- b5i2iso/src/b5i2iso.c
|
||||
+++ b5i2iso/src/b5i2iso.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -45,6 +46,10 @@
|
||||
}
|
||||
|
||||
fsource = fopen(argv[1],"rb");
|
||||
+if (fsource == NULL) {
|
||||
+ printf("can't open %s: %s\n", argv[1], strerror(errno));
|
||||
+ exit(EXIT_FAILURE);
|
||||
+}
|
||||
fdest = fopen(destfilename,"wb");
|
||||
|
||||
fseek(fsource, 2352, SEEK_CUR);
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>yegortimoshenko@gmail.com</email>
|
||||
<name>Yegor Timoshenko</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX ccd2iso-0.3-headers.patch 221 SHA256 805d7c9ed82bb6b2574f0b19947a82163338bd72280a7996029e7fb9b24230fe SHA512 3195830b13425ce4e7b4138786e1776f05f72322326bb06ade1f334134b0410336bd900256a925aa282171893853617c33fb7a98882cd74de85a193c8c50e27e WHIRLPOOL 0eeebbf47a7e892bc40d643969b8c2bcdb6c57da11b141e00e4d65cdaa8ff60e5f97b28b0eb965654deae8621cca4df06b964ff690b52f15fe6814f40afa282b
|
||||
AUX ccd2iso-0.3-headers.patch 240 SHA256 486af917b9cf56d5cbf7a54bfe3b448e0602bb8fbe05f8f893d4b45c27545c38 SHA512 e0d334fb378d5ad0dc25653ab810d3c55a0f8c19a03b4b2180352a20e2b9e405209b37448f57a72fd7c2628601e6f5528118db3fe9e431d580c7d9443bb440a3 WHIRLPOOL c61f1ca6d2cbe5d8de6431c1700f0972c11538d50f6cac7329e0527c592fc87ac377a77af2d4f77e98b691f9472ec5e5983e124f355d5825863da8bf1bb3ce8c
|
||||
DIST ccd2iso-0.3.tar.gz 158221 SHA256 f874b8fe26112db2cdb016d54a9f69cf286387fbd0c8a55882225f78e20700fc SHA512 40e0e5bd792c851dd0549a08a3a0d7226cc05893316dc9575d4c9131dce758d992081355de569e3e66dca310545bf3a17c1cd6431ab97e790fdbe5b19c09adc1 WHIRLPOOL 315b2063a4d1075da6cf95b0a7a3ce1fbb5e6737ccdf1a622ebe9640a93239233a671f55c1710218b33a41a44827263fd4286bc2a4c7a3d134008d508af67324
|
||||
EBUILD ccd2iso-0.3.ebuild 622 SHA256 c5de274bb89ff5907f26f222ba7f42ce709027e30cd0fa27736756153a5aa680 SHA512 016ca7df1051febd8dbd72b89c47e008178da4603a37e5908e7a69afc4f85b1abd978068fa6504a2b8b1e9a9cc7d6327574f5caa2fcc95978dcbbd6210d5c71d WHIRLPOOL 09d25af9664b8037390490793220ca760cc67440b1ce19a6038086167404ff37b8ca754dce4b0e119399f5fdcff21ae18e172a023608cf23083faf7a82a606b1
|
||||
EBUILD ccd2iso-0.3.ebuild 552 SHA256 c973df2b9bb1fac620cc3615095df22ec179d8d0c6c21445681163449f897377 SHA512 933868f8f4c257195b488eb774d9d2d805345538da81bf1e65bb230eb3a8f577f2d68a58fbcc78bf24df0da9c0a85b2edbbc1108dc04ccabadf85c0e1cb1ee40 WHIRLPOOL dd00ad4e027155ada5c9ef49b19302a75c9b36fcde0fafbafdb2e75989b7cce638c07a06d7e8907714b7b8f936bd352d16ac505f155ee66a02bb7ead4b2dc24e
|
||||
MISC ChangeLog 2595 SHA256 ee50fdd4b46efb472a49fee91a2d302b90121e91a5be8fe134b28fe749f27a37 SHA512 b23391b84630988d82f3c180f479361f5de46efd6a970ca9c9212efaff2d009b394bed9e37838f1a5fe2c2849014fa30f1f180a98c27014a4c8eeba8cc975378 WHIRLPOOL 624ebe21c8d5e27ed06a94819606b8479226b7facf7ffcb0e7d1af368e52cde0a0fb94f4ed3394f48d2dedc09e65f7be6018000d1e4ee9abce063df91432483a
|
||||
MISC ChangeLog-2015 1910 SHA256 1253f7d83ebc60b9a1bcca33c9ebff3707fd308eb8fdea20b47f54e5982a0e0b SHA512 e109054d698e231da430d44fcd1362de3dd3d8b6b46d705fd0ddb2b7f237181c01f1be6cf2fd25459a8a7437fb735702c7c57406b91c7be112fe4171335cf74c WHIRLPOOL 1fcc58d322bab38f26b45179ed1c6edb287f4b7a42762a74dbec7f8bc66cbc081b108d3d582a622c3a671c2516ed7b3f7fec25d8ee88edf58edbb16312c2b405
|
||||
MISC metadata.xml 324 SHA256 7d30007116ea176b949d7922a34f8ee988cf73dc956d1772d6fd7b8caee84d08 SHA512 4ebe5e7846f261a0690740a5492254d64e225322ff95d549703e33feb3fc72f3858880bb02159dd4b80ec78c75fecc5b426cca57af7bb8a7da2358c7ed479c11 WHIRLPOOL 103de052fc167ee6067a1443d29b9af47599ddd444c08b2da82efdb332c05bca53d66d24262a4be2b06793ce2e4d1484d86fd091157de32a0a2887321fb4dc17
|
||||
MISC metadata.xml 338 SHA256 61f4878f348811e6f81c05bc246c9d9e2108b078223929359f306b92563ef42f SHA512 9417a2f1ec3509c62e79502455057ee2f773e6e19377496a9ba101f46e991d039d9ee8684f320a85e2c04393fa904742cc34fbe3390627c199512d22606ac8d7 WHIRLPOOL acbc21071ad6e9548472a6cabd43aaefbd666642b728598f8a52c986be0d022b0938dd633715c8d411ac2af14505cefd078d7e386f53311d30807eb4d0eaf34d
|
||||
|
@ -1,26 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit eutils
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Converts CloneCD images (popular under Windows) to ISOs"
|
||||
DESCRIPTION="Convert CD images from ccd (CloneCD) to iso"
|
||||
HOMEPAGE="https://sourceforge.net/projects/ccd2iso/"
|
||||
SRC_URI="mirror://sourceforge/ccd2iso/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-headers.patch
|
||||
}
|
||||
KEYWORDS="amd64 ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
PATCHES=( "${FILESDIR}/${P}-headers.patch" )
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription>
|
||||
CloneCD image to ISO image file converter
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ccd2iso</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>yegortimoshenko@gmail.com</email>
|
||||
<name>Yegor Timoshenko</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ccd2iso</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="embed secure hashes (SHA1) and digital signatures (GNU Privacy Guard) into files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/bsign"
|
||||
SRC_URI="mirror://debian/pool/main/b/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc ~ppc-macos ~x86 ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-non-gnu.patch # for Darwin, BSD, Solaris, etc.
|
||||
|
||||
if ! use static-libs || [[ ${CHOST} == *-darwin* ]]; then
|
||||
sed -i -e '/^LFLAGS/s/-static//' Makefile.in
|
||||
fi
|
||||
|
||||
sed -i -e "/^CFLAGS/d" \
|
||||
-e "/^CXXFLAGS/d" configure.in
|
||||
eautoreconf
|
||||
tc-export CC CXX
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bsign_sign bsign_verify bsign_hash bsign_check || die
|
||||
newbin o/bsign-unstripped bsign || die
|
||||
doman bsign.1 || die
|
||||
dodoc README || die
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
MY_P=${PN}-${PV/_}
|
||||
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
magic? ( sys-apps/file[static-libs(+)] )
|
||||
nls? ( virtual/libintl )
|
||||
!ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
local myconf=()
|
||||
case ${CHOST} in
|
||||
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
|
||||
esac
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--htmldir=/trash \
|
||||
$(use_enable !minimal color) \
|
||||
$(use_enable !minimal multibuffer) \
|
||||
$(use_enable !minimal nanorc) \
|
||||
--disable-wrapping-as-root \
|
||||
$(use_enable magic libmagic) \
|
||||
$(use_enable spell speller) \
|
||||
$(use_enable justify) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode utf8) \
|
||||
$(use_enable minimal tiny) \
|
||||
$(usex ncurses --without-slang $(use_with slang)) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/trash
|
||||
|
||||
dodoc doc/sample.nanorc
|
||||
docinto html
|
||||
dodoc doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/sample.nanorc nanorc
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
dosym /bin/nano /usr/bin/nano
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-vcs-snapshot systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
EGO_PN="github.com/docker/distribution/..."
|
||||
EGIT_COMMIT="v${PV}"
|
||||
SRC_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Docker Registry 2.0"
|
||||
HOMEPAGE="https://github.com/docker/distribution"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
SVCNAME=registry
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-notifications-expvar.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${SVCNAME}
|
||||
enewuser ${SVCNAME} -1 -1 /dev/null ${SVCNAME}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${S}" \
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe bin/*
|
||||
insinto /etc/docker/registry
|
||||
newins src/${EGO_PN%/*}/cmd/registry/config-example.yml config.yml.example
|
||||
newinitd "${FILESDIR}/${SVCNAME}.initd" "${SVCNAME}"
|
||||
newconfd "${FILESDIR}/${SVCNAME}.confd" "${SVCNAME}"
|
||||
systemd_dounit "${FILESDIR}/${SVCNAME}.service"
|
||||
keepdir /var/{lib,log}/${SVCNAME}
|
||||
fowners ${SVCNAME}:${SVCNAME} /var/{lib,log}/${SVCNAME}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${SVCNAME}.logrotated" "${SVCNAME}"
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
From 9a58c91051e03b46f1461e371a7bf527c1284612 Mon Sep 17 00:00:00 2001
|
||||
From: Noah Treuhaft <noah.treuhaft@docker.com>
|
||||
Date: Wed, 8 Feb 2017 11:38:44 -0800
|
||||
Subject: [PATCH] notifications: fix expvar for Go 1.7
|
||||
|
||||
Remove EndpointConfig.Transport from the return value of the
|
||||
registry.notifications.endpoints expvar.Func. It results in an empty
|
||||
value for that expvar variable under Go 1.7 because it is a non-nil
|
||||
*http.Transport, which Go 1.7 can no longer encode as JSON.
|
||||
|
||||
Signed-off-by: Noah Treuhaft <noah.treuhaft@docker.com>
|
||||
---
|
||||
notifications/endpoint.go | 2 +-
|
||||
notifications/metrics_test.go | 28 ++++++++++++++++++++++++++++
|
||||
2 files changed, 29 insertions(+), 1 deletion(-)
|
||||
create mode 100644 notifications/metrics_test.go
|
||||
|
||||
diff --git a/src/github.com/docker/distribution/notifications/endpoint.go b/src/github.com/docker/distribution/notifications/endpoint.go
|
||||
index 29a9e27b5..44d0f6d7b 100644
|
||||
--- a/src/github.com/docker/distribution/notifications/endpoint.go
|
||||
+++ b/src/github.com/docker/distribution/notifications/endpoint.go
|
||||
@@ -13,7 +13,7 @@ type EndpointConfig struct {
|
||||
Threshold int
|
||||
Backoff time.Duration
|
||||
IgnoredMediaTypes []string
|
||||
- Transport *http.Transport
|
||||
+ Transport *http.Transport `json:"-"`
|
||||
}
|
||||
|
||||
// defaults set any zero-valued fields to a reasonable default.
|
||||
diff --git a/src/github.com/docker/distribution/notifications/metrics_test.go b/src/github.com/docker/distribution/notifications/metrics_test.go
|
||||
new file mode 100644
|
||||
index 000000000..03a08e2c8
|
||||
--- /dev/null
|
||||
+++ b/notifications/metrics_test.go
|
||||
@@ -0,0 +1,28 @@
|
||||
+package notifications
|
||||
+
|
||||
+import (
|
||||
+ "encoding/json"
|
||||
+ "expvar"
|
||||
+ "testing"
|
||||
+)
|
||||
+
|
||||
+func TestMetricsExpvar(t *testing.T) {
|
||||
+ endpointsVar := expvar.Get("registry").(*expvar.Map).Get("notifications").(*expvar.Map).Get("endpoints")
|
||||
+
|
||||
+ var v interface{}
|
||||
+ if err := json.Unmarshal([]byte(endpointsVar.String()), &v); err != nil {
|
||||
+ t.Fatalf("unexpected error unmarshaling endpoints: %v", err)
|
||||
+ }
|
||||
+ if v != nil {
|
||||
+ t.Fatalf("expected nil, got %#v", v)
|
||||
+ }
|
||||
+
|
||||
+ NewEndpoint("x", "y", EndpointConfig{})
|
||||
+
|
||||
+ if err := json.Unmarshal([]byte(endpointsVar.String()), &v); err != nil {
|
||||
+ t.Fatalf("unexpected error unmarshaling endpoints: %v", err)
|
||||
+ }
|
||||
+ if slice, ok := v.([]interface{}); !ok || len(slice) != 1 {
|
||||
+ t.Logf("expected one-element []interface{}, got %#v", v)
|
||||
+ }
|
||||
+}
|
@ -1,7 +1,9 @@
|
||||
DIST eselect-postgresql-1.2.1.tbz2 3645 SHA256 661ef3cbb1627798af3c8d6c526f4a6367620a5fef08c287a633e1babf43f938 SHA512 9b24cb7620dd3de979ef595c60ebf607cd9da5c7d3c4da19ebe242c25961883e2db54341f916690abb9fe7a76663d9f1ac73fc76c90389f72eff425aa6fb43e4 WHIRLPOOL e7ef4f3d250f4f345d28bccdd43fa1639b8ed80b9f6a4aabd4f7df5f4337845ee0f4ce653fde596209094b01fc0e5c624872affbfa042382f3963a49d600827f
|
||||
DIST eselect-postgresql-2.0.tbz2 4326 SHA256 8f56309350f91abaa98eeead42dbd6b186b858f25f207010fe9d10271c754f55 SHA512 bc72d752bc4b2d8f3c255d446253143ff0036f6ca1a0c10eb19e23b8242bd5a912272298034279a6f9ca50c13fccbb6b89c79ed647f762a2ccb36f416060cd87 WHIRLPOOL 9fced29136ee861a78651905329d6a3156bfdbdf61427accc7aa5ac33e934c97e6f673d7a3f5b634d020be01ff0f0533218b8d9d3b83253963f32eae8d82f004
|
||||
DIST eselect-postgresql-2.1.tbz2 4404 SHA256 0a08755b6a8c688f88474d9da3b1e572f375001238f426a703a1edf322ea5a40 SHA512 83050da6ec5f5f4ae20230cdffebbb78f9335cbcbb3bc1bd38279188f0dedcf828d80aeac3c75629605cdde0b2d1d74d8ef81e9cd9a8faacc7dba2f15beb3af0 WHIRLPOOL e613624bdb7d1139dc935f83410857dcd1b1d842aecdd3721fac0a418fde64453bc70640b0a1921287b3cccfe9b2c68e308a80fdb274a1e713857ec492a6f73a
|
||||
EBUILD eselect-postgresql-1.2.1.ebuild 681 SHA256 92ea2c82ba4db5ec184dd67713ce3102d60b7493225328965a4281c948c9a1f6 SHA512 fa17f6498eec989d5c7bae09896fdfccedb164ea337a299d11848c8dd8968d2154c85bcff429902eac5c292f3e139324139d193b5b6db3e34ed8f6b93768229f WHIRLPOOL f0392414c1851f216add4fb2c1bd88798a2455f8307528326ff9c379b3b434a30b1d8fc97c47733e1c6959d789bf2e5a424508c903b84e2390a897780fe1b08e
|
||||
EBUILD eselect-postgresql-2.0.ebuild 960 SHA256 a976fa0f842e5843582ea470b6ce3323a0a4e15b00e427da7a0c8858646cc957 SHA512 8ffc8b4d6ce51ffc6ded557bb9a9c8d9c2341a51214db61fa19338d11a9342e05dbe623fa8e74ec732b74591331c5f2c38956b6ec22a7aa18ff11c22be7ce4d3 WHIRLPOOL 159f04a5a68fea295baa7e4e05c152b01bbd8a3da3990334840583b86d2295aba20e544b264756db1e7ba578f0e230fd0b57f947afdbb2d20b6c735ed2cd3240
|
||||
EBUILD eselect-postgresql-2.1.ebuild 960 SHA256 a976fa0f842e5843582ea470b6ce3323a0a4e15b00e427da7a0c8858646cc957 SHA512 8ffc8b4d6ce51ffc6ded557bb9a9c8d9c2341a51214db61fa19338d11a9342e05dbe623fa8e74ec732b74591331c5f2c38956b6ec22a7aa18ff11c22be7ce4d3 WHIRLPOOL 159f04a5a68fea295baa7e4e05c152b01bbd8a3da3990334840583b86d2295aba20e544b264756db1e7ba578f0e230fd0b57f947afdbb2d20b6c735ed2cd3240
|
||||
MISC ChangeLog 2663 SHA256 9b5772e1707565d6d9bc512401b960f26f7efecc89cc2ac0780c0ac6e5f773d0 SHA512 1400ab77aae6f7a0b14cc696476b6fdfb12f3b457a8efcd91d44d1182d9cb3340c5983d1744416f6d88d29b40ee094fd05510b8a6756c80b551969bb8f10f12f WHIRLPOOL 1be60eea1ea0ff0b3438065e554dda0eb53de5926f71cecdd030dbd4f8be4a9ceacdfe483a5e643f3ecc6b7fddbac99b87b9d62580a02899c4622eed6d760e3c
|
||||
MISC ChangeLog-2015 8659 SHA256 4a87dfa66639f2c4937e4eab5da6469d66dc40d764434c6b7881621866da7792 SHA512 d0fbaf00ab3fc960ec19fe70ef8d38d51b3da7ee9ed51e5c72f410ead58c66dd96b7b19a9b19a6354925e71f3d189d88640d3700b5338eb6d5e63769f08a0312 WHIRLPOOL dc9124e1a9b90b80f80f1e2935dbbc088c2b07d484cabd5146589dbb59aefdf3ada81a5eb8d23a0000b7a67b0b563e0ec51f21f24690b904bc5c8ea8c67efc9a
|
||||
MISC metadata.xml 447 SHA256 fd0094d36aa35d98eb40399c97571bf1e6d28220b199f8fcf04d3edcd6a58322 SHA512 9e1f1d7edd700ce070f0c2deb461ac5b61c058cc7331cb582ed4ec098e4e04c19b15f9f3289df1a5e3a1bb243b8983a52a2b18b0af7884941ee6a6a4e067b1a0 WHIRLPOOL 64465df15bcd1d56791c71225081a0dfa52163bf295a0ccc6e71ca5084ebf0728fc2f44dc04bdd96a6201a8a84d75552f7853518558a1821b2e51cc6e6832acd
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Utility to select the default PostgreSQL slot"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="http://dev.gentoo.org/~titanofold/${P}.tbz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-admin/eselect"
|
||||
|
||||
# All dev-db/postgresql ebuilds from 10.0 on are well supported. Earlier
|
||||
# ebuilds may present some quality of life issues.
|
||||
PDEPEND="
|
||||
!<dev-db/postgresql-9.6.2-r1:9.6
|
||||
!<dev-db/postgresql-9.5.6-r1:9.5
|
||||
!<dev-db/postgresql-9.4.11-r1:9.4
|
||||
!<dev-db/postgresql-9.3.16-r1:9.3
|
||||
!<dev-db/postgresql-9.2.20-r1
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins postgresql.eselect
|
||||
|
||||
dosym /usr/bin/eselect /usr/bin/postgresql-config
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
postgresql-config update
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
EBUILD lc-core-9999.ebuild 1206 SHA256 03febbe42d030cb2ec3b7f793400dc422e85d9aab39427d7f4a8db46dbc8506c SHA512 d0dcaa56f4657d2ba3bf6dee9603b9651ee0a72661d44341cb76947eebd64bfa25db760db19f07b0ad3e7f12defaed43113a334942f798e1c57cb0474838b68f WHIRLPOOL 2e443e026e4de25271259ea9d50a49e8194a371d22f3f33588a9f1293fcce1e062adfd2b3a4c2379f1528d8c4f9f72e5e7b67ffe471c572c7e8ff2b7763f9a6c
|
||||
EBUILD lc-core-9999.ebuild 1189 SHA256 681bb8e389d1085a17df4eb9c9db6496c424bf32e1a311587d91a1e36c73849d SHA512 e5a0b8b6652b5c9aa8954d201bcee5b27651da8ffd29e018c693a6538c19864fc35742faec5a4df240981d0a25ab8cb12da75d018231315949952fe05c879229 WHIRLPOOL 4e2fe5e00a7acda2784e061933874abc19cef62d4ebd2741b3c27e14040a4b662e068073062e3c4ba24babbd05404e7a1776f28fa5d2a3377185cd066183b582
|
||||
MISC ChangeLog 3560 SHA256 f8cb19cf98a951187b5f018da5e137dca715a602c482ec20ce6aaaac004c9d0c SHA512 4964d4629e4bd7c2fe390231752ea0d6edc843574e7d55b5874fda8917b52d0c10e379a103a56998765ed1a9d34362eae8ca198f0d7d4242234871a0bf79587a WHIRLPOOL 5ec551dded700e304f5f72ede2daab030b98bdff81d6277d50c38d66dcec5dc4f38b25b98a3b5fb034a80c85398a489972a4bbacaa408bab05b9a51ef26574a1
|
||||
MISC ChangeLog-2015 10544 SHA256 a9e23b43cf0526b30b3399ecc5476cd705e73fda790a4df27335a902420e4cae SHA512 b0be51f3f130d1e5fc8ab96a81f723dab674e257305f6e5e3596d940a560f8cd7e6b8462833738558c1f1e870f7ba5ba1d1285bef90c3f792af338f416e24dac WHIRLPOOL 5ac3399684cda4c2825536fdd4a81a2c64635e370902752c03d9ac1c8ae2d4b02476aa6b4b9f04e3041909d2969a224de8683690a8cf7936c3d3c22f6401fe8f
|
||||
MISC metadata.xml 633 SHA256 e8e628b01ba8d8055b5b8011aee28e811be3a6a560697a690d6d33e7fb8cc2fa SHA512 45cc0f9aa42538cd9f9232e5981c9dbbc457e4dd89c9c82ab5dcfdb139df67d83149b6aafdaad4d04d03efda32b187c99605c30da5477a3de67eee9608a26e90 WHIRLPOOL 528ade586c21c505028a153bd9996d852882172b6a5495c42fe497cc14750751e0e84cef2a147b6d94ec8e4ebdcdc7a2a91be9ed3184201541c97021103ba948
|
||||
|
@ -1,7 +1,7 @@
|
||||
DIST abduco-0.4.tar.gz 14222 SHA256 bda3729df116ce41f9a087188d71d934da2693ffb1ebcf33b803055eb478bcbb SHA512 1f6df3604f5b4b59a650ccb8b6b7f9e62591154f72163350b8c8d2ffa9c392c9ebda0f958537a203e87319e275674fec6d161f18a10d49e44d0afc512c467f88 WHIRLPOOL e232bbae99cdd0c3c5b0e06f8cce73126586f9d997a03ba03720030355d603ee488df40b04343b6bfd508d2ac05dbdd2ca3bc6a62a661b140c5bd9bfc43fde12
|
||||
DIST abduco-0.5.tar.gz 15790 SHA256 bf22226a4488355a7001a5dabbd1e8e3b7e7645efd1519274b956fcb8bcff086 SHA512 e0772b8eecc1fb6f16c7516a6956825b9bda4149f00f56b34e68ec3544f74c2270ba8cc2642599de26ae34d11ed78b8bba70497bfc9a79f3008f50de02ce49d8 WHIRLPOOL ffce64702323cba434768bb4864b9f8bd0e5a6768f3fd5a821081eee77dcffea33c8ab920e39471fb644ca2ff03214d04808d55804889a278417c5d6d76d3f79
|
||||
EBUILD abduco-0.4.ebuild 850 SHA256 3b8d73acf6c08215d1b8dda40d847429c484795c583292ec7a0f8bb71478c1d5 SHA512 9635efe7b043c02b3fbeee37ae1b6f3c35cd95782d4dcd7d00e0550d95b49f283419eda86f94f58849b76b2b2ca082efaeb3bd1483901d74fb94f4931ae313a2 WHIRLPOOL 8d9afe32c8b3acf070d2c3965a2ac672fa3c02e9e9fa4125d6f41cfef4d458502c0c55c4adf7ca9e438e232444386f881f70e2f1b1f23eb60d8bde3019f3ad75
|
||||
DIST abduco-0.6.tar.gz 15829 SHA256 c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4 SHA512 3b70a5cc10f0a2743dcbdf6eebdcfcee0e4f4ff8c6ce0bf0aa9f55c3fa85ab43aa659997735e063eab36aba69f91be7bb5519f3f632bff1b9098f5179165c1f2 WHIRLPOOL 116ac3855e25ebb406d5a6d8702eb4115ee98f783113424cad67e2fab95efdb08ea641aac5f72107955ce31759dd10760ebfd14f1b21c583eea47bce7e056a16
|
||||
EBUILD abduco-0.5.ebuild 850 SHA256 3b8d73acf6c08215d1b8dda40d847429c484795c583292ec7a0f8bb71478c1d5 SHA512 9635efe7b043c02b3fbeee37ae1b6f3c35cd95782d4dcd7d00e0550d95b49f283419eda86f94f58849b76b2b2ca082efaeb3bd1483901d74fb94f4931ae313a2 WHIRLPOOL 8d9afe32c8b3acf070d2c3965a2ac672fa3c02e9e9fa4125d6f41cfef4d458502c0c55c4adf7ca9e438e232444386f881f70e2f1b1f23eb60d8bde3019f3ad75
|
||||
EBUILD abduco-0.6.ebuild 840 SHA256 e26064b704e24401dd8f855d1af6aec75ba04d1539a16955223a8ccd9f7a1b0b SHA512 ca7b46ee13e03afa73a60f8b301b91720fef4e6aefa457cbb4e42ad3ca897f8e6a587e133f974fac6b729c9a40f0673ab2ed6e788cf677d7970edc273217f336 WHIRLPOOL 91ede9e5e198c0941e407edada1a7a49c4000722b281c361e98f6f43f744ec1f1dc70a7e4a181547baacf457944d4733195460ceb731dd772bb7585b56769f76
|
||||
MISC ChangeLog 2922 SHA256 673127d8483490b11728ff64cce306ef76180e46fd5f161d850594ad90c64554 SHA512 0842ad9680ade429bfabb61ca9a9588308c5c5cf4b93fd4fc9352e8fcc8697ce1f8c2a1f633a3254891453d2297cf6f23cebe98ee6dbc17586ecebb3cb38533d WHIRLPOOL 8da1f7169208ed3532f4ab9d7327d495e1a0e85295973150723c1e812f9384c6a1e158e9687f1e1a6d2739502b27814daf78793bf3e7b16c47eb7d08ea532639
|
||||
MISC ChangeLog-2015 869 SHA256 0720cfb8e6b5f858212382d8ac6933844c972ac9ef06e3a12e0901a7fae0ab2a SHA512 1f0d81ef1c674d7efcd1ca84a068ecfef971d440e333b57ea25ec5fd1f15a8847ea9dee91106ed4e8e25930361a4c3b9aab24925332b020f38d309b851494411 WHIRLPOOL 3c90bcae27cb4b46a9a559c005d723d08d17684acc0c83d73d5dfa8a56fd412fc5fec669fd0480ce4396470142362887859115b90c2f91f829efeb133ddca5db
|
||||
MISC metadata.xml 808 SHA256 9d6fa9ff949478c802b2f74a33f12ba3be1cb33f3a2b8f1dd06196a61c1df89c SHA512 683ee33b44b4b6ff3c7d265a4a66b81285b1b65c94ab3264fdb502c3bb5108ae81e39b8c560675b77037ff1b8bbe46cfa714b53847bde86b1f7f590df9788e46 WHIRLPOOL 0d7edbcc76e624a6304788303f0506dc549ce2aea32f03ce90a44f2bc99542742efcad2a30a5748783ca8724a49aa2c7b3387a580e049dd677c804e296176217
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit systemd user
|
||||
|
||||
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
|
||||
HOMEPAGE="https://www.elastic.co/products/elasticsearch"
|
||||
SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 /bin/bash /usr/share/${PN} ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -rf bin/*.{bat,exe} || die
|
||||
rm LICENSE.txt || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /etc/${PN}
|
||||
keepdir /etc/${PN}/scripts
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins config/*
|
||||
rm -rf config || die
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r ./*
|
||||
|
||||
exeinto /usr/share/${PN}/bin
|
||||
doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
|
||||
|
||||
chmod +x "${D}"/usr/share/${PN}/bin/* || die
|
||||
|
||||
keepdir /var/{lib,log}/${PN}
|
||||
keepdir /usr/share/${PN}/plugins
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d" "${PN}.conf"
|
||||
|
||||
insinto /etc/sysctl.d
|
||||
newins "${FILESDIR}/${PN}.sysctl.d" "${PN}.conf"
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.init8" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.conf3" "${PN}"
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service6 "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You may create multiple instances of ${PN} by"
|
||||
elog "symlinking the init script:"
|
||||
elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
|
||||
elog
|
||||
elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
|
||||
elog "from /etc/elasticsearch into the configuration directory of the instance:"
|
||||
elog "/etc/${PN}/instance"
|
||||
elog
|
||||
}
|
@ -0,0 +1,289 @@
|
||||
commit 5979b1e92d67124591d10b18b173852882f077e7
|
||||
Author: Christian Dávid <christian-david@web.de>
|
||||
Date: Mon Jun 13 00:05:27 2016 +0200
|
||||
|
||||
Removed national credit transfers
|
||||
|
||||
They are not supported by the banks anymore. So they can be removed.
|
||||
|
||||
Unfortunately they contained the only example for a task converter.
|
||||
Due to the removed plugin the CMakeLists.txt for sepa could be
|
||||
simplified.
|
||||
|
||||
Cherry-picked from d514e650
|
||||
|
||||
diff --git a/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp b/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
index 6c2b5d8a..8b67bcbb 100644
|
||||
--- a/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
+++ b/kmymoney/plugins/kbanking/aqbankingkmmoperators.cpp
|
||||
@@ -24,9 +24,9 @@
|
||||
#include <aqbanking/value.h>
|
||||
|
||||
#include "payeeidentifier/payeeidentifiertyped.h"
|
||||
+#include "payeeidentifier/nationalaccount/nationalaccount.h"
|
||||
#include "tasksettings/credittransfersettingsbase.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
#include "gwenhywfarqtoperators.h"
|
||||
|
||||
/**
|
||||
@@ -49,40 +49,6 @@ static const QString dtausChars = QString::fromUtf8("0123456789ABCDEFGHIJKLMNOPQ
|
||||
*/
|
||||
static const QString sepaChars = QString("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz':?.,- (+)/");
|
||||
|
||||
-QSharedPointer<germanOnlineTransfer::settings> AB_TransactionLimits_toGermanOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits)
|
||||
-{
|
||||
- Q_CHECK_PTR(aqlimits);
|
||||
-
|
||||
- QSharedPointer<creditTransferSettingsBase> settings(new creditTransferSettingsBase);
|
||||
-
|
||||
- // AqBanking returns 0 as min length even if it requires one
|
||||
- int minLength = AB_TransactionLimits_GetMinLenPurpose(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setPurposeLimits(AB_TransactionLimits_GetMaxLinesPurpose(aqlimits),
|
||||
- AB_TransactionLimits_GetMaxLenPurpose(aqlimits),
|
||||
- minLength
|
||||
- );
|
||||
-
|
||||
- // AqBanking returns 0 as min length even if it requires one
|
||||
- minLength = AB_TransactionLimits_GetMinLenRemoteName(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setRecipientNameLimits(AB_TransactionLimits_GetMaxLinesRemoteName(aqlimits),
|
||||
- AB_TransactionLimits_GetMaxLenRemoteName(aqlimits),
|
||||
- minLength
|
||||
- );
|
||||
-
|
||||
- minLength = AB_TransactionLimits_GetMinLenLocalName(aqlimits);
|
||||
- if (minLength == 0)
|
||||
- minLength = 1;
|
||||
- settings->setPayeeNameLimits(1, AB_TransactionLimits_GetMaxLenLocalName(aqlimits), minLength);
|
||||
-
|
||||
- settings->setAllowedChars(dtausChars);
|
||||
-
|
||||
- return settings.dynamicCast<germanOnlineTransfer::settings>();
|
||||
-}
|
||||
-
|
||||
/** @todo Check if AB_TransactionLimits_GetMaxLenCustomerReference really is the limit for the sepa reference */
|
||||
QSharedPointer<sepaOnlineTransfer::settings> AB_TransactionLimits_toSepaOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits)
|
||||
{
|
||||
diff --git a/kmymoney/plugins/kbanking/aqbankingkmmoperators.h b/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
index a314cd72..5205a884 100644
|
||||
--- a/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
+++ b/kmymoney/plugins/kbanking/aqbankingkmmoperators.h
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "onlinetasks/interfaces/tasks/ionlinetasksettings.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
class AB_ACCOUNT;
|
||||
class AB_TRANSACTION_LIMITS;
|
||||
@@ -43,12 +42,6 @@ class nationalAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
- * @brief AB_TransactionLimits_toGermanOnlineTaskSettings
|
||||
- * @param aqlimits IN
|
||||
- */
|
||||
-QSharedPointer<germanOnlineTransfer::settings> AB_TransactionLimits_toGermanOnlineTaskSettings(const AB_TRANSACTION_LIMITS* aqlimits);
|
||||
-
|
||||
-/**
|
||||
* @brief AB_TransactionLimits_toSepaOnlineTaskSettings
|
||||
* @param aqlimits IN
|
||||
*/
|
||||
diff --git a/kmymoney/plugins/kbanking/mymoneybanking.cpp b/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
index d8c4a571..a64eaf61 100644
|
||||
--- a/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
+++ b/kmymoney/plugins/kbanking/mymoneybanking.cpp
|
||||
@@ -598,11 +598,7 @@ void KBankingPlugin::sendOnlineJob(QList<onlineJob>& jobs)
|
||||
|
||||
if (!jobs.isEmpty()) {
|
||||
foreach (onlineJob job, jobs) {
|
||||
- if (germanOnlineTransfer::name() == job.task()->taskName()) {
|
||||
- onlineJobTyped<germanOnlineTransfer> typedJob(job);
|
||||
- enqueTransaction(typedJob);
|
||||
- job = typedJob;
|
||||
- } else if (sepaOnlineTransfer::name() == job.task()->taskName()) {
|
||||
+ if (sepaOnlineTransfer::name() == job.task()->taskName()) {
|
||||
onlineJobTyped<sepaOnlineTransfer> typedJob(job);
|
||||
enqueTransaction(typedJob);
|
||||
job = typedJob;
|
||||
@@ -646,14 +642,8 @@ QStringList KBankingPlugin::availableJobs(QString accountId)
|
||||
|
||||
// Check availableJobs
|
||||
|
||||
- // national transfer
|
||||
- AB_JOB *abJob = AB_JobSingleTransfer_new(abAccount);
|
||||
- if (AB_Job_CheckAvailability(abJob) == 0)
|
||||
- list.append(germanOnlineTransfer::name());
|
||||
- AB_Job_free(abJob);
|
||||
-
|
||||
// sepa transfer
|
||||
- abJob = AB_JobSepaTransfer_new(abAccount);
|
||||
+ AB_JOB* abJob = AB_JobSepaTransfer_new(abAccount);
|
||||
if (AB_Job_CheckAvailability(abJob) == 0)
|
||||
list.append(sepaOnlineTransfer::name());
|
||||
AB_Job_free(abJob);
|
||||
@@ -686,17 +676,7 @@ IonlineTaskSettings::ptr KBankingPlugin::settings(QString accountId, QString tas
|
||||
if (abAcc == 0)
|
||||
return IonlineTaskSettings::ptr();
|
||||
|
||||
- if (germanOnlineTransfer::name() == taskName) {
|
||||
- // Get Limits for germanOnlineTransfer
|
||||
- QScopedPointer<AB_JOB, QScopedPointerAbJobDeleter> abJob(AB_JobSingleTransfer_new(abAcc));
|
||||
- if (AB_Job_CheckAvailability(abJob.data()) != 0)
|
||||
- return IonlineTaskSettings::ptr();
|
||||
-
|
||||
- const AB_TRANSACTION_LIMITS* limits = AB_Job_GetFieldLimits(abJob.data());
|
||||
- return AB_TransactionLimits_toGermanOnlineTaskSettings(limits).dynamicCast<IonlineTaskSettings>();
|
||||
- //! @todo needs free? because that is not possible with const AB_TRANSACTION_LIMITS*
|
||||
- // AB_TransactionLimits_free( limits );
|
||||
- } else if (sepaOnlineTransfer::name() == taskName) {
|
||||
+ if (sepaOnlineTransfer::name() == taskName) {
|
||||
// Get limits for sepaonlinetransfer
|
||||
QScopedPointer<AB_JOB, QScopedPointerAbJobDeleter> abJob(AB_JobSepaTransfer_new(abAcc));
|
||||
if (AB_Job_CheckAvailability(abJob.data()) != 0)
|
||||
@@ -707,62 +687,6 @@ IonlineTaskSettings::ptr KBankingPlugin::settings(QString accountId, QString tas
|
||||
return IonlineTaskSettings::ptr();
|
||||
}
|
||||
|
||||
-bool KBankingPlugin::enqueTransaction(onlineJobTyped<germanOnlineTransfer>& job)
|
||||
-{
|
||||
- /* get AqBanking account */
|
||||
- QString accId = job.constTask()->responsibleAccount();
|
||||
- AB_ACCOUNT *abAccount = aqbAccount(accId);
|
||||
- if (!abAccount) {
|
||||
- job.addJobMessage(onlineJobMessage(onlineJobMessage::warning, "KBanking", i18n("<qt>"
|
||||
- "The given application account <b>%1</b> "
|
||||
- "has not been mapped to an online "
|
||||
- "account."
|
||||
- "</qt>",
|
||||
- MyMoneyFile::instance()->account(accId).name())));
|
||||
- return false;
|
||||
- }
|
||||
- //setupAccountReference(acc, ba); // needed?
|
||||
-
|
||||
- AB_JOB *abJob = AB_JobSingleTransfer_new(abAccount);
|
||||
- int rv = AB_Job_CheckAvailability(abJob);
|
||||
- if (rv) {
|
||||
- qDebug("AB_ERROR_OFFSET is %i", AB_ERROR_OFFSET);
|
||||
- job.addJobMessage(onlineJobMessage::error, "AqBanking",
|
||||
- QString("National credit transfers for account \"%1\" are not available, error code %2.").arg(MyMoneyFile::instance()->account(accId).name(), rv),
|
||||
- QString::number(rv)
|
||||
- );
|
||||
- return false;
|
||||
- }
|
||||
- AB_TRANSACTION *abTransaction = AB_Transaction_new();
|
||||
-
|
||||
- // Recipient
|
||||
- payeeIdentifiers::nationalAccount beneficiaryAcc = job.task()->beneficiaryTyped();
|
||||
- AB_Transaction_SetRemoteAccount(abTransaction, beneficiaryAcc);
|
||||
-
|
||||
- // Origin Account
|
||||
- AB_Transaction_SetLocalAccount(abTransaction, abAccount);
|
||||
-
|
||||
- // Purpose
|
||||
- QStringList qPurpose = job.task()->purpose().split('\n', QString::SkipEmptyParts);
|
||||
- GWEN_STRINGLIST *purpose = GWEN_StringList_fromQStringList(qPurpose);
|
||||
- AB_Transaction_SetPurpose(abTransaction, purpose);
|
||||
- GWEN_StringList_free(purpose);
|
||||
-
|
||||
- // Other
|
||||
- AB_Transaction_SetTextKey(abTransaction, job.task()->textKey());
|
||||
- AB_Transaction_SetValue(abTransaction, AB_Value_fromMyMoneyMoney(job.task()->value()));
|
||||
-
|
||||
- /** @todo LOW remove Debug info */
|
||||
- qDebug() << "SetTransaction: " << AB_Job_SetTransaction(abJob, abTransaction);
|
||||
-
|
||||
- GWEN_DB_NODE *gwenNode = AB_Job_GetAppData(abJob);
|
||||
- GWEN_DB_SetCharValue(gwenNode, GWEN_DB_FLAGS_DEFAULT, "kmmOnlineJobId", m_kbanking->mappingId(job).toLatin1().constData());
|
||||
-
|
||||
- qDebug() << "Enqueue: " << m_kbanking->enqueueJob(abJob);
|
||||
- //delete localAcc;
|
||||
- return true;
|
||||
-}
|
||||
-
|
||||
bool KBankingPlugin::enqueTransaction(onlineJobTyped<sepaOnlineTransfer>& job)
|
||||
{
|
||||
/* get AqBanking account */
|
||||
diff --git a/kmymoney/plugins/kbanking/mymoneybanking.h b/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
index c2559ae7..7936704e 100644
|
||||
--- a/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
+++ b/kmymoney/plugins/kbanking/mymoneybanking.h
|
||||
@@ -64,7 +64,6 @@ class KBAccountSettings;
|
||||
|
||||
#include "mymoney/onlinejobtyped.h"
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
/**
|
||||
* This class represents the KBanking plugin towards KMymoney.
|
||||
@@ -184,7 +183,6 @@ private:
|
||||
*/
|
||||
void startPasswordTimer();
|
||||
|
||||
- bool enqueTransaction(onlineJobTyped<germanOnlineTransfer>& job);
|
||||
bool enqueTransaction(onlineJobTyped<sepaOnlineTransfer>& job);
|
||||
|
||||
|
||||
diff --git a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
index 28d55a06..3bac6ce8 100644
|
||||
--- a/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
+++ b/kmymoney/plugins/kbanking/tasksettings/credittransfersettingsbase.h
|
||||
@@ -20,14 +20,13 @@
|
||||
#define CREDITTRANSFERSETTINGSBASE_H
|
||||
|
||||
#include "onlinetasks/sepa/tasks/sepaonlinetransfer.h"
|
||||
-#include "onlinetasks/national/tasks/germanonlinetransfer.h"
|
||||
|
||||
/**
|
||||
* @brief Base class for sepaCreditTransfer and germanCreditTransfer settings
|
||||
*
|
||||
* @internal Both credit transfers have similar fields
|
||||
*/
|
||||
-class creditTransferSettingsBase : public sepaOnlineTransfer::settings, public germanOnlineTransfer::settings
|
||||
+class creditTransferSettingsBase : public sepaOnlineTransfer::settings
|
||||
{
|
||||
public:
|
||||
creditTransferSettingsBase()
|
||||
diff --git a/kmymoney/plugins/onlinetasks/CMakeLists.txt b/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
index 7be53137..2e57b214 100644
|
||||
--- a/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
+++ b/kmymoney/plugins/onlinetasks/CMakeLists.txt
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
add_subdirectory(interfaces)
|
||||
add_subdirectory(sepa)
|
||||
-add_subdirectory(national)
|
||||
add_subdirectory(unavailabletask)
|
||||
diff --git a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
index 3c2d9db1..e3962d7a 100644
|
||||
--- a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
+++ b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt
|
||||
@@ -2,6 +2,7 @@ set( sepaOnlineTasks_SRCS
|
||||
tasks/sepaonlinetransferimpl.cpp
|
||||
ui/sepacredittransferedit.cpp
|
||||
sepastorageplugin.cpp
|
||||
+ sepaonlinetasksloader.cpp
|
||||
)
|
||||
|
||||
set( sepaOnlineTasks_HEADER
|
||||
@@ -12,14 +13,8 @@ kde4_add_ui_files( sepaOnlineTasks_SRCS
|
||||
ui/sepacredittransferedit.ui
|
||||
)
|
||||
|
||||
-automoc4( konlinetasks_sepa_OBJECTS sepaOnlineTasks_SRCS)
|
||||
-add_library( konlinetasks_sepa_OBJECTS OBJECT ${sepaOnlineTasks_SRCS} )
|
||||
-
|
||||
-# Add actual plugin here it is not part of the objects
|
||||
-# needed if multiple plugins are linked (needed for unit tests)
|
||||
-kde4_add_plugin(konlinetasks_sepa
|
||||
- $<TARGET_OBJECTS:konlinetasks_sepa_OBJECTS>
|
||||
- sepaonlinetasksloader.cpp
|
||||
+add_library(konlinetasks_sepa MODULE
|
||||
+ ${sepaOnlineTasks_SRCS}
|
||||
)
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/kmymoney-sepaorders.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/kmymoney-sepaorders.desktop)
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr gl
|
||||
hu it kk nds nl pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW"
|
||||
KDE_HANDBOOK="optional"
|
||||
VIRTUALX_REQUIRED="test"
|
||||
VIRTUALDBUS_TEST="true"
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="Personal finance manager by KDE"
|
||||
HOMEPAGE="https://kmymoney.org/"
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="calendar debug doc hbci ofx pim quotes weboob"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=app-crypt/gpgme-1.7.0[cxx]
|
||||
<app-office/libalkimia-6.0.0
|
||||
dev-libs/gmp:0=
|
||||
dev-libs/libgpg-error
|
||||
x11-misc/shared-mime-info
|
||||
calendar? ( dev-libs/libical:= )
|
||||
hbci? (
|
||||
>=net-libs/aqbanking-5.5.1
|
||||
>=sys-libs/gwenhywfar-4.15.3[qt4]
|
||||
)
|
||||
ofx? ( >=dev-libs/libofx-0.9.4 )
|
||||
pim? ( $(add_kdeapps_dep kdepimlibs) )
|
||||
weboob? ( www-client/weboob )
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
quotes? ( dev-perl/Finance-Quote )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-libs/boost
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-tests.patch"
|
||||
"${FILESDIR}/${P}-alkimia-detect.patch"
|
||||
"${FILESDIR}/${P}-fix-csvdialog.patch"
|
||||
"${FILESDIR}/${P}-soversion.patch"
|
||||
"${FILESDIR}/${P}-gpgmepp.patch"
|
||||
"${FILESDIR}/${P}-kdepimlibs-optional.patch"
|
||||
"${FILESDIR}/${P}-drop-national-onlinetasks.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
kde4-base_src_prepare
|
||||
|
||||
# don't install as executable
|
||||
sed -i kmymoney/CMakeLists.txt \
|
||||
-e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die
|
||||
|
||||
# bug #617636, complement to drop-national-onlinetasks.patch
|
||||
rm -r kmymoney/plugins/onlinetasks/national || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DUSE_QT_DESIGNER=OFF
|
||||
-DENABLE_LIBICAL=$(usex calendar)
|
||||
-DUSE_DEVELOPER_DOC=$(usex doc)
|
||||
-DENABLE_KBANKING=$(usex hbci)
|
||||
-DENABLE_LIBOFX=$(usex ofx)
|
||||
$(cmake-utils_use_find_package pim KdepimLibs)
|
||||
-DENABLE_WEBOOB=$(usex weboob)
|
||||
)
|
||||
kde4-base_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
kde4-base_src_compile
|
||||
use doc && kde4-base_src_compile apidoc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/")
|
||||
kde4-base_src_install
|
||||
}
|
@ -1,15 +1,13 @@
|
||||
AUX 2.0.8-python.patch 1019 SHA256 a8f93b41bf55f823caec23487aee432bad6e7b55187c6f115decdda855380010 SHA512 039d3521bc1d646669fcccb43d04354dfe7ed32477a338c27a576c77e5ffcf15fcf0419c14df43aa37d727431cce6ab0327aa04199d09ce1749051ab12686df8 WHIRLPOOL 74ad7056a5e74a95b7150fd14d2aac410c367a1bf98d7d8e2d68b5102059951e8ec40a877b534effc9b3fea04a38acdbadc2d1ce819272cb7d5e4d63bc172404
|
||||
AUX 2.1-python.patch 1019 SHA256 a8f93b41bf55f823caec23487aee432bad6e7b55187c6f115decdda855380010 SHA512 039d3521bc1d646669fcccb43d04354dfe7ed32477a338c27a576c77e5ffcf15fcf0419c14df43aa37d727431cce6ab0327aa04199d09ce1749051ab12686df8 WHIRLPOOL 74ad7056a5e74a95b7150fd14d2aac410c367a1bf98d7d8e2d68b5102059951e8ec40a877b534effc9b3fea04a38acdbadc2d1ce819272cb7d5e4d63bc172404
|
||||
DIST lyx-2.0.8.1.tar.xz 10481988 SHA256 fa0a9c6070554e0d12d24e9b3c4a1e5fc2ee853b3fbe83e2a415635cdc973c59 SHA512 17e313d3118dfe439f5251384f2fffdb45ffef5ec515953b7af0762d35c8e156a9338de698cea91cf8b3cedca1fc08364d8f3c50c9345f304d57004af695f901 WHIRLPOOL 6a9ef2df39861d373e1c6288f5443f910632a09ed4d84e409efe06459f2f39d3c30462b3a26aafe37c5216b765882e7ab5189e7d164b71def97f50877784754c
|
||||
DIST lyx-2.1.4.tar.xz 10928716 SHA256 d13548cf183f2fc241df8121420933702491a7460c78a0ef6dba0e9e438ef32a SHA512 7547950e3c11e88f0ccf2cacb56709f9722d4cd03a5ee751af4489f6d343e13ee6b4e0ff7b830532572975c6cc9506686ade2afa5093f765d21b4d1b9ee7339d WHIRLPOOL a5d8533902fd5dd5a696645941c532bfe35eeaf76f411798a0aafcd01674e678dd65d2c0a58af09a6739adaf80f821a2676c340a349fca61929edfc5a9389938
|
||||
DIST lyx-2.1.5.tar.xz 10361112 SHA256 2e677591aebdd484efb7d2920357f1358f9525ab1feaa59a63a8cf92b7ee2cf3 SHA512 6f8c62ff96458d0c8c8057ae1e587be4c63bd3bdf2d4f095c24d447017034eda8c6b645efbd258f0956a9bbfe5fde2f90df36515be7b8a94cb63674bc3a58672 WHIRLPOOL 46ee376a7ef9594d22c0c5385e07221dbc5fb3ae1c8e3e754cbc11f53d665d2c9db66a250716fc03384f23ec7133556cca0c500555c471bb7be288c47fc13db5
|
||||
DIST lyx-2.2.1.tar.xz 15522104 SHA256 db6b722f4526d44e09609adcacb6acef38eb7a11c7cde91ffe0d1d54ef94740f SHA512 9403b6e2e957698bed8f95d412d20838c12e192c8525b11fa54d2741a40c598906352c3e9ba728bc7d597c288d0dc6673d65bdea12232135cb9927d00259d435 WHIRLPOOL b33d0846cef5da278c68300c95aa5d36a0d008858d7b5e8b7f303928df5620fe3912baf12f4a1237c96a96d65288c733656ff0dec82e566dddfe0d8549be025a
|
||||
DIST lyx-2.2.2.tar.xz 15490148 SHA256 a85c3d7412c4069f8a1f5af4eb172948ae9a50394602f6318ab5c8e990aa5568 SHA512 5057a06f0c37cb2beadb92414eec495ba0619f6c8a9fb5372a9feb90fe0d8bf850de5c94bbf618c8e27bd64404ae6687c48ee24aa6e1bd35580eb3b77d71d45e WHIRLPOOL 0962289b07f767fee7eb7a9b9ae4da99f04a8c3e63f3fe7d4db798bc339772921534e7b1caefc3c0812cc815995d272dee8e365a7c357965acbebd5d6a1930c3
|
||||
DIST lyx-2.2.3.tar.xz 15501856 SHA256 4fcaeb7c202472d9ea21bf826fb30541015fef33e7217eda2be2b5d589c82b57 SHA512 b5a4a16b22680022651a0f3911c2c24bcd3541a573e672e541cb0af6572089e4b0e0ec1cafb40850e75c377e7da5b286d0314886e0c57d55f57645d8e4a07708 WHIRLPOOL c8054e4102189ab435bbbaec0dff0d4c5be4df781b4e1dd664caa87c231803b6a2bd6e89a92b333eae24884771932912a5df046adb7f782a6548a2c4c3b3219a
|
||||
EBUILD lyx-2.0.8.1-r1.ebuild 4310 SHA256 caed486f2191d20f6522870f83e807c903ef6ea4d8a539bacdc5767ad1615943 SHA512 72b295f2dc960882e1e155ccde7a97e2a2a08f7f13c51bcbefef1f5dc847da240a395218666520fe05860a13f0249a3566db9aacdee3c203117c4fff645dbb84 WHIRLPOOL 1b9875c2e55fb4be1672608d82d64261f663995dbd59143934ff591cc472921ef84c303d0f8c68501216390f5f985e1913de0e990c0094dc1ca8deebc3cfbcd0
|
||||
EBUILD lyx-2.1.4-r1.ebuild 4226 SHA256 ba035ed4aaed62f97b27ff7023fa52cbab393557620263acd787df3b5c3c0521 SHA512 ec902726dde811c1e3d7cfdf4fc4b2b54ae9379396ca13f404db1ea9df4f111d0008069d9715d3215286cf2025be71b3ca4812e68fab195146cd7cae1690dd51 WHIRLPOOL 4b0be8410d929baa84442d737b5b258d114d7618f1eee1fd009a3a40920f86df256cfff5fdca4d2279460c53234705dccee0951fba5942c29dfdf15d4de12781
|
||||
EBUILD lyx-2.1.5-r1.ebuild 4226 SHA256 ba035ed4aaed62f97b27ff7023fa52cbab393557620263acd787df3b5c3c0521 SHA512 ec902726dde811c1e3d7cfdf4fc4b2b54ae9379396ca13f404db1ea9df4f111d0008069d9715d3215286cf2025be71b3ca4812e68fab195146cd7cae1690dd51 WHIRLPOOL 4b0be8410d929baa84442d737b5b258d114d7618f1eee1fd009a3a40920f86df256cfff5fdca4d2279460c53234705dccee0951fba5942c29dfdf15d4de12781
|
||||
EBUILD lyx-2.2.1-r1.ebuild 4624 SHA256 cb1fb2f826f36cdaebf51185f087201a94936e64a6527a458968d0b22b1a2278 SHA512 2f2a813139704bab44c6558ed2be2e685537810bc1dec32be6093682557454784749ec444eece7a2821fef5347fb64a3424ddc3cde351f846304a4ae89a406e8 WHIRLPOOL 12c53e9a298819784372c0638a6ca2b4b06e9ab49949f58e4f980536b0c66c37ef0a2ccf9f100510d2acbf996c96702e9f0fa296aee6d49a01e76ff5f445cafb
|
||||
EBUILD lyx-2.2.2-r1.ebuild 4624 SHA256 cb1fb2f826f36cdaebf51185f087201a94936e64a6527a458968d0b22b1a2278 SHA512 2f2a813139704bab44c6558ed2be2e685537810bc1dec32be6093682557454784749ec444eece7a2821fef5347fb64a3424ddc3cde351f846304a4ae89a406e8 WHIRLPOOL 12c53e9a298819784372c0638a6ca2b4b06e9ab49949f58e4f980536b0c66c37ef0a2ccf9f100510d2acbf996c96702e9f0fa296aee6d49a01e76ff5f445cafb
|
||||
EBUILD lyx-2.2.3.ebuild 4624 SHA256 cb1fb2f826f36cdaebf51185f087201a94936e64a6527a458968d0b22b1a2278 SHA512 2f2a813139704bab44c6558ed2be2e685537810bc1dec32be6093682557454784749ec444eece7a2821fef5347fb64a3424ddc3cde351f846304a4ae89a406e8 WHIRLPOOL 12c53e9a298819784372c0638a6ca2b4b06e9ab49949f58e4f980536b0c66c37ef0a2ccf9f100510d2acbf996c96702e9f0fa296aee6d49a01e76ff5f445cafb
|
||||
MISC ChangeLog 6253 SHA256 244834810e233c44d7c06d6d7d075aa39a64d15dc9c545a75e369d65046fdf98 SHA512 6778f6c82eb4ed97274776a4972635d8365e46ed23dc864180afd6a0530074b5a2e373e58d211cfc23c880a43b3e942f3e81be5fb7f67d1909816f33c57c4d4d WHIRLPOOL 33f80c698e6a8c46541ee5bf23141e82b9c46998dadbadce8481983b9ea710c91d3064c99aae768c73438d4ce02afa85423564c25c9c376fa98c31ed72f0e9b4
|
||||
MISC ChangeLog-2015 45256 SHA256 7990ac382649222f1681095b7e474e46240ae052ad87391fd1c3cbf7bd0d542d SHA512 ad3736d144428e9525287ab343b1da0b1f7b2b445d7d839b839270a9a472e01fca7773b5b40a7a2af1230441898d92221e860e2f351cbcdd4705b7d4639300b4 WHIRLPOOL 57728c9c2cf2d86347d010ae2989fce4796fe3a5b086e64f1a75943f3667b8cb15c323e73e6522961d443aa4cd7da56e7fecc26fa1ca9df98dfac4f132178e57
|
||||
MISC metadata.xml 1872 SHA256 4080d5131f5ab552054680afa1ee4df00e120113453be04ae0811c496c55bbeb SHA512 aa66bc4cc9c7714919a76fb23443b9184f951ccee887053b42ca217b2c5f286520c7769bbabf1efb31defd5cc895c7c71f5548704bd8a287499a4f887d9fa136 WHIRLPOOL f9c1fa7f4b92d92f041279776cca452794517c96867e307e89f7b8f5a96dec4003782845b2ac3f81e50bddb281eb6e85350354e5547aa24630f0b71072d6008e
|
||||
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit gnome2-utils eutils fdo-mime flag-o-matic font python-single-r1 toolchain-funcs
|
||||
|
||||
MY_P="${P/_}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
FONT_S="${S}/lib/fonts"
|
||||
FONT_SUFFIX="ttf"
|
||||
DESCRIPTION="WYSIWYM frontend for LaTeX, DocBook, etc."
|
||||
HOMEPAGE="http://www.lyx.org/"
|
||||
SRC_URI="ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/${MY_P}.tar.xz
|
||||
ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/${MY_P}/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x64-macos ~x86-macos"
|
||||
IUSE="cups debug nls +latex monolithic-build html rtf dot docbook dia subversion rcs svg gnumeric +hunspell aspell enchant"
|
||||
|
||||
LANGS="ar ca cs de da el en es eu fi fr gl he hu ia id it ja nb nn pl pt ro ru sk sr sv tr uk zh_CN zh_TW"
|
||||
|
||||
for X in ${LANGS}; do
|
||||
IUSE="${IUSE} linguas_${X}"
|
||||
done
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DOCS=( ANNOUNCE NEWS README RELEASE-NOTES UPGRADING )
|
||||
|
||||
COMMONDEPEND="dev-qt/qtgui:4
|
||||
dev-qt/qtcore:4
|
||||
>=dev-libs/boost-1.34:=
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
dev-texlive/texlive-fontsextra
|
||||
virtual/imagemagick-tools[png,svg?]
|
||||
cups? ( net-print/cups )
|
||||
latex? (
|
||||
app-text/texlive
|
||||
app-text/ghostscript-gpl
|
||||
app-text/noweb
|
||||
app-text/dvipng
|
||||
dev-tex/dvipost
|
||||
dev-tex/chktex
|
||||
app-text/ps2eps
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-pictures
|
||||
|| ( dev-texlive/texlive-mathscience dev-texlive/texlive-science )
|
||||
dev-texlive/texlive-genericextra
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
|| (
|
||||
dev-tex/latex2html
|
||||
dev-tex/tth
|
||||
dev-tex/hevea
|
||||
dev-tex/tex4ht[java]
|
||||
)
|
||||
)
|
||||
html? ( dev-tex/html2latex )
|
||||
rtf? (
|
||||
dev-tex/latex2rtf
|
||||
app-text/unrtf
|
||||
dev-tex/html2latex
|
||||
)
|
||||
linguas_he? ( dev-tex/culmus-latex )
|
||||
docbook? ( app-text/sgmltools-lite )
|
||||
dot? ( media-gfx/graphviz )
|
||||
dia? ( app-office/dia )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
rcs? ( dev-vcs/rcs )
|
||||
svg? ( || ( gnome-base/librsvg media-gfx/inkscape ) )
|
||||
gnumeric? ( app-office/gnumeric )
|
||||
hunspell? ( app-text/hunspell )
|
||||
aspell? ( app-text/aspell )
|
||||
enchant? ( app-text/enchant )"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
font_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/2.1-python.patch
|
||||
sed "s:python -tt:${EPYTHON} -tt:g" -i lib/configure.py || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
#bug 221921
|
||||
export VARTEXFONTS=${T}/fonts
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable monolithic-build) \
|
||||
$(use_with hunspell) \
|
||||
$(use_with aspell) \
|
||||
$(use_with enchant) \
|
||||
--without-included-boost \
|
||||
--disable-stdlib-debug \
|
||||
--with-packaging=posix
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use linguas_he ; then
|
||||
echo "\bind_file cua" > "${T}"/hebrew.bind
|
||||
echo "\bind \"F12\" \"language hebrew\"" >> "${T}"/hebrew.bind
|
||||
|
||||
insinto /usr/share/lyx/bind
|
||||
doins "${T}"/hebrew.bind || die
|
||||
fi
|
||||
|
||||
newicon -s 32 "${S}/development/Win32/packaging/icons/lyx_32x32.png" ${PN}.png
|
||||
doicon -s 48 "${S}/lib/images/lyx.png"
|
||||
doicon -s scalable "${S}/lib/images/lyx.svg"
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
dosym ../../../lyx/tex /usr/share/texmf-site/tex/latex/lyx || die
|
||||
fi
|
||||
|
||||
# fonts needed for proper math display, see also bug #15629
|
||||
font_src_install
|
||||
|
||||
python_fix_shebang "${ED}"/usr/share/${PN}
|
||||
|
||||
if use hunspell ; then
|
||||
dosym /usr/share/myspell /usr/share/lyx/dicts
|
||||
dosym /usr/share/myspell /usr/share/lyx/thes
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
font_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
# fix for bug 91108
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
|
||||
# instructions for RTL support. See also bug 168331.
|
||||
if use linguas_he || use linguas_ar; then
|
||||
elog
|
||||
elog "Enabling RTL support in LyX:"
|
||||
elog "If you intend to use a RTL language (such as Hebrew or Arabic)"
|
||||
elog "You must enable RTL support in LyX. To do so start LyX and go to"
|
||||
elog "Tools->Preferences->Language settings->Language"
|
||||
elog "and make sure the \"Right-to-left language support\" is checked"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if use latex ; then
|
||||
texhash
|
||||
fi
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
AUX jpilot-1.8.2-fix-paths.patch 3619 SHA256 f7d6b8d97fb37e8b3d49ac244cf0c99571dccd879a296a0d2a1a1e2287b9b6ce SHA512 25e026aafc04e488183a7537f37566b30c1300f090cc1b4c9eca6531e30654751e10f72c8d45f0ad1bcfa441c659380831de520f41906daec61b4b069fc84f81 WHIRLPOOL 7cbe0a0f4533fccecf4c02b58a8f0a54d154689c41419bd024ed5ae8d52288277b9e4883c0558b5c21a1f8cda9c3b7c5b1b8dff0ba7716727c82cf2573bab488
|
||||
AUX jpilot-1.8.2-qa-desktop-file.patch 280 SHA256 7fd09131af9f0d24629ccb581e307369a9a33586d1bc4501402caa359719bf70 SHA512 ccc59b87c5e7f9074e83e9c3a47799c6779c29583fbd9845a26ad735342b22bf390bf8bed50dc2adac097dea00823ea587c8a5abdce4c197f5160e59c4617a37 WHIRLPOOL 3f26cc42bd2a4f6d131c61526a2ad2e6ed87040b9d4608429b369c4b9dacc50e5342eafe44270cbbcc7c8addbc061f4543a75646d48edf073e0d58f3b2b4dd9c
|
||||
DIST jpilot-1.8.2.tar.gz 1740735 SHA256 2c28ed7acea27ae3d541036f2e2ca5ed7e0121badf477e3cfa5ec8d282337e23 SHA512 733dd51a2acc60760bb1ffaa0d7b4433584a571793d5e4f857492349bae8d032625baf9f0060e619d760628ddda3559bf4be057f45f4dc17ddf1af1ca795c024 WHIRLPOOL 51c834e48b137160d0f313f41a83837428d1a23b0a8955ce8f87fef6dd02051c1705a4f702a543e338cad825303ae4ef89a9f20a3db88875b409404487af622c
|
||||
EBUILD jpilot-1.8.2.ebuild 888 SHA256 902ff5895eda1587ca896ddb552fc7da28b5e3cdebf0d5ca44c6a94601f53be8 SHA512 d9206159fb428c6cbe8ef6955c5bc0ec20b1a46039a7fd58cd295ca4b19a19122baa9fdcf9ea4396abb8e7631a6073f2bfa03a34b61ba22356ab39e816f91349 WHIRLPOOL 548700ed8fd39509ae682b53fe170eacd69f140869994b029cd456b668c2d55ae0f758861f031248ca0647e12c0bb0ac86607face7dc445fa91cd63e7d0e037b
|
||||
EBUILD jpilot-1.8.2.ebuild 894 SHA256 0d124b2ce55fe6714b3011a199d817d72d7182b05d97fbfa43d78fca395e593e SHA512 c6af70006a1fe3a4a595e30e08c46946b632abd912355aa7fab91711cb4765cf63392edd28e941a87cf7e5354866037b73d496b545365ec7309be0f2cdcdc3b0 WHIRLPOOL e1e0c5c16b070f6a1e05ac37a6d03462fb03de81a1533ad1072bb893e955680a3961123a60bf3a5ae7e2da22801c2ef255970fe9a41594f890edb1f82cd1c0ef
|
||||
MISC ChangeLog 3165 SHA256 d03efc13a9144c4dc71ef2e74c7db630129a69d523aa2e3ce11b5a03b143242a SHA512 6759ca7003fce9e23571992a379cca91825aba312c6e6bde1280ebeed07775f4da5f36cc9d4e8b3f75acd2b5e3e082161c9e0471e6c267d3d04aad1c081543a6 WHIRLPOOL d4dc0793c17f0c2d9c8237dc82e895d0f0d4a6726f085e4cae00917087a6c5282ef584770e87d660d945f884933e61e7950b41156be94b5e7641eb73156dfb1d
|
||||
MISC ChangeLog-2015 8990 SHA256 5c18a0e99d16d08cc7c8373193a7c39e1603c669cbc0d44fbeb8d57ffe57e4e1 SHA512 ada6a4434a652d2fc973f9148ecd045a28810b51214e27be562e71640f4156c1982fd9d84a67e6a525af3abc0b05ee5ddedfb9c10e51da62b0da3d97363cce2b WHIRLPOOL 1d19af6c48394270e2719aa6be1f0a91797b0eb471aec544caeff0d7d4ef9b312fe58fe4304e56e352ee4ae672bb34d8ee3af0a8c9bc39062f741e9855a0a25e
|
||||
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST gentoopm-0.2.9.tar.bz2 24652 SHA256 49d757e521a9a254645ca1f765e9ea86c082f68263c697dec84acd2d80d48368 SHA512 e7d1daa811eb6c0877c2bec98b72bce61380802fe704f271a4df6383506d62ba661eb83ac9afd432627e2f10bf38840796768a565b80b6489563cfc54ed81ae7 WHIRLPOOL 2bc4fcace43b306c6677a37bd675042214bef36a7f4977be944d76fcbba735b54490c8d60add7e15fa30ab0213a8fab14c488a55f6da67b0e1cac10eb30e4a20
|
||||
EBUILD gentoopm-0.2.9.ebuild 905 SHA256 2c620d7ab69eb00b3e817fbdd784f366e6d528108af4305b9c70b13d71e54935 SHA512 7a0f8d7429949ede7d17fc1a70b1a77c7c08feb812f9e495b0fa393471b6c43e1faf166f26cccc1a3641f377c1ed53e03f19c336d7641c059bc497e7af57ee9b WHIRLPOOL 0c5adfe8974d2db7de4e97bbf2f91e2f6d0d08c229f64bed8735ff9305581d8edb1224fba621a799fefb037439f2fc36680e0856bcb863ab58ca29ef88f1f8c6
|
||||
EBUILD gentoopm-9999.ebuild 1052 SHA256 0eaec84cded9b57b165559ea706aff9dedd7ff34a65d2a2de90c0d8867565922 SHA512 63b8fd74f0458dee1244d4f0e58e43db909324e968db6108570e735c303ae51f404e59a1a40fb6185190a63d9da5f25557f70661c6978a765e40f13405da5c32 WHIRLPOOL 458d0e310b58705d6244cf3d2a48cdb59b08dd1cf70df454e791fcfb5a15c03233e5e684b591f8682408eb239b69a7412c5a8a9b2746001429d7988a74745c98
|
||||
EBUILD gentoopm-9999.ebuild 1052 SHA256 b10c4f385bb974c61516830dd2bd8240e4cddbdb79a377909998ca917c9295af SHA512 446019bf972e550acca235b0735adb312b037e3d818a85a6e00acd80c35ad6afc279f00ff433237e6a1d02b5c85c6e8f4aca378723d613658529fdd2fd704ec7 WHIRLPOOL 1bb5115c1c6f0156efd387f0413fd6fcb712a30ec566a80ea0a6d1f8b924cdb169608eae37e83865a79c61eebccf03944e4fc6fe18e500ebd8afc8d4f50bc3da
|
||||
MISC ChangeLog 3653 SHA256 b2926877abc4ca955c3deab36f6c013762ee64c80bbd90beee688b9cacc8237e SHA512 d2ce6c1dec7a4a7f3d4c3a990b4d5fde245a62c765b97596ff3d0b9a03816f726170ce61072ee73fa99dbbcfe8e5c4f88777b4202277919465d5e0b2ebe376f2 WHIRLPOOL e133cc282cb72fd50e86e3d7eebf783911a67719e8ecf9825781fabbddb3934ad2a4283b8e08e7f7c4d106a39595f783b71db91b3f5942725797a8ee2cb9114e
|
||||
MISC ChangeLog-2015 9550 SHA256 acb14eb487ae16dfab21b278a891c3ebec1c781cd7154baf5aab028f294a3451 SHA512 73e7a3a7863d93fc10b116ba43a974d28ba040042f89ea440b2de2d33dbf09084c263fa6207f57ae4fa6691d68a759d35390913caf83551c5607480ecfaefa5f WHIRLPOOL 08bc7d65c5bf1142a7097fa4b627eb8ffb87d6c677c6a601dd22fb7cf23f0acdbd418911ea9bf6b4adea10957a16c50f26a2f1080835dcab554a577613b4fb90
|
||||
MISC metadata.xml 527 SHA256 4ce95cdf83d7dc68c4b06314933d03a8c20a9fbeb6ddfcde3eef36bcce02ad13 SHA512 422137d02e652646b6e1cc176d4b5209dd7831dcd63eb1c47ce58105aee6648817cd79b67c8dcc1002cb97c53112b0ec75957821af0935275ee5125013c7ff2e WHIRLPOOL 9bf6c83816ed036411d4f02975114f294891e87e52ed085a3429df485a2f8f0f2f43cb33f99d5a47cf7dc6f6885752c748857cf19c3ee526557570306cd62082
|
||||
|
@ -1,123 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit cmake-utils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
|
||||
HOMEPAGE="https://sourceforge.net/projects/podofo/"
|
||||
SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz
|
||||
https://dev.gentoo.org/~polynomial-c/${PN}-0.9.2-freetype251.patch"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm hppa ppc ppc64 ~sparc x86"
|
||||
IUSE="+boost idn debug test"
|
||||
|
||||
RDEPEND="dev-lang/lua:=
|
||||
idn? ( net-dns/libidn:= )
|
||||
dev-libs/openssl:0=
|
||||
media-libs/fontconfig:=
|
||||
media-libs/freetype:2=
|
||||
virtual/jpeg:0=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
boost? ( dev-util/boost-build )
|
||||
test? ( dev-util/cppunit )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog TODO"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${DISTDIR}"/${PN}-0.9.2-freetype251.patch
|
||||
|
||||
local x sed_args
|
||||
|
||||
sed -i \
|
||||
-e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
|
||||
-e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
|
||||
CMakeLists.txt || die
|
||||
|
||||
# Use pkg-config to find headers for bug #459404.
|
||||
sed_args=
|
||||
for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
|
||||
[[ ${x} == -I* ]] || continue
|
||||
x=${x#-I}
|
||||
if [[ -f ${x}/ft2build.h ]] ; then
|
||||
sed_args+=" -e s:/usr/include/\\r\$:${x}:"
|
||||
elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
|
||||
sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
|
||||
fi
|
||||
done
|
||||
[[ -n ${sed_args} ]] && \
|
||||
{ sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
|
||||
|
||||
# Bug #439784: Add missing unistd include for close() and unlink().
|
||||
sed -i 's:^#include <stdio.h>$:#include <unistd.h>\n\0:' -i \
|
||||
test/unit/TestUtils.cpp || die
|
||||
|
||||
# TODO: fix these test cases
|
||||
# ColorTest.cpp:62:Assertion
|
||||
# Test name: ColorTest::testDefaultConstructor
|
||||
# expected exception not thrown
|
||||
# - Expected: PdfError
|
||||
sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \
|
||||
-i test/unit/ColorTest.h || die
|
||||
|
||||
# ColorTest.cpp:42:Assertion
|
||||
# Test name: ColorTest::testHexNames
|
||||
# assertion failed
|
||||
# - Expression: static_cast<int>(rgb.GetGreen() * 255.0) == 0x0A
|
||||
sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \
|
||||
-i test/unit/ColorTest.h || die
|
||||
|
||||
# Bug #352125: test failure, depending on installed fonts
|
||||
# ##Failure Location unknown## : Error
|
||||
# Test name: FontTest::testFonts
|
||||
# uncaught exception of type PoDoFo::PdfError
|
||||
# - ePdfError_UnsupportedFontFormat
|
||||
sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \
|
||||
-i test/unit/FontTest.h || die
|
||||
|
||||
# Bug #407015: fix to compile with Lua 5.2
|
||||
if has_version '>=dev-lang/lua-5.2' ; then
|
||||
sed -e 's: lua_open(: luaL_newstate(:' \
|
||||
-e 's: luaL_getn(: lua_rawlen(:' -i \
|
||||
tools/podofocolor/luaconverter.cpp \
|
||||
tools/podofoimpose/planreader_lua.cpp || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()'
|
||||
filter-flags -fvisibility-inlines-hidden
|
||||
|
||||
mycmakeargs+=(
|
||||
"-DPODOFO_BUILD_SHARED=1"
|
||||
"-DPODOFO_HAVE_JPEG_LIB=1"
|
||||
"-DPODOFO_HAVE_PNG_LIB=1"
|
||||
"-DPODOFO_HAVE_TIFF_LIB=1"
|
||||
"-DWANT_FONTCONFIG=1"
|
||||
"-DUSE_STLPORT=0"
|
||||
$(cmake-utils_use_want boost)
|
||||
$(cmake-utils_use_has idn LIBIDN)
|
||||
$(cmake-utils_use_has test CPPUNIT)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}"/test/unit
|
||||
./podofo-test --selftest || die "self test failed"
|
||||
}
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="PoDoFo is a C++ library to work with the PDF file format"
|
||||
HOMEPAGE="https://sourceforge.net/projects/podofo/"
|
||||
SRC_URI="mirror://sourceforge/podofo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="+boost idn libressl debug test"
|
||||
|
||||
RDEPEND="dev-lang/lua:=
|
||||
idn? ( net-dns/libidn:= )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
media-libs/fontconfig:=
|
||||
media-libs/freetype:2=
|
||||
virtual/jpeg:0=
|
||||
media-libs/libpng:0=
|
||||
media-libs/tiff:0=
|
||||
sys-libs/zlib:="
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
boost? ( dev-util/boost-build )
|
||||
test? ( dev-util/cppunit )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog TODO"
|
||||
|
||||
src_prepare() {
|
||||
local x sed_args
|
||||
|
||||
# bug 556962
|
||||
sed -i -e 's|Decrypt( pEncryptedBuffer, nOutputLen, pDecryptedBuffer, m_lLen );|Decrypt( pEncryptedBuffer, (pdf_long)nOutputLen, pDecryptedBuffer, (pdf_long\&)m_lLen );|' \
|
||||
test/unit/EncryptTest.cpp || die
|
||||
|
||||
sed -i \
|
||||
-e "s:LIBDIRNAME \"lib\":LIBDIRNAME \"$(get_libdir)\":" \
|
||||
-e "s:LIBIDN_FOUND:HAVE_LIBIDN:g" \
|
||||
CMakeLists.txt || die
|
||||
|
||||
# Use pkg-config to find headers for bug #459404.
|
||||
sed_args=
|
||||
for x in $($(tc-getPKG_CONFIG) --cflags freetype2) ; do
|
||||
[[ ${x} == -I* ]] || continue
|
||||
x=${x#-I}
|
||||
if [[ -f ${x}/ft2build.h ]] ; then
|
||||
sed_args+=" -e s:/usr/include/\\r\$:${x}:"
|
||||
elif [[ -f ${x}/freetype/config/ftheader.h ]] ; then
|
||||
sed_args+=" -e s:/usr/include/freetype2\\r\$:${x}:"
|
||||
fi
|
||||
done
|
||||
[[ -n ${sed_args} ]] && \
|
||||
{ sed -i ${sed_args} cmake/modules/FindFREETYPE.cmake || die; }
|
||||
|
||||
# Bug #439784: Add missing unistd include for close() and unlink().
|
||||
sed -i 's:^#include <stdio.h>$:#include <unistd.h>\n\0:' -i \
|
||||
test/unit/TestUtils.cpp || die
|
||||
|
||||
# TODO: fix these test cases
|
||||
# ColorTest.cpp:62:Assertion
|
||||
# Test name: ColorTest::testDefaultConstructor
|
||||
# expected exception not thrown
|
||||
# - Expected: PdfError
|
||||
sed -e 's:CPPUNIT_TEST( testDefaultConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testGreyConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testRGBConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testCMYKConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationAllConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationNoneConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorSeparationConstructor ://\0:' \
|
||||
-e 's:CPPUNIT_TEST( testColorCieLabConstructor ://\0:' \
|
||||
-i test/unit/ColorTest.h || die
|
||||
|
||||
# ColorTest.cpp:42:Assertion
|
||||
# Test name: ColorTest::testHexNames
|
||||
# assertion failed
|
||||
# - Expression: static_cast<int>(rgb.GetGreen() * 255.0) == 0x0A
|
||||
sed -e 's:CPPUNIT_TEST( testHexNames ://\0:' \
|
||||
-i test/unit/ColorTest.h || die
|
||||
|
||||
# Bug #352125: test failure, depending on installed fonts
|
||||
# ##Failure Location unknown## : Error
|
||||
# Test name: FontTest::testFonts
|
||||
# uncaught exception of type PoDoFo::PdfError
|
||||
# - ePdfError_UnsupportedFontFormat
|
||||
sed -e 's:CPPUNIT_TEST( testFonts ://\0:' \
|
||||
-i test/unit/FontTest.h || die
|
||||
|
||||
# Test name: EncodingTest::testDifferencesEncoding
|
||||
# equality assertion failed
|
||||
# - Expected: 1
|
||||
# - Actual : 0
|
||||
sed -e 's:CPPUNIT_TEST( testDifferencesEncoding ://\0:' \
|
||||
-i test/unit/EncodingTest.h || die
|
||||
|
||||
# Bug #407015: fix to compile with Lua 5.2
|
||||
if has_version '>=dev-lang/lua-5.2' ; then
|
||||
sed -e 's: lua_open(: luaL_newstate(:' \
|
||||
-e 's: luaL_getn(: lua_rawlen(:' -i \
|
||||
tools/podofocolor/luaconverter.cpp \
|
||||
tools/podofoimpose/planreader_lua.cpp || die
|
||||
fi
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
# Bug #381359: undefined reference to `PoDoFo::PdfVariant::DelayedLoadImpl()'
|
||||
filter-flags -fvisibility-inlines-hidden
|
||||
|
||||
mycmakeargs+=(
|
||||
"-DPODOFO_BUILD_SHARED=1"
|
||||
"-DPODOFO_HAVE_JPEG_LIB=1"
|
||||
"-DPODOFO_HAVE_PNG_LIB=1"
|
||||
"-DPODOFO_HAVE_TIFF_LIB=1"
|
||||
"-DWANT_FONTCONFIG=1"
|
||||
"-DUSE_STLPORT=0"
|
||||
-DWANT_BOOST=$(usex boost ON OFF)
|
||||
-DHAVE_LIBIDN=$(usex idn ON OFF)
|
||||
-DHAVE_CPPUNIT=$(usex test ON OFF)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${CMAKE_BUILD_DIR}"/test/unit
|
||||
./podofo-test --selftest || die "self test failed"
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
Source: LibreOffice git master
|
||||
|
||||
|
||||
diff -ur firebird.org/extern/cloop/Makefile firebird/extern/cloop/Makefile
|
||||
--- firebird.org/extern/cloop/Makefile 2016-08-17 18:32:59.078044357 +0200
|
||||
+++ firebird/extern/cloop/Makefile 2016-08-17 18:33:14.430518561 +0200
|
||||
@@ -4,8 +4,6 @@
|
||||
|
||||
TARGET := release
|
||||
|
||||
-CC := gcc
|
||||
-CXX := g++
|
||||
LD := $(CXX)
|
||||
|
||||
SRC_DIR := src
|
@ -0,0 +1,19 @@
|
||||
commit 3618aa2171674babf79ef935aa049c40a3db1321
|
||||
Author: asfernandes <asfernandes@users.sourceforge.net>
|
||||
Date: Sat Mar 5 03:39:36 2016 +0000
|
||||
|
||||
Make the generated code compatible with gcc 6 in C++-14 mode.
|
||||
|
||||
diff --git a/src/gpre/c_cxx.cpp b/src/gpre/c_cxx.cpp
|
||||
index 2af96c6..2dcffd6 100644
|
||||
--- a/src/gpre/c_cxx.cpp
|
||||
+++ b/src/gpre/c_cxx.cpp
|
||||
@@ -2820,7 +2820,7 @@ static void gen_request(const gpre_req* request)
|
||||
printa(0, "static %sshort\n isc_%dl = %d;",
|
||||
(request->req_flags & REQ_extend_dpb) ? "" : CONST_STR,
|
||||
request->req_ident, request->req_length);
|
||||
- printa(0, "static %schar\n isc_%d [] = {", CONST_STR, request->req_ident);
|
||||
+ printa(0, "static %sunsigned char\n isc_%d [] = {", CONST_STR, request->req_ident);
|
||||
|
||||
const TEXT* string_type = "blr";
|
||||
if (gpreGlob.sw_raw)
|
@ -1,7 +1,9 @@
|
||||
DIST psqlodbc-09.06.0200.tar.gz 887807 SHA256 aaa44027f98478635b4ab512a4f90c1aaf56a710276a482b3b0ef6740e20e415 SHA512 d8e3b6c13e657b4a3435ace94e6e1265a5a1a7bcd3a1f81348ca4edcb532b66036e3595ecd7224d3104f6a3f2e02704f73c1b62d94e9879528933edef7764552 WHIRLPOOL 398386f79928e65d29a493fa7d293e9adf2e6352c95c21d9e474675f0a5562128f7f514c834f444659222ebabc84402e5b9abc7a4832728468eb6e4b79c0e609
|
||||
DIST psqlodbc-09.06.0300.tar.gz 898065 SHA256 8033061fdbd27a2a2f7b97fd29d3618ac0dcb68f99dca4bad9bc56d2fc1d0c02 SHA512 c7e31138888307bd25ff80c0796deb653a1e8f57af85ff91f9f307c2b3b683d9d8bc4b18a837dc604a9f896f85ee489a6678a2a69782258b17bdb9d2911e968c WHIRLPOOL ceb5b0d315054de3ba90b6523a68913e91963f0aa9175697e02731ab5811214bbc77dacb139a9b57cc8828ec17a8aed2238203872fc3c82af4f0050aafceea32
|
||||
DIST psqlodbc-09.06.0310.tar.gz 898154 SHA256 6c42078af094d61baca2c8bd1dc4d137a77377198ef94e4eda5989bdce3474c3 SHA512 ccd6536a4065428d906be74c4381471c01b386668be3746daabaa9a9b8ef6fb09c42e400fe1207b6e3336b8625716b6bd9a61e9b88080f4f7cd233e96cb55f8a WHIRLPOOL 7f63af6f72fb1ae77781c20fe4e83077c6372350d19883fa6c6e720683e293b33a2b695d525f4fa788fe59046c4be751a5c79bbd4f8396120c803c11b0f93fb7
|
||||
EBUILD psqlodbc-09.06.0200.ebuild 718 SHA256 ec5758b55a3c3b8346e5a849594fe65fdd5512e77e7648edbfe3d2b73fa34fd2 SHA512 523f1939b1136ae7baa1b23ad99d5643b19edc7ad8815681e7cb1ad19e7499a2cdc33c7c8f3255531a7d1115db909196b1d85261b419d2e0a3d623fb56179c83 WHIRLPOOL d4684a1251955505dd8af790026ec94d2252a2c83a63653ae5dd7f488dd51c45ac8d5f7f533e82e099c141fbe500d9b40f5666b54a68f25da3323ca43ecc25fb
|
||||
EBUILD psqlodbc-09.06.0300.ebuild 684 SHA256 446faa6acb1f608ecd50219c70242523410459ef64795bf37997260740d14029 SHA512 62e2bde253fe3718b48a8e62eabc7d634568c2047e750f98addfd6c297cde3395a460d69b97e64551aa89e8c0008bb39b10bec8f224ec38e587bb1aea4c743b8 WHIRLPOOL a49b7f2552f6e16c67e3d3bb75225cbcde2b76034ba57a1862a36c0dccb7f8d77e813de2b572427718b1402e356300ad4c37ee69524b9c482c4ff81a5bb6cef9
|
||||
EBUILD psqlodbc-09.06.0310.ebuild 684 SHA256 446faa6acb1f608ecd50219c70242523410459ef64795bf37997260740d14029 SHA512 62e2bde253fe3718b48a8e62eabc7d634568c2047e750f98addfd6c297cde3395a460d69b97e64551aa89e8c0008bb39b10bec8f224ec38e587bb1aea4c743b8 WHIRLPOOL a49b7f2552f6e16c67e3d3bb75225cbcde2b76034ba57a1862a36c0dccb7f8d77e813de2b572427718b1402e356300ad4c37ee69524b9c482c4ff81a5bb6cef9
|
||||
MISC ChangeLog 2961 SHA256 74f8a84c1269786d10c3c63de880c8685fd17083957a08ddecc92e7b536663ce SHA512 98c1c92302a54f26f25534b44b0f9e6d093f41b3e2e7c6fefd632fb2ee6150b7d4528cf67228260b23dc8f469c9fdf981c39db813b764e74be0e754d9fddb204 WHIRLPOOL 966d452a974e262e2424910d6cd3a99a04a2340d9145428d29d74569400225f58450ea0433490607d1e711c80e60c59460e33154835b58ceb990405e0179e829
|
||||
MISC ChangeLog-2015 1118 SHA256 4248db8cc84f97a9441faab3b4d8bec88dc4e6d6ebc4ff52467a4dce689dcc53 SHA512 f5936d3780f7de9d714dcb346ea4654eca389e731f68d3d0d587c62f0f47685c8588d21519c18f60ad591675a2997dead1ecdb96b1f75c49f17803a55ba5404e WHIRLPOOL afaa673c5923d677ff7588172c3ebef435f1d7de20da689f0ad4a40ca6c63a17707ac6a4f99d002661221d61089f690f9fcc045d9ad81d7a865c43b20165d9d8
|
||||
MISC metadata.xml 366 SHA256 a2f5d659b5874904cba3e595f2d16fe9f19ecf4d0e7074c326944eeeef928370 SHA512 a6aa6cbb188fa2ed889ecb69c60b77d33c52ee69a5e9b3c20d8faf9bd9616d33f592c85bded3351fb099b6424e2f7728ee11fb1114121604ceacd9e7e0a13f7b WHIRLPOOL 42f7cd372d0a6cc87bc558f6065446ac544dffba4f4b349d43560ec22465220fd718a2e0420cf2d41ef3b08df9f9a88f58747362b08ff48356bb18289652184c
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
DESCRIPTION="Official ODBC driver for PostgreSQL"
|
||||
HOMEPAGE="http://www.postgresql.org/"
|
||||
SRC_URI="mirror://postgresql/odbc/versions/src/${P}.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc iodbc ssl threads"
|
||||
|
||||
DEPEND="dev-db/postgresql:*[ssl?]
|
||||
!iodbc? ( dev-db/unixODBC )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with iodbc) \
|
||||
$(use_with !iodbc unixodbc) \
|
||||
$(use_enable threads pthreads)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc readme.txt
|
||||
use doc && dodoc docs/*{html,jpg,txt}
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_P="${PN}1-${PV}"
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="git://developer.intra2net.com/${PN}"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="http://www.intra2net.com/en/developer/${PN}/download/${MY_P}.tar.bz2"
|
||||
KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Userspace access to FTDI USB interface chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="1"
|
||||
IUSE="cxx doc examples python static-libs test tools"
|
||||
|
||||
RDEPEND="virtual/libusb:1
|
||||
cxx? ( dev-libs/boost )
|
||||
python? ( dev-lang/python )
|
||||
tools? (
|
||||
!<dev-embedded/ftdi_eeprom-1.0
|
||||
dev-libs/confuse
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
python? ( dev-lang/swig )
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
$(cmake-utils_use cxx FTDIPP)
|
||||
$(cmake-utils_use doc DOCUMENTATION)
|
||||
$(cmake-utils_use examples EXAMPLES)
|
||||
$(cmake-utils_use python PYTHON_BINDINGS)
|
||||
$(cmake-utils_use static-libs STATICLIBS)
|
||||
$(cmake-utils_use test BUILD_TESTS)
|
||||
$(cmake-utils_use tools FTDI_EEPROM)
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
dodoc AUTHORS ChangeLog README TODO
|
||||
|
||||
if use doc ; then
|
||||
# Clean up crap man pages. #356369
|
||||
rm -vf "${CMAKE_BUILD_DIR}"/doc/man/man3/_* || die
|
||||
|
||||
doman "${CMAKE_BUILD_DIR}"/doc/man/man3/*
|
||||
dohtml "${CMAKE_BUILD_DIR}"/doc/html/*
|
||||
fi
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
fi
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
DIST xml-commons-resolver-1.2.tar.gz 262701 SHA256 55dbe7bd56452c175320ce9a97b752252c5537427221323c72e9b9c1ac221efe SHA512 0c91057da3198fc488c7b2c20afb029aa4441ad979159c378d532b02caa294d27e730ae2f9857062af5e3815a603a6110c5441dd3fe6b36c342a78beac3c8a6f WHIRLPOOL 37308ea9d08a0bfa5fccd666283786e7bce78532b97b00964f8f994572ea38b7e60d91c9209dac8ce9c88e723905e8b305ca74e8b3b5aedfca9683c9583995f2
|
||||
EBUILD xml-commons-resolver-1.2-r1.ebuild 837 SHA256 8e48617f35eaca44964e6520c1efa9156d64a9d7bfd3ae45e9efeeb36796aefc SHA512 045978426c777dc22ba675d5dd0b896aee5e6d0652b4bcf6069ba2e9cd4d9f30028b2c242e9bd46dbf119dceb127b029b2a4a4a4deb9698ebcfd89a82321ba4d WHIRLPOOL 82a1f37fac1631b585eab39a6e7c7d5bab5c945d2c0aaf6afbc75bc0518499f0cd493a90a142372b9a405239145bc10c2958707c326101e2bb660b5fe48702ab
|
||||
EBUILD xml-commons-resolver-1.2.ebuild 1006 SHA256 f5427cd70d18cf49b792dacaddd1a6f89b01e6778da1718fbb7b600b87359006 SHA512 d09f8fcba26e72e8b94c66f05f764bbc3e3fba32b558e810af2c12662a8f642879746bf1ee3c10177f6bb59f64041b86e89d83a64d1ef9149f5814f6557a3520 WHIRLPOOL 9cc2b5a95ff7269e73aa25cf155210982ae50c9f0ad036a121b1815f80742feb09b141fee28b8d8881ea696234dc91e527f62cbaf831016b10f874747d5df05e
|
||||
EBUILD xml-commons-resolver-1.2-r1.ebuild 834 SHA256 e45c503bfd434f63c99d0004904a660c7631fbd301aaddfbccefa0091b5ea8d8 SHA512 2c738a16fbc718ccd0543029fcdd1e89c90a82e661847bc64a6eb128cbd1274d84614aa3cbd96a264441d197b3a4f5a5adf1e604489936cd9054e538f9232505 WHIRLPOOL 50f9a5952651becf710df9d121fed4a7e0b48ebc0089da0d87e3fd90cc78efce015c6471ca0e2931853ebf58e93db154bd7e1b049ab7b0fe3f6e7ab6f2bd86eb
|
||||
MISC ChangeLog 2613 SHA256 c693acf414460e035da3687da54ae5b079a9c4410138760f6a246a1ee29ac61f SHA512 67cc2f7a37bc2e09866188b79bfef9dc2da773eb68f91d30fee1fa5ddf65ebc26308abe1d1217d9f18b424d07a16c5e6afa34c08785020a732c6862efde6fdbe WHIRLPOOL c00371184a6e5f0639c4f3fb8ccf98b5ae8452150f996cbeeb167d8129e019fe651945cc758011ac860ab27baa707d94d049bb05e6f3be91e4310d6b15552746
|
||||
MISC ChangeLog-2015 5372 SHA256 40e900bc7cb4d58686944b8df6512a9b7df4f39e920d32ffb408edd0f12d6a01 SHA512 1dccf0cc353ffee6974c1f12cd35bd1e3fb37770e2e8ff022e8b2991969334dd1c57ea441db9e5d21ea6ec6acaaf428b2007762080094777616bb9fbda49761c WHIRLPOOL 9f38a636937fa2249ad278cf6d96035f84876824957c7550d605aad2f89c3ce6b96842137b6c90629e29f0f7652b572afae4fb9e53696347e1db3c5bab97c422
|
||||
MISC metadata.xml 232 SHA256 0c8d91b3d514ac42d0eaca567346ab909c0f947049c85c25a380ec2400f1b3fb SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893 WHIRLPOOL 3a1a6d054edc9177d85ca868f9b0a6e84ee51bab4fbdbb9b1ead1a03874036bcc3f96e903fb751dc4d29fdb7d6b5f3d8dbe7b042fc697c887e23f41cc9c8c4ac
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An XML Entity and URI Resolver"
|
||||
HOMEPAGE="http://xml.apache.org/commons/"
|
||||
SRC_URI="mirror://apache/xml/commons/${P}.tar.gz"
|
||||
DEPEND=">=virtual/jdk-1.3"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc64 x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
JAVA_PKG_BSFIX_NAME="resolver.xml"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
rm -rf apidocs resolver.jar || die
|
||||
}
|
||||
|
||||
EANT_BUILD_XML="resolver.xml"
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/resolver.jar
|
||||
|
||||
dodoc KEYS LICENSE.resolver.txt NOTICE-resolver.txt || die
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc build/apidocs/resolver
|
||||
java-pkg_dohtml docs/*.html
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="compiled, garbage-collected systems programming language"
|
||||
HOMEPAGE="http://nim-lang.org/"
|
||||
SRC_URI="http://nim-lang.org/download/${P}.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc +readline test"
|
||||
|
||||
DEPEND="
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
nim_use_enable() {
|
||||
[[ -z $2 ]] && die "usage: nim_use_enable <USE flag> <compiler flag>"
|
||||
use $1 && echo "-d:$2"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
./build.sh || die "build.sh failed"
|
||||
|
||||
./bin/nim c koch || die "csources nim failed"
|
||||
./koch boot -d:release $(nim_use_enable readline useGnuReadline) || die "koch boot failed"
|
||||
|
||||
if use doc; then
|
||||
PATH="./bin:$PATH" ./koch web || die "koch web failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PATH="./bin:$PATH" ./koch test || die "test suite failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
./koch install "${D}/usr" || die "koch install failed"
|
||||
rm -r "${D}/usr/nim/doc" || die "failed to remove 'doc'"
|
||||
|
||||
dodir /usr/bin
|
||||
dosym ../nim/bin/nim /usr/bin/nim
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
dodoc doc/*.html
|
||||
fi
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
AUX botan-1.10.15-c++11.patch 1265 SHA256 242e3d14d39b59a00a50a5a849f11287ca1af3c2ea96f636bdb9ed3b658a16ea SHA512 8d32ee575ad78d0c4182bfbac878fefde43af5180c9d8dc61e8d927682c6dc4d5d321517c1628abc8b2f74d04b9d5bb44756310d9074fffc6b2080ef00911779 WHIRLPOOL ca2a264cf22e3ba5422942fa516289d3d01d895729b1113b096c7dfc5dee55161b2054746d7453d6ec50d6248ca896594d0466721e41ce4eb30fbc2ecb5d4ba1
|
||||
DIST Botan-1.10.15.tgz 2711022 SHA256 c0cc8ffd470fda4b257c3ef9faf5cf93751f4c283dfba878148acafedfab70fe SHA512 c3b93f44ad0de9758af11557833ee570aa0724c8b57c9a576b56ab439a7819e0f71a10857ad367b486716164dd4ff551cab2036ecbbbedd75db4b8dc93416bc8 WHIRLPOOL 834cad8b38787581d8d967b2fa6ffb6164e2bf8a124d993733a7d55202439ec543c18cb6cb03721c0e8eb67cbe2a486b8199b3b8784645e0033be298f36640b9
|
||||
DIST Botan-2.0.1.tgz 4995413 SHA256 a138ed316d11450a8405451b9c9664b8e640a9b7ad84d3f3ad34e8071f364e0b SHA512 c5062ce92a6e6e333b4e6af095ed54d0c4ffacefc6ac87ec651dd1e0937793c9956b7c9c0d3acf49f059505526584168364e01c55ab72c953ad255e8396aed35 WHIRLPOOL 36cec762b05b761d77fc0421379e7c78172c67d1d8c9da4349df34f68d7d1a4fd5cca394ba4bd7c2e1a13a218a6a349b2216bfd7868e93549e37e5cf7ddc7dc1
|
||||
DIST Botan-2.1.0.tgz 5073684 SHA256 460f2d7205aed113f898df4947b1f66ccf8d080eec7dac229ef0b754c9ad6294 SHA512 af9ea35baf431500d380a360525e20e67dd17fdeaa442726019d544e9e423c301196cc17b09a3831f956ca9e62d7e99797f129b26fac10a653dd04e3ad1f4f4f WHIRLPOOL 75289db8f2a6bd075562acc1fd1a8297ad74369022941af7b08878dd94cc28494193a3937aae377c856d2957bf1ac3b564c0cd0ceae0701beab308c082c07fe6
|
||||
EBUILD botan-1.10.15-r1.ebuild 4167 SHA256 8415e0ac517d9ca554cad8c79ad7943c164440e6d503e8b580bb6e11d57ee5e3 SHA512 10d45dab21e759e203167e34fb008c2cb99cc5e2ac8cadd234184c6336538e3c7f4a345edeb949b53479dfae95e151f75b683b45ae56915c39c3a597b6cc6135 WHIRLPOOL 8e1b552f0099ba2a1757487f372382bb32d34524fb4b24e35423ecaec8644db6da93941a899914d5db289c371b50f84aaedd6cc30f945a41f37f0baf442372c4
|
||||
EBUILD botan-2.0.1.ebuild 2999 SHA256 f432139a52682583822878f04fe4741954136cb68f4331b4a78a98d2d7ce1a26 SHA512 aea049c1c52328bd970bddedc3ad6eb37c69e06e98300a61245d0fb5b464c45713b19837cdf82b3912356d8078443f71c5f1ab97b2d147ea82249cb4cb04030d WHIRLPOOL bed54d3fd3c2a586deb94d836004392ff96731a77437aca5f7f183524fcec3bfc5c8bbf3c13b109e50fcf161ec61f3bc214e4b0d495bdc37640f41d8276de485
|
||||
EBUILD botan-2.1.0.ebuild 2738 SHA256 75197e2e0ea8119ce0f507b4b31a26719b73e6b14ded6ff8556b17535edfe9cb SHA512 87ca18cc4405dcbbe1180720c0ddf10a7b52ccf3bc83cc4f5e38e1aa48ddd57a2b22221c64791d21cb953b8f6fdc8593b76307387bd9ccbc60442e93e40cee03 WHIRLPOOL 46debfe929a724072d79daee6cb7891405cfa825deffc38bc7999ebbfefe2f487f4ecb8cf81216c0b2f01e96e8f2678870b4bd4b9b7bdd7bdf72bec31221f75d
|
||||
MISC ChangeLog 6990 SHA256 f7855ce06f452ae297417cfd5f5db8b33910da4bfd5d82615df64c73c82b07bf SHA512 55758698c3013d9a58546846d5fcb05bd0ec3552a027a7f398c35074b4ab06194f19282b59bccff11610f5fcf044a96ea5d96d32ea4bc19f4b12e4739cca61a5 WHIRLPOOL 83a724604833f2521a1eec7cfa512a952a020313e0d8492babe0a18a8108dd43b5869315433092fcb34ea3cea2fc50cd77000c689969e9d3c988086ef81f25f5
|
||||
MISC ChangeLog-2015 14001 SHA256 3965f2c6b8727a5d23738c6a204c1786dedff49d5c4ed7a0d5e310993a10dee4 SHA512 89e3c0d3264354d2b926f971a3a86df4eba9961b680e55e951d2fcb17a1c9b02dedb3d098e90502be6c1b4152e0adbd5cf55d2e56ee5904403c1d6d8b2ee1603 WHIRLPOOL 66370d148c79167a19afe2af5061ce9f7d59b36e9d490adf0ed2d6d871c24cba770a3ce077c8f3b5fe9fc8b95fae66966fce151c41f2b5db5b7df2c9361df031
|
||||
MISC metadata.xml 683 SHA256 b7e03ba1e71b686705d8e94a7245cdd5d0fb48c96d7a2a792b012ad84650bcc4 SHA512 792021073ffb70c832f90e572949a89c8c0c0b310dc564def23018024ec38c9d23ec932378e124ca5aa4331d509abce73df53e2a9f44a9eea3a2def55cf72f95 WHIRLPOOL 303d50a9a55ab25fb61326f3443a0cfb105285ee292597c8138c4d1db26d167e35115d5b70ae317a72840c426275a7bd32489bbbcf8d3feac593b403a036efba
|
||||
|
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs
|
||||
|
||||
MY_PN="Botan"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="A C++ crypto library"
|
||||
HOMEPAGE="http://botan.randombit.net/"
|
||||
SRC_URI="http://botan.randombit.net/releases/${MY_P}.tgz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos"
|
||||
SLOT="2/0"
|
||||
LICENSE="BSD"
|
||||
IUSE="bindist doc boost python bzip2 libressl lzma sqlite ssl static-libs zlib"
|
||||
REQUIRED_USE="python? ( boost ) boost? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
|
||||
zlib? ( >=sys-libs/zlib-1.2.3 )
|
||||
boost? ( ${PYTHON_DEPS} >=dev-libs/boost-1.48[python?,${PYTHON_USEDEP}] )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0=[bindist=] )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/python:*
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use doc || sed \
|
||||
-e "/^install:/s/ docs//" \
|
||||
-i src/build-data/makefile/gmake.in
|
||||
use python && python_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable_modules=( proc_walk unix_procs )
|
||||
use boost || disable_modules+=( "boost" )
|
||||
use bindist && disable_modules+=( "ecdsa" )
|
||||
use python || disable_modules+=( "ffi" )
|
||||
elog "Disabling modules: ${disable_modules[@]}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
local pythonvers=()
|
||||
if use python; then
|
||||
append() {
|
||||
pythonvers+=( ${EPYTHON/python/} )
|
||||
}
|
||||
python_foreach_impl append
|
||||
fi
|
||||
|
||||
./configure.py \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--destdir="${D}/${EPREFIX}/usr" \
|
||||
--libdir=$(get_libdir) \
|
||||
--docdir=share/doc \
|
||||
--cc=gcc \
|
||||
--os=${myos} \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--without-sphinx \
|
||||
$(use_with doc sphinx) \
|
||||
$(use_with bzip2) \
|
||||
$(use_with lzma) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
$(use_with boost) \
|
||||
--with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \
|
||||
--disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CXX="$(tc-getCXX) -pthread" AR="$(tc-getAR) crs" LIB_OPT="-c ${CXXFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
|
||||
if ! use static-libs; then
|
||||
rm "${ED}usr/$(get_libdir)/libbotan"*.a || die 'remove of static libs failed'
|
||||
fi
|
||||
|
||||
use python && python_foreach_impl python_optimize
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST confuse-3.0.tar.xz 449144 SHA256 bb75174e02aa8b44fa1a872a47beeea1f5fe715ab669694c97803eb6127cc861 SHA512 12279045b772e94d2e29201ab1d7aef1ef8e698780a22d6a282d12f51ccd9a437e7817a4dd5e39bdfc8dae79700b72aa0783b4b983a935d751403d2cffd1161e WHIRLPOOL fe9f792b9f0858029393a811da93746fb91dc6cc3c99bfcc3a183d7bc0f3600818b96df8d169c63e64a59cb0f3857a86298f0bfd4053c8360bcd2b6bd1e71156
|
||||
EBUILD confuse-3.0.ebuild 1153 SHA256 e6f96caf375813805ffbb61472a6d3482207c4f73769a4c40cb8a018e94ff746 SHA512 cec3f1e5e4c06399be0a55071280bd851b02ef3c3e81e542ab85bd204a681c9b7b5b85407da57e04c43b5296cda4256a319254d54910b9c76cd4c21ab193e8b1 WHIRLPOOL 5550dde82007cd8d99ca194403da16759e82a9b17fb31860e929f180fee998e011497275f2c030cf3b871b934c4fd642f2635945857af537c6d66b07add48b16
|
||||
EBUILD confuse-3.0.ebuild 1159 SHA256 8fc7f07e40b750f6ca8c399f0c27f49cae515cb044e8ad27eb236f4fed3d406b SHA512 909e03efaaeff4009f95a772087368d2775fe89077ecefe9fe927b9668b79ab0b09e1f0e92463af7e1e01b7cbed465412f39b2df6bb4dda34626eb338e6f21f8 WHIRLPOOL 311b6499c003036f3bac2be509b6e46455fa0606011a6cfd537bb7c99ae75b743da567cbd7f56ede7905a344f4f019e0d79da146c67f47fdf08b46141c8bb458
|
||||
MISC ChangeLog 3238 SHA256 7d05dc104c7f19d6c4c9f563594d424a78fe9d7cea3d87db10606010eb42e7a7 SHA512 1e54e90656e60daf0b721272e69c405a21e82a0f735d5f24af407afb5484948bbd2eba50d31232dc5785cab2eb12af0e3c32a02cc965d02a663e34ea63b890c8 WHIRLPOOL 6a9083788ce970508ba86998286745f7f95d5fcc4e4f8a95d9a64d0099fef2efa706c7007fda64e501668c0d922f9d9cc5e45766b8edf80276e9a5cfd35680e4
|
||||
MISC ChangeLog-2015 6775 SHA256 941579df4145ee3db54980905eba6087cb6f34b929c37f36e91fdf498a92e445 SHA512 c8936a44771fbd0a425257a4bc0b579b630fa870cbd4633dc74d5f532e6ad20b56a7dc94f49810407df14ae0ac26f6c92debce0be02adab75a76416ae733b45a WHIRLPOOL 1675feddf111bef96a1c4abd35e4c570fe14fbf1341f1f00db5cf0cc0eaaa80b15e75df6a00702420918b6f2bf7921b2976c6b4931f77d2c35bbf2d075754e63
|
||||
MISC metadata.xml 330 SHA256 5ceb57a510666bdeb265acd3454a8c525dd61976d6e1a28fb188bb5d03da970c SHA512 240e353d9f2dc60b40eab3def6e661a9a40e22bf9cdb3e3d0bdc351cc26f45a8104dd5ab487d0248087b6be702640bafc8851c6dddaa315a6260fb61858d790c WHIRLPOOL 517540e55e4fa357248cd1d996627b0f8c167bd0c720070559c205afefcf585e2b7c3134ab3c84b9af5ab7fb599293337b13c166537450c67401c8f2c49a14df
|
||||
|
@ -1,5 +1,7 @@
|
||||
DIST d0_blind_id-0.5.tar.gz 344460 SHA256 9a223609df9c5d92c63047fc320ae64034ccd8815624da84806e0916c9f4ac75 SHA512 0a7735269a41108f191c4143b52eff2179889d94239be5be0c2406c6ed789b68e2d545250f9964e97f8c86a0653296bacdbe9b8d9db89a79ca6922d7c1a90162 WHIRLPOOL f87a624283df549d852c2a859f60e9cfd51ef85fa6233d254dd3f6c4bef95ffb9e2aff95584791ff4bad01fb3b557903aa223654607e61ab742d5fb1ae217594
|
||||
DIST d0_blind_id-1.0.tar.gz 49110 SHA256 e9edcc55af1b322a5e51832f4a95b456a368d527b34ff31ebe88340728eca5a1 SHA512 dbee0bec44a008a6843ec367211e4cdfa25f6c4577b48d942d19301d5ff885d4fde8d40ea304a114d349d8e90283a50854afb2fb322bf19640842ded025849f2 WHIRLPOOL 15e10c6dae4982f16f20c97e541a012947232d1a6881ea7151d20759510d7ed9fa1f38a94469f90e736d375532a3781700eb25f0617d315fc4d94f6d6d21d57e
|
||||
EBUILD d0_blind_id-0.5.ebuild 827 SHA256 d6b6edaa6522de6e03b9136fe05b8fbb966dacf9228eca7c31da4d8040904364 SHA512 08831d2d55d3210fb8b9bf8477a593887d52976dd0c9fc4fa07ff9ae63d67e7ef372e788746d16939148bf25fd72ced95b2cc86b0f30ced3edc3b94d7f66892f WHIRLPOOL 3cfd7db6e197b5dada5873df9ae922b4ef1363131d898f9687fe5f57bdf6e059786409c7a2163e8eff55083f6bcd8e72a9d91cb221f5b64a0c005e3910f76594
|
||||
EBUILD d0_blind_id-1.0.ebuild 990 SHA256 3b73d73351b85d500ba15020b79f94749c1a8346bf69d1c4c0cba6d79a5f0765 SHA512 5c18e7be28c6508659dcc42d879195cf61f1a9b4d72fb990daef12e50a35847a3307cf8c8ce168d4bd4234c0ae5ba59628bfd62a644ecf1d35f98347719fedad WHIRLPOOL 2b610813bd8a99707069c68c68f266cc1ad8d6b9fb4ba613ee40e0338223356888acb2bb27efc3a8d4d079437b5c1a1485d96ef29d76af6bb3e189843292b40e
|
||||
MISC ChangeLog 2435 SHA256 d14fa009e2416d1252f125bf6dfafcd49cdf3ba779536ea8de08fb843ad6438b SHA512 81ff568fbc964b533b10c829e4ac2329cbbc83323f0a274fbc0d5295d5eb19cb27ce43031290c1fdcebd87d42e527f225e69f670181d93fa843f35a2fcdc2c94 WHIRLPOOL aee20ee97f71809e49d598ef08783340931ba0bbfa3b7f4f6ee59f5c1d223c165780c7c2532b31320fd5635ba74466fc2575446ade103f004e7093ee014c4ab1
|
||||
MISC ChangeLog-2015 1877 SHA256 d94f8ce92ab7c4a0a15c72bc2837ff943a1d196f2144aaf6ebeb359619d78dd9 SHA512 bf6ef9af58129e6e5072674bb55ae967aa790a841774c22c50cd774299efcecc5272a9ea7305f7218d45452fd3d7163e83e853edbd2709d5ec3be167845857d8 WHIRLPOOL b79bb1ffb3a5941812b91b432988ac9e855f0706d321efc6b97337dc38ba9d54ed1994230a1f225207e1498308e97e23aab2fa8f21b74ff7491f8e6a874995bc
|
||||
MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
|
||||
HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
|
||||
SRC_URI="https://github.com/divVerent/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/gmp:0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( d0_blind_id.txt )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix out-of-source build
|
||||
sed -i \
|
||||
-e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-rijndael
|
||||
--without-openssl
|
||||
--without-tfm
|
||||
--without-tommath
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A BSON utility library"
|
||||
HOMEPAGE="https://github.com/mongodb/libbson"
|
||||
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86"
|
||||
IUSE="debug examples static-libs"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
# https://github.com/mongodb/mongo-c-driver/issues/54
|
||||
sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/bson/Makefile.am \
|
||||
tests/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-optimizations \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Installing all the manuals conflicts with man-pages
|
||||
doman doc/man/bson_*.3
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/*.c
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue