diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2005-06-11 06:09:34 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2005-06-11 06:09:34 +0000 |
commit | 3c8580d26ed6801b68accd91cdf332a1acab6482 (patch) | |
tree | 95370ac83751c8739f001ef01ef53d4f42f2a109 /app-admin/lsat/files | |
parent | generated hardenednosspnopie spec files regardless of ssp/pie capabilities (diff) | |
download | gentoo-2-3c8580d26ed6801b68accd91cdf332a1acab6482.tar.gz gentoo-2-3c8580d26ed6801b68accd91cdf332a1acab6482.tar.bz2 gentoo-2-3c8580d26ed6801b68accd91cdf332a1acab6482.zip |
Verison bumped. Fixed runtime error. Bug 92231.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-admin/lsat/files')
-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 |
2 files changed, 34 insertions, 0 deletions
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 */ |