public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/chkrootkit/
Date: Sat, 12 Jun 2021 02:49:29 +0000 (UTC)	[thread overview]
Message-ID: <1623466160.4f447c310247937d69d99e2678a927f2ee5d6090.sam@gentoo> (raw)

commit:     4f447c310247937d69d99e2678a927f2ee5d6090
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 12 02:37:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 02:49:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f447c31

app-forensics/chkrootkit: add 0.55

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-forensics/chkrootkit/Manifest               |  1 +
 app-forensics/chkrootkit/chkrootkit-0.55.ebuild | 58 +++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest
index edd2a8cc410..32241322500 100644
--- a/app-forensics/chkrootkit/Manifest
+++ b/app-forensics/chkrootkit/Manifest
@@ -1,2 +1,3 @@
 DIST chkrootkit-0.54-gentoo.diff.xz 4848 BLAKE2B 25d1736bb839533fae36550518b311e52bb38f8a562a63d40629789dc9497b6e71dbc306d1f845b6a5cd586468afa6a7ac4ce8b6f1bfb40d7ac9b0331a55def9 SHA512 6c972b081794681b61b7c67f9a5762ba5d2c0c731c9a2bf9f75e715984edf7022ddcd44d34803eacb58a59e8b21932ffb586cc9fb7998a43393367c2530e353e
 DIST chkrootkit-0.54.tar.gz 41461 BLAKE2B 61384fda7db08ca2a52ab060ee4ea3edb7311cb9908599a511459dac22340f28e75d732b10d827aaeed89a1ecb6fc7f69ab8fef970aae5a73bae8c7949944831 SHA512 fe8955ac33abaabf304f5580b6f12929f8bf02329ab442380eaa6298440cf1cb0eee2db8e5667ea7d78b89ee2bceb82c10ebb732a71d6bcdda9400569cd587fd
+DIST chkrootkit-0.55.tar.gz 42630 BLAKE2B 0e6bc4d411a7836cd8ab72782027e5bd80b5c8845d8de1f48ff57bc0617a368cff2471835a66c30d007f4cfc243639110e0c39e02eecc3ec9c5c0a66a4b7891b SHA512 742dca90a761ecff149d8704cb3a252adfe8f9d5e15dd060e9db4d5f6dcd3820933ae13cbee99ea5a8c6144932cf97c0616a177af3ba5a1726b51bb304e7d63e

