diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-09-28 00:40:46 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-09-28 00:40:46 +0000 |
commit | f1f40a740fe47fd1c2567f536e419aaaf8f627b3 (patch) | |
tree | e3300c1aea55d0ae1a4bb5b2df1aa6aed13b2938 | |
parent | Backport fix for potential mail loss bug, from packagers ml (diff) | |
download | historical-f1f40a740fe47fd1c2567f536e419aaaf8f627b3.tar.gz historical-f1f40a740fe47fd1c2567f536e419aaaf8f627b3.tar.bz2 historical-f1f40a740fe47fd1c2567f536e419aaaf8f627b3.zip |
Add cron use flag to control cron dependency and script installation (bug #384409).
Package-Manager: portage-2.2.0_alpha59/cvs/Linux x86_64
-rw-r--r-- | app-forensics/chkrootkit/ChangeLog | 7 | ||||
-rw-r--r-- | app-forensics/chkrootkit/Manifest | 20 | ||||
-rw-r--r-- | app-forensics/chkrootkit/chkrootkit-0.49.ebuild | 20 | ||||
-rw-r--r-- | app-forensics/chkrootkit/metadata.xml | 3 |
4 files changed, 32 insertions, 18 deletions
diff --git a/app-forensics/chkrootkit/ChangeLog b/app-forensics/chkrootkit/ChangeLog index 6bb6124802c5..d9508cbd80bc 100644 --- a/app-forensics/chkrootkit/ChangeLog +++ b/app-forensics/chkrootkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-forensics/chkrootkit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.64 2011/09/22 20:30:14 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.65 2011/09/28 00:40:46 radhermit Exp $ + + 28 Sep 2011; Tim Harder <radhermit@gentoo.org> chkrootkit-0.49.ebuild, + metadata.xml: + Add cron use flag to control cron dependency and script installation (bug + #384409). 22 Sep 2011; Tim Harder <radhermit@gentoo.org> chkrootkit-0.49.ebuild: Minor quoting and spacing fixes. diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest index 0b5dc97e0365..c5bc2d816321 100644 --- a/app-forensics/chkrootkit/Manifest +++ b/app-forensics/chkrootkit/Manifest @@ -9,17 +9,17 @@ DIST chkrootkit-0.48.tar.gz 38323 RMD160 4ab07d02dd9c366b32383d84a339ef72cd4e670 DIST chkrootkit-0.49-gentoo.diff.bz2 5472 RMD160 d889cc7b1b8e3e80aef56ef302adb34780edd34c SHA1 a18c726b52fb2e0633a46ccd937f1914a8f73746 SHA256 85a01c8bb159420fc7681b5f3ec6529bc69cf10b3484daee0a5c126ef4a7b5d8 DIST chkrootkit-0.49.tar.gz 39421 RMD160 8c23ed9859a7dcf7d43ac15049b48c863ab63e92 SHA1 cec1a3c482b95b20d3a946b07fffb23290abc4a6 SHA256 ccb87be09e8923d51f450a167f484414f70c36c942f8ef5b9e5e4a69b7baa17f EBUILD chkrootkit-0.48-r1.ebuild 1443 RMD160 e357736daff1fe1f5afa4099f2675157df351d4a SHA1 ae80463082d4441460b439ca5f7e499976fc6b90 SHA256 7fcf813b4f151f2d4e28ed5f0f8fd7534d2d0df4da44126db48d1ae22c344077 -EBUILD chkrootkit-0.49.ebuild 1299 RMD160 78a53831511eec99b3d01d3f20f5eb22ba98b990 SHA1 021d6dc2de1bb6d8b9feb15e6abaca41fba88a9a SHA256 d9d9be06f5d5fdc14925cdc1b9d2ea02ed437bb13f8d30f60d0ab7b54fd6cf53 -MISC ChangeLog 14768 RMD160 9aa3bdae22d0ed700b0fc1a68ab97b859c5f069e SHA1 8bab67e11c7fa6ee62fd0af281903b90932c8b58 SHA256 53849f3aedc2120a6f10428cd55a206e0b7e4964dd4dcdb591b787d45935f06f -MISC metadata.xml 163 RMD160 cd9adc76a05a5a4d079045e90a823e487000fbe0 SHA1 499d07496dd075e4685d50b4a3284386d29d7de4 SHA256 a072456ba64483cd3108f6125498634a060a449c9ce7dfa512549fbf78601e09 +EBUILD chkrootkit-0.49.ebuild 1374 RMD160 af0c565473692a42e17d9e7f0aff6de273d38a6c SHA1 1b18d0cb5ba3cf92760c9c8d68444a99a196b379 SHA256 3e2162dbe731f266301d99bd342d1f57553680f472e27cf4edc7d791e98ddcb2 +MISC ChangeLog 14946 RMD160 ecf3cb52bed980df09ded9d2192658f3b2505aff SHA1 74f3c2c60b5562dd1aa53ac42656542900214b85 SHA256 2d2c6bfe63ded667a952b26509dc3e957397ced16ed1496e69d74c704123f4a4 +MISC metadata.xml 250 RMD160 7c8e448048f8922cf08a3df55f8b7d7697a3debb SHA1 f5a7b49ebf9131da10e8f9f1cb624ab24b663baa SHA256 8e927b3b851b63ee534f18fb435bbf6b807cbb363afa4e46c12f9c3fe1457c19 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJOe5rcAAoJEEqz6FtPBkyjhDAH/1DsvP40GCcemPlkWjl0EVxW -BmAbH0ynWy3oD9+yfPeCEFIMsYRrJ4m6uuzj5JzzYwjsv/NZr2GgWr8JfUWt4Mvw -J5kwOCsLb2SJxs9KP8tv0htJHKfFwUthNHgkbm7oEPiFlqDFgMBYvAiLzlDsm5ni -4GNDGPIE/ZB+5kGl5OJvAUlS79G6nLM0PmFSZLqhDKy5KGIVDlfFEe3iFUlmSuhJ -Xu35FhO/3mV5dJChwyLSsYFp1h5wlkso9Q+SjY6FdkkjQbrK6rvVLqpbk1XfS8WK -+F82Yn/tIdBJUqeOVSTWslkTuvXeDWiKoV/RoL4exxSPD/9nHyN5FgO9vhsRZN4= -=Sdbe +iQEcBAEBCgAGBQJOgm0YAAoJEEqz6FtPBkyjE4sIAJpVcXBEXDJhqTXkdnO8+pwP +2VWwa6j9d/5SWfsiZSjgeZdeC6SHyY2FKZYYO2cA/jjqY5yKmjIHI45/m419kjJf +oPOVBSXOrWTOKSvBWM3US044CH52zDyYv+uBtL6qeLC+bkDSk2x7aARAbg84Hqji +H0HOhuEHtD0McB2cyHM9JSllwDRT2FSLAav/gLhNLPpurGC8YQuGbqy7voe0yCBE +mqT0Hly/mV13C4XdaiofkzvueqIW82yC9pLFs0yoxl0P7o7TrOtVEaQ3b51Z9TKM +PxdxAG6rlhO0EyZzlwYwbV8YW6aegfI093juwL6RrRsYaZNH2RpLtOwCQ4k+b2Q= +=NnGi -----END PGP SIGNATURE----- diff --git a/app-forensics/chkrootkit/chkrootkit-0.49.ebuild b/app-forensics/chkrootkit/chkrootkit-0.49.ebuild index 4c5287e9a27e..4cca5d0b479d 100644 --- a/app-forensics/chkrootkit/chkrootkit-0.49.ebuild +++ b/app-forensics/chkrootkit/chkrootkit-0.49.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/chkrootkit-0.49.ebuild,v 1.6 2011/09/22 20:30:14 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/chkrootkit-0.49.ebuild,v 1.7 2011/09/28 00:40:46 radhermit Exp $ EAPI="4" @@ -14,9 +14,9 @@ SRC_URI="ftp://ftp.pangeia.com.br/pub/seg/pac/${P}.tar.gz LICENSE="BSD-2" SLOT="0" KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86" -IUSE="" +IUSE="+cron" -RDEPEND="virtual/cron" +RDEPEND="cron? ( virtual/cron )" src_prepare() { epatch "${WORKDIR}"/${P}-gentoo.diff @@ -31,13 +31,19 @@ src_install() { dosbin chkdirs chklastlog chkproc chkrootkit chkwtmp chkutmp ifpromisc strings-static dodoc ACKNOWLEDGMENTS README* - exeinto /etc/cron.weekly - newexe "${FILESDIR}"/${PN}.cron ${PN} + if use cron ; then + exeinto /etc/cron.weekly + newexe "${FILESDIR}"/${PN}.cron ${PN} + fi } pkg_postinst() { - elog - elog "Edit /etc/cron.weekly/chkrootkit to activate chkrootkit!" + 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" diff --git a/app-forensics/chkrootkit/metadata.xml b/app-forensics/chkrootkit/metadata.xml index 73acb1019b53..710ea088e6a5 100644 --- a/app-forensics/chkrootkit/metadata.xml +++ b/app-forensics/chkrootkit/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>forensics</herd> + <use> + <flag name="cron">Install cron script for weekly rootkit scans</flag> + </use> </pkgmetadata> |