From a833e3f4a431b8eea751b7420e127787f9c92117 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 4 Dec 2017 12:06:33 +0000 Subject: gentoo resync : 04.12.2017 --- app-admin/Manifest.gz | Bin 33837 -> 33842 bytes app-admin/ansible/Manifest | 5 - app-admin/ansible/ansible-2.3.2.0-r2.ebuild | 65 --------- app-admin/ansible/ansible-2.4.0.0.ebuild | 56 -------- app-admin/hddtemp/Manifest | 6 +- app-admin/hddtemp/hddtemp-0.3_beta15-r26.ebuild | 2 +- app-admin/puppet/Manifest | 4 +- app-admin/puppet/files/puppet.init-r1 | 24 ---- app-admin/puppet/files/puppetmaster.init-r1 | 30 ----- app-admin/syslog-ng/Manifest | 11 +- .../syslog-ng/files/3.12/syslog-ng.conf.gentoo | 36 +++++ .../files/3.12/syslog-ng.conf.gentoo.fbsd | 24 ++++ .../files/3.12/syslog-ng.conf.gentoo.hardened | 114 ++++++++++++++++ app-admin/syslog-ng/files/3.12/syslog-ng.confd | 42 ++++++ app-admin/syslog-ng/files/3.12/syslog-ng.rc | 58 ++++++++ app-admin/syslog-ng/metadata.xml | 5 +- app-admin/syslog-ng/syslog-ng-3.12.1.ebuild | 149 +++++++++++++++++++++ 17 files changed, 440 insertions(+), 191 deletions(-) delete mode 100644 app-admin/ansible/ansible-2.3.2.0-r2.ebuild delete mode 100644 app-admin/ansible/ansible-2.4.0.0.ebuild delete mode 100644 app-admin/puppet/files/puppet.init-r1 delete mode 100644 app-admin/puppet/files/puppetmaster.init-r1 create mode 100644 app-admin/syslog-ng/files/3.12/syslog-ng.conf.gentoo create mode 100644 app-admin/syslog-ng/files/3.12/syslog-ng.conf.gentoo.fbsd create mode 100644 app-admin/syslog-ng/files/3.12/syslog-ng.conf.gentoo.hardened create mode 100644 app-admin/syslog-ng/files/3.12/syslog-ng.confd create mode 100644 app-admin/syslog-ng/files/3.12/syslog-ng.rc create mode 100644 app-admin/syslog-ng/syslog-ng-3.12.1.ebuild (limited to 'app-admin') diff --git a/app-admin/Manifest.gz b/app-admin/Manifest.gz index 5c2f0814b8bd..4a72b06039be 100644 Binary files a/app-admin/Manifest.gz and b/app-admin/Manifest.gz differ diff --git a/app-admin/ansible/Manifest b/app-admin/ansible/Manifest index 95f5f069861f..219132167776 100644 --- a/app-admin/ansible/Manifest +++ b/app-admin/ansible/Manifest @@ -1,11 +1,6 @@ AUX ansible-2.3.2.0-fix_key_error.patch 2733 BLAKE2B 0ce0c7f6bdd8f42f3796847d16037d667c53c0cc1855d1f0d6101e44425bc4edbf724153ec5e3744621aed18d042b0bce075496dd552ecff3037f1e7738a36ad SHA512 fc124b19d7fd2d60ab6d7f5185e23334740ca549a8d06eb093ac194e8f17ca92cb0a64735726e9313d026985182e33eea7f1c56a511aba938216cafa0810ca7e -DIST ansible-2.3.2.0-pycryptodome.patch 32472 BLAKE2B 7e46379063586ac29b62afebe225faeeaacdcd15d03e9ac2d241c2581cde4b87a586efb8ca01eb3a00a245676fd176469789187992c4aa6c0ab4d9859b31b9eb SHA512 cf2b1528176a12e8e48001155d8f2351e1c4914df56ae8b8542a48ccee4158c23ed1eda537ac500f1b71553aa84c574b8297398a82c4c0721ed6f9d08ad5257d -DIST ansible-2.3.2.0.tar.gz 4319664 BLAKE2B e31ecd6652b58ca83a2b4533cb76422b29825ce33aac29eb02567851b19986b80323a6f6c2783a72a9cfc86f691d27a8dd7f24c19b753daa9adc28a7f9885584 SHA512 458506da8ae65a80b442834c6047f02eb92acf9f7dd4465c63b4360c4c4817a0f7c48c92a614b91760a54d036ed13f417edf3524bb8a34a8a53ceb11efc928ac -DIST ansible-2.4.0.0.tar.gz 6623856 BLAKE2B 7b70173ddb81e1dbb4862e7918fd5aeff2bf8ec0ad1d38b4f6b683e1c178188c409bdfad840c033b42eddea0cb5be4328b85dbc9c9921f08d3f35f5e5a7ab235 SHA512 78717b19599bdd46a7285b0b2a4c9d0d5b4cb86fd41dcf0b3340cf65945a55fae4508097058098fbeab871422c31d4f37ab4cd149abfd0af5add6004f65a207b DIST ansible-2.4.1.0.tar.gz 6675552 BLAKE2B 00497b33e833149510669c9e481b0893a2d016caf2949fa064ca0a2e4f62a6c5a3f94597673822418253b85abaf380308115dfaa4c1acd88f0c73322d87822d4 SHA512 86bda43d912fc6b9cbf662e7e9e3ca3178ac577bc7857c5dfc0e68a7083d76ad405b0ca9b34f680a0d635b87e0bf5dc8cbdeefb93174242e1942eabb74b07f1d DIST ansible-2.4.2.0.tar.gz 6503595 BLAKE2B df4ec4e24671f1488950f2d9eb7705fbad4e035d6ac67d5017417281455cc44cde1290976a9ed16675c0cc19a9190200b95b29890725c56df5f2699398accd6b SHA512 32a075959dca01e184d9c3988fc9c491e904e7627a38e3527c37a8b26340f331bd294cacfe7353d339d15488857ba5ee1b36d9ae4ebeb8b5827934a73f4b42b0 -EBUILD ansible-2.3.2.0-r2.ebuild 1675 BLAKE2B cd0fa9f8f6fb31fca682303deda3580601feaee948a33f216c29ff06901f320eb6ff048cfa4aff58daace856b8d67b583794575d11d79a5be0980b4768e089cd SHA512 7f6c8f28056800aeaf82403de41ef5971b8ea4977b2642f6531132b58e22aa7ff81d49b18f2d57261dbfebaf68e1ed625fa7331ac4cc5f489d2e68de274fe81c -EBUILD ansible-2.4.0.0.ebuild 1422 BLAKE2B 55b6658da5a65b1a9ee082a3999290cd742b4a9ef5776578aa78411e877f48851b99c612eaa28187c5fa8b15109a8dc9bd6d290e7615c1667988cbfa50f723bc SHA512 227aabc8dfff8bdd0322ee083627daa823a2ffc1897b9abf15d725eda1de89348faa95749f7a0ba77a8f81dcd07c098c7f154508a8426c46a714aa067229ac86 EBUILD ansible-2.4.1.0-r1.ebuild 1441 BLAKE2B c7d99a3d842b55015f0839ec115c341fd5e543c5b045573681a071d956fa74931135388f9cf081a26b80a40db0040fb63c2a6037d5cf496a5d39945eed955f2b SHA512 611e6a76d51e16fdfb0131862c39935938b439ed36e0bc5724bbc78f3944d9048e33c277120a6f681a647102c648dbcf2052f7008960cd97ee7afa133f16c41c EBUILD ansible-2.4.2.0.ebuild 1443 BLAKE2B 4328c78b8de3a5256ee78e7c18bdbcd9203818bec971276a010a0163160bbd1189ace5b2d8cbc037666a698538cafec6cca5b8ed5b3b1f865ca1e09e71d0d5bc SHA512 e6ee03e4e356c5063117791a17305d51786f4d3fdbb2d4a856165c743495dadd368aef2fccc224fc3401d1979ab27afbf7623e8d9d2afc6dbc184f956c8df2ae EBUILD ansible-9999.ebuild 1512 BLAKE2B 03254235d8b9ca79a612c59b004324d0b208b0619ea9648c08e311f13aec4fa83f94bc265665ed729e1bcb2810fae5fd222484dee4bd90624d25aee1f97236d5 SHA512 69428f04ff25266dc74805609796b6f36b3e2d6bfefae8c7c5b1202fc015b890cf8fec4754a5664e611e2d7f0a9d7e7a014b7be5909097611f5e894a33a38012 diff --git a/app-admin/ansible/ansible-2.3.2.0-r2.ebuild b/app-admin/ansible/ansible-2.3.2.0-r2.ebuild deleted file mode 100644 index dce26e1069da..000000000000 --- a/app-admin/ansible/ansible-2.3.2.0-r2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_5 ) - -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 - https://dev.gentoo.org/~prometheanfire/dist/ansible/ansible-2.3.2.0-pycryptodome.patch" - -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/pycryptodome[${PYTHON_USEDEP}] - >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] - ) - dev-python/httplib2[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - dev-python/netaddr[${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}] - Enable support for AMQP destinations - Enable support for SMTP destinations - Enable support for spoofed source addresses + Enable support for HTTP destinations Enable support for JSON template formatting via dev-libs/json-c Enable support for mongodb destinations Enable support for reading Process Accounting files (EXPERIMENTAL, Linux only) Enable support for Redis destinations + Enable support for SMTP destinations + Enable support for spoofed source addresses balabit/syslog-ng diff --git a/app-admin/syslog-ng/syslog-ng-3.12.1.ebuild b/app-admin/syslog-ng/syslog-ng-3.12.1.ebuild new file mode 100644 index 000000000000..0b8222f6656f --- /dev/null +++ b/app-admin/syslog-ng/syslog-ng-3.12.1.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit autotools python-single-r1 eutils multilib systemd versionator + +MY_PV=${PV/_/} +MY_PV_MM=$(get_version_component_range 1-2) +DESCRIPTION="syslog replacement with advanced filtering features" +HOMEPAGE="http://www.balabit.com/network-security/syslog-ng" +SRC_URI="https://github.com/balabit/syslog-ng/releases/download/${P}/${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="amqp caps dbi geoip http ipv6 json libressl mongodb pacct python redis smtp spoof-source systemd tcpd" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="test" + +RDEPEND=" + amqp? ( >=net-libs/rabbitmq-c-0.8.0 ) + caps? ( sys-libs/libcap ) + dbi? ( >=dev-db/libdbi-0.9.0 ) + geoip? ( >=dev-libs/geoip-1.5.0 ) + http? ( net-misc/curl ) + json? ( >=dev-libs/json-c-0.9 ) + mongodb? ( >=dev-libs/mongo-c-driver-1.2.0 ) + python? ( ${PYTHON_DEPS} ) + redis? ( >=dev-libs/hiredis-0.11.0 ) + smtp? ( net-libs/libesmtp ) + spoof-source? ( net-libs/libnet:1.1 ) + systemd? ( sys-apps/systemd ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + >=dev-libs/libpcre-6.1 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + !dev-libs/eventlog + >=dev-libs/glib-2.10.1:2" +DEPEND="${RDEPEND} + >=dev-libs/ivykis-0.36.1 + sys-devel/flex + virtual/pkgconfig" + +S=${WORKDIR}/${PN}-${MY_PV} + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + local f + + use python && python_fix_shebang . + + # remove bundled libs + rm -rv lib/ivykis modules/afmongodb/mongo-c-driver modules/afamqp/rabbitmq-c || die + + if use !json ; then + sed -i -e '/cim/d' scl/Makefile.am || die + eautoreconf + fi + + for f in "${FILESDIR}"/*logrotate*.in ; do + local bn=$(basename "${f}") + + sed \ + -e "$(usex systemd \ + 's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \ + 's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:')" \ + "${f}" > "${T}/${bn/.in/}" || die + done + + default +} + +src_configure() { + econf \ + --disable-docs \ + --disable-java \ + --disable-java-modules \ + --disable-riemann \ + --enable-manpages \ + --localstatedir=/var/lib/syslog-ng \ + --sysconfdir=/etc/syslog-ng \ + --with-embedded-crypto \ + --with-ivykis=system \ + --with-module-dir=/usr/$(get_libdir)/syslog-ng \ + --with-pidfile-dir=/var/run \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + $(use_enable amqp) \ + $(usex amqp --with-librabbitmq-client=system --without-librabbitmq-client) \ + $(use_enable caps linux-caps) \ + $(use_enable dbi sql) \ + $(use_enable geoip) \ + $(use_enable http) \ + $(use_enable ipv6) \ + $(use_enable json) \ + $(use_enable mongodb) \ + $(usex mongodb --with-mongoc=system "--without-mongoc --disable-legacy-mongodb-options") \ + $(use_enable pacct) \ + $(use_enable python) \ + $(use_enable redis) \ + $(use_enable smtp) \ + $(use_enable spoof-source) \ + $(use_enable systemd) \ + $(use_enable tcpd tcp-wrapper) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf* \ + contrib/syslog2ng "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo.hardened" \ + "${T}/syslog-ng.logrotate.hardened" "${FILESDIR}/README.hardened" + + # Install default configuration + insinto /etc/syslog-ng + if use userland_BSD ; then + newins "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf + else + newins "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo" syslog-ng.conf + fi + + insinto /etc/logrotate.d + newins "${T}/syslog-ng.logrotate" syslog-ng + + newinitd "${FILESDIR}/${MY_PV_MM}/syslog-ng.rc" syslog-ng + newconfd "${FILESDIR}/${MY_PV_MM}/syslog-ng.confd" syslog-ng + keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng + prune_libtool_files --modules + + use python && python_optimize +} + +pkg_postinst() { + elog "For detailed documentation please see the upstream website:" + elog "https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-${MY_PV_MM}-guides/en/syslog-ng-ose-v${MY_PV_MM}-guide-admin/html/index.html" + + # bug #355257 + if ! has_version app-admin/logrotate ; then + echo + elog "It is highly recommended that app-admin/logrotate be emerged to" + elog "manage the log files. ${PN} installs a file in /etc/logrotate.d" + elog "for logrotate to use." + echo + fi +} -- cgit v1.2.3