From 35b1059cdca9aed8a649960d4ba7aeb32e348a45 Mon Sep 17 00:00:00 2001 From: Paul Wouters Date: Tue, 31 Mar 2015 13:41:39 -0400 Subject: [PATCH] - Rebuild with -DTRUST_PPPD_TO_DIE so pppd will execute its down script --- xl2tpd.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xl2tpd.spec b/xl2tpd.spec index 0e0d978..13f663f 100644 --- a/xl2tpd.spec +++ b/xl2tpd.spec @@ -3,7 +3,7 @@ Summary: Layer 2 Tunnelling Protocol Daemon (RFC 2661) Name: xl2tpd Version: 1.3.6 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL+ Url: https://github.com/xelerance/%{name}/ Group: System Environment/Daemons @@ -58,10 +58,10 @@ It was de-facto maintained by Jacco de Leeuw in 2002 and 2003. %build #make DFLAGS="$RPM_OPT_FLAGS -g -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_FLOW -DDEBUG_PAYLOAD -DDEBUG_CONTROL -DDEBUG_CONTROL_XMIT -DDEBUG_FLOW_MORE -DDEBUG_MAGIC -DDEBUG_ENTROPY -DDEBUG_HIDDEN -DDEBUG_PPPD -DDEBUG_AAA -DDEBUG_FILE -DDEBUG_FLOW -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_ZLB -DDEBUG_AUTH" -export CFLAGS="$CFLAGS -fPIC -Wall" +export CFLAGS="$CFLAGS -fPIC -Wall -DTRUST_PPPD_TO_DIE" export DFLAGS="$RPM_OPT_FLAGS -g " export LDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" -make +make %install rm -rf %{buildroot} @@ -111,6 +111,9 @@ install -p -D -m755 -d %{buildroot}%{_localstatedir}/run/xl2tpd %ghost %attr(0600,root,root) %{_localstatedir}/run/xl2tpd/l2tp-control %changelog +* Tue Mar 31 2015 Paul Wouters - 1.3.6-7 +- Rebuild with -DTRUST_PPPD_TO_DIE so pppd will execute its down script + * Thu Aug 21 2014 Kevin Fenzi - 1.3.6-6 - Rebuild for rpm bug 1131960