libusbmuxd: Update to 2.0.1
authorRosen Penev <rosenp@gmail.com>
Wed, 27 Nov 2019 06:12:43 +0000 (22:12 -0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 28 Nov 2019 07:42:13 +0000 (23:42 -0800)
The release of checkra1n necessitated a new release.

Removed inactive maintainer.

Fixed license info.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
libs/libusbmuxd/Makefile
libs/libusbmuxd/patches/010-select.patch [new file with mode: 0644]

index 851833aa900c3362848a2135a5efaf67f7045b44..03909de34ec871efbc677819a7f0c2427742ac13 100644 (file)
@@ -8,18 +8,14 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libusbmuxd
-PKG_SOURCE_DATE:=2019-03-23
-PKG_SOURCE_VERSION:=873252dc8b4e469c7dc692064ac616104fca5f65
-PKG_RELEASE:=2
+PKG_SOURCE_VERSION:=2.0.1
+PKG_RELEASE:=1
 
-PKG_MAINTAINER:=Lukasz Baj <l.baj@radytek.com>
-PKG_LICENSE:=LGPL-2.1-or-later
-PKG_LICENSE_FILES:=COPYING.LGPLv2.1
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/libimobiledevice/libusbmuxd
+PKG_MIRROR_HASH:=5078125cd4fe8c7294d4f195a8adfd1fc302101daf5d53e4cc242c3097eef8b6
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/libimobiledevice/libusbmuxd/tar.gz/$(PKG_SOURCE_VERSION)?
-PKG_HASH:=47e39ce87b05ca873c16efaa517247aa9db137625dd910d566fb3cd99b4a1d18
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION)
+PKG_MAINTAINER:=
 
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
@@ -46,6 +42,8 @@ define Package/libusbmuxd
   CATEGORY:=Libraries
   TITLE+= library
   DEPENDS:=+libplist +libpthread +libxml2 +zlib
+  PKG_LICENSE:=LGPL-2.1-or-later
+  PKG_LICENSE_FILES:=COPYING
 endef
 
 define Package/libusbmuxd/description
@@ -59,6 +57,7 @@ define Package/libusbmuxd-utils
   CATEGORY:=Utilities
   TITLE+= utilies
   DEPENDS:=+libusbmuxd
+  LICENSE:=GPL-2.0-or-later
 endef
 
 define Package/libusbmuxd-utils/description
@@ -66,7 +65,7 @@ define Package/libusbmuxd-utils/description
   This package contains the libusbmuxd utilities.
 endef
 
-CONFIGURE_ARGS += --with-pic
+TARGET_CFLAGS += $(FPIC)
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
diff --git a/libs/libusbmuxd/patches/010-select.patch b/libs/libusbmuxd/patches/010-select.patch
new file mode 100644 (file)
index 0000000..1caefdc
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tools/inetcat.c
++++ b/tools/inetcat.c
+@@ -33,6 +33,7 @@
+ #include <windows.h>
+ #include <winsock2.h>
+ #else
++#include <sys/select.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <sys/ioctl.h>