4505baafb8
* New pppd options have been added: * ifname, to set the name for the PPP interface device * defaultroute-metric, to set the metric for the default route * defaultroute6, to add an IPv6 default route (with nodefaultroute6 to prevent adding an IPv6 default route). * up_sdnotify, to have pppd notify systemd when the link is up. * The rp-pppoe plugin has new options: * host-uniq, to set the Host-Uniq value to send * pppoe-padi-timeout, to set the timeout for discovery packets * pppoe-padi-attempts, to set the number of discovery attempts. * Added the CLASS attribute in radius packets. * Fixed warnings and issues found by static analysis. - Obsoleted patches: [...] - Patches that got renamed, because they needed rediffing: [...] - bsc#1172916: Fix an outdated comment for lcp-echo-interval. OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=60
34 lines
966 B
Diff
34 lines
966 B
Diff
--- pppd/Makefile.linux.orig
|
|
+++ pppd/Makefile.linux
|
|
@@ -224,7 +224,7 @@ install: pppd
|
|
$(INSTALL) -m 644 pppd.8 $(MANDIR)
|
|
|
|
pppd: $(PPPDOBJS)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_PLUGIN) -o pppd $(PPPDOBJS) $(LIBS)
|
|
+ $(CC) $(CFLAGS) -pie -fPIC $(LDFLAGS) $(LDFLAGS_PLUGIN) -o pppd $(PPPDOBJS) $(LIBS)
|
|
|
|
srp-entry: srp-entry.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)
|
|
--- chat/Makefile.linux.orig
|
|
+++ chat/Makefile.linux
|
|
@@ -18,7 +18,7 @@ INSTALL= install
|
|
all: chat
|
|
|
|
chat: chat.o
|
|
- $(CC) $(LDFLAGS) -o chat chat.o
|
|
+ $(CC) -pie $(LDFLAGS) -o chat chat.o
|
|
|
|
chat.o: chat.c
|
|
$(CC) -c $(CFLAGS) -o chat.o chat.c
|
|
--- pppstats/Makefile.linux.orig
|
|
+++ pppstats/Makefile.linux
|
|
@@ -26,7 +26,7 @@ install: pppstats
|
|
$(INSTALL) -m 444 pppstats.8 $(MANDIR)
|
|
|
|
pppstats: $(PPPSTATSRCS)
|
|
- $(CC) $(CFLAGS) $(LDFLAGS) -o pppstats pppstats.c $(LIBS)
|
|
+ $(CC) $(CFLAGS) -pie -fPIE $(LDFLAGS) -o pppstats pppstats.c $(LIBS)
|
|
|
|
clean:
|
|
rm -f pppstats *~ #* core
|