diff options
-rw-r--r-- | app-admin/lsat/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/lsat/Manifest | 5 | ||||
-rw-r--r-- | app-admin/lsat/files/digest-lsat-0.9.2 | 1 | ||||
-rw-r--r-- | app-admin/lsat/files/lsat-0.9.2-gentoo.patch | 33 | ||||
-rw-r--r-- | app-admin/lsat/lsat-0.9.2.ebuild | 37 |
5 files changed, 82 insertions, 2 deletions
diff --git a/app-admin/lsat/ChangeLog b/app-admin/lsat/ChangeLog index 91af7e126a3b..6962ab68d988 100644 --- a/app-admin/lsat/ChangeLog +++ b/app-admin/lsat/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/lsat # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.12 2005/01/01 11:09:52 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.13 2005/06/11 06:09:34 matsuu Exp $ + +*lsat-0.9.2 (11 Jun 2005) + + 11 Jun 2005; MATSUU Takuto <matsuu@gentoo.org> + +files/lsat-0.9.2-gentoo.patch, +lsat-0.9.2.ebuild: + Version bumped. Fixed runtime error, Bug 92231. 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> lsat-0.8.8.ebuild, lsat-0.9.0.ebuild: diff --git a/app-admin/lsat/Manifest b/app-admin/lsat/Manifest index 586e6fdab19b..6f548288cb05 100644 --- a/app-admin/lsat/Manifest +++ b/app-admin/lsat/Manifest @@ -1,6 +1,9 @@ -MD5 af4db7d8da2f38c2431183f03458fb11 ChangeLog 1576 MD5 c4c631ce9a94bfbcac1fd2ec7f4b3ce9 lsat-0.8.8.ebuild 705 MD5 c745a8e727cf82658524e2350981d252 lsat-0.9.0.ebuild 711 +MD5 95dedc694142bf377b953a6bbe2aadab lsat-0.9.2.ebuild 805 +MD5 af4db7d8da2f38c2431183f03458fb11 ChangeLog 1576 MD5 24ab4b927637b8cf4881de695d1d355b metadata.xml 505 +MD5 fc49bf62b29b31e140cc1c82eb9ac4f2 files/lsat-0.9.2-gentoo.patch 1271 MD5 1ece52d641717216919734cc2d14ae21 files/digest-lsat-0.8.8 58 MD5 fd6ed97b538ace9614ec49bb7862ee3e files/digest-lsat-0.9.0 58 +MD5 72c9c1210b1905196fbd28316591dbbe files/digest-lsat-0.9.2 58 diff --git a/app-admin/lsat/files/digest-lsat-0.9.2 b/app-admin/lsat/files/digest-lsat-0.9.2 new file mode 100644 index 000000000000..5dc7828a9d55 --- /dev/null +++ b/app-admin/lsat/files/digest-lsat-0.9.2 @@ -0,0 +1 @@ +MD5 0435a69e54e0f18b1a425bfc2c3abb17 lsat-0.9.2.tgz 71565 diff --git a/app-admin/lsat/files/lsat-0.9.2-gentoo.patch b/app-admin/lsat/files/lsat-0.9.2-gentoo.patch new file mode 100644 index 000000000000..6bde13268fa5 --- /dev/null +++ b/app-admin/lsat/files/lsat-0.9.2-gentoo.patch @@ -0,0 +1,33 @@ +diff -Naur lsat-0.9.2.orig/checkhostsfiles.c lsat-0.9.2/checkhostsfiles.c +--- lsat-0.9.2.orig/checkhostsfiles.c 2004-03-13 10:49:11.000000000 +0900 ++++ lsat-0.9.2/checkhostsfiles.c 2005-06-11 08:20:28.000000000 +0900 +@@ -274,6 +274,8 @@ + perror(" Creation of list failed."); + return(-1); + } ++ /* clean up */ ++ fclose(fileptr); + + } /* end of else, for if hosts.deny exists */ + +@@ -294,8 +296,6 @@ + header = "/etc/hosts.lpd found on this system.\nConsider preventing lpd from listening to the network.\nAt least make sure it contains fully qualified hostnames."; + dostuff(0, filename, 0, header, html); + } +- /* clean up */ +- fclose(fileptr); + + if (verbose > 0) + { +diff -Naur lsat-0.9.2.orig/checkpkgs.c lsat-0.9.2/checkpkgs.c +--- lsat-0.9.2.orig/checkpkgs.c 2004-03-13 10:49:11.000000000 +0900 ++++ lsat-0.9.2/checkpkgs.c 2005-05-12 22:54:16.000000000 +0900 +@@ -122,7 +122,7 @@ + { + printf(" Generating list of pkgs on system.\n"); + } +- shellcode = "/usr/lib/portage/bin/pkglist >>/tmp/lsat1.lsat"; ++ shellcode = "/usr/bin/qpkg -I -nc >>/tmp/lsat1.lsat"; + if ((dostuff(tempfile, 0, shellcode, 0, html)) < 0) + { + /* rhut-rho...something bad happened */ diff --git a/app-admin/lsat/lsat-0.9.2.ebuild b/app-admin/lsat/lsat-0.9.2.ebuild new file mode 100644 index 000000000000..6de95ec38d00 --- /dev/null +++ b/app-admin/lsat/lsat-0.9.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/lsat-0.9.2.ebuild,v 1.1 2005/06/11 06:09:34 matsuu Exp $ + +inherit eutils + +DESCRIPTION="The Linux Security Auditing Tool" +HOMEPAGE="http://usat.sourceforge.net/" +SRC_URI="http://usat.sourceforge.net/code/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +RDEPEND="virtual/libc + dev-libs/popt" +DEPEND="${RDEPEND} + dev-lang/perl" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch +} + +src_compile() { + econf || die + emake CFLAGS="${CFLAGS}" SLIBS="-lpopt" all manpage || die +} + +src_install() { + dobin lsat || die + doman lsat.1 + dodoc INSTALL README* *.txt + dohtml modules.html changelog/changelog.html +} |