summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-10-27 12:37:14 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-10-27 12:37:14 +0000
commit21ee68591c42f256e717a4e777f7dbed41a90052 (patch)
tree6c40678a5b0fe331b18e5f3968ac63cc206c9d32 /app-forensics
parentRevision bump; added patch from bug #109348 that fixes a DoS (CVE-2005-3313). (diff)
downloadhistorical-21ee68591c42f256e717a4e777f7dbed41a90052.tar.gz
historical-21ee68591c42f256e717a4e777f7dbed41a90052.tar.bz2
historical-21ee68591c42f256e717a4e777f7dbed41a90052.zip
Version bump.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/chkrootkit/ChangeLog8
-rw-r--r--app-forensics/chkrootkit/Manifest15
-rw-r--r--app-forensics/chkrootkit/chkrootkit-0.46.ebuild61
-rw-r--r--app-forensics/chkrootkit/files/chkrootkit-0.46-add-missing-includes.diff22
-rw-r--r--app-forensics/chkrootkit/files/digest-chkrootkit-0.462
5 files changed, 101 insertions, 7 deletions
diff --git a/app-forensics/chkrootkit/ChangeLog b/app-forensics/chkrootkit/ChangeLog
index 810e418d1256..2722fe2575d7 100644
--- a/app-forensics/chkrootkit/ChangeLog
+++ b/app-forensics/chkrootkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-forensics/chkrootkit
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.30 2005/08/06 16:15:17 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.31 2005/10/27 12:37:14 ka0ttic Exp $
+
+*chkrootkit-0.46 (27 Oct 2005)
+
+ 27 Oct 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/chkrootkit-0.46-add-missing-includes.diff, +chkrootkit-0.46.ebuild:
+ Version bump.
06 Aug 2005; Aaron Walker <ka0ttic@gentoo.org> -chkrootkit-0.43-r3.ebuild,
-chkrootkit-0.43-r4.ebuild, -chkrootkit-0.44.ebuild,
diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest
index 11b0a2272711..fdd32e3c576f 100644
--- a/app-forensics/chkrootkit/Manifest
+++ b/app-forensics/chkrootkit/Manifest
@@ -1,19 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 5f39f6b1834ff9319271c5bd5eba8e88 ChangeLog 9835
+MD5 bde15401316753bf331704431dcd5f7a ChangeLog 10010
MD5 10e3c20015120e6380904475d127c3f3 chkrootkit-0.44-r1.ebuild 1591
MD5 b889e1ad878a53a563e5be3ae4607b90 chkrootkit-0.45.ebuild 1513
-MD5 7460fdec86596dcf99c66fbb167712af metadata.xml 256
+MD5 098499489217ba25be38668411233c56 chkrootkit-0.46.ebuild 1830
MD5 99d10c59971b4836291ff235c6f480a6 files/chkrootkit-0.44-coreutils-static-falsepositive.patch 793
MD5 c67831eb3ec73b91c86f9f686b0e176b files/chkrootkit-0.45-makefile.diff 1866
+MD5 c9af76526f66b71c6f9a92582b470969 files/chkrootkit-0.46-add-missing-includes.diff 769
MD5 bb6a980a762d72e1928231eabf4a9304 files/chkrootkit.cron 78
MD5 1f4cc273611ca05137d997b8d4bad9de files/digest-chkrootkit-0.44-r1 140
MD5 ed6966a6a37372ee449f7dd995a4e0bb files/digest-chkrootkit-0.45 140
+MD5 7ef1be73b16a5e26960d1380252cc98d files/digest-chkrootkit-0.46 140
+MD5 7460fdec86596dcf99c66fbb167712af metadata.xml 256
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
+Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFC9RD+EZCkKN40op4RAgjTAJ9n22a+zlXZ67g8mm6YvQ0Xa3L7WACeKjOw
-6cnUKGD4KPHyS27kh0GwDrI=
-=GWKd
+iD8DBQFDYMoMEZCkKN40op4RAromAJ9gkKLqDL0gm75lVLCeH5jir7+TtACdHLpv
+5NL84TUFXQZvd5R+d+bwq0Y=
+=r0Rb
-----END PGP SIGNATURE-----
diff --git a/app-forensics/chkrootkit/chkrootkit-0.46.ebuild b/app-forensics/chkrootkit/chkrootkit-0.46.ebuild
new file mode 100644
index 000000000000..b7ae6388b14e
--- /dev/null
+++ b/app-forensics/chkrootkit/chkrootkit-0.46.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/chkrootkit-0.46.ebuild,v 1.1 2005/10/27 12:37:14 ka0ttic Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="a 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
+ mirror://gentoo/${PN}-0.45-gentoo.diff.bz2"
+
+LICENSE="AMS"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # we can use the gentoo patch for 0.45 but it needs one change to apply
+ # cleanly -- certainly not enough to warrant using a separate 32k patch.
+ sed -e 's|\(xlogin\)|\^\1|' ${WORKDIR}/${PN}-0.45-gentoo.diff > \
+ ${WORKDIR}/${P}-gentoo.diff
+ epatch ${WORKDIR}/${P}-gentoo.diff
+
+ epatch ${FILESDIR}/${PN}-0.45-makefile.diff
+ epatch ${FILESDIR}/${P}-add-missing-includes.diff
+
+ sed -i 's:${head} -:${head} -n :' chkrootkit || die "sed chkrootkit failed"
+ sed -i 's:/var/adm:/var/log:g' chklastlog.c || die "sed chklastlog.c failed"
+}
+
+src_compile() {
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ sense || die "emake sense failed"
+}
+
+src_install() {
+ dosbin chkdirs chklastlog chkproc chkrootkit chkwtmp chkutmp ifpromisc \
+ strings-static || die
+ dodoc ACKNOWLEDGMENTS README*
+
+ exeinto /etc/cron.weekly
+ newexe ${FILESDIR}/${PN}.cron ${PN} || die
+}
+
+pkg_postinst() {
+ echo
+ einfo "Edit /etc/cron.weekly/chkrootkit to activate chkrootkit!"
+ einfo
+ einfo "Some applications, such as portsentry, will cause chkrootkit"
+ einfo "to produce false positives. Read the chkrootkit FAQ at"
+ einfo "http://www.chkrootkit.org/ for more information."
+ echo
+}
diff --git a/app-forensics/chkrootkit/files/chkrootkit-0.46-add-missing-includes.diff b/app-forensics/chkrootkit/files/chkrootkit-0.46-add-missing-includes.diff
new file mode 100644
index 000000000000..99dc86ae0142
--- /dev/null
+++ b/app-forensics/chkrootkit/files/chkrootkit-0.46-add-missing-includes.diff
@@ -0,0 +1,22 @@
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN chkrootkit-0.46.orig/chkproc.c chkrootkit-0.46/chkproc.c
+--- chkrootkit-0.46.orig/chkproc.c 2005-10-27 08:29:26.000000000 -0400
++++ chkrootkit-0.46/chkproc.c 2005-10-27 08:30:42.000000000 -0400
+@@ -43,6 +43,7 @@
+ int main (){ return 0; }
+ #else
+ #include <stdio.h>
++#include <string.h>
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <dirent.h>
+diff --exclude='*~' --exclude='.*' -I '$Id:' -urN chkrootkit-0.46.orig/chkwtmp.c chkrootkit-0.46/chkwtmp.c
+--- chkrootkit-0.46.orig/chkwtmp.c 2005-10-27 08:29:26.000000000 -0400
++++ chkrootkit-0.46/chkwtmp.c 2005-10-27 08:30:45.000000000 -0400
+@@ -21,6 +21,7 @@
+
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>
+ #include <utmp.h>
diff --git a/app-forensics/chkrootkit/files/digest-chkrootkit-0.46 b/app-forensics/chkrootkit/files/digest-chkrootkit-0.46
new file mode 100644
index 000000000000..d25c1064fce6
--- /dev/null
+++ b/app-forensics/chkrootkit/files/digest-chkrootkit-0.46
@@ -0,0 +1,2 @@
+MD5 ecac86c18a31fbf9897124e7c34def98 chkrootkit-0.45-gentoo.diff.bz2 3729
+MD5 03bee04ab54623ade29385f1d84ce742 chkrootkit-0.46.tar.gz 37028