summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-02-26 00:43:52 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-02-26 00:43:52 +0000
commit816a58e0d44dfbea28f9b2c87b8ab4412ec155a9 (patch)
tree0a8736490776d6c4d6c23107b88c618c486aa448
parentInitial import as per bug #82113 (diff)
downloadhistorical-816a58e0d44dfbea28f9b2c87b8ab4412ec155a9.tar.gz
historical-816a58e0d44dfbea28f9b2c87b8ab4412ec155a9.tar.bz2
historical-816a58e0d44dfbea28f9b2c87b8ab4412ec155a9.zip
Version bump.
Package-Manager: portage-2.0.51.16
-rw-r--r--app-forensics/chkrootkit/ChangeLog8
-rw-r--r--app-forensics/chkrootkit/Manifest23
-rw-r--r--app-forensics/chkrootkit/chkrootkit-0.45.ebuild53
-rw-r--r--app-forensics/chkrootkit/files/chkrootkit-0.45-makefile.diff61
-rw-r--r--app-forensics/chkrootkit/files/digest-chkrootkit-0.452
5 files changed, 136 insertions, 11 deletions
diff --git a/app-forensics/chkrootkit/ChangeLog b/app-forensics/chkrootkit/ChangeLog
index 3212d896b8f0..c409235857b7 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.21 2005/01/23 14:37:46 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.22 2005/02/26 00:43:52 ka0ttic Exp $
+
+*chkrootkit-0.45 (25 Feb 2005)
+
+ 25 Feb 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/chkrootkit-0.45-makefile.diff, +chkrootkit-0.45.ebuild:
+ Version bump.
*chkrootkit-0.44-r1 (23 Jan 2005)
diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest
index 55d98e56f2f6..1a8bc8433f71 100644
--- a/app-forensics/chkrootkit/Manifest
+++ b/app-forensics/chkrootkit/Manifest
@@ -1,22 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 81f57955b535c6550e4d61525b41079e ChangeLog 8777
+MD5 db8a5f22ed8787ae2c777965cd31af0c chkrootkit-0.44.ebuild 1446
+MD5 36a5acc29c7e5e78bc9b28e23ac29dca chkrootkit-0.44-r1.ebuild 1590
+MD5 ada3a40144dfe72cb9c42b83cb593f8d chkrootkit-0.43-r4.ebuild 1110
+MD5 dc8061a538beec99343ad85b6b836a56 chkrootkit-0.45.ebuild 1517
+MD5 812ee10c0d8fbe6e8ba685fdf0754e4e ChangeLog 8936
MD5 7460fdec86596dcf99c66fbb167712af metadata.xml 256
MD5 af9f831421f3a9ae71e16830253e6269 chkrootkit-0.43-r3.ebuild 935
-MD5 ada3a40144dfe72cb9c42b83cb593f8d chkrootkit-0.43-r4.ebuild 1110
-MD5 36a5acc29c7e5e78bc9b28e23ac29dca chkrootkit-0.44-r1.ebuild 1590
-MD5 db8a5f22ed8787ae2c777965cd31af0c chkrootkit-0.44.ebuild 1446
-MD5 1f4cc273611ca05137d997b8d4bad9de files/digest-chkrootkit-0.44-r1 140
-MD5 bb6a980a762d72e1928231eabf4a9304 files/chkrootkit.cron 78
MD5 e4f72853578cf59cb609efc280621591 files/digest-chkrootkit-0.43-r3 142
MD5 e4f72853578cf59cb609efc280621591 files/digest-chkrootkit-0.43-r4 142
-MD5 1f4cc273611ca05137d997b8d4bad9de files/digest-chkrootkit-0.44 140
+MD5 1f4cc273611ca05137d997b8d4bad9de files/digest-chkrootkit-0.44-r1 140
MD5 99d10c59971b4836291ff235c6f480a6 files/chkrootkit-0.44-coreutils-static-falsepositive.patch 793
+MD5 bb6a980a762d72e1928231eabf4a9304 files/chkrootkit.cron 78
+MD5 c67831eb3ec73b91c86f9f686b0e176b files/chkrootkit-0.45-makefile.diff 1866
+MD5 1f4cc273611ca05137d997b8d4bad9de files/digest-chkrootkit-0.44 140
+MD5 ed6966a6a37372ee449f7dd995a4e0bb files/digest-chkrootkit-0.45 140
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFB87bAmdTrptrqvGERAvWtAJ9fFFXIgyLz90dQ6bmKvcoTuqdGUQCeK/wK
-aYzCtS3KRpw3fDfNamLDu8M=
-=EcqG
+iD8DBQFCH8ZVEZCkKN40op4RAoegAJ4lmnmW32VG7JaoxMevY5+7A/1bhQCfcFMV
+69Z3odwJXqYazevINFpMBiM=
+=gHaw
-----END PGP SIGNATURE-----
diff --git a/app-forensics/chkrootkit/chkrootkit-0.45.ebuild b/app-forensics/chkrootkit/chkrootkit-0.45.ebuild
new file mode 100644
index 000000000000..67a24e0f3943
--- /dev/null
+++ b/app-forensics/chkrootkit/chkrootkit-0.45.ebuild
@@ -0,0 +1,53 @@
+# 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.45.ebuild,v 1.1 2005/02/26 00:43:52 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/${P}-gentoo.diff.bz2"
+
+LICENSE="AMS"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-makefile.diff
+ epatch ${WORKDIR}/${P}-gentoo.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.45-makefile.diff b/app-forensics/chkrootkit/files/chkrootkit-0.45-makefile.diff
new file mode 100644
index 000000000000..3a026e8e9f0c
--- /dev/null
+++ b/app-forensics/chkrootkit/files/chkrootkit-0.45-makefile.diff
@@ -0,0 +1,61 @@
+diff --exclude='*~' -urN chkrootkit-0.45.orig/Makefile chkrootkit-0.45/Makefile
+--- chkrootkit-0.45.orig/Makefile 2005-02-24 21:08:21.044113456 -0500
++++ chkrootkit-0.45/Makefile 2005-02-24 21:17:06.437241560 -0500
+@@ -23,48 +23,37 @@
+ #CFLAGS =
+
+
+-SRCS = chklastlog.c chkwtmp.c ifpromisc.c chkproc.c chkdirs.c check_wtmpx.c strings.c
++SRCS = chklastlog.c chkwtmp.c ifpromisc.c chkproc.c chkdirs.c strings.c
+
+-OBJS = chklastlog.o chkwtmp.o ifpromisc.o chkproc.o chkdirs.o check_wtmpx.o strings-static.o
++OBJS = chklastlog.o chkwtmp.o ifpromisc.o chkproc.o chkdirs.o strings-static.o
+
+ all:
+ @echo '*** stopping make sense ***'
+ @exec make sense
+
+-sense: chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp
++sense: chklastlog chkwtmp ifpromisc chkproc chkdirs strings-static chkutmp
+
+ chklastlog: chklastlog.c
+- ${CC} ${CFLAGS} -o $@ chklastlog.c
+- @strip $@
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chklastlog.c
+
+ chkwtmp: chkwtmp.c
+- ${CC} ${CFLAGS} -o $@ chkwtmp.c
+- @strip $@
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkwtmp.c
+
+ ifpromisc: ifpromisc.c
+ ${CC} ${CFLAGS} ${LDFLAGS} -D_FILE_OFFSET_BITS=64 -o $@ ifpromisc.c
+- @strip $@
+
+ chkproc: chkproc.c
+- ${CC} ${LDFLAGS} -o $@ chkproc.c
+- @strip $@
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkproc.c
+
+ chkdirs: chkdirs.c
+- ${CC} ${LDFLAGS} -o $@ chkdirs.c
+- @strip $@
+-
+-check_wtmpx: check_wtmpx.c
+- ${CC} ${LDFLAGS} -o $@ check_wtmpx.c
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkdirs.c
+ @strip $@
+
+ chkutmp: chkutmp.c
+- ${CC} ${LDFLAGS} -o $@ chkutmp.c
+- @strip $@
+-
++ ${CC} ${CFLAGS} ${LDFLAGS} -o $@ chkutmp.c
+
+ strings-static: strings.c
+- ${CC} ${STATIC} ${LDFLAGS} -o $@ strings.c
+- @strip $@
++ ${CC} ${STATIC} ${CFLAGS} ${LDFLAGS} -o $@ strings.c
+
+ clean:
+ rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp
diff --git a/app-forensics/chkrootkit/files/digest-chkrootkit-0.45 b/app-forensics/chkrootkit/files/digest-chkrootkit-0.45
new file mode 100644
index 000000000000..e7c39a8dc16c
--- /dev/null
+++ b/app-forensics/chkrootkit/files/digest-chkrootkit-0.45
@@ -0,0 +1,2 @@
+MD5 57493e24ca81750a200d8bcb4049e858 chkrootkit-0.45.tar.gz 36359
+MD5 ecac86c18a31fbf9897124e7c34def98 chkrootkit-0.45-gentoo.diff.bz2 3729