rpms/sane-backends/devel sane-backends.spec,1.142,1.143
Nils Philippsen
nphilipp at fedoraproject.org
Fri Jun 25 15:35:25 UTC 2010
Author: nphilipp
Update of /cvs/pkgs/rpms/sane-backends/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8095
Modified Files:
sane-backends.spec
Log Message:
build with -fno-strict-aliasing
use PIC/PIE because SANE-enabled software is likely to deal with data coming from untrusted sources (client <-> saned via network)
Index: sane-backends.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sane-backends/devel/sane-backends.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -p -r1.142 -r1.143
--- sane-backends.spec 25 Jun 2010 15:29:04 -0000 1.142
+++ sane-backends.spec 25 Jun 2010 15:35:25 -0000 1.143
@@ -1,7 +1,7 @@
Summary: Scanner access software
Name: sane-backends
Version: 1.0.21
-Release: 2%{?dist}
+Release: 3%{?dist}
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
# Tools are GPLv2+, docs are public domain
# see LICENSE for details
@@ -90,6 +90,10 @@ want to access digital cameras.
%patch100 -p1 -b .automake
%build
+# use PIC/PIE because SANE-enabled software is likely to deal with data coming
+# from untrusted sources (client <-> saned via network)
+CFLAGS="-fPIC %optflags -fno-strict-aliasing"
+LDFLAGS="-pie"
%configure \
--with-gphoto2=%{_prefix} \
--with-docdir=%{_docdir}/%{name}-%{version} \
@@ -158,6 +162,11 @@ rm -rf %{buildroot}
%{_libdir}/pkgconfig/sane-backends.pc
%changelog
+* Fri Jun 25 2010 Nils Philippsen <nils at redhat.com> - 1.0.21-3
+- build with -fno-strict-aliasing
+- use PIC/PIE because SANE-enabled software is likely to deal with data coming
+ from untrusted sources (client <-> saned via network)
+
* Mon Jun 07 2010 Nils Philippsen <nils at redhat.com>
- rectify devel subpackage description
More information about the scm-commits
mailing list