]> git.pld-linux.org Git - packages/ppp.git/commitdiff
Up to 2.4.9
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Jan 2021 10:39:27 +0000 (12:39 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 6 Jan 2021 10:52:32 +0000 (12:52 +0200)
- Updated ppp-lib64.patch, ppp-rp-pppoe-macaddr.patch patches
- Dropped ppp-expect.patch (no longer relevant)
- Needs updating/dropping: -make.patch, -2.4.3-mppe-mppc-1.1.patch

rp-pppoe.so is now symlink to pppoe.so

refs:
- https://github.com/paulusmack/ppp/issues/111

ppp-expect.patch [deleted file]
ppp-lib64.patch
ppp-rp-pppoe-macaddr.patch
ppp.spec

diff --git a/ppp-expect.patch b/ppp-expect.patch
deleted file mode 100644 (file)
index 40dca60..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
---- ppp-2.3.7/scripts/secure-card      Tue Oct  3 07:31:20 1995
-+++ ppp-2.3.7.new/scripts/secure-card  Wed Apr 28 17:11:19 1999
-@@ -1,4 +1,4 @@
--#!/usr/local/bin/expect -f
-+#!/usr/bin/expect -f
- #
- # This  script was  written  by  Jim Isaacson  <jcisaac@crl.com>.  It is
- # designed to work  as a script to use the  SecureCARD(tm) device.  This
index bf21d49eb5be45d9eda9d39274f9a45c63e117ab..49475aec03dc168a90dcf29aa2c0e50481f9f1d6 100644 (file)
@@ -49,9 +49,8 @@ diff -urN ppp-2.4.4.org/pppd/plugins/radius/Makefile.linux ppp-2.4.4/pppd/plugin
  
  VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
  
  
  VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
  
-diff -urN ppp-2.4.4.org/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.4/pppd/plugins/rp-pppoe/Makefile.linux
---- ppp-2.4.4.org/pppd/plugins/rp-pppoe/Makefile.linux 2006-07-09 13:32:56.401363000 +0200
-+++ ppp-2.4.4/pppd/plugins/rp-pppoe/Makefile.linux     2006-07-09 13:33:28.523371000 +0200
+--- ppp-2.4.4.org/pppd/plugins/pppoe/Makefile.linux    2006-07-09 13:32:56.401363000 +0200
++++ ppp-2.4.4/pppd/plugins/pppoe/Makefile.linux        2006-07-09 13:33:28.523371000 +0200
 @@ -15,7 +15,7 @@
  
  DESTDIR = $(INSTROOT)@DESTDIR@
 @@ -15,7 +15,7 @@
  
  DESTDIR = $(INSTROOT)@DESTDIR@
@@ -61,12 +60,12 @@ diff -urN ppp-2.4.4.org/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.4/pppd/plug
  
  PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
  
  
  PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
  
---- ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux~    2010-05-23 20:09:01.894181407 +0200
-+++ ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux     2010-05-23 20:10:05.074174654 +0200
-@@ -7,7 +7,7 @@
- #***********************************************************************
+--- ppp-2.4.9/pppd/plugins/pppol2tp/Makefile.linux~    2021-01-05 01:06:37.000000000 +0200
++++ ppp-2.4.9/pppd/plugins/pppol2tp/Makefile.linux     2021-01-06 12:47:44.418302301 +0200
+@@ -4,7 +4,7 @@
+ COPTS=@CFLAGS@
  
  
- DESTDIR = @DESTDIR@
+ DESTDIR = $(INSTROOT)/@DESTDIR@
 -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
 +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION)
  
 -LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
 +LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION)
  
index 8a391fdff5c650b5fce8726ade3a18b2ab740e4d..84ceadeeebfec1c3a97c4bc1ce718ae19c3b552e 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN ppp-2.4.2-20020901.org/pppd/plugins/rp-pppoe/plugin.c ppp-2.4.2-20020901/pppd/plugins/rp-pppoe/plugin.c
---- ppp-2.4.2-20020901.org/pppd/plugins/rp-pppoe/plugin.c      Tue Sep  3 22:16:35 2002
-+++ ppp-2.4.2-20020901/pppd/plugins/rp-pppoe/plugin.c  Tue Sep  3 22:17:41 2002
+--- ppp-2.4.2-20020901.org/pppd/plugins/pppoe/plugin.c Tue Sep  3 22:16:35 2002
++++ ppp-2.4.2-20020901/pppd/plugins/pppoe/plugin.c     Tue Sep  3 22:17:41 2002
 @@ -174,6 +174,8 @@
            (unsigned) conn->peerEth[4],
            (unsigned) conn->peerEth[5]);
 @@ -174,6 +174,8 @@
            (unsigned) conn->peerEth[4],
            (unsigned) conn->peerEth[5]);
