diff --git a/ppp-2.4.2-signal.patch b/ppp-2.4.2-signal.patch new file mode 100644 index 0000000..c6d79f8 --- /dev/null +++ b/ppp-2.4.2-signal.patch @@ -0,0 +1,12 @@ +--- ppp-2.4.2/pppd/main.c.signal 2004-01-13 05:00:34.000000000 +0100 ++++ ppp-2.4.2/pppd/main.c 2004-08-06 11:35:59.968454227 +0200 +@@ -1338,8 +1338,8 @@ + + act.sa_handler = SIG_IGN; + act.sa_flags = 0; +- sigaction(sig, &act, &oldact); + kill(0, sig); ++ sigaction(sig, &act, &oldact); + sigaction(sig, &oldact, NULL); + } + diff --git a/ppp.spec b/ppp.spec index 0c56df2..a532e80 100644 --- a/ppp.spec +++ b/ppp.spec @@ -1,7 +1,7 @@ Summary: The PPP (Point-to-Point Protocol) daemon. Name: ppp Version: 2.4.2 -Release: 3.1 +Release: 4 License: distributable Group: System Environment/Daemons Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz @@ -17,6 +17,7 @@ Patch6: ppp-2.4.2-dontwriteetc.patch Patch7: ppp-2.4.2-pie.patch Patch8: ppp-2.4.2-fix.patch Patch9: ppp-2.4.2-fix64.patch +Patch10: ppp-2.4.2-signal.patch BuildRoot: %{_tmppath}/%{name}-root BuildPrereq: pam-devel, libpcap @@ -43,6 +44,7 @@ organization over a modem and phone line. %patch7 -p1 -b .pie %patch8 -p1 -b .fix %patch9 -p1 -b .fix64 +%patch10 -p1 -b .signal find . -type f -name "*.sample" | xargs rm -f @@ -97,6 +99,9 @@ rm -rf $RPM_BUILD_ROOT %doc FAQ PLUGINS README README.cbcp README.linux README.MPPE README.MSCHAP80 README.MSCHAP81 README.pwfd README.pppoe scripts sample %changelog +* Fri Aug 6 2004 Thomas Woerner 2.4.2-4 +- fixed signal handling (#29171) + * Mon Jun 21 2004 Thomas Woerner 2.4.2-3.1 - fixed compiler warnings - fixed 64bit problem with ms-chap (#125501)