From patchwork Mon Apr 2 01:11:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rosen Penev X-Patchwork-Id: 894090 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sQiuiEjy"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Kwb8PuMi"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40DvMh3xg0z9s28 for ; Mon, 2 Apr 2018 11:12:16 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=v3fkbS20TQAEVmmYCkCz2jbjtATZ05ScQ2OeOne/yMU=; b=sQiuiEjySwRDQW vqx5Gaw4OUYe+w+AhYQTQGNkoRz1/TdaUN4/D2/SfgLEVQm776og5m76PjyIGrzTg0FT+KLihaHV/ veFm2/g1+VcDN7jLLPif1XLuKSCzNzo3g4KEI1o0hkEWsbAI2SqaGhNbJCcZFFuGYpZVITDCcGtbK a0CvPTWv7Ea7CNY8oYz5LPz2C19uqVKv50Cp51gfYifaGL00T2YRzzuawms61x19blJRn/7D64JoF OXHKetTjXi24MQ0ssv38SdSbYxDz7T03MlyN7Lh81SNVLooSDvl1RvSxb7m208klfgrwo1BlFRrLI KnPPPkScDbxyBrOqZKnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f2o0y-00023U-CX; Mon, 02 Apr 2018 01:12:04 +0000 Received: from mail-pl0-x241.google.com ([2607:f8b0:400e:c01::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f2o0e-0001Xt-4k for lede-dev@lists.infradead.org; Mon, 02 Apr 2018 01:11:46 +0000 Received: by mail-pl0-x241.google.com with SMTP id u11-v6so3204707plq.1 for ; Sun, 01 Apr 2018 18:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YfhoLQssrCvZo8i6lj0sBwt0fi5lsIJNOEnOoucUYs0=; b=Kwb8PuMiouFBKwmaNa8Ahdu1MNC8QGF9mNDqMLpFpFHz+ryfrH0AhJGwHH86jZHj/A vlW3hMVG8uguKFShJN3TY/9bg/TQ371aRWsurukAjOtBQNB8UOFgZY8Wu+8gE6efABhE L3qbJDXpXx+gEOIPIpSJsDQYRyU3I9zwPN7muccy7wg9+itmLEdXMFl9Moc/Q71JGxIT Who+ipypSasNANcOfoO6rS/slrpmW7540oLxv2LIN81W5CmunPGKy5L2MR+lJApwGGHT WwCsIn8aT4HDHvV0sLefSXf4btfR4edZvfGJBvFDR8ETnz8gY6FRli0IqIFMHb8Jh3+a MScw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YfhoLQssrCvZo8i6lj0sBwt0fi5lsIJNOEnOoucUYs0=; b=sWPyvMCkk9T1V8MKTsZha6JZfkdoL+4A79l7j0fqcmGlkQD1y6qvG9yVeqQ9ql4tZv fN8MwWmvdXz3SnqgH/0hCTi2qglyMQ+R+4MvGV6TXx5NDgedZqE2Ma1dwToaXOLFk/mG 5p/Lfc8iPnIWdI1tPIUfOkCqmLAOV8qdJ/0b27Zc2mWRHUWzLc0xbatm5tTZQQ0UjQcN Jbm2HoZBlZOmihlAMWqJKsoy3JO5uHXDT+cE8Vtp0+tWWYJ4VMXegEdMCLI8+aI7iWhh LrAyLmb7joG9Y+82DVNZVO3dpKC5UilSh9ld1caadfzeStiJaoFOD6c7O76Gbzvu298F n4CQ== X-Gm-Message-State: AElRT7GMTT2M8vHJ8rM93Uj219JgjrSG/VBTApjvRb0tBIu77InzpW+l y82sObNfanswBP5TsvOWQr9rI6e4 X-Google-Smtp-Source: AIpwx49ZU9Od3esjdcdUYkV9sig8a+Wg0SCUpXh8STRvUT7+7IAKaydRct/xEVBTuKgYppicorZcSw== X-Received: by 2002:a17:902:4303:: with SMTP id i3-v6mr7832206pld.302.1522631492952; Sun, 01 Apr 2018 18:11:32 -0700 (PDT) Received: from desktop.lan (astound-69-42-5-101.ca.astound.net. [69.42.5.101]) by smtp.gmail.com with ESMTPSA id 13sm28426663pfm.10.2018.04.01.18.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Apr 2018 18:11:32 -0700 (PDT) From: Rosen Penev To: lede-dev@lists.infradead.org Date: Sun, 1 Apr 2018 18:11:30 -0700 Message-Id: <20180402011130.29224-1-rosenp@gmail.com> X-Mailer: git-send-email 2.16.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180401_181144_224686_2D67B32D X-CRM114-Status: GOOD ( 11.64 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c01:0:0:0:241 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rosenp[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Subject: [LEDE-DEV] [PATCH] libusb: Update to 1.0.22 X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rosen Penev MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Switched download from SourceForge to GitHub. It seems the author migrated to that. Also fixed the website URL as the SourceForge link is dead. Replaced the $(fPIC) macro with PKG_ASLR_PIE. They're both functionally identital. Compile tested on ar71xx and mvebu. Small size decrease on ar71xx: 30444 vs. 30099 bytes. Signed-off-by: Rosen Penev --- package/libs/libusb/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/libs/libusb/Makefile b/package/libs/libusb/Makefile index 2d1d9c2b50..e9fe3fcec3 100644 --- a/package/libs/libusb/Makefile +++ b/package/libs/libusb/Makefile @@ -8,15 +8,16 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libusb -PKG_VERSION:=1.0.21 +PKG_VERSION:=1.0.22 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@SF/$(PKG_NAME) -PKG_HASH:=7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b +PKG_SOURCE_URL:=https://github.com/libusb/libusb/releases/download/v$(PKG_VERSION) +PKG_HASH:=75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157 PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=0 +PKG_ASLR_PIE:=1 PKG_LICENSE:=LGPL-2.1 PKG_MAINTAINER := Felix Fietkau @@ -28,7 +29,7 @@ define Package/libusb-1.0 CATEGORY:=Libraries TITLE:=A library for accessing Linux USB devices DEPENDS:=+libpthread +librt - URL:=http://libusb.wiki.sourceforge.net/ + URL:=http://libusb.info/ endef define Package/libusb-1.0/description @@ -36,7 +37,6 @@ define Package/libusb-1.0/description many different operating systems. endef -TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --disable-udev \ --disable-log