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

Contents of /rpms/ppp/sme9/ppp-2.4.2-pie.patch

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


Revision 1.1 - (show annotations) (download)
Wed Mar 6 22:45:21 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: ppp-2_4_5-24_fc19, ppp-2_4_5-24_el6_sme, HEAD
Initial import

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