summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-03 06:21:58 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-03 06:21:58 +0000
commite6f87f38f9bddd8c361177a330e6964af98b548b (patch)
treed78fd06bbc7b2c11488d89e0233629cc7ed25948 /sys-apps
parentAdd ~x86-fbsd #303295 by Johan Hattne. (diff)
downloadhistorical-e6f87f38f9bddd8c361177a330e6964af98b548b.tar.gz
historical-e6f87f38f9bddd8c361177a330e6964af98b548b.tar.bz2
historical-e6f87f38f9bddd8c361177a330e6964af98b548b.zip
Version bump #542744 by Tobias Sager. Create cache dirs via existing cronjob #520570 by Agostino Sarubbo.
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/logwatch/ChangeLog9
-rw-r--r--sys-apps/logwatch/Manifest32
-rwxr-xr-xsys-apps/logwatch/files/logwatch1
-rw-r--r--sys-apps/logwatch/logwatch-7.4.1.ebuild85
4 files changed, 111 insertions, 16 deletions
diff --git a/sys-apps/logwatch/ChangeLog b/sys-apps/logwatch/ChangeLog
index 56e9979ad052..6cac308d2456 100644
--- a/sys-apps/logwatch/ChangeLog
+++ b/sys-apps/logwatch/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/logwatch
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.96 2015/04/03 06:15:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/ChangeLog,v 1.97 2015/04/03 06:21:56 vapier Exp $
+
+*logwatch-7.4.1 (03 Apr 2015)
+
+ 03 Apr 2015; Mike Frysinger <vapier@gentoo.org> +logwatch-7.4.1.ebuild,
+ files/logwatch:
+ Version bump #542744 by Tobias Sager. Create cache dirs via existing cronjob
+ #520570 by Agostino Sarubbo.
03 Apr 2015; Mike Frysinger <vapier@gentoo.org> logwatch-7.4.0-r1.ebuild,
logwatch-7.4.0_p170-r1.ebuild:
diff --git a/sys-apps/logwatch/Manifest b/sys-apps/logwatch/Manifest
index 5c4764bb89c3..193288835123 100644
--- a/sys-apps/logwatch/Manifest
+++ b/sys-apps/logwatch/Manifest
@@ -1,29 +1,31 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX logwatch 95 SHA256 6b1012405b4e3cf7df768fb88c390e5475202bc0dc50e0cea7cdfef9f823df51 SHA512 e8aeee6bb3b00f910585853d970720633022ced8059abc93070a5be41e113390be0d2ca887324e29470d2f5f1edf106fe6eda3a01d74ddfe010705b8c5009840 WHIRLPOOL c7176923d61c7e5dc83e9eea401a5bc5821e4e0cb18e80c8447363c41868d3b6598f5fb4887b3fd4c5523bbffd613fc0cd7945a380274a4a4f091bad3d806fbb
+AUX logwatch 125 SHA256 6f65d08d413b7129730816988e4ff49ece532f59e50ccf6a345b2797a854ec6d SHA512 20cdf61fe9e9bfe336c6b7e1f33c982c34e61370431179a2f766da8e1b56f8452c85d75fbba4f459f9c4761a7a932c309d0ba7253aeb6e3b31b220c00106e504 WHIRLPOOL b26d6d421f53c51a5e76dcda5669bd2571843d6b3bf52d862adf553eb6b6793d26b25cebf5aae9273c74c5c71009761031e820aa3a9cd714571e02be9b8a7dbc
AUX logwatch-7.4.0-openssh-hpn.patch 946 SHA256 26c6215b7b4ee091cf45620fce62e752e90775789a18763fc8e3bb39d2ce1a10 SHA512 1238f8760a93fe9128f4435e6d5088bc5a20778bfd425a1bc5042b51a783a8f9a60130fdfd1662b9a81109ea9e9d313164924dee4d339b34f08ed9a062750b9e WHIRLPOOL 5cac4629a86e1bc0121e0ac7544b2b8c678bbbb2ae5e766019bd6c75ee479fb01509f12c813d53cc780bd349814bb9e52a4738c9ee68e7ce9553c17cf307eecf
DIST logwatch-7.4.0.tar.gz 294398 SHA256 b8fd136a07a6b79962380d68b26328cdccc8b6a20310195e24e39b0bfd3287c4 SHA512 d556a5768ceeedc21396a38f02f2b2d8ca3556de92274038819840a6d41770437673a531d91f54cf3a905b6b4b8d72fa4011b838f81ed04b02265bde39b7b3c7 WHIRLPOOL 7643cb55ed330dacda223d5ff06dca16a29df2a8c50a6f4b2bded1ba764c07126101bce08422e5531cc7dd531960e6dd9a29114ac5e43987a3d2d9b796204d21
DIST logwatch-7.4.0_p170.tar.gz 455794 SHA256 27f4ae2692190aa96a3af997d66b39a595e9c72e4a078cbdfa7c13f5c885a42f SHA512 6c07cfb20c0bd121b698b48f060d50b45e018b81b2ed78c96d33c5b8cb43fd23a139cf95c64af9c3148c99fe1f9e9d2c0936e1d2ab6dfba105e4ad621db2fcdb WHIRLPOOL 6af221787ce7d71f0c238fbb18d3b272cfe42cb18a3a24a70fbf617f2a6d39fd41d4978dd2c8b67687fa003594300e4beb2fc0b2f0c2425cc1c6fd1d501cda50
+DIST logwatch-7.4.1.tar.gz 464970 SHA256 35ec31f9fe981aaa727b144ab3ff2eb655997d8ccabaf66586458f5dfc3a56eb SHA512 f53400e6654b498371265ade82d51f0625904a33400f7f82b2dc8522ad561c8998fd9f23d569281f031142bb527fc1b38af1d7534fe3b3aef23780b0152e67d4 WHIRLPOOL 947f0796f5313c9eb5aff3cca8b47a861eda3ff0b3b65134a11792ddca2262fbd8fd0bdf83ce430d06efb4905187ca82a6978e6b5ae656ade63a7d181cc3faac
EBUILD logwatch-7.4.0-r1.ebuild 2153 SHA256 8f2f18582722a05b8c22c1fac0a67001b17ed00617d4cba294db223a42ee0cf5 SHA512 5e19640e8633f3505126aed1f02489d95172838edf74d9f2ae97efa4f608eb75eb50d5a7fb663baf96f1c8c4bb8b7ce16917a3ab95d8233b5e1a6681a1eb33aa WHIRLPOOL 872ab02a9200d54b59bd5ed6f396160af454b1d62aa8f5f88467e7f1bfdbd3b8c4c582792d16d839be6dbe03b9f9e798df33dfd54bc2a19ac05e89ad6a68924d
EBUILD logwatch-7.4.0.ebuild 2102 SHA256 375eeaa04f83a133d4eaeadc6f73eab622f6c3ba24889c7c5e893f8f80e3c799 SHA512 ba7a868acee339c8c6f479048fbbd1eac2db898ad2bea334312cc4c8a6f795b0e200f9b204cb5d66556e3818b1a1bcf887124e869025b1f53f155840e7a953a0 WHIRLPOOL 9883a443c5bd3943780de210008ba3fc177a107d6a86c775b78609d4595051667fc07a304a22f94f28c4d75c0d645e958209e852d626768e368a21a85b4f5dbc
EBUILD logwatch-7.4.0_p170-r1.ebuild 2214 SHA256 1f40c914601f0434d20cefdf12c704ae4761a612f6d60b27b780d401e2bcb0ac SHA512 9330290251ca09f9a3fc3f6bc8b20514c6760d969cca1195c9b4e43e0766b18a4c13780f279fa1f0e1e30f00e24a76a501dfa26cc5ff86fb929989040bc4d341 WHIRLPOOL dd99797bbd0e2bf14705695107a57fb9cd0d2c58721f2edd05ccbfef69bc5d2e4fbb53114d7ce7f0a85520f0aa3744ddada28ce8afc2245a900fd74a5e4f62ad
-MISC ChangeLog 13290 SHA256 9d29e6f9a8e683dac276f7c729ace62afcce8ac68ef3f89796ea8777dcacef3f SHA512 0ed4f98ef699497228694fd1e20ff05e5a1bef8f8245c6de62ab56446c1040651aa2ed1b48ad93c448e3bbf55774398c1610b226812f95de019b195b46e6b038 WHIRLPOOL 2dc14c660851e857e6cf205cfffa3d6f494e65c05fbd56d3813ad7da2d3aba922142c4edb79db5c8a18ec7feb716c8e6dfae11d39f67c17cffb5459adaa372ff
+EBUILD logwatch-7.4.1.ebuild 2172 SHA256 00832be515b5bd8d97852e67f088575d67e1fa7af15ddc7eadb13606cba50dcb SHA512 366964335841c5b7303d27ad64622f1be092dd56b3aef08e6234d6d1d973d8cfc41d98108c0bfc385c354f57fa0d98b4d95d568f80a76a72595b54404043e265 WHIRLPOOL 28a802c7cad5b19c82290fdfcccc2a7035d03228783b48d8fade6338eb517f6e5cf218df431a8faf773e2757acaf62da2f55ad78b35f11c67423e149784333a2
+MISC ChangeLog 13525 SHA256 4adbda52a29f2728dceda9277c0449d6cc909769feb9fe1f0067cdae8a9a1b5d SHA512 1a893ca5ce4d97a206889a6ccb5d75988f1ad545a4194194dd83ec06a8213bac6cfe5db216b7a6b21ca003f812ea317cf593d6a8a28fdc2dd13f7593c6ada015 WHIRLPOOL b235fb5914b612e4c4d404734246b8b62b1b3639c0b15f7caa4582647153215e684084a8c6f777c83af4e77a205d360da06bf397f15ae3be352c66fce5ed1d3c
MISC metadata.xml 166 SHA256 a33d3505ea834e19cd196ef8af9d438f1e476abb2aca27b0ea9f1219e93b8b26 SHA512 9a924987983984221311fc13539b270e032c8a18bfb2e863480dd4be10d36f3ec22d6824cc443c4dcbd34a6a0abce33ba70eeb90766122e072d442216af4f8dc WHIRLPOOL c28ad7db1ab0447a86899c0b1e504795754cc1ac75250e1b81ddb3ea1ea318abdeca1712695d18f8a12ff8b72e73b4cefef35adc05eb15a448aff88e7bd4b330
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJVHjAKAAoJEPGu1DbS6WIAwRMP/RjSxV0FhUajKyb8JrqChuv5
-qS7OHwkA5B5ezngLYMW0owfage2yWlw8KrZ3pmVPFNgDflkoW3PYjD5v0vLZl8Cf
-SFszaxfxKkSmSUKCaK5TObMT12muIDBdmxRiKaY7KeDhxDOIQ91DZ6/AfY8zHAeX
-z8DiMAIoMDlIq7HBfF0YotqWTpjFMEMmAi2Ask+SyB7+TmOstI+TwUv2p1ppM/z2
-QJjxFZxKfqE0j33NbhFPue5eh2y8a9Wq4Y4FbL2KZzH/O8GWk1ykbzZApfDTcEYf
-KtufnLPf7SrRI2W1h7MB4jF8PSuWOO1VeZsS9FdbCVaFlRRwfUvlDcDwO0YYnmH7
-2GdJsN8sG3smWl6F3GpnIn7NmdiNfDHsPQLC7wAU5xaqehOxS3vPxRnH5Psrt7KI
-wK1aoLBWbGlP+81DGU6YnZcMh5r5jTPxdSgrJ71MP13qU/Pz9d2VbMUBUaQ6jbOr
-bLbAm1WAwVc6jzhXaAfFnHr0YTVVFoaeOaIdK9yydJ8N3dJIbLeGXxcWV0gSoUA4
-iY1p11iHJBpBaM03dqUDRgEDwFZYkziHzZh+YM9TLgSSb957uDxnDm9Gs3siQ9O6
-0jkjP1TMCiT43br+b1uWgnd50AGmGuBWVTTPeXemk0Hp46P54oOIS8CkV7U6B21c
-cPrNygXPW6tKCp1VyQOa
-=ObIG
+iQIcBAEBCAAGBQJVHjGGAAoJEPGu1DbS6WIArN8P/3eh2p8jctKVUNxZaPYMSHCU
+6atAqueN8pdJTk/wCiSbMXjTWf0u8oR+WBhH9+6kHh9OD2ehUyAODKx86LHRd/EE
+kFsFQbCoBri4nUjPgyAoS/h+AkKyRWshf28e668AxFFNBAIybQszBh1xCqWpjy2w
+E2vJnMVGekD6wM5PTxCadSaaI5WCYKvFwg/pW4ueTu3iqIxHTANE4yinWqex7ISm
+RqPYmKPNeJN3ljR5ZHZV9POsbUHDIupXzCd6NsFKN3Q6emlwvhYEWrAXkxC2A3xt
+Luwe3Q4Je8l4NvmT1Xe3aVj2OWPuqTRHJTOpfzBg5COYQ2f8gQrT5Fnu8eOkPf7v
+eIcmCembviO7u2lFa9V6qHtUfocp7x64KpYQ20UmVbVmIEx6YitnKuVwSELioy99
+/PX2OTFbFHK1QM1MqUtgWn8OsQXjoxcjnW5JFFVJ+gUGaM/2mjm2C3OlTu/bK8x/
+4SL+NpCkVWnFgWd6RY/iVub6Sgn3xh+0g0Pr58WEpURwwjSLsWVS+7bhMIa3CA+5
+E81CKEA8vHspd7tcEzUkhDNQGCHnBlGrfkmDVB3qBCW6mShdpCTWW3WVpDh8NM6J
+gZGjZOFGB6ffv/jrxS3n92StPVcH3DQnOs8tAv8ho2Qq4fLuQNdTQifBfcwHxymf
+WOTauAobU9hxVEq5S/Gr
+=9OME
-----END PGP SIGNATURE-----
diff --git a/sys-apps/logwatch/files/logwatch b/sys-apps/logwatch/files/logwatch
index 4d4a2227b315..50ba356d3984 100755
--- a/sys-apps/logwatch/files/logwatch
+++ b/sys-apps/logwatch/files/logwatch
@@ -1,5 +1,6 @@
#!/bin/sh
if [ -x /usr/sbin/logwatch.pl ] ; then
+ mkdir -p /var/cache/logwatch
exec /usr/sbin/logwatch.pl --output mail
fi
diff --git a/sys-apps/logwatch/logwatch-7.4.1.ebuild b/sys-apps/logwatch/logwatch-7.4.1.ebuild
new file mode 100644
index 000000000000..c95b7db90369
--- /dev/null
+++ b/sys-apps/logwatch/logwatch-7.4.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/logwatch/logwatch-7.4.1.ebuild,v 1.1 2015/04/03 06:21:56 vapier Exp $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="Analyzes and Reports on system logs"
+HOMEPAGE="http://www.logwatch.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/cron
+ virtual/mta
+ virtual/mailx
+ dev-lang/perl
+ dev-perl/Date-Calc
+ dev-perl/DateManip
+ dev-perl/Tie-IxHash
+ dev-perl/Sys-CPU
+ dev-perl/Sys-MemInfo"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-7.4.0-openssh-hpn.patch
+}
+
+src_install() {
+ dodir /usr/share/logwatch/lib
+ dodir /usr/share/logwatch/scripts/services
+ dodir /usr/share/logwatch/scripts/shared
+ dodir /usr/share/logwatch/default.conf/logfiles
+ dodir /usr/share/logwatch/default.conf/services
+ dodir /usr/share/logwatch/default.conf/html
+ keepdir /etc/logwatch
+
+ newsbin scripts/logwatch.pl logwatch.pl
+
+ exeinto /usr/share/logwatch/lib
+ doexe lib/*.pm
+
+ exeinto /usr/share/logwatch/scripts/services
+ doexe scripts/services/*
+
+ exeinto /usr/share/logwatch/scripts/shared
+ doexe scripts/shared/*
+
+ insinto /usr/share/logwatch/default.conf
+ doins conf/logwatch.conf
+
+ insinto /usr/share/logwatch/default.conf/logfiles
+ doins conf/logfiles/*
+
+ insinto /usr/share/logwatch/default.conf/services
+ doins conf/services/*
+
+ insinto /usr/share/logwatch/default.conf/html
+ doins conf/html/*
+
+ # Make sure logwatch is run before anything else #100243
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/logwatch 00-logwatch
+
+ doman logwatch.8
+ dodoc README HOWTO-Customize-LogWatch
+
+ # Do last due to insopts modification.
+ insinto /usr/share/logwatch/scripts/logfiles
+ insopts -m755
+ doins -r scripts/logfiles/*
+}
+
+pkg_postinst() {
+ if [[ -e ${ROOT}/etc/cron.daily/logwatch ]] ; then
+ local md5=$(md5sum "${ROOT}"/etc/cron.daily/logwatch)
+ [[ ${md5} == "edb003cbc0686ed4cf37db16025635f3" ]] \
+ && rm -f "${ROOT}"/etc/cron.daily/logwatch \
+ || ewarn "You have two logwatch files in /etc/cron.daily/"
+ fi
+}