http://www.slax.org/modules.php?action=detail&id=26
I just threw myself on the task of trying to build the package. I thought I could use Wread hplip and build over it to get Gusterrapolis module. It seems essentially to be built on espgs:
http://www.linuxfromscratch.org/blfs/vi ... espgs.html
I need some help though. If I ever achieve the package, I will provide with the detailed steps needed to build this package for Porteus.
For now I am stuck with downloading the the patch for espgs-8.15.4:
http://www.linuxfromscratch.org/blfs/vi ... espgs.html
I made a copy of the text of the file, created a new file called espgs-8.15.4-bov_fix-1.patch, gave execute permission and put it in the folder /root/Downloads/espgs-8.15.4 where I unpacked the package for compilation. The patch comes as a text in this form:
Code: Select all
Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
Date: 2008-03-24
Initial Package Version: 8.15.4
Upstream Status: In GPL Ghostscript SVN
Origin: http://bugs.gentoo.org/attachment.cgi?id=143467
Description: Fixes a buffer overflow vulnerability
diff -Naur espgs-8.15.4-orig/src/zicc.c espgs-8.15.4/src/zicc.c
--- espgs-8.15.4-orig/src/zicc.c 2005-01-19 04:08:41.000000000 +0000
+++ espgs-8.15.4/src/zicc.c 2008-03-25 03:56:08.000000000 +0000
@@ -80,6 +80,9 @@
dict_find_string(op, "N", &pnval);
ncomps = pnval->value.intval;
+ if (2*ncomps > sizeof(range_buff)/sizeof(float))
+ return_error(e_rangecheck);
+
/* verify the DataSource entry */
if (dict_find_string(op, "DataSource", &pstrmval) <= 0)
return_error(e_undefined);
Code: Select all
bash-4.1# patch -Np1 -i ../espgs-8.15.4-bov_fix-1.patch &&
> sed -i "s/bbox.dev$/x11.dev/" Makefile.in &&
> ./configure --prefix=/usr \
> --enable-threads \
> --without-omni &&
> make
patch: **** Can't open patch file ../espgs-8.15.4-bov_fix-1.patch : No such file or directory
Any suggestion?