flac: update to v1.3.1 (CVE-2014-8962, CVE-2014-9028)

This updates flac to the new upstream release v1.3.1 to fix two known CVEs.

Additionally the commit changes the following:
 * Drop custom Build/Configure recipe in favor to CONFIGURE_ARGS
 * Refreshes patches and removes changes to *.in files since they're
   regenerated by autoreconf anyway
 * Remove now obsolete 020-libFLAC-remove-altivec-options.patch
 * Add an md5sum for the source archive
 * Passes --enable-static to configure to force producing a libflac.a

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2015-01-10 19:39:35 +01:00
parent efe52d2fe5
commit 87d154e853
5 changed files with 32 additions and 155 deletions
+16 -18
View File
@@ -1,5 +1,5 @@
#
# Copyright (C) 2006-2014 OpenWrt.org
# Copyright (C) 2006-2015 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:=flac
PKG_VERSION:=1.2.1
PKG_VERSION:=1.3.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/flac
PKG_MD5SUM:=
PKG_MD5SUM:=b9922c9a0378c88d3e901b234f852698
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
PKG_INSTALL:=1
@@ -33,20 +33,18 @@ define Package/libflac
URL:=http://flac.sourceforge.net/
endef
define Build/Configure
$(call Build/Configure/Default, \
--disable-cpplibs \
--disable-sse \
--disable-3dnow \
--disable-altivec \
--disable-doxgen-docs \
--disable-local-xmms-plugin \
--disable-xmms-plugin \
--disable-ogg \
--disable-oggtest \
--disable-debug \
)
endef
CONFIGURE_ARGS += \
--disable-cpplibs \
--disable-sse \
--disable-3dnow \
--disable-altivec \
--disable-doxgen-docs \
--disable-local-xmms-plugin \
--disable-xmms-plugin \
--disable-ogg \
--disable-oggtest \
--disable-debug \
--enable-static \
TARGET_CFLAGS += $(FPIC)