diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-06-06 15:20:33 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-06-06 15:20:33 +0000 |
commit | 6130e16db3c5f8e0db29cd956f3cced177777ad0 (patch) | |
tree | 0da70afbed1f3959ad33d35f74a8f185718062de | |
parent | fix for bug #512556 (diff) | |
download | historical-6130e16db3c5f8e0db29cd956f3cced177777ad0.tar.gz historical-6130e16db3c5f8e0db29cd956f3cced177777ad0.tar.bz2 historical-6130e16db3c5f8e0db29cd956f3cced177777ad0.zip |
version bump for 3.4 branch
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
-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.4.8.ebuild | 117 |
3 files changed, 126 insertions, 2 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index 1a60ba0c557f..23eb05ec5532 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-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.387 2014/05/17 15:16:23 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.388 2014/06/06 15:20:29 mr_bones_ Exp $ + +*syslog-ng-3.4.8 (06 Jun 2014) + + 06 Jun 2014; Michael Sterrett <mr_bones_@gentoo.org> +syslog-ng-3.4.8.ebuild: + version bump for 3.4 branch 17 May 2014; Michael Sterrett <mr_bones_@gentoo.org> -syslog-ng-3.4.2.ebuild, -syslog-ng-3.5.4.ebuild: diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest index 1d7d44dcbc4c..08e7cd1f97a4 100644 --- a/app-admin/syslog-ng/Manifest +++ b/app-admin/syslog-ng/Manifest @@ -17,8 +17,10 @@ AUX syslog-ng.logrotate.hardened 1742 SHA256 f2c9f99c7dd73e709e5edb7be99de5a1305 AUX syslog-ng.logrotate.hardened.in 1653 SHA256 78e3db0f0a75dfc74d9a34cd865cd02c97e37c0eb505968700faf9b6c154ac46 SHA512 a2e2e9175fc32a4c717629526940dcc6f323147e40833118ceffbd44413bfb320f94e07fdef0b99a64f72c5e7f7aa00447f81d85f8c716982636dd3241f7f955 WHIRLPOOL 03f691e64a1184526acfeaeb6187443becc7816f558774faeb1d5ee785cc09fd35f444bf79451bd91754c558b4e17caa10c69430ae3e10aed4458b108cc80c93 AUX syslog-ng.logrotate.in 345 SHA256 7e854cbac5b376b3d1d6906fed4cff794e17998c04c647239da4245f112cf97f SHA512 d729111944527fc269e884c12fc628b95a9b83757c756a18c2e45355a7df6ed7802d1bfc0d1af37e3d5b07deaad6f42a38c70dc899835d659dd12917204b15ae WHIRLPOOL 4ae7fbe448e346265117c0fa407b6632d698cab4514937f699195306228a7b81b70cecc23937f336f808fe35fbeeaec4ec97cba8684897dcf06ffa6eecd4ea4b DIST syslog-ng_3.4.7.tar.gz 3203894 SHA256 7b1114ff0bd9d2c52a8ce407f0f59102ea4123ff7efb3f84253961e0de6ac1b0 SHA512 66c1dafaa9441fd909b450e79ec3d1011bd423301602b0eea372e141ff267ddb60aa0280ef49b1f62d24b3f17fc1909a6ce8cc5bea0e3c6708df64815a534279 WHIRLPOOL b3b9aef566cc4577b4ec6ad96f696e29abd84d663205cadca766a50c933d29e3b195b6679cbb8e0edca96cc6995ab10fe409531eb15c90bfeb82a598ad7cf3fe +DIST syslog-ng_3.4.8.tar.gz 3169372 SHA256 96c2f970fbba4fdd7659b1fee5e476d2858c911d4304d42099f495493762ff49 SHA512 23ba9908664e594c186cbe4bd5dcfb5d2ed3faf02ec45b931bb91b078660547989c2340a08b478a33adb530d39a6d6f39a2e7519107a3f6b923ac9f39529620e WHIRLPOOL 1085fa2c90e0c85421c64ed50e8a357f29006afea2f3e329e42d1e27f4210a10fe0f05d4af95a11c245d68b43644a4a829a50c05b7d541f59a6f580b3643b434 DIST syslog-ng_3.5.4.1.tar.gz 3034040 SHA256 92c6969e4172b4fd32390f80043b4de7b116f29989d8c2e5a8a687ee6dcd6f66 SHA512 4068b1e1fc6ef52075002c9306885cb3b70d5e681077dd2bff7c5dfd83885f4967c9246692c0e886343269cdd5f02b2416999e5e381a076354da96bc7dc13766 WHIRLPOOL c8f6d3ff7dbd92c17c3f3a76d0acbe23fcfff0d5bb6dc9f2cd5c0bcec402276d5e1d50bb21939dcc89114b6f94aea143b3cf3fc0a7ab2cd3683740c6a3665e07 EBUILD syslog-ng-3.4.7.ebuild 3441 SHA256 fbd25d0ba2e444cd0b3f51af35d74b58f489929502746c881a9706435bacb18e SHA512 33a65d4c29880ff8fb9c3b8d27eb7476ed16c6c605feee621c7559bd4b163dcbd7cb6e25aabea24b04f1f1d9eaf16904eb3ce62db21f6d3a0a8ed03b7b0f05b6 WHIRLPOOL ddc98a6407fe28ff3a71e54d4a94ce7d2baca23539b3551c8d5bba5e7adc8249bb79a559b22418600538bec546964eacf92eacdb6ae17042d71672cdda8ccc9e +EBUILD syslog-ng-3.4.8.ebuild 3455 SHA256 c3e2945e02a9bc94904a16773fb8a0feddbd2fa3f7f1c4773fbfe06d5dc71d68 SHA512 52299ac4a465e4cc6fdfaf30af90a6c01ea499ace8f94f3d4c84de48e28aee2ba71f0e7a19bfbdff91f58161eb99395413f495f1fd43980f5f4d711df3b942d5 WHIRLPOOL ce0e4adb65291d05b3df58020fce48bd18576f7a8e205340aa79cb8b5b6c2eea3bc62c3921667f127aa99c6a0612fc76fcab331ec5a406cb2b167c6dd328af64 EBUILD syslog-ng-3.5.4.1.ebuild 3690 SHA256 d7aa2342ba3a2c938571fd112b2f4e52ca53b79eff89e001072869e7c9e175a2 SHA512 c8a1e8f30d743dde5bfcd2119bcd5d65dd289a1ea4428fcc424f5869caac1305c819a940fdd4950cffc407e73ae0a57825507cf8625cda897e3138e5a619d2b6 WHIRLPOOL 16f093a65e52be1d22504e5fe9e6331ecd81316a93c5477d3f5c0fc746f84d1a5330419ab3fa9dceae99b8e4860cd89d3d192f6dd2b6d724efb42ea8d2faffea -MISC ChangeLog 54434 SHA256 a84b65468109ea54f783d29e322c4a19e443e45d0a76efa27302a795f5fb9193 SHA512 f940d24178be68156d47b4e85f1bcd08e0b51e7040d9943bc194f8d62cae00304a06e12a29a789d99a0e4fa7da45c43c5bfbecfa2ab2e8950cf2a21e4a7c3d5b WHIRLPOOL 3e55bd3af5556e79a2c027e4de7ed3693b14dfcf7eb2ba897f723689c6e281035df72e1d175947b68b3c524651a2e9fb428aeaf672af26cf995ff38d86524436 +MISC ChangeLog 54577 SHA256 d5f869d9b9e7d9f0aba14347c610137e8d994f019d09c62d3a7aa218d7c569d1 SHA512 8bd5f317855287a73362fae874645b6475489c33a37f99bd014390614aef75bc8e771f54fb1cce26b7ed607ab2ea3809d46719705a5588d9e49cce04c995b30f WHIRLPOOL c2a0e0b3429423088ace7b8a90d67d41a1f336cc0776db9dfe404bcd8188b3a3eced7a57f4b57f5ddf531e2abf3c367637c5009a1a828b8f83b233ff48ba38fc MISC metadata.xml 624 SHA256 95bdd3fe7cda0b332928dfc19f4193cb7ddf03da2fe72a4e4a9ae287345b87fa SHA512 0392a6cb47f429b17a353fd0d8f98baa2ca81f8008971ee4f80b0f6a49b0fcafb0e59a7423b7fe37adc4ca979de9e25c639ea65b91e8560c0fc267ee6cd2689a WHIRLPOOL 2797d378d86218b1dbce3b57900c51554f03fd21a679998122cce4fb151393a32f01896e7c65e94025156c95819e3674b1d7b21ca16e06976cab1604ff8250b9 diff --git a/app-admin/syslog-ng/syslog-ng-3.4.8.ebuild b/app-admin/syslog-ng/syslog-ng-3.4.8.ebuild new file mode 100644 index 000000000000..4afefa3b449f --- /dev/null +++ b/app-admin/syslog-ng/syslog-ng-3.4.8.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2014 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.4.8.ebuild,v 1.1 2014/06/06 15:20:29 mr_bones_ Exp $ + +EAPI=5 +inherit eutils multilib systemd + +MY_PV=${PV/_/} +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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd" +RESTRICT="test" + +RDEPEND=" + pcre? ( dev-libs/libpcre ) + spoof-source? ( net-libs/libnet:1.1 ) + ssl? ( dev-libs/openssl:= ) + smtp? ( net-libs/libesmtp ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) + >=dev-libs/eventlog-0.2.12 + >=dev-libs/glib-2.10.1:2 + json? ( >=dev-libs/json-c-0.9 ) + caps? ( sys-libs/libcap ) + geoip? ( >=dev-libs/geoip-1.5.0 ) + dbi? ( >=dev-db/libdbi-0.8.3 ) + systemd? ( sys-apps/systemd )" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-devel/flex" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_prepare() { + 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-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 pcre) \ + $(use_enable smtp) \ + $(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 contrib/syslog-ng.conf* contrib/syslog2ng \ + "${FILESDIR}/${PV%.*}/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}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf + else + newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf + fi + + insinto /etc/logrotate.d + newins "${TMPDIR}/syslog-ng.logrotate" syslog-ng + + newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng + newconfd "${FILESDIR}/${PV%.*}/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.4-guides/en/syslog-ng-ose-v3.4-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 +} |