857 changed files with 5856 additions and 4757 deletions
-
BINManifest.files.gz
-
BINapp-admin/Manifest.gz
-
2app-admin/collectd/collectd-5.7.2-r1.ebuild
-
7app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.3.1-r1.ebuild
-
3app-admin/haskell-updater/haskell-updater-1.2.12-r1.ebuild
-
2app-admin/mcollective/mcollective-2.12.0-r1.ebuild
-
5app-admin/packagekit-base/packagekit-base-1.1.7-r1.ebuild
-
1app-admin/perl-cleaner/perl-cleaner-2.26-r1.ebuild
-
1app-admin/perl-cleaner/perl-cleaner-9999.ebuild
-
2app-admin/puppet-agent/Manifest
-
86app-admin/puppet-agent/puppet-agent-5.5.0.ebuild
-
1app-admin/puppet/Manifest
-
144app-admin/puppet/puppet-5.5.0.ebuild
-
1app-admin/puppetdb/Manifest
-
92app-admin/puppetdb/puppetdb-5.2.1.ebuild
-
1app-admin/puppetserver/Manifest
-
130app-admin/puppetserver/puppetserver-5.3.0.ebuild
-
7app-admin/salt/salt-2017.7.4-r2.ebuild
-
10app-admin/webapp-config/webapp-config-1.55-r1.ebuild
-
10app-admin/webapp-config/webapp-config-9999.ebuild
-
BINapp-crypt/Manifest.gz
-
6app-crypt/WiRouterKeyRec/WiRouterKeyRec-1.1.2.ebuild
-
164app-crypt/ekeyd/ekeyd-1.1.5-r1.ebuild
-
2app-crypt/ekeyd/files/ekeyd.service
-
52app-crypt/pinentry/files/pinentry-1.0.0-make-icon-work-under-Plasma-Wayland.patch
-
103app-crypt/pinentry/pinentry-1.0.0-r3.ebuild
-
93app-crypt/qca/qca-2.1.3-r2.ebuild
-
BINapp-editors/Manifest.gz
-
7app-editors/diakonos/diakonos-0.9.4.ebuild
-
2app-editors/emacs/emacs-25.3-r4.ebuild
-
57app-editors/hteditor/files/hteditor-2.1.0-format-security.patch
-
45app-editors/hteditor/files/hteditor-2.1.0-gcc-6-uchar.patch
-
60app-editors/hteditor/hteditor-2.1.0-r1.ebuild
-
1app-editors/hteditor/hteditor-2.1.0.ebuild
-
BINapp-misc/Manifest.gz
-
1app-misc/byobu/Manifest
-
43app-misc/byobu/byobu-5.125.ebuild
-
BINapp-office/Manifest.gz
-
45app-office/calligra/files/calligra-3.1.0-qt-5.11.patch
-
1app-office/gnucash/Manifest
-
162app-office/gnucash/gnucash-2.7.7.ebuild
-
2app-office/kmymoney/kmymoney-5.0.1-r2.ebuild
-
BINapp-portage/Manifest.gz
-
7app-portage/demerge/demerge-0.047-r3.ebuild
-
8app-portage/diffmask/diffmask-0.3.3-r3.ebuild
-
8app-portage/diffmask/diffmask-9999.ebuild
-
12app-portage/distpatch/distpatch-0.1.2-r1.ebuild
-
6app-portage/eclass-manpages/eclass-manpages-99999999.ebuild
-
7app-portage/elogviewer/elogviewer-2.7-r1.ebuild
-
7app-portage/emerge-delta-webrsync/emerge-delta-webrsync-3.7.3-r1.ebuild
-
7app-portage/epkg/epkg-0.4-r1.ebuild
-
6app-portage/esearch/esearch-1.3-r2.ebuild
-
6app-portage/esearch/esearch-9999.ebuild
-
8app-portage/euscan/euscan-0.1.1-r2.ebuild
-
8app-portage/euscan/euscan-9999.ebuild
-
8app-portage/flaggie/flaggie-0.2.1-r1.ebuild
-
8app-portage/flaggie/flaggie-9999.ebuild
-
7app-portage/g-cpan/g-cpan-0.16.9-r1.ebuild
-
7app-portage/g-cpan/g-cpan-9999.ebuild
-
8app-portage/g-octave/g-octave-0.4.1-r6.ebuild
-
7app-portage/g-sorcery/g-sorcery-0.2-r1.ebuild
-
7app-portage/g-sorcery/g-sorcery-9999.ebuild
-
6app-portage/gentoolkit/gentoolkit-0.4.2-r1.ebuild
-
6app-portage/gentoolkit/gentoolkit-9999.ebuild
-
3app-portage/gentoopm/gentoopm-0.2.9-r1.ebuild
-
3app-portage/gentoopm/gentoopm-9999.ebuild
-
5app-portage/grs/grs-0.6-r1.ebuild
-
5app-portage/grs/grs-9999.ebuild
-
7app-portage/hackport/hackport-0.5.5-r1.ebuild
-
14app-portage/layman/layman-2.4.2-r1.ebuild
-
14app-portage/layman/layman-9999.ebuild
-
7app-portage/metagen/metagen-0.6.6-r1.ebuild
-
3app-portage/metagen/metagen-9999.ebuild
-
8app-portage/overlint/overlint-0.5.3-r1.ebuild
-
7app-portage/pfl/pfl-2.4-r5.ebuild
-
6app-portage/porthole/porthole-0.6.1-r5.ebuild
-
32app-portage/portpeek/portpeek-2.1.26-r1.ebuild
-
4app-portage/portpeek/portpeek-2.1.26.ebuild
-
9app-portage/repo-commit/repo-commit-0.4.1-r1.ebuild
-
9app-portage/repo-commit/repo-commit-9999.ebuild
-
5app-portage/unsymlink-lib/unsymlink-lib-12-r1.ebuild
-
5app-portage/unsymlink-lib/unsymlink-lib-9999.ebuild
-
BINapp-text/Manifest.gz
-
2app-text/asciidoc/asciidoc-8.6.10.ebuild
-
2app-text/docbook-xsl-stylesheets/docbook-xsl-stylesheets-1.79.1-r2.ebuild
-
2app-text/texlive/texlive-2017.ebuild
-
9app-text/tidy-html5/tidy-html5-5.6.0.ebuild
-
5app-text/xdvik/xdvik-22.87.03-r1.ebuild
-
4app-text/xmlformat/xmlformat-1.04.ebuild
-
BINdev-haskell/Manifest.gz
-
4dev-haskell/blaze-html/blaze-html-0.6.1.2.ebuild
-
4dev-haskell/blaze-html/blaze-html-0.6.1.3.ebuild
-
4dev-haskell/blaze-html/blaze-html-0.7.1.0.ebuild
-
4dev-haskell/blaze-html/blaze-html-0.8.1.1.ebuild
-
4dev-haskell/blaze-html/blaze-html-0.8.1.2.ebuild
-
4dev-haskell/bytestring-handle/bytestring-handle-0.1.0.4.ebuild
-
4dev-haskell/css-text/css-text-0.1.2.1.ebuild
-
4dev-haskell/fgl/fgl-5.5.2.3.ebuild
-
4dev-haskell/fgl/fgl-5.5.3.0.ebuild
-
4dev-haskell/hamlet/hamlet-1.1.9.2.ebuild
@ -0,0 +1,86 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=5 |
|||
inherit eutils systemd unpacker user |
|||
|
|||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter" |
|||
HOMEPAGE="https://puppetlabs.com/" |
|||
SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet5/${PN:0:1}/${PN}/${PN}_${PV}-1stretch" |
|||
SRC_URI=" |
|||
amd64? ( ${SRC_BASE}_amd64.deb ) |
|||
x86? ( ${SRC_BASE}_i386.deb )" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
IUSE="puppetdb selinux" |
|||
RESTRICT="strip" |
|||
|
|||
CDEPEND="!app-admin/augeas |
|||
!app-admin/mcollective |
|||
!app-admin/puppet |
|||
!dev-ruby/hiera |
|||
!dev-ruby/facter |
|||
!app-emulation/virt-what" |
|||
|
|||
DEPEND=" |
|||
${CDEPEND}" |
|||
RDEPEND="${CDEPEND} |
|||
app-portage/eix |
|||
sys-apps/dmidecode |
|||
sys-libs/glibc |
|||
sys-libs/readline:0/7 |
|||
sys-libs/ncurses:0[tinfo] |
|||
selinux? ( |
|||
sys-libs/libselinux[ruby] |
|||
sec-policy/selinux-puppet |
|||
) |
|||
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )" |
|||
|
|||
S=${WORKDIR} |
|||
|
|||
pkg_setup() { |
|||
enewgroup puppet |
|||
enewuser puppet -1 -1 /var/run/puppet puppet |
|||
} |
|||
|
|||
src_install() { |
|||
# conf.d |
|||
doconfd etc/default/puppet |
|||
doconfd etc/default/mcollective |
|||
doconfd etc/default/pxp-agent |
|||
# logrotate.d |
|||
insinto /etc/logrotate.d |
|||
doins etc/logrotate.d/mcollective |
|||
doins etc/logrotate.d/pxp-agent |
|||
# puppet itself |
|||
insinto /etc/puppetlabs |
|||
doins -r etc/puppetlabs/* |
|||
# logdir for systemd |
|||
dodir var/log/puppetlabs/puppet/ |
|||
fperms 0750 var/log/puppetlabs/puppet/ |
|||
# the rest |
|||
insinto /opt |
|||
dodir opt/puppetlabs/puppet/cache |
|||
doins -r opt/* |
|||
fperms 0750 /opt/puppetlabs/puppet/cache |
|||
# init |
|||
newinitd "${FILESDIR}/puppet.initd" puppet |
|||
newinitd "${FILESDIR}/mcollective.initd" mcollective |
|||
systemd_dounit lib/systemd/system/puppet.service |
|||
systemd_dounit lib/systemd/system/mcollective.service |
|||
systemd_dounit lib/systemd/system/pxp-agent.service |
|||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf |
|||
# symlinks |
|||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/" |
|||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper" |
|||
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter |
|||
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera |
|||
dosym ../../opt/puppetlabs/bin/mco /usr/bin/mco |
|||
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet |
|||
dosym ../../opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived |
|||
dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what |
|||
dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse |
|||
dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool |
|||
} |
@ -0,0 +1,144 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI="6" |
|||
|
|||
USE_RUBY="ruby22 ruby23 ruby24" |
|||
|
|||
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
|||
|
|||
RUBY_FAKEGEM_TASK_DOC="doc:all" |
|||
|
|||
RUBY_FAKEGEM_EXTRAINSTALL="locales" |
|||
|
|||
inherit 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 ~arm ~hppa ~ppc ~ppc64 ~x86" |
|||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax" |
|||
RESTRICT="test" |
|||
|
|||
ruby_add_rdepend " |
|||
dev-ruby/hiera |
|||
dev-ruby/json:= |
|||
>=dev-ruby/facter-3.0.0 |
|||
augeas? ( dev-ruby/ruby-augeas ) |
|||
diff? ( dev-ruby/diff-lcs ) |
|||
doc? ( dev-ruby/rdoc ) |
|||
ldap? ( dev-ruby/ruby-ldap ) |
|||
shadow? ( dev-ruby/ruby-shadow ) |
|||
sqlite? ( dev-ruby/sqlite3 ) |
|||
virtual/ruby-ssl |
|||
dev-ruby/hocon" |
|||
|
|||
ruby_add_bdepend " |
|||
doc? ( dev-ruby/yard ) |
|||
test? ( |
|||
dev-ruby/mocha |
|||
dev-ruby/rack |
|||
dev-ruby/rspec-its |
|||
)" |
|||
# this should go in the above lists, but isn't because of test deps not being keyworded |
|||
# dev-ruby/rspec-collection_matchers |
|||
|
|||
RDEPEND+=" ${RDEPEND} |
|||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] ) |
|||
selinux? ( |
|||
sys-libs/libselinux[ruby] |
|||
sec-policy/selinux-puppet |
|||
) |
|||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 ) |
|||
>=app-portage/eix-0.18.0" |
|||
PDEPEND="emacs? ( >=app-emacs/puppet-mode-0.3-r1 )" |
|||
|
|||
pkg_setup() { |
|||
enewgroup puppet |
|||
enewuser puppet -1 -1 /var/lib/puppet puppet |
|||
} |
|||
|
|||
all_ruby_prepare() { |
|||
# Avoid spec that require unpackaged json-schema. |
|||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die |
|||
|
|||
# can't be run within portage. |
|||
epatch "${FILESDIR}/puppet-fix-tests-4.7.0.patch" |
|||
|
|||
# fix systemd path |
|||
epatch "${FILESDIR}/puppet-systemd.patch" |
|||
|
|||
# Avoid specs that can only run in the puppet.git repository. This |
|||
# should be narrowed down to the specific specs. |
|||
rm spec/integration/parser/compiler_spec.rb || die |
|||
|
|||
# Avoid failing spec that need further investigation. |
|||
rm spec/unit/module_tool/metadata_spec.rb || die |
|||
} |
|||
|
|||
each_ruby_install() { |
|||
each_fakegem_install |
|||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}" |
|||
} |
|||
|
|||
all_ruby_install() { |
|||
all_fakegem_install |
|||
|
|||
# systemd stuffs |
|||
insinto /usr/lib/systemd/system |
|||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service" |
|||
|
|||
# tmpfiles stuff |
|||
insinto /usr/lib/tmpfiles.d |
|||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf" |
|||
|
|||
# openrc init stuff |
|||
newinitd "${FILESDIR}"/puppet.init-4.x puppet |
|||
newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster |
|||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster |
|||
|
|||
keepdir /etc/puppetlabs/puppet/ssl |
|||
|
|||
keepdir /var/lib/puppet/facts |
|||
keepdir /var/lib/puppet/files |
|||
fowners -R puppet:puppet /var/lib/puppet |
|||
|
|||
fperms 0750 /var/lib/puppet |
|||
|
|||
fperms 0750 /etc/puppetlabs |
|||
fperms 0750 /etc/puppetlabs/puppet |
|||
fperms 0750 /etc/puppetlabs/puppet/ssl |
|||
fowners -R :puppet /etc/puppetlabs |
|||
fowners -R :puppet /var/lib/puppet |
|||
|
|||
if use ldap ; then |
|||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema |
|||
fi |
|||
|
|||
# ext and examples files |
|||
for f in $(find ext examples -type f) ; do |
|||
docinto "$(dirname ${f})"; dodoc "${f}" |
|||
done |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog |
|||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could" |
|||
elog "cause puppet to hang while installing packages." |
|||
elog |
|||
elog "Portage Puppet module with Gentoo-specific resources:" |
|||
elog "http://forge.puppetlabs.com/gentoo/portage" |
|||
elog |
|||
|
|||
for v in ${REPLACING_VERSIONS}; do |
|||
if [ "$(get_major_version $v)" = "4" ]; then |
|||
elog |
|||
elog "Please see the following url for the release notes for puppet-5" |
|||
elog "https://docs.puppet.com/puppet/5.0/release_notes.html#if-youre-upgrading-from-puppet-4x" |
|||
elog |
|||
fi |
|||
done |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST puppetdb-5.1.3.tar.gz 24157962 BLAKE2B 750159e8c83cfdc820040bb6837c83309d96da519a84fdf6aadd394473993f128edbd76b7a5b0e2591f75d52c9fdf942e84545ff97b8a7d29ac3ae3520d04ea1 SHA512 153e6cba59fb824fd9bca802ea4f0e05e6c6d69d6ef47566079bdf1ac26f7bc13fa893b633f9506494d2189ef160b6b3c23fcb340e76df41089228c047c566e0 |
|||
DIST puppetdb-5.1.4.tar.gz 25425088 BLAKE2B daa4788676d85d3a51d2b572aa9bf88b50fa1a35c92d175b44c532e7d82c3f19b734d885411174a8929a772b25a405738a08dca009a1369bfcb69a456e819f96 SHA512 2a34a6188bc474742e6b9cba5f0df1d5bcecd176f2874e12dbbf9c2fa8706b2d9276baece09f7a593eb6ab7cccd6b8804e15d67cb99cedcf7f6226fd59e82308 |
|||
DIST puppetdb-5.2.1.tar.gz 25435195 BLAKE2B aed0e6175df0a603ea0aaf792c31b4933d408a4f7a037b557a8acb4b237e4c639a06f954232e049efe4b486d780a3af129c8a6a48833019168cd70f38e5bf403 SHA512 6d0b06f083093394f74e952112c6b388fd6c94452cf2954172dafc5dc42c7a0b45f6a9a7afcb6196f12316e15653943c3faed8a06ba7a7bd75a31db8515e0103 |
@ -0,0 +1,92 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit multilib systemd user |
|||
|
|||
DESCRIPTION="PuppetDB collects data generated by Puppet." |
|||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/" |
|||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="" |
|||
# will need the same keywords as puppet |
|||
KEYWORDS="~amd64 ~x86" |
|||
|
|||
RDEPEND+=">=virtual/jdk-1.7.0" |
|||
DEPEND+="" |
|||
|
|||
pkg_setup() { |
|||
enewgroup puppetdb |
|||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb" |
|||
} |
|||
|
|||
src_prepare() { |
|||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die |
|||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die |
|||
sed -i 's/sysconfig/conf\.d/g' install.sh || die |
|||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die |
|||
sed -i 's/var\/run/run/g' install.sh || die |
|||
default |
|||
} |
|||
|
|||
src_compile() { |
|||
einfo "not compiling" |
|||
} |
|||
|
|||
src_install() { |
|||
dodir /opt/puppetlabs/server/data/puppetdb |
|||
insinto /opt/puppetlabs/server/apps/puppetdb |
|||
insopts -m0744 |
|||
doins ext/ezbake-functions.sh |
|||
insopts -m0644 |
|||
doins ext/ezbake.manifest |
|||
doins puppetdb.jar |
|||
insinto /etc/puppetlabs/puppetdb |
|||
doins ext/config/logback.xml |
|||
doins ext/config/bootstrap.cfg |
|||
doins ext/config/request-logging.xml |
|||
insinto /etc/puppetlabs/puppetdb/conf.d |
|||
doins ext/config/conf.d/jetty.ini |
|||
doins ext/config/conf.d/repl.ini |
|||
doins ext/config/conf.d/database.ini |
|||
doins ext/config/conf.d/config.ini |
|||
insopts -m0755 |
|||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts |
|||
doins install.sh |
|||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps |
|||
doins ext/cli/foreground |
|||
doins ext/cli/ssl-setup |
|||
doins ext/cli/config-migration |
|||
doins ext/cli/foreground |
|||
doins ext/cli/anonymize |
|||
doins ext/cli/reload |
|||
doins ext/cli/start |
|||
doins ext/cli/stop |
|||
insinto /opt/puppetlabs/server/apps/puppetdb/bin |
|||
doins ext/bin/puppetdb |
|||
insopts -m0644 |
|||
dodir /opt/puppetlabs/server/bin |
|||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb |
|||
dodir /opt/puppetlabs/bin |
|||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb |
|||
dosym ../../opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb |
|||
# init type tasks |
|||
newconfd ext/default puppetdb |
|||
systemd_dounit ext/redhat/puppetdb.service |
|||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf |
|||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb |
|||
# misc |
|||
insinto /etc/logrotate.d |
|||
newins ext/puppetdb.logrotate.conf puppetdb |
|||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb |
|||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'" |
|||
elog |
|||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'" |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST puppetserver-5.1.4.tar.gz 66628031 BLAKE2B 815f0eb1508589855556ae0f82a2f595a22fd3e13a8168c7c2d8add0f7c18981bb220feee9573d29a94a06e13ac801797e6d96a9ef378c4a743889c938e4238f SHA512 4444880041e36aaee8834476dacdbd5fb166326f054b8beca55f644d1c97318bc2dd0d3d3ae8bfbc1b072e61efcde87c31e763c48a77b05c3af5f873e969d820 |
|||
DIST puppetserver-5.1.5.tar.gz 66639947 BLAKE2B 897b340711facada214e68d6ae571e5eca1d6f966a72509fb6d862f89a9e1befa388d1766ee8332edbd8a3a61ba320888525e265b93953a3c6e2931c760c44fc SHA512 7451ae86b5bce59aad502e344bdc60fe4fb3a2351ff1737bc249051e0628bbdf5d6b5fd3e2764c15783945d4604dc7c1efbeb2fd9faedd36d870cc3669d7af53 |
|||
DIST puppetserver-5.3.0.tar.gz 66913938 BLAKE2B ed24e0c5a8ad14c2c63f7a88deca6a020121fa53890a68b83f3608081c6480540056d483a00df5c1b0d5a008216f27b5d72efa54d885c55f09b1f40441469b39 SHA512 5f08f0adba257947ec61eae91b7a417e9055510e278e444ce7c88358163b9bb00f2bf02580ace6064e508c43f8b60ca21d12aa3d1525814754e6259791b34bc5 |
@ -0,0 +1,130 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit multilib systemd tmpfiles user |
|||
|
|||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents." |
|||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/" |
|||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="puppetdb" |
|||
# will need the same keywords as puppet |
|||
KEYWORDS="~amd64 ~x86" |
|||
|
|||
RDEPEND+=" |
|||
>=virtual/jdk-1.8.0 |
|||
app-admin/puppet-agent[puppetdb?]" |
|||
DEPEND+="" |
|||
|
|||
pkg_setup() { |
|||
enewgroup puppet |
|||
enewuser puppet -1 -1 /opt/puppetlabs/server/data/puppetserver "puppet" |
|||
} |
|||
|
|||
src_prepare() { |
|||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/redhat/puppetserver.service || die |
|||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' ext/bin/puppetserver || die |
|||
sed -i 's/sysconfig\/puppetserver/default\/puppetserver/g' install.sh || die |
|||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die |
|||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die |
|||
sed -i 's/var\/run/run/g' install.sh || die |
|||
default |
|||
} |
|||
|
|||
src_compile() { |
|||
einfo "not compiling" |
|||
} |
|||
|
|||
src_install() { |
|||
insinto /opt/puppetlabs/server/apps/puppetserver |
|||
insopts -m0774 |
|||
doins ext/ezbake-functions.sh |
|||
insopts -m0644 |
|||
doins ext/ezbake.manifest |
|||
doins puppet-server-release.jar |
|||
doins jruby-9k.jar |
|||
doins jruby-1_7.jar |
|||
insinto /etc/puppetlabs/puppetserver |
|||
doins ext/config/logback.xml |
|||
doins ext/config/request-logging.xml |
|||
insinto /etc/puppetlabs/puppetserver/services.d |
|||
doins ext/system-config/services.d/bootstrap.cfg |
|||
doins ext/config/services.d/ca.cfg |
|||
insinto /etc/puppetlabs/puppetserver/conf.d |
|||
doins ext/config/conf.d/puppetserver.conf |
|||
doins ext/config/conf.d/auth.conf |
|||
doins ext/config/conf.d/global.conf |
|||
doins ext/config/conf.d/web-routes.conf |
|||
doins ext/config/conf.d/metrics.conf |
|||
doins ext/config/conf.d/webserver.conf |
|||
insopts -m0755 |
|||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts |
|||
doins install.sh |
|||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps |
|||
doins ext/cli/irb |
|||
doins ext/cli/foreground |
|||
doins ext/cli/gem |
|||
doins ext/cli/ruby |
|||
doins ext/cli/reload |
|||
doins ext/cli/start |
|||
doins ext/cli/stop |
|||
insinto /opt/puppetlabs/server/apps/puppetserver/cli |
|||
doins ext/cli_defaults/cli-defaults.sh |
|||
insinto /opt/puppetlabs/server/apps/puppetserver/bin |
|||
doins ext/bin/puppetserver |
|||
insopts -m0644 |
|||
dodir /opt/puppetlabs/server/bin |
|||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver |
|||
dodir /opt/puppetlabs/bin |
|||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver |
|||
dosym ../../opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver |
|||
dodir /opt/puppetlabs/server/apps/puppetserver/config/services.d |
|||
# other sys stuff |
|||
dodir /etc/puppetlabs/code |
|||
# needed for systemd |
|||
dodir /var/log/puppetlabs/puppetserver |
|||
dodir /etc/puppetlabs/puppet/ssl |
|||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl |
|||
fperms -R 771 /etc/puppetlabs/puppet/ssl |
|||
# systemd type things |
|||
insinto /etc/systemd/system/puppetserver.service.d/ |
|||
systemd_dounit ext/redhat/puppetserver.service |
|||
insinto /etc/default |
|||
newins ext/default puppetserver |
|||
# normal init type tasks |
|||
dosym ../default/puppetserver /etc/conf.d/puppetserver |
|||
newinitd "${FILESDIR}/puppetserver.init" puppetserver |
|||
# misc |
|||
insinto /etc/logrotate.d |
|||
newins ext/puppetserver.logrotate.conf puppetserver |
|||
# cleanup |
|||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems |
|||
fowners -R puppet:puppet /opt/puppetlabs/server/data |
|||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver |
|||
fperms -R 700 /var/log/puppetlabs/puppetserver |
|||
insinto /opt/puppetlabs/server/data |
|||
newins ext/build-scripts/gem-list.txt puppetserver-gem-list.txt |
|||
newtmpfiles ext/puppetserver.tmpfiles.conf puppetserver.conf |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog "to install you may want to run the following:" |
|||
elog |
|||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver" |
|||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver" |
|||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver" |
|||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid" |
|||
elog "puppet config set --section master codedir /etc/puppetlabs/code" |
|||
elog |
|||
elog "# install puppetserver gems" |
|||
elog "cd /opt/puppetlabs/server/apps/puppetserver" |
|||
elog "echo "jruby-puppet: { gem-home: ${DESTDIR}/opt/puppetlabs/server/data/puppetserver/vendored-jruby-gems }" > jruby.conf" |
|||
elog "while read LINE" |
|||
elog "do" |
|||
elog " java -cp puppet-server-release.jar:jruby-1_7.jar clojure.main -m puppetlabs.puppetserver.cli.gem --config jruby.conf -- install \$(echo \$LINE |awk '{print \$1}') --version \$(echo \$LINE |awk '{print \$2}')" |
|||
elog "done < /opt/puppetlabs/server/data/puppetserver-gem-list.txt" |
|||
} |
@ -0,0 +1,164 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=5 |
|||
|
|||
inherit eutils multilib linux-info toolchain-funcs udev systemd |
|||
|
|||
DESCRIPTION="Entropy Key userspace daemon" |
|||
HOMEPAGE="http://www.entropykey.co.uk/" |
|||
SRC_URI="mirror://ubuntu/pool/universe/e/ekeyd/ekeyd_${PV}.orig.tar.gz" |
|||
|
|||
LICENSE="MIT GPL-2" # GPL-2 (only) for init script |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
IUSE="kernel_linux munin minimal usb" |
|||
REQUIRED_USE="minimal? ( !munin )" |
|||
|
|||
EKEYD_RDEPEND="dev-lang/lua" |
|||
EKEYD_DEPEND="${EKEYD_RDEPEND}" |
|||
EKEYD_RDEPEND="${EKEYD_RDEPEND} |
|||
dev-lua/luasocket |
|||
kernel_linux? ( virtual/udev ) |
|||
munin? ( net-analyzer/munin )" |
|||
|
|||
RDEPEND="!minimal? ( ${EKEYD_RDEPEND} ) |
|||
!app-crypt/ekey-egd-linux |
|||
virtual/service-manager" |
|||
DEPEND="!minimal? ( ${EKEYD_DEPEND} )" |
|||
|
|||
CONFIG_CHECK="~USB_ACM" |
|||
|
|||
pkg_setup() { |
|||
if ! use minimal && use kernel_linux && ! use usb && linux_config_exists; then |
|||
check_extra_config |
|||
fi |
|||
} |
|||
|
|||
src_prepare() { |
|||
epatch "${FILESDIR}/${P}-const_char_usage.patch"; |
|||
epatch "${FILESDIR}/${P}-enoent.patch"; |
|||
epatch "${FILESDIR}/${P}-path-fixes.patch"; |
|||
epatch "${FILESDIR}/${P}-udev-rule.patch"; |
|||
epatch "${FILESDIR}/${P}-remove-werror.patch"; |
|||
epatch "${FILESDIR}/${P}-misc.patch"; |
|||
} |
|||
|
|||
src_compile() { |
|||
local osname |
|||
|
|||
# Override automatic detection: upstream provides this with uname, |
|||
# we don't like using uname. |
|||
case ${CHOST} in |
|||
*-linux-*) |
|||
osname=linux;; |
|||
*-freebsd*) |
|||
osname=freebsd;; |
|||
*-kfrebsd-gnu) |
|||
osname=gnukfreebsd;; |
|||
*-openbsd*) |
|||
osname=openbsd;; |
|||
*) |
|||
die "Unsupported operating system!" |
|||
;; |
|||
esac |
|||
|
|||
# We don't slot LUA so we don't really need to have the variables |
|||
# set at all. |
|||
emake -C host \ |
|||
CC="$(tc-getCC)" \ |
|||
LUA_V= LUA_INC= \ |
|||
OSNAME=${osname} \ |
|||
OPT="${CFLAGS}" \ |
|||
BUILD_ULUSBD=no \ |
|||
$(use minimal && echo egd-linux) |
|||
} |
|||
|
|||
src_install() { |
|||
exeinto /usr/libexec |
|||
newexe host/egd-linux ekey-egd-linux |
|||
newman host/egd-linux.8 ekey-egd-linux.8 |
|||
|
|||
newconfd "${FILESDIR}"/ekey-egd-linux.conf.2 ekey-egd-linux |
|||
newinitd "${FILESDIR}"/ekey-egd-linux.init.2 ekey-egd-linux |
|||
|
|||
dodoc doc/* AUTHORS ChangeLog THANKS |
|||
|
|||
use minimal && return |
|||
# from here on, install everything that is not part of the minimal |
|||
# support. |
|||
|
|||
emake -C host \ |
|||
DESTDIR="${D}" \ |
|||
MANZCMD=cat MANZEXT= \ |
|||
install-ekeyd |
|||
|
|||
# We move the daemons around to avoid polluting the available |
|||
# commands. |
|||
dodir /usr/libexec |
|||
mv "${D}"/usr/sbin/ekey*d "${D}"/usr/libexec |
|||
|
|||
systemd_dounit "${FILESDIR}/ekeyd.service" |
|||
|
|||
newinitd "${FILESDIR}"/${PN}.init.2 ${PN} |
|||
|
|||
if use kernel_linux; then |
|||
local rules="${FILESDIR}/90-ekeyd.rules" |
|||
udev_newrules ${rules} 90-${PN}.rules |
|||
fi |
|||
|
|||
if use munin; then |
|||
exeinto /usr/libexec/munin/plugins |
|||
doexe munin/ekeyd_stat_ |
|||
|
|||
insinto /etc/munin/plugin-conf.d |
|||
newins munin/plugin-conf.d_ekeyd ekeyd |
|||
fi |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elog "${CATEGORY}/${PN} now install also the EGD client service ekey-egd-linux." |
|||
elog "To use this service, you need enable EGDTCPSocket for the ekeyd service" |
|||
elog "managing the key(s)." |
|||
elog "" |
|||
elog "The daemon will send more entropy to the kernel once the available pool" |
|||
elog "falls below the value set in the kernel.random.write_wakeup_threshold" |
|||
elog "sysctl entry." |
|||
elog "" |
|||
ewarn "Since version 1.1.4-r1, ekey-egd-linux will *not* set the watermark for" |
|||
ewarn "you, instead you'll have to configure the sysctl in /etc/sysctl.conf" |
|||
|
|||
use minimal && return |
|||
# from here on, document everything that is not part of the minimal |
|||
# support. |
|||
|
|||
elog "" |
|||
elog "To make use of your EntropyKey, make sure to execute ekey-rekey" |
|||
elog "the first time, and then start the ekeyd service." |
|||
elog "" |
|||
elog "By default ekeyd will feed the entropy directly to the kernel's pool;" |
|||
elog "if your system has jumps in load average, you might prefer using the" |
|||
elog "EGD compatibility mode, by enabling EGDTCPSocket for ekeyd and then" |
|||
elog "starting the ekey-egd-linux service." |
|||
elog "" |
|||
elog "The same applies if you intend to provide entropy for multiple hosts" |
|||
elog "over the network. If you want to have the ekey-egd-linux service on" |
|||
elog "other hosts, you can enable the 'minimal' USE flag." |
|||
elog "" |
|||
elog "The service supports multiplexing if you wish to use multiple" |
|||
elog "keys, just symlink /etc/init.d/ekeyd โ /etc/init.d/ekeyd.identifier" |
|||
elog "and it'll be looking for /etc/entropykey/identifier.conf" |
|||
elog "" |
|||
|
|||
if use kernel_linux; then |
|||
elog "Some versions of Linux have a faulty CDC ACM driver that stops" |
|||
elog "EntropyKey from working properly; please check the compatibility" |
|||
elog "table at http://www.entropykey.co.uk/download/" |
|||
else |
|||
elog "Make sure your operating system supports the CDC ACM driver" |
|||
elog "or otherwise you won't be able to use the EntropyKey." |
|||
fi |
|||
elog "" |
|||
elog "If you're unsure about the working state of the CDC ACM driver" |
|||
elog "enable the usb USE flag and use the userland USB daemon" |
|||
} |
@ -0,0 +1,52 @@ |
|||
From 7218becac7132c2508d4e8f42c693d69c406795a Mon Sep 17 00:00:00 2001 |
|||
From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= <andrius@stikonas.eu> |
|||
Date: Wed, 7 Mar 2018 15:14:22 +0100 |
|||
Subject: [PATCH] Make pinentry-qt icon work under Plasma Wayland. |
|||
|
|||
---
|
|||
qt/Makefile.am | 2 ++ |
|||
qt/main.cpp | 2 ++ |
|||
qt/org.gnupg.pinentry-qt.desktop | 5 +++++ |
|||
3 files changed, 9 insertions(+) |
|||
create mode 100644 qt/org.gnupg.pinentry-qt.desktop |
|||
|
|||
diff --git a/qt/Makefile.am b/qt/Makefile.am
|
|||
index 698005e..bbf39d1 100644
|
|||
--- a/qt/Makefile.am
|
|||
+++ b/qt/Makefile.am
|
|||
@@ -24,6 +24,8 @@ bin_PROGRAMS = pinentry-qt
|
|||
|
|||
EXTRA_DIST = document-encrypt.png pinentry.qrc |
|||
|
|||
+desktopdir = $(datadir)/applications
|
|||
+dist_desktop_DATA = org.gnupg.pinentry-qt.desktop
|
|||
|
|||
if FALLBACK_CURSES |
|||
ncurses_include = $(NCURSES_INCLUDE) |
|||
diff --git a/qt/main.cpp b/qt/main.cpp
|
|||
index fe88d26..b767cb4 100644
|
|||
--- a/qt/main.cpp
|
|||
+++ b/qt/main.cpp
|
|||
@@ -372,6 +372,8 @@ main(int argc, char *argv[])
|
|||
i = argc; |
|||
app = new QApplication(i, new_argv); |
|||
app->setWindowIcon(QIcon(QLatin1String(":/document-encrypt.png"))); |
|||
+ app->setOrganizationDomain(QStringLiteral("gnupg.org"));
|
|||
+ app->setDesktopFileName(QStringLiteral("org.gnupg.pinentry-qt"));
|
|||
} |
|||
|
|||
pinentry_parse_opts(argc, argv); |
|||
diff --git a/qt/org.gnupg.pinentry-qt.desktop b/qt/org.gnupg.pinentry-qt.desktop
|
|||
new file mode 100644 |
|||
index 0000000..0ac89aa
|
|||
--- /dev/null
|
|||
+++ b/qt/org.gnupg.pinentry-qt.desktop
|
|||
@@ -0,0 +1,5 @@
|
|||
+[Desktop Entry]
|
|||
+Type=Application
|
|||
+Name=Pinentry dialog
|
|||
+Icon=document-encrypt
|
|||
+NoDisplay=true
|
|||
--
|
|||
2.16.1 |
|||
|
@ -0,0 +1,103 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit autotools flag-o-matic qmake-utils toolchain-funcs |
|||
|
|||
DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol" |
|||
HOMEPAGE="https://gnupg.org/aegypten2/index.html" |
|||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
|||
IUSE="caps emacs gnome-keyring gtk ncurses qt5 static" |
|||
|
|||
CDEPEND=" |
|||
app-eselect/eselect-pinentry |
|||
>=dev-libs/libassuan-2.1 |
|||
>=dev-libs/libgcrypt-1.6.3 |
|||
>=dev-libs/libgpg-error-1.17 |
|||
caps? ( sys-libs/libcap ) |
|||
gnome-keyring? ( app-crypt/libsecret ) |
|||
gtk? ( x11-libs/gtk+:2 ) |
|||
ncurses? ( sys-libs/ncurses:0= ) |
|||
qt5? ( |
|||
dev-qt/qtcore:5 |
|||
dev-qt/qtgui:5 |
|||
dev-qt/qtwidgets:5 |
|||
) |
|||
static? ( >=sys-libs/ncurses-5.7-r5:0=[static-libs,-gpm] ) |
|||
" |
|||
DEPEND="${CDEPEND} |
|||
sys-devel/gettext |
|||
virtual/pkgconfig |
|||
" |
|||
RDEPEND="${CDEPEND} |
|||
gnome-keyring? ( app-crypt/gcr ) |
|||
" |
|||
|
|||
REQUIRED_USE=" |
|||
gtk? ( !static ) |
|||
qt5? ( !static ) |
|||
" |
|||
|
|||
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-0.8.2-ncurses.patch" |
|||
"${FILESDIR}/${P}-build.patch" |
|||
"${FILESDIR}/${P}-Disable-tooltips-in-keyboard-grabbing-mode.patch" |
|||
"${FILESDIR}/${P}-gtk2-Fix-a-problem-with-fvwm.patch" |
|||
"${FILESDIR}/${P}-make-icon-work-under-Plasma-Wayland.patch" |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
use static && append-ldflags -static |
|||
[[ "$(gcc-major-version)" -ge 5 ]] && append-cxxflags -std=gnu++11 |
|||
|
|||
export QTLIB="$(qt5_get_libdir)" |
|||
|
|||
econf \ |
|||
--enable-pinentry-tty \ |
|||
$(use_with caps libcap) \ |
|||
$(use_enable emacs pinentry-emacs) \ |
|||
$(use_enable gnome-keyring libsecret) \ |
|||
$(use_enable gnome-keyring pinentry-gnome3) \ |
|||
$(use_enable gtk pinentry-gtk2) \ |
|||
$(use_enable ncurses pinentry-curses) \ |
|||
$(use_enable ncurses fallback-curses) \ |
|||
$(use_enable qt5 pinentry-qt) \ |
|||
MOC="$(qt5_get_bindir)"/moc |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
rm -f "${ED}"/usr/bin/pinentry || die |
|||
|
|||
use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt4 |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then |
|||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default." |
|||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes." |
|||
elog "The soft resource limit for memory locking specifies the limit an" |
|||
elog "unprivileged process may lock into memory. You can also use POSIX" |
|||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps" |
|||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of" |
|||
elog "your users." |
|||
fi |
|||
|
|||
eselect pinentry update ifunset |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
eselect pinentry update ifunset |
|||
} |
@ -0,0 +1,93 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit cmake-utils qmake-utils |
|||
|
|||
DESCRIPTION="Qt Cryptographic Architecture (QCA)" |
|||
HOMEPAGE="https://userbase.kde.org/QCA" |
|||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" |
|||
|
|||
LICENSE="LGPL-2.1" |
|||
SLOT="2" |
|||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" |
|||
|
|||
IUSE="botan debug doc examples gcrypt gpg libressl logger nss pkcs11 sasl softstore +ssl test" |
|||
|
|||
COMMON_DEPEND=" |
|||
dev-qt/qtcore:5 |
|||
botan? ( dev-libs/botan:0 ) |
|||
gcrypt? ( dev-libs/libgcrypt:= ) |
|||
gpg? ( app-crypt/gnupg ) |
|||
nss? ( dev-libs/nss ) |
|||
pkcs11? ( |
|||
!libressl? ( dev-libs/openssl:0 ) |
|||
libressl? ( dev-libs/libressl ) |
|||
dev-libs/pkcs11-helper |
|||
) |
|||
sasl? ( dev-libs/cyrus-sasl:2 ) |
|||
ssl? ( |
|||
!libressl? ( >=dev-libs/openssl-1.0.1:0= ) |
|||
libressl? ( dev-libs/libressl:= ) |
|||
) |
|||
" |
|||
DEPEND="${COMMON_DEPEND} |
|||
dev-qt/qtnetwork:5 |
|||
doc? ( app-doc/doxygen ) |
|||
test? ( dev-qt/qttest:5 ) |
|||
" |
|||
RDEPEND="${COMMON_DEPEND} |
|||
!app-crypt/qca-cyrus-sasl |
|||
!app-crypt/qca-gnupg |
|||
!app-crypt/qca-logger |
|||
!app-crypt/qca-ossl |
|||
!app-crypt/qca-pkcs11 |
|||
" |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}/${PN}-disable-pgp-test.patch" |
|||
"${FILESDIR}/${P}-c++11.patch" |
|||
) |
|||
|
|||
qca_plugin_use() { |
|||
echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1") |
|||
} |
|||
|
|||
src_configure() { |
|||
local mycmakeargs=( |
|||
-DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features" |
|||
-DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)" |
|||
$(qca_plugin_use botan) |
|||
$(qca_plugin_use gcrypt) |
|||
$(qca_plugin_use gpg gnupg) |
|||
$(qca_plugin_use logger) |
|||
$(qca_plugin_use nss) |
|||
$(qca_plugin_use pkcs11) |
|||
$(qca_plugin_use sasl cyrus-sasl) |
|||
$(qca_plugin_use softstore) |
|||
$(qca_plugin_use ssl ossl) |
|||
-DBUILD_TESTS=$(usex test) |
|||
) |
|||
cmake-utils_src_configure |
|||
} |
|||
|
|||
src_test() { |
|||
local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca" |
|||
cmake-utils_src_test |
|||
} |
|||
|
|||
src_install() { |
|||
cmake-utils_src_install |
|||
|
|||
if use doc; then |
|||
pushd "${BUILD_DIR}" >/dev/null || die |
|||
doxygen Doxyfile.in || die |
|||
dodoc -r apidocs/html |
|||
popd >/dev/null || die |
|||
fi |
|||
|
|||
if use examples; then |
|||
dodoc -r "${S}"/examples |
|||
fi |
|||
} |
@ -0,0 +1,57 @@ |
|||
https://bugs.gentoo.org/521018 |
|||
|
|||
From 5839355d67ff822593190473a41512ca19e4280a Mon Sep 17 00:00:00 2001 |
|||
From: Anton Gladky <gladk@debian.org> |
|||
Date: Wed, 18 Feb 2015 21:20:39 +0100 |
|||
Subject: [PATCH] Fix "format not a string" compilation failure |
|||
|
|||
Compilation with the flag -Werror=format-security fails with |
|||
the message: |
|||
|
|||
error: format not a string literal and no format arguments |
|||
|
|||
This patch solves the issue. |
|||
---
|
|||
asm/x86dis.cc | 6 +++--- |
|||
htpal.cc | 2 +- |
|||
2 files changed, 4 insertions(+), 4 deletions(-) |
|||
|
|||
diff --git a/asm/x86dis.cc b/asm/x86dis.cc
|
|||
index 0830d9c..bb9028f 100644
|
|||
--- a/asm/x86dis.cc
|
|||
+++ b/asm/x86dis.cc
|
|||
@@ -1218,15 +1218,15 @@ void x86dis::str_op(char *opstr, int *opstrlen, x86dis_insn *insn, x86_insn_op *
|
|||
default: {assert(0);} |
|||
} |
|||
if (!insn->rexprefix) { |
|||
- sprintf(opstr, x86_regs[j][op->reg]);
|
|||
+ sprintf(opstr, "%s", x86_regs[j][op->reg]);
|
|||
} else { |
|||
- sprintf(opstr, x86_64regs[j][op->reg]);
|
|||
+ sprintf(opstr, "%s", x86_64regs[j][op->reg]);
|
|||
} |
|||
break; |
|||
} |
|||
case X86_OPTYPE_SEG: |
|||
if (x86_segs[op->seg]) { |
|||
- sprintf(opstr, x86_segs[op->seg]);
|
|||
+ sprintf(opstr, "%s", x86_segs[op->seg]);
|
|||
} |
|||
break; |
|||
case X86_OPTYPE_CRX: |
|||
diff --git a/htpal.cc b/htpal.cc
|
|||
index 03dea18..3d5f51e 100644
|
|||
--- a/htpal.cc
|
|||
+++ b/htpal.cc
|
|||
@@ -307,7 +307,7 @@ void palette_entry::strvalue(char *buf32bytes)
|
|||
text = "normal"; |
|||
} |
|||
p = tag_make_color(p, 32, VCP(fg, bg)); |
|||
- p += sprintf(p, text);
|
|||
+ p += sprintf(p, "%s", text);
|
|||
p = tag_make_default_color(p, 32); |
|||
*p = 0; |
|||
} |
|||
--
|
|||
2.16.2 |
|||
|
@ -0,0 +1,45 @@ |
|||
https://github.com/sebastianbiallas/ht/pull/21 |
|||
|
|||
From 7ce68c4bca7fd64c0073f1770c6b5761c03174f0 Mon Sep 17 00:00:00 2001 |
|||
From: Sergei Trofimovich <slyfox@gentoo.org> |
|||
Date: Wed, 21 Mar 2018 21:30:31 +0000 |
|||
Subject: [PATCH] ht: fix build failure on -funsigned-char platforms |
|||
|
|||
powerpc (and arm) have 'char' == 'unsigned char' by default. |
|||
This causes build failures on c++11: |
|||
|
|||
``` |
|||
$ ./configure CFLAGS=-funsigned-char CXXFLAGS=-funsigned-char |
|||
$ make |
|||
|
|||
g++ -DHAVE_CONFIG_H -I. -I./analyser -I./asm -I./info -I./io/posix -I./io -I./output -I./eval -I. -DNOMACROS -pipe -O3 -fomit-frame-pointer -Wall -fsigned-char -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c++14 -Woverloaded-virtual -Wnon-virtual-dtor -funsigned-char -MT htcoffhd.o -MD -MP -MF .deps/htcoffhd.Tpo -c -o htcoffhd.o htcoffhd.cc |
|||
htcoffhd.cc:93:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] |
|||
}; |
|||
^ |
|||
htcoffhd.cc:131:1: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing] |
|||
}; |
|||
``` |
|||
|
|||
Use 'signed char' explicitly to maintain existing behavior. |
|||
|
|||
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> |
|||
---
|
|||
httag.h | 2 +- |
|||
1 file changed, 1 insertion(+), 1 deletion(-) |
|||
|
|||
diff --git a/httag.h b/httag.h
|
|||
index 7f5da1c..83e5c22 100644
|
|||
--- a/httag.h
|
|||
+++ b/httag.h
|
|||
@@ -69,7 +69,7 @@ struct ht_tag_flags {
|
|||
} PACKED; |
|||
|
|||
struct ht_tag_flags_s { |
|||
- char bitidx;
|
|||
+ signed char bitidx;
|
|||
const char *desc; |
|||
} PACKED; |
|||
|
|||
--
|
|||
2.16.2 |
|||
|
@ -0,0 +1,60 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
inherit autotools toolchain-funcs |
|||
|
|||
MY_P=${P/editor} |
|||
|
|||
DESCRIPTION="A file viewer, editor and analyzer for text, binary, and executable files" |
|||
HOMEPAGE="http://hte.sourceforge.net/ https://github.com/sebastianbiallas/ht/" |
|||
SRC_URI="mirror://sourceforge/hte/${MY_P}.tar.bz2" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
|||
IUSE="X" |
|||
|
|||
RDEPEND="sys-libs/ncurses:0= |
|||
X? ( x11-libs/libX11 ) |
|||
>=dev-libs/lzo-2" |
|||
DEPEND="${RDEPEND} |
|||
virtual/yacc |
|||
sys-devel/flex" |
|||
|
|||
DOCS=( AUTHORS ChangeLog KNOWNBUGS README TODO ) |
|||
|
|||
S=${WORKDIR}/${MY_P} |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}"/${P}-gcc-7.patch |
|||
"${FILESDIR}"/${P}-tinfo.patch |
|||
"${FILESDIR}"/${P}-gcc-6-uchar.patch |
|||
"${FILESDIR}"/${P}-format-security.patch |
|||
) |
|||
|
|||
src_prepare() { |
|||
default |
|||
eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
econf \ |
|||
$(use_enable X x11-textmode) \ |
|||
--enable-maintainermode |
|||
} |
|||
|
|||
src_compile() { |
|||
emake AR="$(tc-getAR)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" |
|||
} |
|||
|
|||
src_install() { |
|||
#For prefix |
|||
chmod u+x "${S}/install-sh" |
|||
|
|||
local HTML_DOCS="doc/*.html" |
|||
doinfo doc/*.info |
|||
|
|||
default |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST byobu_5.123.orig.tar.gz 581421 BLAKE2B 450804be3d625c31a493edef0f398b528b5c3b21dd38bb8c9319857ead9c5bd1b5cfa01bfa190ad6fe0f5a99007ac68d068ec6082bc1fcf32c667d6035f1e296 SHA512 915ad330e85a4405ad808a6f03205c468800c0942507fc0183a883bb0b33be4023b5ef9d7a63b3fce328f771ac1a4952735ee6119a26d6a5f2b01afec7a04059 |
|||
DIST byobu_5.124.orig.tar.gz 582725 BLAKE2B 1bf4de3cfd5ce3a31c020f3a56ac495e89688a856e50b592f6999d3aae278358f7b0736b8b4c749fe577a1e9a326d3e1c5d4f08f15b033464cf890c47f4a3c96 SHA512 4ee12cdf2272532f35d2f7251e6f2aadb191f64db9f59cf63df54b2e4b1dacbac6ee9b65b8fed141204f9d309fb1a485ce86dd726c79106be0d52c2493a73bb7 |
|||
DIST byobu_5.125.orig.tar.gz 582407 BLAKE2B 7e74e121422bd9875697a96f39ab2e8e8f9d7f724ab8a597d2483bdbe89b3887e1894069dbe9b6ce75e610580b1bb002cfc632b6f2b8884db229382a719c86ea SHA512 cf5ef0e8902552fcfe839793b660454a6480154e0a315322311cecbc962ccf31aec5a6de035b7e83979d49058a64b222bade146163c31bd597feeed11c0a94b1 |
@ -0,0 +1,43 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
PYTHON_COMPAT=( python2_7 ) |
|||
|
|||
inherit python-single-r1 |
|||
|
|||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)" |
|||
HOMEPAGE="http://byobu.co" |
|||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86" |
|||
IUSE="screen" |
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|||
|
|||
RDEPEND="${PYTHON_DEPS} |
|||
dev-libs/newt[${PYTHON_USEDEP}] |
|||
screen? ( app-misc/screen ) |
|||
!screen? ( app-misc/tmux )" |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
python_fix_shebang . |
|||
|
|||
# Set default system backend to screen |
|||
if use screen ; then |
|||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
# Create symlinks for backends |
|||
dosym ${PN} /usr/bin/${PN}-screen |
|||
dosym ${PN} /usr/bin/${PN}-tmux |
|||
|
|||
docompress -x /usr/share/doc/${PN} |
|||
} |
@ -1,4 +1,5 @@ |
|||
DIST gnucash-2.6.19.tar.bz2 13612124 BLAKE2B cc66e4d7994274bb2ad97437333dbe62b0e9228e20e05e01fc7861bc45a8f07bc56d2a69850eda301d5e7f679d96a9d28c24c56a4860cff6727b66867482deae SHA512 0a979caf48ba96d6f37a929036e7172855cfb03af8832f479966bce72fad3400903925134d33aaa31eb6b36a2041f5e0d3f74b88e95b83c7d76e96b1503bec13 |
|||
DIST gnucash-2.7.4.tar.bz2 13364512 BLAKE2B 0a552efe5a4f024517c054516eb25b51abb2f934e6fc904afd4b0fb48283f9ebb89583b83b0efefba66d014df16c8997c413d05278d4290c44e4fa2278564b61 SHA512 d096ec2a3907dcd09c936f0a49ef6fb5028a17d2e0ade9e68eae7303530480ce19e08c1864efd862d363fda9ef6343260396b794b3c4ac74544baa2628a310eb |
|||
DIST gnucash-2.7.5.tar.bz2 13330271 BLAKE2B e06328050a2dd8e80e224cf13f51c1c7151e73f9a1c9f14581f33bfcf8bf07b273962620b7281637101eab8c5eff67a3e5e8e34d81f0c8d263ac33bf6d1eb40c SHA512 68cd6e6f61a43b8837e9efe693d22f62ebe10a8bb7d593814fb6a12d035d74ec1e444f53010ad53c6b1adf28c75aa482403c06052314a91636c2a8baa30e09af |
|||
DIST gnucash-2.7.7.tar.bz2 13368946 BLAKE2B 06e6815af713235ea31859532911303db4fa5e8dcd50b9111aa513795963eaca29a612eeced27399441f43563753d977468dfd901a49dfa689b5d36e7b985ebf SHA512 b7d91e87c4bc4e604560f4502a86deaafa4f636e9fe2af26db53b11da9f48986c970ba0ed08cb7172ca08a5fb2da451d26976963241206c388a33555c80f28fe |
|||
DIST gtest-1.8.0.tar.gz 1281617 BLAKE2B ac052b4d0eb0d8ded03a8c7dff05177818627b8a51f2dbc2c162b2ee2a5d1323539e7d0d02236d9ebb799995e018f0171c2fdaeb4de3bb339548265e50de79e6 SHA512 1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d |
@ -0,0 +1,162 @@ |
|||
# Copyright 1999-2018 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
# google{test,mock} version |
|||
GV="1.8.0" |
|||
PYTHON_COMPAT=( python2_7 ) |
|||
|
|||
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils |
|||
|
|||
DESCRIPTION="A personal finance manager" |
|||
HOMEPAGE="http://www.gnucash.org/" |
|||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
|||
https://github.com/google/googletest/archive/release-${GV}.tar.gz -> gtest-${GV}.tar.gz" |
|||
|
|||
SLOT="0" |
|||
LICENSE="GPL-2" |
|||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
|||
|
|||
# Add doc back in for 3.0 and bump app-doc/gnucash-docs |
|||
IUSE="aqbanking chipcard debug examples gnome-keyring mysql nls ofx postgres |
|||
python quotes -register2 sqlite" |
|||
REQUIRED_USE=" |
|||
chipcard? ( aqbanking ) |
|||
python? ( ${PYTHON_REQUIRED_USE} )" |
|||
|
|||
# libdbi version requirement for sqlite taken from bug #455134 |
|||
# |
|||
# dev-libs/boost must always be built with nls enabled. |
|||
RDEPEND=" |
|||
>=dev-libs/glib-2.40.0:2 |
|||
>=dev-libs/libxml2-2.7.0:2 |
|||
>=dev-scheme/guile-2.0.0:12=[regex] |
|||
>=sys-libs/zlib-1.1.4 |
|||
>=x11-libs/gtk+-3.14.0:3 |
|||
dev-libs/boost:=[icu,nls] |
|||
dev-libs/icu:= |
|||
dev-libs/libxslt |
|||
gnome-base/dconf |
|||
net-libs/webkit-gtk:4= |
|||
aqbanking? ( |
|||
>=net-libs/aqbanking-5[gtk,ofx?] |
|||
sys-libs/gwenhywfar[gtk] |
|||
chipcard? ( sys-libs/libchipcard ) |
|||
) |
|||
gnome-keyring? ( >=app-crypt/libsecret-0.18 ) |
|||
mysql? ( |
|||
dev-db/libdbi |
|||
dev-db/libdbi-drivers[mysql] |
|||
) |
|||
ofx? ( >=dev-libs/libofx-0.9.1 ) |
|||
postgres? ( |
|||
dev-db/libdbi |
|||
dev-db/libdbi-drivers[postgres] |
|||
) |
|||
python? ( ${PYTHON_DEPS} ) |
|||
quotes? ( |
|||
>=dev-perl/Finance-Quote-1.11 |
|||
dev-perl/Date-Manip |
|||
dev-perl/HTML-TableExtract |
|||
) |
|||
sqlite? ( |
|||
>=dev-db/libdbi-0.9.0 |
|||
>=dev-db/libdbi-drivers-0.9.0[sqlite] |
|||
) |
|||
" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
~dev-cpp/gtest-${GV} |
|||
>=sys-devel/gettext-0.19.6 |
|||
dev-lang/perl |
|||
dev-perl/XML-Parser |
|||
gnome-base/gnome-common |
|||
sys-devel/libtool |
|||
virtual/pkgconfig |
|||
" |
|||
|
|||
# Uncomment for 3.0 |
|||
# PDEPEND="doc? ( |
|||
# ~app-doc/gnucash-docs-${PV} |
|||
# gnome-extra/yelp |
|||
# )" |
|||
|
|||
#PATCHES=( "${FILESDIR}"/${PN}-2.7.4-fix-tests-for-32bit-platforms.patch ) |
|||
|
|||
pkg_setup() { |
|||
use python && python-single-r1_pkg_setup |
|||
xdg_environment_reset |
|||
} |
|||
|
|||
src_configure() { |
|||
local sql_on_off="OFF" |
|||
if use mysql || use postgres || use sqlite ; then |
|||
sql_on_off="ON" |
|||
fi |
|||
|
|||
local mycmakeargs=( |
|||
-DGMOCK_ROOT="${WORKDIR}"/googletest-release-${GV}/googlemock |
|||
-DGTEST_ROOT="${WORKDIR}"/googletest-release-${GV}/googletest |
|||
|
|||
-DDISABLE_NLS=$(usex !nls) |
|||
-DENABLE_REGISTER2=$(usex register2) |
|||
-DWITH_AQBANKING=$(usex aqbanking) |
|||
-DWITH_OFX=$(usex ofx) |
|||
-DWITH_PYTHON=$(usex python) |
|||
-DWITH_SQL=${sql_on_off} |
|||
) |
|||
|
|||
cmake-utils_src_configure |
|||
} |
|||
|
|||
src_test() { |
|||
if use python ; then |
|||
cp common/test-core/unittest_support.py \ |
|||
"${BUILD_DIR}"/common/test-core/ || die |
|||
fi |
|||
|
|||
cd "${BUILD_DIR}" || die |
|||
XDG_DATA_HOME="${T}/$(whoami)" emake check |
|||
} |
|||
|
|||
src_install() { |
|||
cmake-utils_src_install |
|||
|
|||
rm "${ED%/}"/usr/share/doc/${PF}/README.dependencies || die |
|||
rm "${ED%/}"/usr/share/glib-2.0/schemas/gschemas.compiled || die |
|||
|
|||
if use examples ; then |
|||
mv "${ED%/}"/usr/share/doc/gnucash \ |
|||
"${ED%/}"/usr/share/doc/${PF}/examples || die |
|||
pushd "${ED%/}"/usr/share/doc/${PF}/examples/ > /dev/null || die |
|||
rm AUTHORS DOCUMENTERS LICENSE NEWS projects.html ChangeLog* \ |
|||
*win32-bin.txt || die |
|||
popd > /dev/null || die |
|||
docompress -x /usr/share/doc/${PF}/examples/ |
|||
else |
|||
rm -r "${ED%/}"/usr/share/doc/gnucash || die |
|||
fi |
|||
|
|||
use aqbanking && dodoc doc/README.HBCI |
|||
use ofx && dodoc doc/README.OFX |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
gnome2_icon_cache_update |
|||
gnome2_schemas_update |
|||
xdg_desktop_database_update |
|||
xdg_mimeinfo_database_update |
|||
|
|||
ewarn "Backup all financial files or databases before using GnuCash >=2.7.0!" |
|||
ewarn |
|||
ewarn "GnuCash 2.7.0 introduced large changes in its file format and database" |
|||
ewarn "schema that WILL prevent you from reverting back to GnuCash 2.6." |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
gnome2_icon_cache_update |
|||
gnome2_schemas_update |
|||
xdg_desktop_database_update |
|||
xdg_mimeinfo_database_update |
|||
} |