From 441d1370330332b7d78f238d2f5e13f7aed5e4e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 25 Dec 2020 23:06:25 +0000 Subject: gentoo christmass resync : 25.12.2020 --- app-forensics/Manifest.gz | Bin 4703 -> 4705 bytes app-forensics/chkrootkit/Manifest | 3 ++ app-forensics/chkrootkit/chkrootkit-0.54.ebuild | 58 ++++++++++++++++++++++++ app-forensics/lynis/Manifest | 4 +- app-forensics/lynis/lynis-3.0.1.ebuild | 50 -------------------- app-forensics/lynis/lynis-3.0.2.ebuild | 50 ++++++++++++++++++++ 6 files changed, 113 insertions(+), 52 deletions(-) create mode 100644 app-forensics/chkrootkit/chkrootkit-0.54.ebuild delete mode 100644 app-forensics/lynis/lynis-3.0.1.ebuild create mode 100644 app-forensics/lynis/lynis-3.0.2.ebuild (limited to 'app-forensics') diff --git a/app-forensics/Manifest.gz b/app-forensics/Manifest.gz index af076fde3a53..80cced22b8f0 100644 Binary files a/app-forensics/Manifest.gz and b/app-forensics/Manifest.gz differ diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest index 466ec5fbf34c..1dc7e7a70998 100644 --- a/app-forensics/chkrootkit/Manifest +++ b/app-forensics/chkrootkit/Manifest @@ -1,5 +1,8 @@ AUX chkrootkit.cron 78 BLAKE2B f43e9a4a0864c3914658298622aaf0e97374e4f8518c085f0c6c1b439583b36567652376a601eb039ca9d6a8bdda0cb18d9c58b36ab61839113048d32ce9fb54 SHA512 6839f3372d28673ee436349a107dc33b77cfd676fd16cda1ccfc5211514e840593d0f106e4e0a9331c4b658860992a9169f3a7cdd75c835a780a41097e7bd758 DIST chkrootkit-0.53-gentoo.diff.xz 4844 BLAKE2B b4f0077989e032154f190f6bad98e8882390a2ac7e144a2c755fbeb560c809c8289563e57dd8fda23eca07dcb1b3e59d6fb016e72ecbb29d184fdf8feb4949d0 SHA512 664c203b093fb91963bae8f70d5711dfd0023c789ddd4265031c84f91f01a53b3b28757cd08b8633c3f6c184a257616b05bc12d8c84202ff98db523aaff5a6f3 DIST chkrootkit-0.53.tar.gz 40483 BLAKE2B ee78afc5bb5453fe7b30d966988060a68b7286fce0f87fb76d8ea3b1dd548c287c8bfc6f0772e05e6eee362af873148399a0a8af91d48765e542970dc3149c9d SHA512 f8de19d0a61ccb6ac184ad6642d78041729cba799eedcc8088cb6d2c5cf4de0574c6083caad364576a601265322e61c183b266304f00667527bf29fdc51359c7 +DIST chkrootkit-0.54-gentoo.diff.xz 4848 BLAKE2B 25d1736bb839533fae36550518b311e52bb38f8a562a63d40629789dc9497b6e71dbc306d1f845b6a5cd586468afa6a7ac4ce8b6f1bfb40d7ac9b0331a55def9 SHA512 6c972b081794681b61b7c67f9a5762ba5d2c0c731c9a2bf9f75e715984edf7022ddcd44d34803eacb58a59e8b21932ffb586cc9fb7998a43393367c2530e353e +DIST chkrootkit-0.54.tar.gz 41461 BLAKE2B 61384fda7db08ca2a52ab060ee4ea3edb7311cb9908599a511459dac22340f28e75d732b10d827aaeed89a1ecb6fc7f69ab8fef970aae5a73bae8c7949944831 SHA512 fe8955ac33abaabf304f5580b6f12929f8bf02329ab442380eaa6298440cf1cb0eee2db8e5667ea7d78b89ee2bceb82c10ebb732a71d6bcdda9400569cd587fd EBUILD chkrootkit-0.53.ebuild 1282 BLAKE2B 8445d07a343ffdfc9253147b06ebb8a6c2f992baeff431adb88fdbc0af8acf0ecb26e6558404c97ba484b6697bca687c42ada59bec2ad76a0b7f3b5bb18ac55f SHA512 3e1d99cee37543b48e4d75fc17c4d82bb292821bdfcf3990bb5f1e317093e7cb9d08f308805b6b960d9953903a0f3c10f04f8126982299558efcfb7584712496 +EBUILD chkrootkit-0.54.ebuild 1289 BLAKE2B 6c2a87205a75afa98b20c5ffd828790db7c9e9f075ddd501f9a2e20e889fe5de579074eb457bd8cac09bf303bfab299f317e666022cccdeca911ef84d24121df SHA512 e8b0b231544713ff13b06659ea310283fdc649589ee04671a71ef65ce3caab5bff8c318093a148faedee3a8e843643d0ab0ad215cad0810bec17f33b787a42c1 MISC metadata.xml 254 BLAKE2B 82f42628c121ed27ad00d04687d2f6b52148571b49f1c8f4a81cf47ccf2e857b16c9d0c6a3da2f8bebd6a8803d433a874e8066f48bd18ff960923f53bd15da7b SHA512 f0b5ba232a76e933dd34a7e3e7fa04e627de0201610166f4758c5ccf888f509815b5cc39f5373b87a413496318f507bf28599ec0995d32bde98a7c65287d39bb diff --git a/app-forensics/chkrootkit/chkrootkit-0.54.ebuild b/app-forensics/chkrootkit/chkrootkit-0.54.ebuild new file mode 100644 index 000000000000..363908d719bd --- /dev/null +++ b/app-forensics/chkrootkit/chkrootkit-0.54.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 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 +} diff --git a/app-forensics/lynis/Manifest b/app-forensics/lynis/Manifest index d8477f691dd4..e3c8450d7ef3 100644 --- a/app-forensics/lynis/Manifest +++ b/app-forensics/lynis/Manifest @@ -1,4 +1,4 @@ AUX lynis.cron-new 72 BLAKE2B 1f2d683c74e9e85f142c23277f24e8c81b33e4d1691a6f171694194bd5d81a5e1473532afe2c6fca23c995d9c7bd08d18d6eed78a07661618c12e22b35e9ff81 SHA512 1cdaaee433912c2ccdec8ad7c9b88be55fe3f1d68e2fca79cc6e0e10112d465a70cfbe0a049623437f604bfc9793e0d29b709e035cbf710d4d38ba48acc5355f -DIST lynis-3.0.1.tar.gz 322638 BLAKE2B b0a6b03351af95e766321164fab34c7eb8314f18747d3df87946e379781970253406132a1674236a39879374ecc559489679d34ef3368d74faf98b0f44425293 SHA512 e237984b404752bd0856e1cbb884d0191a1177023780d9d0f885538846e419fcb75302a33320ba41e5895cabca0ead094e1c49865677906e547e255b4f5aab41 -EBUILD lynis-3.0.1.ebuild 946 BLAKE2B 5ac0654a519f268546332f12564b1173048a65da75d4ac45ec0bc2f66e4593f8dbf6b00eee1a50f85b8e9563a22a4a1f9458331ff3d63174eb1c47c641e52074 SHA512 1fd90e90ef37f2f7f826dd9b67d6bfd7d9d6a9c6249abd793c2beef1ffe5df03e0524171423725d4b2226fe68734111b52f0291977a5b060c86ffcd3dd11fe9c +DIST lynis-3.0.2.tar.gz 330490 BLAKE2B 824ab760aedff00c39632431ecd60cfb7c784e1c944fa7e54830a56e87c605dcb697cdd7d34fcc1a91d876e5170350b66296dbb51f4734b6881820d59535bfe8 SHA512 a23207a1f227f723b3f7a1d46ac84b3cc14b0ac1a9727f57ca3f6f112d1b62ade6e6f21983fb74570aa1209bce8c7b8395f91245309d616c22cd245103028031 +EBUILD lynis-3.0.2.ebuild 946 BLAKE2B 5ac0654a519f268546332f12564b1173048a65da75d4ac45ec0bc2f66e4593f8dbf6b00eee1a50f85b8e9563a22a4a1f9458331ff3d63174eb1c47c641e52074 SHA512 1fd90e90ef37f2f7f826dd9b67d6bfd7d9d6a9c6249abd793c2beef1ffe5df03e0524171423725d4b2226fe68734111b52f0291977a5b060c86ffcd3dd11fe9c MISC metadata.xml 251 BLAKE2B 7bfd5f1051cbe4343bd02cc5e869988eb1013ab464ae4ea70e15faff085b7bdc2437feaa34d5db2a90b4999014c146b4d1b9b0a4fd5c99e5bf550577923f49fb SHA512 5031be5fdf8e7fd7c6863c4a56016d80530a7363104272c82b99e2bb46cb7b22247fc5eda3814096701466fa73642994303ce4e666fb314ab843c18dcfa1845c diff --git a/app-forensics/lynis/lynis-3.0.1.ebuild b/app-forensics/lynis/lynis-3.0.1.ebuild deleted file mode 100644 index 5ee09e290d03..000000000000 --- a/app-forensics/lynis/lynis-3.0.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit eutils bash-completion-r1 - -DESCRIPTION="Security and system auditing tool" -HOMEPAGE="https://cisofy.com/lynis/" -SRC_URI="https://cisofy.com/files/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="app-shells/bash" - -S="${WORKDIR}/${PN}" - -src_install() { - doman lynis.8 - dodoc FAQ README - newdoc CHANGELOG.md CHANGELOG - - # Remove the old one during the next stabilize progress - exeinto /etc/cron.daily - newexe "${FILESDIR}"/lynis.cron-new lynis - - dobashcomp extras/bash_completion.d/lynis - - # stricter default perms - bug 507436 - diropts -m0700 - insopts -m0600 - - insinto /usr/share/${PN} - doins -r db/ include/ plugins/ - - dosbin lynis - - insinto /etc/${PN} - doins default.prf -} - -pkg_postinst() { - einfo - einfo "A cron script has been installed to ${ROOT}/etc/cron.daily/lynis." - einfo -} diff --git a/app-forensics/lynis/lynis-3.0.2.ebuild b/app-forensics/lynis/lynis-3.0.2.ebuild new file mode 100644 index 000000000000..5ee09e290d03 --- /dev/null +++ b/app-forensics/lynis/lynis-3.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit eutils bash-completion-r1 + +DESCRIPTION="Security and system auditing tool" +HOMEPAGE="https://cisofy.com/lynis/" +SRC_URI="https://cisofy.com/files/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-shells/bash" + +S="${WORKDIR}/${PN}" + +src_install() { + doman lynis.8 + dodoc FAQ README + newdoc CHANGELOG.md CHANGELOG + + # Remove the old one during the next stabilize progress + exeinto /etc/cron.daily + newexe "${FILESDIR}"/lynis.cron-new lynis + + dobashcomp extras/bash_completion.d/lynis + + # stricter default perms - bug 507436 + diropts -m0700 + insopts -m0600 + + insinto /usr/share/${PN} + doins -r db/ include/ plugins/ + + dosbin lynis + + insinto /etc/${PN} + doins default.prf +} + +pkg_postinst() { + einfo + einfo "A cron script has been installed to ${ROOT}/etc/cron.daily/lynis." + einfo +} -- cgit v1.2.3