diff --git a/net-analyzer/ifchk/Manifest b/net-analyzer/ifchk/Manifest index 06f2117ee..ee6506905 100644 --- a/net-analyzer/ifchk/Manifest +++ b/net-analyzer/ifchk/Manifest @@ -1 +1,2 @@ DIST ifchk-1.1.0.tar.gz 105026 BLAKE2B 5e8eeed13ef086e7939c6a96fd4a580992a9087590d063f73c92eb80cca667b4c3ca0c686e473cbfd1bf52c00851ddaef559fd64a3b0995254f0496d5bf17a46 SHA512 8d52b41d92cf12ea08184f0c8eb37db358f4658d1eb12afc7638bd66fa06ebba34a7a32ffbfa8e8685a7f651816c911a77a9b593399c3081f041ed04ca20846e +DIST ifchk-1.1.1.tar.gz 105318 BLAKE2B b28582bcf5a1742e7104a2784e6b9bdaf50b69939e5a7bb2d5ce20caa4b76973ee8134ab04666f5a1bb40793457d3004a2d1642529eb5e8864f4843cf56dc308 SHA512 8331007d2f8dcaa138f9b067d69d439a5147a5c8a9a191f4fcb3740537ce50869a88f3e118c58914654a5c5a3f30a3a624f583a32e72a0424f79ebbc953699b5 diff --git a/net-analyzer/ifchk/files/ifchkboot.logrotated b/net-analyzer/ifchk/files/ifchkboot.logrotated new file mode 100644 index 000000000..8e73e66fc --- /dev/null +++ b/net-analyzer/ifchk/files/ifchkboot.logrotated @@ -0,0 +1,11 @@ +/var/log/ifchk.* { + compress + daily + rotate 4 + notifempty + missingok + nocreate + postrotate + /etc/init.d/ifchkboot reload > /dev/null 2>&1 || true + endscript +} diff --git a/net-analyzer/ifchk/ifchk-1.1.0.ebuild b/net-analyzer/ifchk/ifchk-1.1.1.ebuild similarity index 93% rename from net-analyzer/ifchk/ifchk-1.1.0.ebuild rename to net-analyzer/ifchk/ifchk-1.1.1.ebuild index 1d560d29a..c3bb25e76 100644 --- a/net-analyzer/ifchk/ifchk-1.1.0.ebuild +++ b/net-analyzer/ifchk/ifchk-1.1.1.ebuild @@ -12,7 +12,6 @@ KEYWORDS="~amd64 ~arm ~x86" RESTRICT="mirror" LICENSE="GPL-2" SLOT="0" - IUSE="doc" RDEPEND="sys-fs/sysfsutils" @@ -51,5 +50,8 @@ src_install() { insinto /etc newins ifchk.conf.example ifchk.conf + insinto /etc/logrotate.d + newins "${FILESDIR}"/ifchkboot.logrotated ifchkboot + dosbin ${PN} }