From e4e47582c515c7ca6d1d41f368c0f16f154054ad Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 3 May 2014 11:02:55 +0000 Subject: [PATCH] pptpd: bump to version 1.4.0 (fix bugs #12909, #15490, #15635) 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 | 8 ++++---- net/pptpd/patches/001-bad_pqueue_debug.patch | 4 ++-- net/pptpd/patches/002-makefile_fix.patch | 4 ++-- net/pptpd/patches/003-opt_flags.patch | 7 +++---- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/net/pptpd/Makefile b/net/pptpd/Makefile index 40982c2981..2a44c7cb57 100644 --- a/net/pptpd/Makefile +++ b/net/pptpd/Makefile @@ -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 diff --git a/net/pptpd/patches/001-bad_pqueue_debug.patch b/net/pptpd/patches/001-bad_pqueue_debug.patch index 8e8f5a5ebe..50d5252840 100644 --- a/net/pptpd/patches/001-bad_pqueue_debug.patch +++ b/net/pptpd/patches/001-bad_pqueue_debug.patch @@ -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" diff --git a/net/pptpd/patches/002-makefile_fix.patch b/net/pptpd/patches/002-makefile_fix.patch index 554b0a1d2b..74e333509a 100644 --- a/net/pptpd/patches/002-makefile_fix.patch +++ b/net/pptpd/patches/002-makefile_fix.patch @@ -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) diff --git a/net/pptpd/patches/003-opt_flags.patch b/net/pptpd/patches/003-opt_flags.patch index 213fb0374d..cc136c5167 100644 --- a/net/pptpd/patches/003-opt_flags.patch +++ b/net/pptpd/patches/003-opt_flags.patch @@ -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@ -- 2.30.2