diff --git a/app-forensics/chkrootkit/chkrootkit-0.55.ebuild b/app-forensics/chkrootkit/chkrootkit-0.55.ebuild
new file mode 100644
index 00000000000..2ed962c60a0
--- /dev/null
+++ b/app-forensics/chkrootkit/chkrootkit-0.55.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+GENTOO_PATCH="${PN}-0.54-gentoo.diff"
+
+DESCRIPTION="Tool to locally check for signs of a rootkit"
+HOMEPAGE="http://www.chkrootkit.org/"
+SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz
+	https://dev.gentoo.org/~polynomial-c/${GENTOO_PATCH}.xz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="+cron"
+
+RDEPEND="cron? ( virtual/cron )"
+
+PATCHES=(
+	"${WORKDIR}/${GENTOO_PATCH}"
+)
+
+src_prepare() {
+	default
+	sed -e 's:/var/adm/:/var/log/:g' \
+		-i chklastlog.c || die
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" STRIP=true sense
+}
+
+src_install() {
+	dosbin chkdirs chklastlog chkproc chkrootkit chkwtmp chkutmp ifpromisc strings-static
+	dodoc ACKNOWLEDGMENTS README*
+
+	if use cron ; then
+		exeinto /etc/cron.weekly
+		newexe "${FILESDIR}"/${PN}.cron ${PN}
+	fi
+}
+
+pkg_postinst() {
+	if use cron ; then
+		elog
+		elog "Edit /etc/cron.weekly/chkrootkit to activate chkrootkit!"
+		elog
+	fi
+
+	elog
+	elog "Some applications, such as portsentry, will cause chkrootkit"
+	elog "to produce false positives.  Read the chkrootkit FAQ at"
+	elog "http://www.chkrootkit.org/ for more information."
+	elog
+}


             reply	other threads:[~2021-06-12  2:49 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12  2:49 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-09  2:56 [gentoo-commits] repo/gentoo:master commit in: app-forensics/chkrootkit/ Sam James
2024-07-09  2:56 Sam James
2024-07-09  2:56 Sam James
2024-07-09  1:55 Sam James
2024-07-09  1:55 Sam James
2024-07-09  1:55 Sam James
2024-06-07  7:36 Florian Schmaus
2024-06-07  7:36 Florian Schmaus
2024-06-07  7:36 Florian Schmaus
2023-05-27  9:43 Sam James
2023-05-27  9:43 Sam James
2023-05-18 22:21 Sam James
2023-05-18 19:42 Sam James
2023-05-18 19:42 Sam James
2023-05-18 19:17 Arthur Zamarin
2023-02-20 20:58 Alfredo Tupone
2022-03-12 10:55 Arthur Zamarin
2022-03-06  8:54 Agostino Sarubbo
2022-03-06  8:52 Agostino Sarubbo
2022-03-06  8:52 Agostino Sarubbo
2022-03-06  8:51 Agostino Sarubbo
2022-03-06  8:50 Agostino Sarubbo
2022-01-13  5:36 Sam James
2021-07-31 22:12 Sam James
2021-07-30 15:17 Agostino Sarubbo
2021-07-30 15:14 Agostino Sarubbo
2021-07-29  7:08 Agostino Sarubbo
2021-07-29  6:45 Agostino Sarubbo
2021-07-29  6:40 Agostino Sarubbo
2021-06-12  8:46 Sam James
2021-02-15  0:42 Sam James
2021-02-15  0:38 Sam James
2021-02-05 12:29 Sam James
2021-02-02 23:46 Sam James
2021-01-31 21:51 Sam James
2021-01-30 18:39 Sam James
2021-01-30 10:04 Sam James
2020-12-25 12:03 Lars Wendler
2020-09-05  1:11 Sam James
2020-09-05  1:07 Sam James
2020-09-05  1:06 Sam James
2020-09-04 16:44 Sam James
2020-08-31  0:04 Sam James
2020-08-30 23:19 Sam James
2020-08-30 19:10 Thomas Deutschmann
2019-02-12  8:15 Lars Wendler
2019-01-27 10:15 Pacho Ramos
2018-07-23 19:00 Sergei Trofimovich
2018-07-22 19:36 Mikle Kolyada
2018-07-21  9:47 Tobias Klausmann
2018-07-14 20:16 Sergei Trofimovich
2018-07-14 20:10 Sergei Trofimovich
2018-07-14 18:22 Sergei Trofimovich
2018-07-11 23:42 Mikle Kolyada
2018-07-11 21:22 Sergei Trofimovich
2018-01-24 12:50 Manuel Rüger
2018-01-24 12:46 Manuel Rüger
2018-01-09 22:26 Sergei Trofimovich
2017-12-28 12:45 Sergei Trofimovich
2017-10-30  0:08 Manuel Rüger
2017-10-29 21:08 Thomas Deutschmann
2017-10-05  9:04 Sergei Trofimovich
2017-09-24 16:49 Sergei Trofimovich
2017-09-09 10:27 Markus Meier
2017-09-04  7:30 Tobias Klausmann
2017-08-30 21:42 Sergei Trofimovich
2017-08-12  4:34 Michael Palimaka
2017-08-11 17:38 Michał Górny
2016-10-30 13:47 Lars Wendler
2016-09-29 13:28 Agostino Sarubbo
2016-09-29 10:34 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-05-20 11:28 Tobias Klausmann
2016-04-11 10:39 Agostino Sarubbo
2016-03-30 18:29 Markus Meier
2016-03-27 10:16 Agostino Sarubbo
2016-03-22 14:32 Agostino Sarubbo
2016-03-21 11:40 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1623466160.4f447c310247937d69d99e2678a927f2ee5d6090.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox