From 386401fbf9a95d9bc1a283f8eeb061db46a50a03 Mon Sep 17 00:00:00 2001 From: Aaron Walker Date: Fri, 28 Oct 2005 17:22:27 +0000 Subject: Version bump; tidy previous ebuild. (Portage version: 2.0.53_rc6) --- app-forensics/chkrootkit/ChangeLog | 8 ++- app-forensics/chkrootkit/Manifest | 16 ++---- app-forensics/chkrootkit/chkrootkit-0.46.ebuild | 61 ---------------------- app-forensics/chkrootkit/chkrootkit-0.46a.ebuild | 61 ++++++++++++++++++++++ .../chkrootkit/files/digest-chkrootkit-0.46 | 2 - .../chkrootkit/files/digest-chkrootkit-0.46a | 2 + 6 files changed, 73 insertions(+), 77 deletions(-) delete mode 100644 app-forensics/chkrootkit/chkrootkit-0.46.ebuild create mode 100644 app-forensics/chkrootkit/chkrootkit-0.46a.ebuild delete mode 100644 app-forensics/chkrootkit/files/digest-chkrootkit-0.46 create mode 100644 app-forensics/chkrootkit/files/digest-chkrootkit-0.46a (limited to 'app-forensics/chkrootkit') diff --git a/app-forensics/chkrootkit/ChangeLog b/app-forensics/chkrootkit/ChangeLog index fc355174c3e1..87959d185801 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.32 2005/10/27 12:42:26 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/chkrootkit/ChangeLog,v 1.33 2005/10/28 17:22:27 ka0ttic Exp $ + +*chkrootkit-0.46a (28 Oct 2005) + + 28 Oct 2005; Aaron Walker -chkrootkit-0.46.ebuild, + +chkrootkit-0.46a.ebuild: + Version bump; tidy previous ebuild. 27 Oct 2005; Aaron Walker chkrootkit-0.46.ebuild: Bah fix the keywords... diff --git a/app-forensics/chkrootkit/Manifest b/app-forensics/chkrootkit/Manifest index 4827928d96fa..957e47f41b27 100644 --- a/app-forensics/chkrootkit/Manifest +++ b/app-forensics/chkrootkit/Manifest @@ -1,22 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 f2d3086d36be5cdddba201a4075d62a7 ChangeLog 10110 +MD5 acf018772b4b61379f91a51f95989132 ChangeLog 10284 MD5 10e3c20015120e6380904475d127c3f3 chkrootkit-0.44-r1.ebuild 1591 MD5 b889e1ad878a53a563e5be3ae4607b90 chkrootkit-0.45.ebuild 1513 -MD5 e340fcde29e785c856855bea30444f10 chkrootkit-0.46.ebuild 1840 +MD5 483c080f071a523c34b5dd8909663c90 chkrootkit-0.46a.ebuild 1846 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 7fd8fef5e617c26af637338a3f1fdfbe files/digest-chkrootkit-0.46a 141 MD5 7460fdec86596dcf99c66fbb167712af metadata.xml 256 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDYMs9EZCkKN40op4RAs3/AJwNyQu8QdP1vaFuR/pfc2Efs9t0owCcDjvM -nWyefMY2sPCzwM1VyxLxJM8= -=kelm ------END PGP SIGNATURE----- diff --git a/app-forensics/chkrootkit/chkrootkit-0.46.ebuild b/app-forensics/chkrootkit/chkrootkit-0.46.ebuild deleted file mode 100644 index c89f289e9fdb..000000000000 --- a/app-forensics/chkrootkit/chkrootkit-0.46.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# 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.2 2005/10/27 12:42:26 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/chkrootkit-0.46a.ebuild b/app-forensics/chkrootkit/chkrootkit-0.46a.ebuild new file mode 100644 index 000000000000..f7dff1aca287 --- /dev/null +++ b/app-forensics/chkrootkit/chkrootkit-0.46a.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.46a.ebuild,v 1.1 2005/10/28 17:22:27 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}/${PN}-0.46-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/digest-chkrootkit-0.46 b/app-forensics/chkrootkit/files/digest-chkrootkit-0.46 deleted file mode 100644 index d25c1064fce6..000000000000 --- a/app-forensics/chkrootkit/files/digest-chkrootkit-0.46 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 ecac86c18a31fbf9897124e7c34def98 chkrootkit-0.45-gentoo.diff.bz2 3729 -MD5 03bee04ab54623ade29385f1d84ce742 chkrootkit-0.46.tar.gz 37028 diff --git a/app-forensics/chkrootkit/files/digest-chkrootkit-0.46a b/app-forensics/chkrootkit/files/digest-chkrootkit-0.46a new file mode 100644 index 000000000000..30230b725628 --- /dev/null +++ b/app-forensics/chkrootkit/files/digest-chkrootkit-0.46a @@ -0,0 +1,2 @@ +MD5 ecac86c18a31fbf9897124e7c34def98 chkrootkit-0.45-gentoo.diff.bz2 3729 +MD5 b73fb9e365d2edcd031d65b16e965a18 chkrootkit-0.46a.tar.gz 37140 -- cgit v1.2.3-65-gdbad