ppp-2.4.3-local.patch 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. diff -up ppp-2.4.4/configure.local ppp-2.4.4/configure
  2. --- ppp-2.4.4/configure.local 2005-07-08 20:23:05.000000000 -0400
  3. +++ ppp-2.4.4/configure 2008-08-28 17:38:04.000000000 -0400
  4. @@ -2,7 +2,7 @@
  5. # $Id: configure,v 1.38 2008/06/15 07:08:49 paulus Exp $
  6. # Where to install stuff by default
  7. -DESTDIR=/usr/local
  8. +DESTDIR=/usr
  9. SYSCONF=/etc
  10. # if [ -d /NextApps ]; then
  11. diff -up ppp-2.4.4/pppd/Makefile.linux.local ppp-2.4.4/pppd/Makefile.linux
  12. --- ppp-2.4.4/pppd/Makefile.linux.local 2008-08-28 17:37:33.000000000 -0400
  13. +++ ppp-2.4.4/pppd/Makefile.linux 2008-08-28 17:37:33.000000000 -0400
  14. @@ -97,8 +97,8 @@ endif
  15. # EAP SRP-SHA1
  16. ifdef USE_SRP
  17. -CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include
  18. -LIBS += -lsrp -L/usr/local/ssl/lib -lcrypto
  19. +CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/include/openssl
  20. +LIBS += -lsrp -L/usr/lib -lcrypto
  21. TARGETS += srp-entry
  22. EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry
  23. MANPAGES += srp-entry.8
  24. diff -up ppp-2.4.4/scripts/ppp-on-rsh.local ppp-2.4.4/scripts/ppp-on-rsh
  25. --- ppp-2.4.4/scripts/ppp-on-rsh.local 2000-04-15 05:49:28.000000000 -0400
  26. +++ ppp-2.4.4/scripts/ppp-on-rsh 2008-08-28 17:37:33.000000000 -0400
  27. @@ -26,7 +26,7 @@ PPPD_RHOST=myremotehost
  28. # For this example, we assume that pppd on both local and remote
  29. # machines reside in the same place, /usr/local/bin/pppd
  30. #
  31. -PPPD_LOC=/usr/local/bin/pppd
  32. +PPPD_LOC=/usr/sbin/pppd
  33. #
  34. # The location of local options file (where rsh client is running).
  35. diff -up ppp-2.4.4/scripts/ppp-on-ssh.local ppp-2.4.4/scripts/ppp-on-ssh
  36. --- ppp-2.4.4/scripts/ppp-on-ssh.local 2000-04-15 05:49:42.000000000 -0400
  37. +++ ppp-2.4.4/scripts/ppp-on-ssh 2008-08-28 17:37:33.000000000 -0400
  38. @@ -26,7 +26,7 @@ PPPD_RHOST=myremotehost
  39. # For this example, we assume that pppd on both local and remote
  40. # machines reside in the same place, /usr/local/bin/pppd
  41. #
  42. -PPPD_LOC=/usr/local/bin/pppd
  43. +PPPD_LOC=/usr/sbin/pppd
  44. #
  45. # The location of local options file (where ssh client is running).
  46. @@ -52,7 +52,7 @@ PPPD_REM_OPT=/etc/ppp/options-ssh-rem
  47. #
  48. # The location of ssh client on the local machine
  49. #
  50. -SSH_LOC=/usr/local/bin/ssh
  51. +SSH_LOC=/usr/bin/ssh
  52. export PPPD_LOC PPPD_LOC_OPT PPPD_REM_OPT PPPD_RHOST SSH_LOC
  53. diff -up ppp-2.4.4/scripts/secure-card.local ppp-2.4.4/scripts/secure-card
  54. --- ppp-2.4.4/scripts/secure-card.local 2004-02-01 22:36:46.000000000 -0500
  55. +++ ppp-2.4.4/scripts/secure-card 2008-08-28 17:37:33.000000000 -0400
  56. @@ -1,4 +1,4 @@
  57. -#!/usr/local/bin/expect -f
  58. +#!/usr/bin/expect -f
  59. #
  60. # This script was written by Jim Isaacson <jcisaac@crl.com>. It is
  61. # designed to work as a script to use the SecureCARD(tm) device. This