pptpd: bump to version 1.4.0 (fix bugs #12909, #15490, #15635)
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 May 2014 11:02:55 +0000 (11:02 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 May 2014 11:02:55 +0000 (11:02 +0000)
Old pptpd 1.3.4 suffers from an old bug that gcc 4.8 has apparently brought
to surface (analysed in bug #12909).

The problem has been fixed upstream and is included in 1.4.0 release from
October 2013.
http://sourceforge.net/p/poptop/mailman/message/30453437/
http://sourceforge.net/p/poptop/git/ci/db9a847936fa1c890d337ed609b9d3600834870a/
http://sourceforge.net/projects/poptop/

The patch bumps pptpd from 6-year old 1.3.4 to 1.4.0.

Related bugs #15428, #15635, #12909, #15490.
https://dev.openwrt.org/ticket/12909
https://dev.openwrt.org/ticket/15428  (AA12.09)
https://dev.openwrt.org/ticket/15490
https://dev.openwrt.org/ticket/15635

I have compiled and briefly tested on ar71xx/wndr3700 with trunk.

signed-off-by: hannu.nyman@iki.fi

SVN-Revision: 40671

net/pptpd/Makefile
net/pptpd/patches/001-bad_pqueue_debug.patch
net/pptpd/patches/002-makefile_fix.patch
net/pptpd/patches/003-opt_flags.patch

index 40982c29819b8e550d9110892501701bd0ccfe12..2a44c7cb5703d992c0c9db3e5800beedf48be758 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pptpd
-PKG_VERSION:=1.3.4
-PKG_RELEASE:=2
+PKG_VERSION:=1.4.0
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/poptop
-PKG_MD5SUM:=b38df9c431041922c997c1148bedf591
+PKG_MD5SUM:=36f9f45c6ffa92bc3b6e24ae2d053505
 
 PKG_INSTALL:=1
 
index 8e8f5a5ebefc93851adbcb9875dc1ec161a2f5eb..50d5252840bce4999ef6583559c81aa8365f4f69 100644 (file)
@@ -1,5 +1,5 @@
---- pptpd-1.3.4.orig/pqueue.c  2005-08-03 10:53:22.000000000 +0200
-+++ pptpd-1.3.4/pqueue.c       2009-12-03 17:47:26.976174000 +0100
+--- a/pqueue.c
++++ b/pqueue.c
 @@ -7,13 +7,11 @@
  #include "pqueue.h"
  
index 554b0a1d2bdda64408e81e1b074d0bb16f75ac48..74e333509a947a809d5c7c24016b2a9c8321de50 100644 (file)
@@ -1,5 +1,5 @@
---- pptpd-1.3.4.orig/plugins/Makefile  2006-08-03 04:02:01.000000000 +0200
-+++ pptpd-1.3.4/plugins/Makefile       2009-12-03 21:18:09.678467590 +0100
+--- a/plugins/Makefile
++++ b/plugins/Makefile
 @@ -18,7 +18,7 @@ all: $(PLUGINS)
  %.so: %.c
        $(CC) -o $@ $(LDFLAGS) $(CFLAGS) $^ $(LDADD)
index 213fb0374d9cc893b96e7acc463b925e71b9ed71..cc136c51676fff1e8c88572bf943306a10e2e174 100644 (file)
@@ -1,7 +1,6 @@
-diff -ruN pptpd-1.3.0-old/Makefile.in pptpd-1.3.0-new/Makefile.in
---- pptpd-1.3.0-old/Makefile.in        2005-08-03 09:47:42.000000000 +0200
-+++ pptpd-1.3.0-new/Makefile.in        2006-10-27 18:22:00.000000000 +0200
-@@ -106,7 +106,7 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -153,7 +153,7 @@ AUTOMAKE = @AUTOMAKE@
  AWK = @AWK@
  CC = @CC@
  CCDEPMODE = @CCDEPMODE@