summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2007-05-25 10:59:23 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2007-05-25 10:59:23 +0000
commita5c01f33dfda30dc3494b0485599e584ad49886d (patch)
tree7f2df4c877aa43145a571b44c7596ecc491872de /app-admin/lsat
parentAdd java-pkg_register-environment-variable function. Needs new java-config re... (diff)
downloadhistorical-a5c01f33dfda30dc3494b0485599e584ad49886d.tar.gz
historical-a5c01f33dfda30dc3494b0485599e584ad49886d.tar.bz2
historical-a5c01f33dfda30dc3494b0485599e584ad49886d.zip
Version bumped. Added minimal USE flag.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-admin/lsat')
-rw-r--r--app-admin/lsat/ChangeLog10
-rw-r--r--app-admin/lsat/Manifest32
-rw-r--r--app-admin/lsat/files/digest-lsat-0.9.23
-rw-r--r--app-admin/lsat/files/digest-lsat-0.9.63
-rw-r--r--app-admin/lsat/files/lsat-0.9.2-gentoo.patch33
-rw-r--r--app-admin/lsat/files/lsat-0.9.6-gentoo.patch42
-rw-r--r--app-admin/lsat/lsat-0.9.2.ebuild37
-rw-r--r--app-admin/lsat/lsat-0.9.6.ebuild41
8 files changed, 111 insertions, 90 deletions
diff --git a/app-admin/lsat/ChangeLog b/app-admin/lsat/ChangeLog
index 91bb20b8170b..dbf4a8ff2a02 100644
--- a/app-admin/lsat/ChangeLog
+++ b/app-admin/lsat/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/lsat
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.20 2007/05/03 18:58:57 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/ChangeLog,v 1.21 2007/05/25 10:59:23 matsuu Exp $
+
+*lsat-0.9.6 (25 May 2007)
+
+ 25 May 2007; MATSUU Takuto <matsuu@gentoo.org>
+ -files/lsat-0.9.2-gentoo.patch, +files/lsat-0.9.6-gentoo.patch,
+ -lsat-0.9.2.ebuild, +lsat-0.9.6.ebuild:
+ Version bumped.
+ Removed old version.
03 May 2007; Steve Dibb <beandog@gentoo.org> lsat-0.9.5.ebuild:
amd64 stable, security bug 159542
diff --git a/app-admin/lsat/Manifest b/app-admin/lsat/Manifest
index 2ead40f14ebb..612c21268262 100644
--- a/app-admin/lsat/Manifest
+++ b/app-admin/lsat/Manifest
@@ -1,32 +1,32 @@
-AUX lsat-0.9.2-gentoo.patch 1271 RMD160 67aa762102a088f30c9ae48e9a44c3c6d6bc1f45 SHA1 99fcb97cef2c70fe65a1e0c3e51ecb92c2fd4cba SHA256 8e8a52a4324845a58dbcbaf886550a64718b08ce373c21e5533425d2c0bc8fd0
-MD5 fc49bf62b29b31e140cc1c82eb9ac4f2 files/lsat-0.9.2-gentoo.patch 1271
-RMD160 67aa762102a088f30c9ae48e9a44c3c6d6bc1f45 files/lsat-0.9.2-gentoo.patch 1271
-SHA256 8e8a52a4324845a58dbcbaf886550a64718b08ce373c21e5533425d2c0bc8fd0 files/lsat-0.9.2-gentoo.patch 1271
AUX lsat-0.9.5-gentoo.patch 737 RMD160 125c883dd01708b263ac4ee7aaf08ee41742e993 SHA1 623cb2a3e3cf96943cf2ad66e9b3744437654cb5 SHA256 b4437e517e4f1f9cf484dadbdc796d10197e3b25ae52d266bd88b25b5ff9c87d
MD5 5e86b6037df5de433221720d97f7ed06 files/lsat-0.9.5-gentoo.patch 737
RMD160 125c883dd01708b263ac4ee7aaf08ee41742e993 files/lsat-0.9.5-gentoo.patch 737
SHA256 b4437e517e4f1f9cf484dadbdc796d10197e3b25ae52d266bd88b25b5ff9c87d files/lsat-0.9.5-gentoo.patch 737
-DIST lsat-0.9.2.tgz 71565 RMD160 40356cb4302d8aae0797f1f760f097a18477cbf9 SHA1 da7eac8b320410b4052ad86832ecf0f2f19f1f0c SHA256 d98472458f00e7705dcfa35d3f45c03eebb33499cca69efa670c661a188444a9
+AUX lsat-0.9.6-gentoo.patch 1484 RMD160 2349dfdc9754c97b85fe9b37366ee5bdd2e2c85b SHA1 f8e8b0fab26b9ac3232a0c36b744cc862bcf926b SHA256 f76f127f56139d8d8cf20ead7dd3e72b0a91b90dc85c4f5730bbb5388b35dcca
+MD5 8c7992f0c72310a0fb63ec33be78b308 files/lsat-0.9.6-gentoo.patch 1484
+RMD160 2349dfdc9754c97b85fe9b37366ee5bdd2e2c85b files/lsat-0.9.6-gentoo.patch 1484
+SHA256 f76f127f56139d8d8cf20ead7dd3e72b0a91b90dc85c4f5730bbb5388b35dcca files/lsat-0.9.6-gentoo.patch 1484
DIST lsat-0.9.5.tgz 71529 RMD160 5c954e064a47fd0f7c3f35235635b3036f139f46 SHA1 04f66c3bed61eb9d87213d82bd2854967f445d84 SHA256 7f979a1c76c375fdef7d0c8ccb732ab832cd6a85d9c1dad6265f7b409f5d4e12
-EBUILD lsat-0.9.2.ebuild 801 RMD160 a69f31bd78d595215a89507e0b1fcdd1481e2a8d SHA1 64c9547dd2acb8a29388b84bcb03cfbbbcdb219c SHA256 f505ec15d616ff9281096169b5dd63561bb5d00e8edcbdcd9f36c33f8ef00c43
-MD5 61a51f8d24f77157988aaf6dd2043670 lsat-0.9.2.ebuild 801
-RMD160 a69f31bd78d595215a89507e0b1fcdd1481e2a8d lsat-0.9.2.ebuild 801
-SHA256 f505ec15d616ff9281096169b5dd63561bb5d00e8edcbdcd9f36c33f8ef00c43 lsat-0.9.2.ebuild 801
+DIST lsat-0.9.6.tgz 74460 RMD160 47f7a5840af055b49536e7f98756a898ed100d13 SHA1 cc00b7c3defb394f5711e5aa97f6b47f1bd57785 SHA256 b542764857f22094b60b0f686a2f31dcf2a43965de62a871dcd68c5f7a685890
EBUILD lsat-0.9.5.ebuild 836 RMD160 61c7c342cdd3232fac339e49163ec1c95c3f8932 SHA1 9f00ca2b124f256791ab90c4f560707350ec7cf0 SHA256 69451fd37a4aeebca055e2b5be450bc8de1846a7bd6cb4610c27cd2f4abfce3b
MD5 d166621eb6c086db1129f0139f0a5401 lsat-0.9.5.ebuild 836
RMD160 61c7c342cdd3232fac339e49163ec1c95c3f8932 lsat-0.9.5.ebuild 836
SHA256 69451fd37a4aeebca055e2b5be450bc8de1846a7bd6cb4610c27cd2f4abfce3b lsat-0.9.5.ebuild 836
-MISC ChangeLog 2588 RMD160 dec6c7a4d612728736795a08a5d8dcc4000290bd SHA1 c177d10b672526c2c552cdb071701995f905261b SHA256 a5c5d5c4968106b73d56afb04ac93ab2c6f1d6ff9ab1062dc96a53b8105143b8
-MD5 cc221f9ed797b81ce3776c14bd38dc2b ChangeLog 2588
-RMD160 dec6c7a4d612728736795a08a5d8dcc4000290bd ChangeLog 2588
-SHA256 a5c5d5c4968106b73d56afb04ac93ab2c6f1d6ff9ab1062dc96a53b8105143b8 ChangeLog 2588
+EBUILD lsat-0.9.6.ebuild 926 RMD160 33dedb1c396eadb013351a2b7023f44a5711ae7f SHA1 e1e7fb91d3b6932022614409b1c06d1e0b0aba35 SHA256 0b0683b400af2743d41b620a860c438bbd4a78abab55716daedfe9d322b88e1d
+MD5 f468f4a4c8095cdb48a91a98b00dfab5 lsat-0.9.6.ebuild 926
+RMD160 33dedb1c396eadb013351a2b7023f44a5711ae7f lsat-0.9.6.ebuild 926
+SHA256 0b0683b400af2743d41b620a860c438bbd4a78abab55716daedfe9d322b88e1d lsat-0.9.6.ebuild 926
+MISC ChangeLog 2813 RMD160 0b9bf2b7064f801c5ca535e3d939bf9b9ecdb7be SHA1 267d29b70404be8a304cecfaf1a5a041c2071e34 SHA256 919690d3a5ac3ad9c601cca1cacc9ddced0a4b1e490e8079983ccc8baa36f08c
+MD5 88d23e2bcc12026e8427acebbc0b7c60 ChangeLog 2813
+RMD160 0b9bf2b7064f801c5ca535e3d939bf9b9ecdb7be ChangeLog 2813
+SHA256 919690d3a5ac3ad9c601cca1cacc9ddced0a4b1e490e8079983ccc8baa36f08c ChangeLog 2813
MISC metadata.xml 505 RMD160 0185fa44c629d771337fd5c27cf502290292c618 SHA1 1c49c6e18958c553178fff13083309b51a89ead4 SHA256 dc8a2911408d2589cb0b687e57af1e501be06a3acfd7ff668aa27c0472239b35
MD5 24ab4b927637b8cf4881de695d1d355b metadata.xml 505
RMD160 0185fa44c629d771337fd5c27cf502290292c618 metadata.xml 505
SHA256 dc8a2911408d2589cb0b687e57af1e501be06a3acfd7ff668aa27c0472239b35 metadata.xml 505
-MD5 c5ba135912b46968319da04468e46471 files/digest-lsat-0.9.2 220
-RMD160 c8454f63a02fd9916b36662e3eca9c3d4f906045 files/digest-lsat-0.9.2 220
-SHA256 8a6ce846c14b321df5472774571ff38a2714cd07e6c9c2e4dac034f98900b22e files/digest-lsat-0.9.2 220
MD5 9e0d074a97e0e7d747d644912e6ae3b9 files/digest-lsat-0.9.5 220
RMD160 d4ec7025ed79af97b8cf3b87f04d987af293df33 files/digest-lsat-0.9.5 220
SHA256 e697d0d443a02ff2cd1ed05d5698c360ea2d61d5b3ce615f2b535c35bf7d3d05 files/digest-lsat-0.9.5 220
+MD5 49ae6f379ac0b890aee566a0867efa57 files/digest-lsat-0.9.6 220
+RMD160 10f1547c9a2d61d9702f347a173712684405b97b files/digest-lsat-0.9.6 220
+SHA256 83c4bca6d9f702b0b5bca88223826edd1c48f4462c92c2526ad52b497208bfa7 files/digest-lsat-0.9.6 220
diff --git a/app-admin/lsat/files/digest-lsat-0.9.2 b/app-admin/lsat/files/digest-lsat-0.9.2
deleted file mode 100644
index 9be26f2c9c47..000000000000
--- a/app-admin/lsat/files/digest-lsat-0.9.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0435a69e54e0f18b1a425bfc2c3abb17 lsat-0.9.2.tgz 71565
-RMD160 40356cb4302d8aae0797f1f760f097a18477cbf9 lsat-0.9.2.tgz 71565
-SHA256 d98472458f00e7705dcfa35d3f45c03eebb33499cca69efa670c661a188444a9 lsat-0.9.2.tgz 71565
diff --git a/app-admin/lsat/files/digest-lsat-0.9.6 b/app-admin/lsat/files/digest-lsat-0.9.6
new file mode 100644
index 000000000000..d8e70707c8d2
--- /dev/null
+++ b/app-admin/lsat/files/digest-lsat-0.9.6
@@ -0,0 +1,3 @@
+MD5 6420a32d6d9f8b9da92239bca96d25c5 lsat-0.9.6.tgz 74460
+RMD160 47f7a5840af055b49536e7f98756a898ed100d13 lsat-0.9.6.tgz 74460
+SHA256 b542764857f22094b60b0f686a2f31dcf2a43965de62a871dcd68c5f7a685890 lsat-0.9.6.tgz 74460
diff --git a/app-admin/lsat/files/lsat-0.9.2-gentoo.patch b/app-admin/lsat/files/lsat-0.9.2-gentoo.patch
deleted file mode 100644
index 6bde13268fa5..000000000000
--- a/app-admin/lsat/files/lsat-0.9.2-gentoo.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-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/files/lsat-0.9.6-gentoo.patch b/app-admin/lsat/files/lsat-0.9.6-gentoo.patch
new file mode 100644
index 000000000000..631dcd7322f7
--- /dev/null
+++ b/app-admin/lsat/files/lsat-0.9.6-gentoo.patch
@@ -0,0 +1,42 @@
+diff -Naur lsat-0.9.6.orig/Makefile.in lsat-0.9.6/Makefile.in
+--- lsat-0.9.6.orig/Makefile.in 2007-05-22 11:38:28.000000000 +0900
++++ lsat-0.9.6/Makefile.in 2007-05-25 18:55:25.000000000 +0900
+@@ -12,6 +12,7 @@
+ PROGRAM= lsat
+ INSTALL = /usr/bin/install -c
+ prefix = @prefix@
++exec_prefix = @exec_prefix@
+ BINDIR = @bindir@
+ DATADIR = @datadir@
+ MANDIR = @mandir@
+@@ -38,9 +39,7 @@
+ rm -f $(PROGRAM) $(OBJECTS) Makefile config.* lsat.old lsatmd5.out lsatmd5.old
+
+ manpage:
+- pod2man $(PROGRAM).pod > $(PROGRAM).tmp
+- sed 's/perl v5.6.1/LSAT/g' $(PROGRAM).tmp| \
+-sed 's/Perl/LSAT/g'\
++ pod2man $(PROGRAM).pod -r LSAT -c 'User Contributed LSAT Documentation' \
+ > $(PROGRAM).1
+ rm -f $(PROGRAM).tmp
+ # cp -vf $(PROGRAM).1 debian/manpage.1.ex
+diff -Naur lsat-0.9.6.orig/checkpkgs.c lsat-0.9.6/checkpkgs.c
+--- lsat-0.9.6.orig/checkpkgs.c 2007-04-27 00:48:31.000000000 +0900
++++ lsat-0.9.6/checkpkgs.c 2007-05-25 18:46:00.000000000 +0900
+@@ -113,14 +113,14 @@
+ }
+
+
+- /* if distro = gentoo, use pkglist */
++ /* if distro = gentoo, use qpkg */
+ if (distribution == 4)
+ {
+ if (verbose > 0)
+ {
+ printf(" Generating list of pkgs on system.\n");
+ }
+- shellcode = "/usr/lib/portage/bin/pkglist 2>/dev/null >>/tmp/lsat1.lsat";
++ shellcode = "/usr/bin/qpkg -I -nc 2>/dev/null >>/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
deleted file mode 100644
index 362b7af35662..000000000000
--- a/app-admin/lsat/lsat-0.9.2.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# 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.3 2005/06/18 08:31:52 hansmi 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="amd64 ppc x86"
-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
-}
diff --git a/app-admin/lsat/lsat-0.9.6.ebuild b/app-admin/lsat/lsat-0.9.6.ebuild
new file mode 100644
index 000000000000..e51a415ecbdc
--- /dev/null
+++ b/app-admin/lsat/lsat-0.9.6.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/lsat/lsat-0.9.6.ebuild,v 1.1 2007/05/25 10:59:23 matsuu Exp $
+
+inherit eutils toolchain-funcs
+
+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="~amd64 ~ppc ~x86"
+IUSE="minimal"
+
+DEPEND="dev-lang/perl" # pod2man
+RDEPEND="!minimal? (
+ app-portage/portage-utils
+ net-analyzer/nmap
+ sys-apps/iproute2
+ sys-apps/which
+ sys-process/lsof
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ tc-export CC
+ econf || die
+ emake CFLAGS="${CFLAGS}" all manpage || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install installman || die
+ dodoc README* *.txt
+ dohtml modules.html changelog/changelog.html
+}