diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-07-08 04:25:34 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-07-08 04:25:34 +0000 |
commit | 0cc85f48a2f3d3576c9f9c7344f2e9ae371fdf3e (patch) | |
tree | 9c133e0192a6a58e40cefe59e7269a2df697d320 /app-forensics | |
parent | Restore patch that is still needed. (diff) | |
download | historical-0cc85f48a2f3d3576c9f9c7344f2e9ae371fdf3e.tar.gz historical-0cc85f48a2f3d3576c9f9c7344f2e9ae371fdf3e.tar.bz2 historical-0cc85f48a2f3d3576c9f9c7344f2e9ae371fdf3e.zip |
Version bump thanks to Charles Marcus (bug #295433). RDEPEND on virtual/cron and virtual/mailx thanks to p0 (bug #301707).
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/rkhunter/ChangeLog | 12 | ||||
-rw-r--r-- | app-forensics/rkhunter/Manifest | 20 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff | 14 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-1.2.3-specify-logfile.patch | 70 | ||||
-rw-r--r-- | app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch | 30 | ||||
-rw-r--r-- | app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild | 64 | ||||
-rw-r--r-- | app-forensics/rkhunter/rkhunter-1.3.6.ebuild (renamed from app-forensics/rkhunter/rkhunter-1.3.4-r2.ebuild) | 16 |
7 files changed, 23 insertions, 203 deletions
diff --git a/app-forensics/rkhunter/ChangeLog b/app-forensics/rkhunter/ChangeLog index 771f87f30ed0..682e81a15434 100644 --- a/app-forensics/rkhunter/ChangeLog +++ b/app-forensics/rkhunter/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for app-forensics/rkhunter # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.76 2010/01/19 22:37:48 tcunha Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/ChangeLog,v 1.77 2010/07/08 04:25:34 jer Exp $ + +*rkhunter-1.3.6 (08 Jul 2010) + + 08 Jul 2010; Jeroen Roovers <jer@gentoo.org> + -files/rkhunter-1.2.1-create-tmpdir.diff, + -files/rkhunter-1.2.3-specify-logfile.patch, -rkhunter-1.2.9-r1.ebuild, + -files/rkhunter-1.2.9-ppc64.patch, -rkhunter-1.3.4-r2.ebuild, + +rkhunter-1.3.6.ebuild: + Version bump thanks to Charles Marcus (bug #295433). RDEPEND on + virtual/cron and virtual/mailx thanks to p0 (bug #301707). 19 Jan 2010; Tiago Cunha <tcunha@gentoo.org> rkhunter-1.3.4-r3.ebuild: stable sparc, bug 287269 diff --git a/app-forensics/rkhunter/Manifest b/app-forensics/rkhunter/Manifest index baefab1d8542..95dbd61eed68 100644 --- a/app-forensics/rkhunter/Manifest +++ b/app-forensics/rkhunter/Manifest @@ -1,25 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX rkhunter-1.2.1-create-tmpdir.diff 551 RMD160 dbcb928cba8fc847c118970ef613ebc49e4bd972 SHA1 a6a2430ed295ced12efd79224066fe8f314d89ec SHA256 900acac0077f0aaf61773c49c256ba0cc506e51e9a1c0dfdd9be00b35fa8a882 -AUX rkhunter-1.2.3-specify-logfile.patch 2481 RMD160 0a3450cd8f7799c63c4d78d8189d93ddf2eda02a SHA1 84db30b4f7319acd3bd4d1d7bdc63adff2349e7a SHA256 111be216f8b15876ef134e66905f665af722967f218bc401ac595cf89b4f2468 -AUX rkhunter-1.2.9-ppc64.patch 1462 RMD160 93abd74545ef5320716d882f4818ab2b05a2b642 SHA1 7a1a4698e78a543ae345f715e2bea704e60a5b9b SHA256 7106dfea15f063448476f657df4a9a17789ab77ab7d0e5526d3a659b8355f88b AUX rkhunter-1.3.cron 4050 RMD160 b1c567e64fe523ccdde04d13320c2d26e9eebe07 SHA1 fb909c818805d7f65a1c23b5727f0912bf813157 SHA256 011216f98936daa079a7c9db4bec8620b0dae793b2de7649f532bbc15c16f751 AUX rkhunter-ppc64.patch 353 RMD160 338c519108f8be28605ce4a1109bfd762fa4c90f SHA1 9219cba514785638e5977dd284dbdfb0f60ee813 SHA256 dfbb2fb8e54e405d935c9c0fefd5ee494b675c496eea97c3d08491641da68163 AUX rkhunter.bash-completion 2628 RMD160 f408877f6b8d38bfb17af6074e5a1fbecc134cd6 SHA1 a0a007ecda0de61d5e8044672048c6f406183cfb SHA256 d99776d6b300697cb6571e409e6c93bc96e68980922ee22b76eda56f26d0d970 AUX rkhunter.conf.patch 786 RMD160 6d645ca67b77e3c6abacbc2c0de259e5e6204852 SHA1 9dbb80960b2273a7fb8d4fcd1b4ccb758b91c5cc SHA256 2ca73ff5b9e7b6b3b1c65948813f5124662b8fb6087108adebccd9aa5e4a19d8 AUX rkhunter.cron 3822 RMD160 3e310cbb21ca9cfb4a0d12c4abe69d977b14df28 SHA1 b91a62118192d582ed4b1576b026385dbea5aca0 SHA256 acf03c41bac94a8fb86f8f57b19f50770c99db651444e518a1b452e20157f4a3 -DIST rkhunter-1.2.9.tar.gz 147123 RMD160 ffa89d3c953bd0f1d8266067ae1e99b829bdc504 SHA1 42d2125f5c145ee77c162d6d5cca50e06af7a3a0 SHA256 64d21cef13574338f49015127d369e1f02515fe4eb81cbda716d885ff4cd1278 DIST rkhunter-1.3.4.tar.gz 275653 RMD160 c4d4998c960e300a86fa0891f6da1bcc14d8eb4c SHA1 1d3d54852a6320e9eb1a77aee0d674816223d8d1 SHA256 d85d179850fee8ab04bc1733680c9c6dd8a1577975c12554db9c52bf4f7c50ba -EBUILD rkhunter-1.2.9-r1.ebuild 1764 RMD160 84a3e6b09afd1754831b0496eb7ec700c18990b0 SHA1 6b5b3090001ae13e64b35c9b298b6430d2426b4a SHA256 6423a886c7711c50ca1a18e7c9300f7ea6316fdd23dfedb1f184cd4622ae6899 -EBUILD rkhunter-1.3.4-r2.ebuild 1638 RMD160 17a9e4d3fa2b2f78882994b17b8590f051639b98 SHA1 36bb6afb679bc1baed53e903eef5024917733f78 SHA256 1a0c3dc7e19ec596438de074b93059324bf63b625bb4a171479c80089c0c0de4 +DIST rkhunter-1.3.6.tar.gz 217691 RMD160 ffc017cae3bc1c9c1542a8529911ba3ff32bb41f SHA1 7428cac298e820adac6dd9d1a7d005edbaf216b2 SHA256 e3f5e21307e4876da4bc4a1521a86f1cda93ad22d4c77366876d7c170dcefc10 EBUILD rkhunter-1.3.4-r3.ebuild 1633 RMD160 59ae2bac0a51cc48cd05e7528edae190203fa773 SHA1 7b124db1298ff249a62ce6ab2c9519fc950c2b07 SHA256 2f629f40f6ee158dd443f84ffdd718bc0ef4d7a733f16032e5d77d7ae5d030b2 -MISC ChangeLog 13325 RMD160 1c067dc72cd2f3467c1944c114a5fd6b2848da5e SHA1 64c517643524b991efaab355664e489fa1a5dfe3 SHA256 561e9507772fa0948ed3181330e5bd21c39ab674392409ee1f8024975e0eb022 +EBUILD rkhunter-1.3.6.ebuild 1602 RMD160 d3903cf74152dde72ada82753f5155afd5cfae55 SHA1 57fa949a7a0d324365cbf393afdeb5d2ddd0d5c8 SHA256 7d4022ce50390a6a764222261fad7d325e084748d52b2f208c555ba7af4425f5 +MISC ChangeLog 13736 RMD160 a2cfd4ea7828e12367f0a889f0db44bd86df5f99 SHA1 c40616d9b158dfa389ee28d72bf440996c71d5e9 SHA256 de56ba13d03c37d53f1b7630e0d24352e1f824e4f1137a119c3fc5ea08799037 MISC metadata.xml 164 RMD160 7cd3bffc39aa87dceaef97342b19343323175238 SHA1 97b9dc021ecbad46bf0f3a99aeb204f45792faeb SHA256 e8d7dfabbaf13302703ccc3428fa0ecedf5d444e0c58692ebbd03c5bd0d9240f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAktWPNMACgkQ/vqxibGcXqHksQCeL0btBk/jrvrox0OKvLWcSfs5 -9ewAoINGKrWz0mVdjOTb8FNwsmMVj3Gs -=2JeI ------END PGP SIGNATURE----- diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff b/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff deleted file mode 100644 index ab0ec495cc7a..000000000000 --- a/app-forensics/rkhunter/files/rkhunter-1.2.1-create-tmpdir.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter ---- rkhunter.orig/files/rkhunter 2005-02-21 23:22:16.277815344 -0500 -+++ rkhunter/files/rkhunter 2005-02-21 23:25:43.586299664 -0500 -@@ -2072,8 +2072,8 @@ - then - logtext "Info: using ${TMPDIR} as temporary directory" - else -- logtext "Fatal: temporary directory ${TMPDIR} doesn't exist." >> ${DEBUGFILE} -- exit 1 -+ logtext "Info: ${TMPDIR} not present. Creating it." >> ${DEBUGFILE} -+ mkdir -p ${TMPDIR} - fi - - if [ `${BINPREFIX}id -u` = "0" ] diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.3-specify-logfile.patch b/app-forensics/rkhunter/files/rkhunter-1.2.3-specify-logfile.patch deleted file mode 100644 index a3f166e0ddc3..000000000000 --- a/app-forensics/rkhunter/files/rkhunter-1.2.3-specify-logfile.patch +++ /dev/null @@ -1,70 +0,0 @@ -diff --exclude='*~' -urN rkhunter.orig/files/development/rkhunter.8 rkhunter/files/development/rkhunter.8 ---- rkhunter.orig/files/development/rkhunter.8 2005-03-22 00:08:59.000000000 -0500 -+++ rkhunter/files/development/rkhunter.8 2005-03-22 00:11:41.000000000 -0500 -@@ -60,9 +60,10 @@ - Use another configuration file, instead of the default one - .TP - .B ----createlogfile --A plain text file summarizing \fBrkhunter\fP's findings. Default file --is /var/log/rkhunter.log. -+--createlogfile <file> -+A plain text file summarizing \fBrkhunter\fP's findings will be -+output to the path/filename specified after the switch. If no -+filename is specified, a default of /var/log/rkhunter.log is used. - .TP - .B - --cronjob -diff --exclude='*~' -urN rkhunter.orig/files/rkhunter rkhunter/files/rkhunter ---- rkhunter.orig/files/rkhunter 2005-03-22 00:08:59.000000000 -0500 -+++ rkhunter/files/rkhunter 2005-03-22 00:09:22.000000000 -0500 -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/bin/bash - - ################################################################################# - # -@@ -156,6 +156,11 @@ - --createlogfile | --createlog | --create-log | --create-logfile) - DEBUG=1 - DEBUGLOG=1 -+ if [[ "$2" != -* ]] -+ then -+ shift -+ LOGFILE=$1 -+ fi - ;; - --dbdir) - shift -@@ -235,9 +240,19 @@ - # Through the drain... - DEBUGFILE="/dev/null" - else -- if [ -d "/var/log" ] -+ if [[ -n "${LOGFILE}" ]] - then -- DEBUGFILE="/var/log/rkhunter.log" -+ if ( [[ "${LOGFILE}" == */* ]] && [ -d "${LOGFILE%/*}" ] ) || [ -w ./ ] -+ then -+ DEBUGFILE="${LOGFILE}" -+ fi -+ -+ elif [[ -d "/var/log" ]] -+ then -+ DEBUGFILE="/var/log/rkhunter.log" -+ [[ -n "${LOGFILE}" ]] && echo \ -+ "${LOGFILE%/*} doesn't exist... trying ${DEBUGFILE}" -+ - else - echo "/var/log doesn't exists... no log file created" - DEBUGFILE="/dev/null" -@@ -5005,7 +5020,8 @@ - echo $ECHOOPT "" - echo $ECHOOPT "Valid parameters:" - echo $ECHOOPT "--checkall (-c) : Check system" -- echo $ECHOOPT "--createlogfile* : Create logfile" -+ echo $ECHOOPT "--createlogfile <file>* : Create logfile (file is optional, defaults to" -+ echo $ECHOOPT " : /var/log/rkhunter.log)" - echo $ECHOOPT "--cronjob : Run as cronjob (removes colored layout)" - echo $ECHOOPT "--display-logfile : Show logfile at end of the output" - echo $ECHOOPT "--help (-h) : Show this help" diff --git a/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch b/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch deleted file mode 100644 index 27c7363aa52d..000000000000 --- a/app-forensics/rkhunter/files/rkhunter-1.2.9-ppc64.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -ru rkhunter-1.2.9.orig/files/os.dat rkhunter-1.2.9/files/os.dat ---- rkhunter-1.2.9.orig/files/os.dat 2006-09-30 12:16:27.000000000 +1000 -+++ rkhunter-1.2.9/files/os.dat 2007-02-18 22:05:23.000000000 +1100 -@@ -181,3 +181,5 @@ - 722:Red Hat Enterprise Linux ES release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: - 722:Red Hat Enterprise Linux WS release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: - 722:Red Hat Enterprise Linux AS release 3 (Taroon Update 8):/usr/bin/md5sum:/bin: -+723:Gentoo Linux 1.6 (powerpc64):/usr/bin/md5sum:/bin: -+ -diff -ru rkhunter-1.2.9.orig/files/rkhunter rkhunter-1.2.9/files/rkhunter ---- rkhunter-1.2.9.orig/files/rkhunter 2007-02-18 21:59:23.000000000 +1100 -+++ rkhunter-1.2.9/files/rkhunter 2007-02-18 22:05:48.000000000 +1100 -@@ -2055,11 +2055,12 @@ - version=`cat /etc/gentoo-release | awk '{ print $5 }' | cut -d '.' -f1,2` - uname_model=`uname -m` - case $uname_model in -- i[0-9]86) architecture=i386; ;; -- ppc) architecture=powerpc; ;; -- sparc) architecture=sparc; ;; -- sparc64) architecture=sparc64; ;; -- x86_64) architecture=x86_64; ;; -+ i[0-9]86) architecture=i386; ;; -+ ppc) architecture=powerpc; ;; -+ ppc64) architecture=powerpc64; ;; -+ sparc) architecture=sparc; ;; -+ sparc64) architecture=sparc64; ;; -+ x86_64) architecture=x86_64; ;; - esac - logtext "Architecture ${uname_model} (->${architecture})" - diff --git a/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild b/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild deleted file mode 100644 index ab7376d62365..000000000000 --- a/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.2.9-r1.ebuild,v 1.1 2009/02/15 11:27:02 patrick Exp $ - -inherit eutils bash-completion - -DESCRIPTION="Rootkit Hunter scans for known and unknown rootkits, backdoors, and sniffers." -HOMEPAGE="http://rkhunter.sf.net/" -SRC_URI="mirror://sourceforge/rkhunter/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 mips ppc sparc x86" -IUSE="" - -RDEPEND="virtual/mta - app-shells/bash - dev-lang/perl - sys-process/lsof" - -S="${WORKDIR}/${P}/files" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${PN}-1.2.1-create-tmpdir.diff - epatch "${FILESDIR}"/${PN}-1.2.9-ppc64.patch -} - -src_install() { - insinto /usr/lib/rkhunter/db - doins *.dat || die "failed to install dat files" - - exeinto /usr/lib/rkhunter/scripts - doexe *.pl check_update.sh || die "failed to install scripts" - - dosbin rkhunter || die "failed to install rkhunter script" - - insinto /etc - doins rkhunter.conf || die "failed to install rkhunter.conf" - dosed 's:^#\(DBDIR=.*\)local\(.*\)$:\1lib\2\nINSTALLDIR=/usr:' \ - /etc/rkhunter.conf || die "sed rkhunter.conf failed" - - doman development/rkhunter.8 || die "doman failed" - dodoc CHANGELOG LICENSE README WISHLIST || die "dodoc failed" - - exeinto /etc/cron.daily - newexe "${FILESDIR}"/rkhunter.cron rkhunter || \ - die "failed to install cron script" - dobashcompletion ${FILESDIR}/${PN}.bash-completion -} - -pkg_postinst() { - echo - elog "A cron script has been installed to /etc/cron.daily/rkhunter." - elog "To enable it, edit /etc/cron.daily/rkhunter and follow the" - elog "directions." - echo - bash-completion_pkg_postinst -} - -pkg_prerm() { - rm -rf /usr/lib/rkhunter/tmp -} diff --git a/app-forensics/rkhunter/rkhunter-1.3.4-r2.ebuild b/app-forensics/rkhunter/rkhunter-1.3.6.ebuild index 9759c43b5821..3201c98346f5 100644 --- a/app-forensics/rkhunter/rkhunter-1.3.4-r2.ebuild +++ b/app-forensics/rkhunter/rkhunter-1.3.6.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.4-r2.ebuild,v 1.3 2009/07/29 15:50:47 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/rkhunter/rkhunter-1.3.6.ebuild,v 1.1 2010/07/08 04:25:34 jer Exp $ EAPI=2 @@ -12,19 +12,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha amd64 ~mips ~ppc ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" IUSE="" -RDEPEND="virtual/mta +RDEPEND=" app-shells/bash dev-lang/perl - sys-process/lsof" + sys-process/lsof + virtual/cron + virtual/mailx +" S="${WORKDIR}/${P}/files" src_prepare() { epatch "${FILESDIR}/${PN}.conf.patch" - epatch "${FILESDIR}/${PN}-ppc64.patch" } src_install() { @@ -47,7 +49,7 @@ src_install() { doins i18n/* doman ${PN}.8 || die "doman failed" - dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README WISHLIST || die "dodoc failed" + dodoc ACKNOWLEDGMENTS CHANGELOG FAQ README || die "dodoc failed" exeinto /etc/cron.daily newexe "${FILESDIR}/${PN}-1.3.cron" ${PN} || \ |