- bz955445 - am-utils package should be built with PIE flags
This commit is contained in:
parent
beda81100b
commit
027f675657
1 changed files with 11 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Summary: Automount utilities including an updated version of Amd
|
||||
Name: am-utils
|
||||
Version: 6.1.5
|
||||
Release: 26%{?dist}
|
||||
Release: 27%{?dist}
|
||||
License: BSD
|
||||
Epoch: 5
|
||||
Group: System Environment/Daemons
|
||||
|
|
@ -54,6 +54,10 @@ Patch5: am-utils-6.1.5-expn-temp.patch
|
|||
Patch6: am-utils-6.1.5-nolock-toplvl.patch
|
||||
# 566711 - am-utils: incorrect use of tcp_wrapper
|
||||
Patch7: am-utils-6.1.5-libwarp.patch
|
||||
# 955445 - am-utils package should be built with PIE flags
|
||||
Patch8: am-utils-6.1.5-use-_hardened_build-flag.patch
|
||||
|
||||
%global _hardened_build 1
|
||||
|
||||
# We need to filter out some perl requirements for now.
|
||||
%define _use_internal_dependency_generator 0
|
||||
|
|
@ -80,6 +84,7 @@ mounting and unmounting filesystems.
|
|||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
#%patch8 -p1
|
||||
|
||||
find_requires=%{old_find_requires}
|
||||
echo "$find_requires | grep -v lostaltmail.conf" > find-requires
|
||||
|
|
@ -89,7 +94,7 @@ chmod +x find-requires
|
|||
./bootstrap
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-am-cflags="${RPM_OPT_FLAGS} -DHAVE_LINUX_NFS_MOUNT_H" \
|
||||
--enable-am-cflags="-DHAVE_LINUX_NFS_MOUNT_H" \
|
||||
--enable-libs="-lnsl -lresolv"
|
||||
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
|
|
@ -191,6 +196,10 @@ fi
|
|||
%{_libdir}/libamu.so*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 18 2013 Ian Kent <ikent@redhat.com> - 5:6.1.5-27
|
||||
- bz955445 - am-utils package should be built with PIE flags
|
||||
- use _hardened_build flag.
|
||||
|
||||
* Mon Feb 18 2013 Ian Kent <ikent@redhat.com> - 5:6.1.5-26
|
||||
- add BuildRequires for texinfo.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue