diff options
Diffstat (limited to 'app-admin/lsat')
-rw-r--r-- | app-admin/lsat/Manifest | 5 | ||||
-rw-r--r-- | app-admin/lsat/files/lsat-0.9.7.1-gentoo.patch | 42 | ||||
-rw-r--r-- | app-admin/lsat/files/lsat-0.9.7.1-segfault-fix.patch | 45 | ||||
-rw-r--r-- | app-admin/lsat/lsat-0.9.7.1-r2.ebuild | 54 | ||||
-rw-r--r-- | app-admin/lsat/metadata.xml | 15 |
5 files changed, 0 insertions, 161 deletions
diff --git a/app-admin/lsat/Manifest b/app-admin/lsat/Manifest deleted file mode 100644 index 78628970c9c3..000000000000 --- a/app-admin/lsat/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX lsat-0.9.7.1-gentoo.patch 1484 BLAKE2B 98182a2732d424ec1069c53f5cc247492704099148f3fa8e0e4d8fb5da01ba8840a17a9b3fad08ffcb7bba196934474d9d9d9c87b60915c7c60d9724061d1393 SHA512 55d0806addabf5b431ac18016f1f1737a30994b3558dc511a850d747f7b11f344c2070c0ea239c24a11511bccdb0693f54701586561d4b018934fa7ffd63ef69 -AUX lsat-0.9.7.1-segfault-fix.patch 1695 BLAKE2B ecebddf3535a45c09fc379c76ac81fb06c2fedd19159f0adea52b1ca73efd7fad64f2cf09b9b61e731b9ddee2d45ca1be562b650f6b324e6c3de0f141f7b871b SHA512 8be007761729ed7b0162cdba3d90a86ccb4caa10064f64a0fe3c10434227b3a5e185c9ca4509ea877a605161bd0482d8ce8758c1cb853756fe81ac37d41832b2 -DIST lsat-0.9.7.1.tgz 86077 BLAKE2B 609eb2a3345d147f03d03eea31fc34834ab2c0f95cf8b348ae0289020e092a991ab215160dcb1bee06ec07186fc2b9ee61af59dcff140dbda0fa91ebc7f8574e SHA512 fa67b5ebb03d11e3ee023c921977ddb64ea1fafca1d4cdb4b0fc5dbfa6edf46d57e488e9702175afbbde360a63d02ee5839fdf6576d974354a3b1d57f8860ffb -EBUILD lsat-0.9.7.1-r2.ebuild 1002 BLAKE2B d3efec21d4cb30580f0a3d91f9e21b16793045c940dfb3d46de46e966865ee5809eddac8699297a558811b5b6d540b4c942e596e361b9f1b4294464b67c0dcc7 SHA512 da7eb95c87693dc617a272714eb99dc8b7562c1543ec75b81e7643f2f6a65b2df7a95fe0cf9303c10a73e8752a17c6450bb1b27d22880063c32c7348840d29fa -MISC metadata.xml 608 BLAKE2B 7492ab0cc9545ce95a721aff6d1f9c5fd56cd94f4627d4bf70dd82349d8c3dff917e9d9e078d075d9c370a13314c865960fcf42b1603b76e5caf40fefe828b1d SHA512 05e9c4d8f92ce5ffabefe6ecab78023c2b0df2c6cc83e7e9c6db837b94b5c3c0f8248d5a3179641eec3513cd646557d2a1028283a03059c722be42c2f230481a diff --git a/app-admin/lsat/files/lsat-0.9.7.1-gentoo.patch b/app-admin/lsat/files/lsat-0.9.7.1-gentoo.patch deleted file mode 100644 index 631dcd7322f7..000000000000 --- a/app-admin/lsat/files/lsat-0.9.7.1-gentoo.patch +++ /dev/null @@ -1,42 +0,0 @@ -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/files/lsat-0.9.7.1-segfault-fix.patch b/app-admin/lsat/files/lsat-0.9.7.1-segfault-fix.patch deleted file mode 100644 index 558c8de60321..000000000000 --- a/app-admin/lsat/files/lsat-0.9.7.1-segfault-fix.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- lsat-0.9.7.1/lsatmain.c.orig 2008-12-29 11:09:04.000000000 -0500 -+++ lsat-0.9.7.1/lsatmain.c 2008-12-29 13:31:00.000000000 -0500 -@@ -232,7 +232,7 @@ int versions(char release[], char kernel - } /* end while (fgets...) */ - close(fileval); - /* clean up even though we will rm it */ -- close(infile); -+ close((int)infile); - - if ( (system("rm -f /tmp/lsat1.lsat")) < 0) - { -@@ -308,9 +308,9 @@ int main(int argc, char *argv[]) - */ - char release[50]; /* array for release level */ - char kernel[50]; /* what kernel user is running */ -- static char *man_distro; /* if the user specifies a distribution */ -+ static char man_distro[10]; /* if the user specifies a distribution */ - const char * header =NULL; /* to print out the header */ -- static char *out_file = "lsat.out"; /* output filename var */ -+ static char out_file[255] = "lsat.out"; /* output filename var */ - char xlist[100]; /* modules to exclude */ - int xarray[33] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; - int somethinginxlist = 0; -@@ -350,10 +350,10 @@ int main(int argc, char *argv[]) - diff = 1; - break; - case 'm': -- strcpy(man_distro, argv[i]+3); -+ strncpy(man_distro, argv[i]+3,sizeof(man_distro)); - break; - case 'o': -- strcpy(out_file, argv[i]+3); -+ strncpy(out_file, argv[i]+3,sizeof(out_file)); - break; - case 'r': - rpmmodule = 1; -@@ -366,7 +366,7 @@ int main(int argc, char *argv[]) - break; - case 'w': - html = 1; -- out_file="lsat.html"; -+ strcpy(out_file,"lsat.html"); - break; - case 'x': strcpy(xlist,argv[i]+3); - somethinginxlist = 1; diff --git a/app-admin/lsat/lsat-0.9.7.1-r2.ebuild b/app-admin/lsat/lsat-0.9.7.1-r2.ebuild deleted file mode 100644 index c1285e7e6de2..000000000000 --- a/app-admin/lsat/lsat-0.9.7.1-r2.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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=" - ${DEPEND} - !minimal? ( - app-portage/portage-utils - net-analyzer/nmap - sys-apps/iproute2 - sys-apps/which - sys-process/lsof - )" - -PATCHES=( - "${FILESDIR}/${P}-gentoo.patch" - "${FILESDIR}/${P}-segfault-fix.patch" -) - -HTML_DOCS=( modules.html changelog/changelog.html ) - -src_prepare() { - default - - # patch for segmentation fault see bug #184488 - sed -i Makefile.in \ - -e '/^LDFLAGS=/d' \ - -e '/^CFLAGS=/d' \ - || die "sed Makefile.in" -} - -src_compile() { - tc-export CC - emake CFLAGS="${CFLAGS}" all manpage -} - -src_install() { - emake DESTDIR="${D}" install installman - dodoc README* *.txt - einstalldocs -} diff --git a/app-admin/lsat/metadata.xml b/app-admin/lsat/metadata.xml deleted file mode 100644 index 301bfd358039..000000000000 --- a/app-admin/lsat/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - Linux Security Auditing Tool (LSAT) is a post install security auditing - tool. It is modular in design, so new features can be added quickly. It - checks inetd entries and scans for unneeded RPM packages. It is being - expanded to work with Linux distributions other than Red Hat, and checks - for kernel versions. - </longdescription> - <upstream> - <remote-id type="sourceforge">usat</remote-id> - </upstream> -</pkgmetadata> |