diff --git a/.cvsignore b/.cvsignore index 0bd3260..2a8425f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -fbida-2.03.tar.gz +fbida-2.05.tar.gz diff --git a/fbgs.1.diff b/fbgs.1.diff new file mode 100644 index 0000000..3d90944 --- /dev/null +++ b/fbgs.1.diff @@ -0,0 +1,14 @@ +--- fbgs.man 2005-05-30 01:31:53.177642000 -0400 ++++ /tmp/fbgs1.gz.27328 2005-05-30 01:31:53.000000000 -0400 +@@ -8,9 +8,9 @@ + .B fbgs + is a simple wrapper script which takes a PostScript or pdf + file as input, renders the pages using ghostscript into a +-temporarely directory and finally calls fbi to display them. ++temporary directory and finally calls fbi to display them. + .SH OPTIONS +-fbps understands all fbi options (they are passed throuth). ++fbps understands all fbi options (they are passed through). + Additionally you can specify -l, -xl or -xxl to get the pages + rendered with 100, 120 or 150 dpi (default is 75). You can + use option -p if your PDF file requires password. diff --git a/fbi.1.diff b/fbi.1.diff new file mode 100644 index 0000000..ef7ce32 --- /dev/null +++ b/fbi.1.diff @@ -0,0 +1,11 @@ +--- fbi.man 2005-05-30 01:33:43.633949000 -0400 ++++ /tmp/fbi1.gz.27873 2005-05-30 01:33:43.000000000 -0400 +@@ -77,7 +77,7 @@ + preserve timestamps (when editing images). + .TP + .B --comments +-Display comment tags (if present) instead of the filename. Probaby ++Display comment tags (if present) instead of the filename. Probably + only useful if you added reasonable comments yourself (using wrjpgcom + for example), otherwise you likely just find texts pointing to the + software which created the image. diff --git a/fbida.CVE-2006-1695.patch b/fbida.CVE-2006-1695.patch deleted file mode 100644 index dc43c0e..0000000 --- a/fbida.CVE-2006-1695.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -ru fbida-2.01.orig/fbgs fbida-2.01/fbgs ---- fbida-2.01.orig/fbgs 2004-03-28 13:32:16.000000000 +0200 -+++ fbida-2.01/fbgs 2006-04-08 02:49:37.000000000 +0200 -@@ -1,8 +1,8 @@ - #!/bin/bash - - # tmp dir --DIR="${TMPDIR-/var/tmp}/fbps-$$" --mkdir -p $DIR || exit 1 -+DIR=`mktemp -dtp /tmp fbgs-XXXXXX` -+[ -d $DIR ] || exit 1 - trap "rm -rf $DIR" EXIT - - # parse options diff --git a/fbida.spec b/fbida.spec index 754849a..1789e7f 100644 --- a/fbida.spec +++ b/fbida.spec @@ -1,12 +1,13 @@ Summary: FrameBuffer Imageviewer Name: fbida -Version: 2.03 -Release: 12%{?dist} +Version: 2.05 +Release: 1%{?dist} License: GPL Group: Applications/Multimedia URL: http://linux.bytesex.org/fbida/ -Source: http://dl.bytesex.org/releases/fbida/fbida-2.03.tar.gz -Patch: fbida.CVE-2006-1695.patch +Source: http://dl.bytesex.org/releases/fbida/fbida-2.05.tar.gz +Patch0: fbgs.1.diff +Patch1: fbi.1.diff BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libexif-devel fontconfig-devel libjpeg-devel BuildRequires: libpng-devel libtiff-devel pkgconfig @@ -39,11 +40,11 @@ A wrapper script for viewing ps/pdf files on the framebuffer console using fbi %prep %setup -q -%patch -p1 +%patch0 +%patch1 %{__sed} -i -e "s,(INSTALL) -s,(INSTALL) ," mk/Variables.mk %{__sed} -i -e "s,/X11R6,,g" GNUmakefile %{__sed} -i -e "s,/usr/X11R6/lib/X11,%{_datadir}/X11,g" mk/Autoconf.mk -%{__sed} -i -e "s,-dSAVER,-dSAFER," fbgs %build LIB=%{_lib} prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags} @@ -83,6 +84,12 @@ lib=%{_lib} prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install %{_bindir}/fbgs %changelog +* Fri Jul 28 2006 Adrian Reber - 2.05-1 +- updated to 2.05 +- dropped fbida.CVE-2006-1695.patch (now included) +- dropped fix for #200321 (included in new release) +- added two patches from debian to fix typos in manpages + * Thu Jul 27 2006 Adrian Reber - 2.03-12 - security fix for #200321 diff --git a/sources b/sources index 40170cb..5072f01 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8fd76661686a38a7bcd251b7aadc73eb fbida-2.03.tar.gz +7a624bb9f08e76c80e79eca2fbbe770d fbida-2.05.tar.gz