Accepting request 243897 from home:sfalken:branches:Publishing
- Updated to 4.14 * No UTF-8 Support yet, Basically a maintenance release. * GNU a2ps is now licensed under GPLv3 or later * Can now be built with Modern GNU Autotools, and gcc>=3.4 * Numerous minor bugfixes, including: * input buffer overflow * IA64, PPC, and AMD64 fixes * Several security issues (CVE-2004-1377) * Addition of a number of new stylesheets * Translations for Japanese, Dutch, and French added/updated - Patches rebased for 4.14 sources * Added: a2ps-4.14-acroread.patch a2ps-4.14-linker.patch a2ps-4.14-ogonkify.patch a2ps-4.14-tempfile.patch a2ps-4.14.diff * Removed: a2ps-4.13.acroread.patch a2ps-4.13.linker.patch a2ps-4.13-ogonkify.patch a2ps-4.13-tempfile.patch a2ps-4.13.dif a2ps-4.13-gv-arguments.patch a2ps-4.13-nb.patch a2ps-4.13-space.patch * Modified: CVE-2014-0466.diff - Deleted a2ps-4.13.tar.gz, replaced with a2ps-4.14.tar.gz - a2ps.spec cleanup, and updating to work with new sources. OBS-URL: https://build.opensuse.org/request/show/243897 OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
4fb2bd6c22
commit
eb180fc106
51
a2ps.spec
51
a2ps.spec
@@ -27,41 +27,39 @@ BuildRequires: psutils
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: xorg-x11-devel
|
||||
%if %suse_version > 1220
|
||||
BuildRequires: gperf
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: texinfo
|
||||
%endif
|
||||
Url: http://www.gnu.org/software/a2ps/a2ps.html
|
||||
Provides: a2ps-bin
|
||||
Requires: /bin/sed
|
||||
Requires: /usr/bin/file
|
||||
Requires: /usr/bin/iconv
|
||||
Requires: /usr/bin/w3m
|
||||
Requires: /usr/bin/wdiff
|
||||
Requires: ghostscript-fonts-std
|
||||
Requires: pkgconfig(file)
|
||||
Requires: pkgconfig(glibc)
|
||||
Requires: pkgconfig(sed)
|
||||
Requires: pkgconfig(w3m)
|
||||
Requires: pkgconfig(wdiff)
|
||||
Suggests: acroread gv ImageMagick psutils texinfo texlive-latex
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 4.13
|
||||
Version: 4.14
|
||||
Release: 0
|
||||
Summary: Converts ASCII Text into PostScript
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Publishing/PS
|
||||
Source: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}b.tar.gz
|
||||
Source: http://ftp.gnu.org/gnu/a2ps/%{name}-%{version}.tar.gz
|
||||
Source1: a2ps-ko.po
|
||||
Source2: a2ps-open
|
||||
Patch: a2ps-4.13.dif
|
||||
Patch: a2ps-4.14.diff
|
||||
Patch1: a2ps-4.13-security.patch
|
||||
Patch2: a2ps-4.13-ogonkify.patch
|
||||
Patch3: a2ps-4.13-tempfile.patch
|
||||
Patch4: a2ps-4.13-space.patch
|
||||
Patch5: a2ps-4.13-nb.patch
|
||||
Patch2: a2ps-4.14-ogonkify.patch
|
||||
Patch3: a2ps-4.14-tempfile.patch
|
||||
Patch6: a2ps-4.13-include.patch
|
||||
Patch7: a2ps-4.13-acroread.patch
|
||||
Patch7: a2ps-4.14-acroread.patch
|
||||
Patch8: a2ps-4.13-base.patch
|
||||
Patch9: a2ps-4.13-utf8.patch
|
||||
Patch10: a2ps-4.13-types.patch
|
||||
Patch11: a2ps-4.13-psgen.patch
|
||||
Patch12: a2ps-4.13-gv-arguments.patch
|
||||
Patch13: a2ps-4.13-linker.patch
|
||||
Patch13: a2ps-4.14-linker.patch
|
||||
# PATCH-FIX-USTREAM Bug 871097 - CVE-2014-0466: a2ps: fixps does not use -dSAFER
|
||||
Patch14: CVE-2014-0466.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -90,27 +88,23 @@ PostScript. Only language text which can be converted from UTF-8 to
|
||||
latin encodings are supported.
|
||||
|
||||
%prep
|
||||
%setup -q -n a2ps-4.13
|
||||
%setup -q -n a2ps-4.14
|
||||
touch -r configure.in .ref
|
||||
%patch -P 1 -p 0 -b .security
|
||||
%patch -P 2 -p 0 -b .ogonkify
|
||||
%patch -P 3 -p 1 -b .tempfile
|
||||
%patch -P 4 -p 0 -b .space
|
||||
%patch -P 5 -p 0 -b .nb
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch -P 6 -p 1 -b .incld
|
||||
%ifarch %ix86 x86_64
|
||||
%patch -P 7 -p 0 -b .acroread
|
||||
%patch7 -p1
|
||||
%endif
|
||||
%patch -P 8 -p 0 -b .base
|
||||
%patch -P 9 -p 0 -b .utf8
|
||||
%patch -P 10 -p 0 -b .types
|
||||
%patch -P 11 -p 0 -b .psgen
|
||||
%patch -P 12 -p 1 -b .gvarg
|
||||
%patch -P 13 -p 0 -b .ldso
|
||||
%patch -P 14 -p 1 -b .cve140466
|
||||
%patch
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch -p1
|
||||
cp -f %SOURCE1 po/ko.po
|
||||
rename no nb po/no.*
|
||||
|
||||
%build
|
||||
#XXX: ugly hack; necessary??
|
||||
@@ -118,7 +112,6 @@ rename no nb po/no.*
|
||||
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -funroll-loops -Wall -pipe -fstack-protector"
|
||||
export LPR=lpr
|
||||
export CC=gcc
|
||||
export LEX="flex -Cfe"
|
||||
touch -r .ref configure.in
|
||||
%configure --enable-shared --disable-static --with-pic --with-medium=LC_PAPER \
|
||||
--with-encoding=LC_CTYPE
|
||||
@@ -156,8 +149,8 @@ rename no nb po/no.*
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ABOUT-NLS FAQ ChangeLog NEWS THANKS README doc/a2ps.html
|
||||
%config /etc/a2ps-site.cfg
|
||||
%config /etc/a2ps.cfg
|
||||
%config %{_sysconfdir}/a2ps-site.cfg
|
||||
%config %{_sysconfdir}/a2ps.cfg
|
||||
%{_bindir}/a2ps
|
||||
%{_bindir}/a2ps-open
|
||||
%{_bindir}/card
|
||||
|
Reference in New Issue
Block a user