diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-05-02 16:16:08 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-05-02 16:16:08 +0200 |
commit | ec08e6c47e55bf29e63bafdaeb356d156bb8413b (patch) | |
tree | 888ddb3c02fbf7dcad82a938829fcdbcd3c62841 /app-admin/logcheck | |
parent | app-admin/logcheck: Remove old (diff) | |
download | gentoo-ec08e6c47e55bf29e63bafdaeb356d156bb8413b.tar.gz gentoo-ec08e6c47e55bf29e63bafdaeb356d156bb8413b.tar.bz2 gentoo-ec08e6c47e55bf29e63bafdaeb356d156bb8413b.zip |
app-admin/logcheck: Version bump to 1.3.18
Gentoo-Bug: 615676
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-admin/logcheck')
-rw-r--r-- | app-admin/logcheck/Manifest | 1 | ||||
-rw-r--r-- | app-admin/logcheck/logcheck-1.3.18.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/logcheck/Manifest b/app-admin/logcheck/Manifest index 115f4aee16b8..ac2f9d06c6c6 100644 --- a/app-admin/logcheck/Manifest +++ b/app-admin/logcheck/Manifest @@ -1,2 +1,3 @@ DIST logcheck_1.3.15.tar.gz 162397 SHA256 b29b4753940a9130b5f19f60d2d89af23be220674625f4bd2fb1d40945d0b9e5 SHA512 45c9e779fc1d1f417aea3f02e70eff4dbc7cd0b45e04f7efc458a4552866686cbb095d0b5ebaf32a57d423a3753b4573277a464f5539789350b087569e025abf WHIRLPOOL 7d4c1975453427eb0897b9f05670565643fd36c44204b23470adf1eac17b19ec77aaeae3523b7b1844f20acf39da0d736386b80bfc0f4059c2099ff816ddd08c DIST logcheck_1.3.17.tar.xz 130956 SHA256 c2d3fc323e8c6555e91d956385dbfd0f67b55872ed0f6a7ad8ad2526a9faf03a SHA512 e4a30b6ccd7a9f0f51354b1a6e577f6a3837e3db078f61b3d3ceaf630a1f1eeae03324e6ec58307f8f723dbd017e1543c15f7dc34e50c0eeb9ee0b160b2c879d WHIRLPOOL 21db3f57a07cf416a313ccdb393233c47e30c3675870d7fc1b6024eaa54db6df3542a7d3f40d6fc5c3174593cd910efbac71cd86b1865f969e8ca6dd0523e217 +DIST logcheck_1.3.18.tar.xz 131252 SHA256 077b9149ccd2b747b52785afa89da844f3d072c017c9e719925dec6acb9a9af4 SHA512 3ab75969f732efa123d9df2c8b44557e4a7eddef8332a8357463930714148a13130c763c22e562bd60e106abf5e18cf39b3572e0c048727a117fbc67430b7e3f WHIRLPOOL 3f86dedd09be36eb9ecb906c39e73625bc45db25148d4b818d5a784105ba2d1987eab0e4bb82fda9ced68422e6a9caf52f1ca7aa861f4b8e1cef65079e444038 diff --git a/app-admin/logcheck/logcheck-1.3.18.ebuild b/app-admin/logcheck/logcheck-1.3.18.ebuild new file mode 100644 index 000000000000..05809634d694 --- /dev/null +++ b/app-admin/logcheck/logcheck-1.3.18.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user + +DESCRIPTION="Mails anomalies in the system logfiles to the administrator" +HOMEPAGE="http://packages.debian.org/sid/logcheck" +SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="!app-admin/logsentry + app-misc/lockfile-progs + dev-lang/perl + dev-perl/mime-construct + virtual/mailx + ${DEPEND}" + +pkg_setup() { + enewgroup logcheck + enewuser logcheck -1 -1 -1 logcheck +} + +src_install() { + emake DESTDIR="${D}" install + + # Do not install /var/lock, bug #449968 . Use rmdir to make sure + # the directories removed are empty. + rmdir "${D}/var/lock/logcheck" || die + rmdir "${D}/var/lock" || die + + keepdir /var/lib/logcheck + dodoc AUTHORS CHANGES CREDITS TODO docs/README.* + doman docs/logtail.8 docs/logtail2.8 + + exeinto /etc/cron.hourly + doexe "${FILESDIR}/${PN}.cron" +} + +pkg_postinst() { + chown -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die + + elog "Please read the guide at https://wiki.gentoo.org/wiki/Logcheck" + elog "for installation instructions." +} |