Author: wtogami
Update of /cvs/extras/rpms/vpnc/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv10260
Modified Files:
vpnc.spec
Added Files:
vpnc-0.3.2-pie.patch
Log Message:
make PIE (davej)
vpnc-0.3.2-pie.patch:
--- NEW FILE vpnc-0.3.2-pie.patch ---
diff -urN vpnc-0.3.2.orig/Makefile vpnc-0.3.2/Makefile
--- vpnc-0.3.2.orig/Makefile 2004-11-12 13:23:36.000000000 -1000
+++ vpnc-0.3.2/Makefile 2004-12-23 17:10:30.885785175 -1000
@@ -22,7 +22,7 @@
MANDIR=$(PREFIX)/share/man
CC=gcc
-CFLAGS=-W -Wall -O -g '-DVERSION="$(shell cat VERSION)"' $(shell
libgcrypt-config --cflags)
+CFLAGS=-W -Wall -O2 -g -fpie -pie '-DVERSION="$(shell cat VERSION)"'
$(shell libgcrypt-config --cflags)
LDFLAGS=-g $(shell libgcrypt-config --libs)
ifeq ($(shell uname -s), Linux)
Index: vpnc.spec
===================================================================
RCS file: /cvs/extras/rpms/vpnc/devel/vpnc.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vpnc.spec 20 Dec 2004 20:46:38 -0000 1.1
+++ vpnc.spec 24 Dec 2004 03:16:24 -0000 1.2
@@ -1,6 +1,6 @@
Name: vpnc
Version: 0.3.2
-Release: 1
+Release: 2
Summary: IPSec VPN client compatible with Cisco equipment
Group: Applications/Internet
@@ -8,6 +8,7 @@
URL:
http://www.unix-ag.uni-kl.de/~massar/vpnc/
Source0: vpnc-0.3.2.tar.gz
Source1: generic-vpnc.conf
+Patch0: vpnc-0.3.2-pie.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libgcrypt-devel > 0:1.1.90
@@ -21,6 +22,7 @@
%prep
%setup -q
+%patch0 -p1
%build
make
@@ -43,5 +45,8 @@
/sbin/*
%changelog
+* Thu Dec 23 2004 Warren Togami <wtogami(a)redhat.com> 0.3.2-2
+- make PIE (davej)
+
* Mon Dec 20 2004 Warren Togami <wtogami(a)redhat.com> 0.3.2-1
- 0.3.2