diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-06-10 14:40:41 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-06-10 14:40:41 +0000 |
commit | ccd45dc10c07c4eceb63d170bf15ad4bacc42da1 (patch) | |
tree | fbe787bf5716d1f3a5cc7de051739d9050c6764e /app-admin | |
parent | Version bump for security bug 550770 (diff) | |
download | historical-ccd45dc10c07c4eceb63d170bf15ad4bacc42da1.tar.gz historical-ccd45dc10c07c4eceb63d170bf15ad4bacc42da1.tar.bz2 historical-ccd45dc10c07c4eceb63d170bf15ad4bacc42da1.zip |
version bump
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/syslog-ng/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/syslog-ng/Manifest | 4 | ||||
-rw-r--r-- | app-admin/syslog-ng/syslog-ng-3.6.3.ebuild | 123 |
3 files changed, 132 insertions, 2 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index 90ebcad591ad..1f02545af3f0 100644 --- a/app-admin/syslog-ng/ChangeLog +++ b/app-admin/syslog-ng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/syslog-ng # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.428 2015/05/28 20:01:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.429 2015/06/10 14:40:36 mr_bones_ Exp $ + +*syslog-ng-3.6.3 (10 Jun 2015) + + 10 Jun 2015; Michael Sterrett <mr_bones_@gentoo.org> +syslog-ng-3.6.3.ebuild: + version bump 28 May 2015; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-3.6.2.ebuild: make epatch_user work with patch from John R. Graham (bug #550656) diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest index a301bd5c4d5d..e795234040a9 100644 --- a/app-admin/syslog-ng/Manifest +++ b/app-admin/syslog-ng/Manifest @@ -16,7 +16,9 @@ AUX syslog-ng.logrotate.hardened.in 1653 SHA256 78e3db0f0a75dfc74d9a34cd865cd02c AUX syslog-ng.logrotate.in 345 SHA256 7e854cbac5b376b3d1d6906fed4cff794e17998c04c647239da4245f112cf97f SHA512 d729111944527fc269e884c12fc628b95a9b83757c756a18c2e45355a7df6ed7802d1bfc0d1af37e3d5b07deaad6f42a38c70dc899835d659dd12917204b15ae WHIRLPOOL 4ae7fbe448e346265117c0fa407b6632d698cab4514937f699195306228a7b81b70cecc23937f336f808fe35fbeeaec4ec97cba8684897dcf06ffa6eecd4ea4b DIST syslog-ng_3.4.8.tar.gz 3169372 SHA256 96c2f970fbba4fdd7659b1fee5e476d2858c911d4304d42099f495493762ff49 SHA512 23ba9908664e594c186cbe4bd5dcfb5d2ed3faf02ec45b931bb91b078660547989c2340a08b478a33adb530d39a6d6f39a2e7519107a3f6b923ac9f39529620e WHIRLPOOL 1085fa2c90e0c85421c64ed50e8a357f29006afea2f3e329e42d1e27f4210a10fe0f05d4af95a11c245d68b43644a4a829a50c05b7d541f59a6f580b3643b434 DIST syslog-ng_3.6.2.tar.gz 3207456 SHA256 ef47fada52981e09af570457a5af30f815f5d5b6c2e33754cedd4ca9780d8261 SHA512 15603b4df2001e1ce7e0019d0dd9a0f4295445e3fd19a527ebf3d49486da7da27fac6c465727ec0354f8f70ca0f671a285ec132f9aa0de62b40f18b44af2a226 WHIRLPOOL 7135db242374d6e5789c0820a06187b7e325054fd214e3aee75aac5b8dde56786b432cc4519c07ce0cd413c3a560e8e74ee6eca319c21eaa750ca8140ef1b63f +DIST syslog-ng_3.6.3.tar.gz 3276189 SHA256 1a2fc8bc513c3ee2f96b22f1bfc6e33077a6d0eb2a3c2915747345a085836174 SHA512 887fefd10193c525e02914f7de1fa903d5173bf745b0dd7575b757100fe56536dc2dfd2f468cf70a4cbface8c6536f2d5f93de89359f95f3db3b07487e9bf42c WHIRLPOOL 3c3eab5b8a7523fa4263b75f77f2b45c6ca6741e00ea1312aa2427aeec616296048b4324db627f45d3ab92e4dc11cc09acea3258f8ba9e6bc1e1a82f8b0d75d7 EBUILD syslog-ng-3.4.8.ebuild 3588 SHA256 2bf7cb39b5486e7a6b95834ad87ec19a0d00e93126fc57dd826b6bebc3e9e844 SHA512 32eadb10f65970756a30d852dcb14bf0296425e5c256182956d3cc42b8571c46df3a293da40a9ff730046252a3e078413e11543176c39586d5dbcea970e41939 WHIRLPOOL ebbb2b786c6061017d0a69878fb6811d7b97495f948e5c46d8dff695281b864e6f8a8d177f71c7a75652905f4f511c479e26868ccebb7838c211a8dda8ecfc9d EBUILD syslog-ng-3.6.2.ebuild 3789 SHA256 2e1451e271756b246f88d226244b94b8195e3aafb9fa9380046a0d1bb625766f SHA512 70b1539c438498fad41feeb2699060a182366ddf69f3d20bf14ed97c116876d332dfa695dff8e9ebd15057253c9efc9b6c6c2349ff03c480b3becc128ff9b468 WHIRLPOOL c451f6df91fe8f6fd9bb77e6a92c2f86323e97220ad1031fa0b1d9f6bab825d5cd8af3f6fb30e0f201db4c4ee73e25aa11f2628346c331303c675f5ab54f49ef -MISC ChangeLog 59967 SHA256 65059e694d2b7203fa3b0404beb748a8af92e2ea78452bcd4f4479cddc398cd5 SHA512 e071bcb616baf65c53346efc9d0b163b8a6cfe3e7f357ed0fe3e5a1f05a0143b7e2d8fb43449b6c8884afc2f680aee47bbe93fed2c949fdba271013d88ccc97a WHIRLPOOL a6de55ea22be31ac409489a825c7e0f47b95792ce22919768f921f0e2410662fcf120ad6a63def1586d32726f3cded908b051e03b00161f2e08bdc7d93bb41eb +EBUILD syslog-ng-3.6.3.ebuild 3747 SHA256 84e3b2aebd011b57f7fbaf1560406f3882eb212a1919879d57fa75820144f732 SHA512 20e3df8564b0d40a84c211b9352c4e5bf79fa51112ab9cbbf98b4baa828e076b608f91e3338b62fd970602dedc84e1199e9a015a763215e489abae0e7987af35 WHIRLPOOL 2b110860a327da62fcff63a80f2ba2f4440acb2b56cc9b4a5dd872ee7d011b63ef4626daee18ae82e436fa8d8ac9cc9c5b72d3b542fb29782e8d63a2f296c558 +MISC ChangeLog 60095 SHA256 a374f9acda7115be33784fe1d30128e71f08941d0cfefb2e77d8740baa1a8164 SHA512 ca18ee5566913cec05c7cd09c90034239156dd6ee682d627c181335e779373486213a594a41f9894814b0982d1a75f51cc815c587a4e5d6c18378c038858c011 WHIRLPOOL 26bd03f3d5573b1b206e1bdd15891bfd1f23c371294fe313d0c3e3816e2ebd6b6469be3497a8ae54130a689853d65f8ef8f94c481f8daae795c964dd50687d74 MISC metadata.xml 792 SHA256 9116bcafb5bc0f8cb3e27e43b474bb387de0467f47fe81f2a2da462cd1438834 SHA512 d81f3f86da8fa594eca1b2224ffe4e07c467f63aee77273b91df7b91256d54653c70b1a3c6543f1a6ce51594f75fdb4245d4ad6766d687275efe7b1811b317a4 WHIRLPOOL efc50cd99fe30a65e83b180794e3d9f58e09f6680c14ea038e09746f414b83c5ba3380d0c6796cca254a4ab81ce676f9dbdefb577abc5a39a26281a8ef9010d2 diff --git a/app-admin/syslog-ng/syslog-ng-3.6.3.ebuild b/app-admin/syslog-ng/syslog-ng-3.6.3.ebuild new file mode 100644 index 000000000000..fcc92b289fce --- /dev/null +++ b/app-admin/syslog-ng/syslog-ng-3.6.3.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.6.3.ebuild,v 1.1 2015/06/10 14:40:36 mr_bones_ Exp $ + +EAPI=5 +inherit 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="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="amqp caps dbi geoip ipv6 json mongodb pacct redis smtp spoof-source ssl systemd tcpd" +RESTRICT="test" + +RDEPEND=" + caps? ( sys-libs/libcap ) + dbi? ( >=dev-db/libdbi-0.8.3 ) + geoip? ( >=dev-libs/geoip-1.5.0 ) + json? ( >=dev-libs/json-c-0.9 ) + redis? ( dev-libs/hiredis ) + smtp? ( net-libs/libesmtp ) + spoof-source? ( net-libs/libnet:1.1 ) + ssl? ( dev-libs/openssl:= ) + systemd? ( sys-apps/systemd ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + dev-libs/libpcre + >=dev-libs/eventlog-0.2.12 + >=dev-libs/glib-2.10.1:2" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/flex" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + epatch_user + cp "${FILESDIR}"/*logrotate*.in "${TMPDIR}" || die + cd "${TMPDIR}" || die + + for f in *logrotate*.in ; do + if use systemd ; then + sed \ + 's/@GENTOO_RESTART@/systemctl kill -s HUP syslog-ng/' \ + $f > ${f/.in/} || die + else + sed \ + 's:@GENTOO_RESTART@:/etc/init.d/syslog-ng reload:' \ + $f > ${f/.in/} || die + fi + done +} + +src_configure() { + econf \ + --disable-docs \ + --with-embedded-crypto \ + --with-ivykis=internal \ + --with-libmongo-client=internal \ + --sysconfdir=/etc/syslog-ng \ + --localstatedir=/var/lib/syslog-ng \ + --with-pidfile-dir=/var/run \ + --with-module-dir=/usr/$(get_libdir)/syslog-ng \ + $(systemd_with_unitdir) \ + $(use_enable systemd) \ + $(use_enable caps linux-caps) \ + $(use_enable geoip) \ + $(use_enable ipv6) \ + $(use_enable json) \ + $(use_enable mongodb) \ + $(use_enable pacct) \ + $(use_enable redis) \ + $(use_enable smtp) \ + $(use_enable amqp) \ + $(usex amqp --with-librabbitmq-client=internal --without-librabbitmq-client) \ + $(use_enable spoof-source) \ + $(use_enable dbi sql) \ + $(use_enable ssl) \ + $(use_enable tcpd tcp-wrapper) +} + +src_install() { + # -j1 for bug #484470 + emake -j1 DESTDIR="${D}" install + + dodoc AUTHORS NEWS.md CONTRIBUTING.md contrib/syslog-ng.conf* \ + contrib/syslog2ng "${FILESDIR}/${MY_PV_MM}/syslog-ng.conf.gentoo.hardened" \ + "${TMPDIR}/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 "${TMPDIR}/syslog-ng.logrotate" syslog-ng + + newinitd "${FILESDIR}/${MY_PV_MM}/syslog-ng.rc6" 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 +} + +pkg_postinst() { + elog "For detailed documentation please see the upstream website:" + elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.6-guides/en/syslog-ng-ose-v3.6-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 +} |