index 140ee24288689778f2d389c7e11f189cbc9ca6bd..ccc65a959269292b498f249f843f07fedbbd798c 100644 (file)
--- a/ppp.spec
+++ b/ppp.spec
@@ -17,13 +17,13 @@ Summary(ru.UTF-8):  Демон ppp
 Summary(tr.UTF-8):     PPP sunucu süreci
 Summary(zh_CN.UTF-8):  PPP 配置和管理软件包
 Name:          ppp
 Summary(tr.UTF-8):     PPP sunucu süreci
 Summary(zh_CN.UTF-8):  PPP 配置和管理软件包
 Name:          ppp
-Version:       2.4.8
-Release:       1
+Version:       2.4.9
+Release:       0.1
 Epoch:         3
 License:       distributable
 Group:         Networking/Daemons
 Epoch:         3
 License:       distributable
 Group:         Networking/Daemons
-Source0:       https://www.samba.org/ftp/ppp/%{name}-%{version}.tar.gz
-# Source0-md5: 2ca8342b9804be15103fd3f687af701c
+Source0:       https://download.samba.org/pub/ppp/%{name}-%{version}.tar.gz
+# Source0-md5: c88153ae3d16ae114152cd3c15c7301d
 Source1:       %{name}.pamd
 Source2:       %{name}.pon
 Source3:       %{name}.poff
 Source1:       %{name}.pamd
 Source2:       %{name}.pon
 Source3:       %{name}.poff
@@ -31,7 +31,6 @@ Source4:      http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-ma
 # Source4-md5: 3801b59005bef8f52856300fe3167a64
 Source5:       %{name}.logrotate
 Patch0:                %{name}-make.patch
 # Source4-md5: 3801b59005bef8f52856300fe3167a64
 Source5:       %{name}.logrotate
 Patch0:                %{name}-make.patch
-Patch1:                %{name}-expect.patch
 Patch2:                %{name}-debian_scripts.patch
 Patch3:                %{name}-static.patch
 Patch4:                %{name}-pidfile-owner.patch
 Patch2:                %{name}-debian_scripts.patch
 Patch3:                %{name}-static.patch
 Patch4:                %{name}-pidfile-owner.patch
@@ -44,7 +43,7 @@ Patch9:               %{name}-lib64.patch
 Patch10:       %{name}-2.4.3-mppe-mppc-1.1.patch
 Patch11:       %{name}-ifpppstatsreq.patch
 Patch12:       %{name}-libx32.patch
 Patch10:       %{name}-2.4.3-mppe-mppc-1.1.patch
 Patch11:       %{name}-ifpppstatsreq.patch
 Patch12:       %{name}-libx32.patch
-URL:           http://ppp.samba.org/
+URL:           https://ppp.samba.org/
 BuildRequires: libpcap-devel >= 2:0.8.1
 %{?with_pppoatm:BuildRequires: linux-atm-devel}
 # <linux/if_pppol2tp.h>
 BuildRequires: libpcap-devel >= 2:0.8.1
 %{?with_pppoatm:BuildRequires: linux-atm-devel}
 # <linux/if_pppol2tp.h>
@@ -118,8 +117,7 @@ Wtyczka PPPoATM dla pppd.
 
 %prep
 %setup -q
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+#%patch0 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
@@ -130,7 +128,7 @@ Wtyczka PPPoATM dla pppd.
 %patch9 -p1
 %endif
 %if %{with mppc}
 %patch9 -p1
 %endif
 %if %{with mppc}
-%patch10 -p1
+#%patch10 -p1
 %endif
 %patch11 -p1
 %if "%{_lib}" == "libx32"
 %endif
 %patch11 -p1
 %if "%{_lib}" == "libx32"
@@ -217,13 +215,14 @@ fi
 %dir %{_libdir}/pppd/plugins
 %attr(755,root,root) %{_libdir}/pppd/plugins/minconn.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/openl2tp.so
 %dir %{_libdir}/pppd/plugins
 %attr(755,root,root) %{_libdir}/pppd/plugins/minconn.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/openl2tp.so
-%attr(755,root,root) %{_libdir}/pppd/plugins/pppol2tp.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/passprompt.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/passwordfd.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/passprompt.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/passwordfd.so
-%attr(755,root,root) %{_libdir}/pppd/plugins/rp-pppoe.so
+%attr(755,root,root) %{_libdir}/pppd/plugins/pppoe.so
+%attr(755,root,root) %{_libdir}/pppd/plugins/pppol2tp.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radattr.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radius.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radrealms.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radattr.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radius.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/radrealms.so
+%attr(755,root,root) %{_libdir}/pppd/plugins/rp-pppoe.so
 %attr(755,root,root) %{_libdir}/pppd/plugins/winbind.so
 
 # TODO: legacy, try to drop
 %attr(755,root,root) %{_libdir}/pppd/plugins/winbind.so
 
 # TODO: legacy, try to drop
This page took 0.102556 seconds and 4 git commands to generate.