/[smeserver]/rpms/ppp/sme10/ppp-2.4.2-pie.patch
ViewVC logotype

Annotation of /rpms/ppp/sme10/ppp-2.4.2-pie.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Feb 4 13:23:45 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: ppp-2_4_5-24_el7_sme, HEAD
sme10 branch

1 vip-ire 1.1 diff -up ppp-2.4.4/chat/Makefile.linux.pie ppp-2.4.4/chat/Makefile.linux
2     --- ppp-2.4.4/chat/Makefile.linux.pie 2008-08-28 17:34:49.000000000 -0400
3     +++ ppp-2.4.4/chat/Makefile.linux 2008-08-28 17:34:49.000000000 -0400
4     @@ -18,7 +18,7 @@ INSTALL= install
5     all: chat
6    
7     chat: chat.o
8     - $(CC) -o chat chat.o
9     + $(CC) -pie -o chat chat.o
10    
11     chat.o: chat.c
12     $(CC) -c $(CFLAGS) -o chat.o chat.c
13     diff -up ppp-2.4.4/pppd/Makefile.linux.pie ppp-2.4.4/pppd/Makefile.linux
14     --- ppp-2.4.4/pppd/Makefile.linux.pie 2008-08-28 17:34:49.000000000 -0400
15     +++ ppp-2.4.4/pppd/Makefile.linux 2008-08-28 17:35:38.000000000 -0400
16     @@ -207,7 +207,7 @@ install: pppd
17     $(INSTALL) -c -m 444 pppd.8 $(MANDIR)
18    
19     pppd: $(PPPDOBJS)
20     - $(CC) $(CFLAGS) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
21     + $(CC) $(CFLAGS) -pie $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
22    
23     srp-entry: srp-entry.c
24     $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed