pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libimobiledevice: update to 1.3.0 + git commits of today



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Jul 31 20:44:58 2025 +0200
Changeset:	93bf8e607791e12ad39c4e1267f695097b7816df

Modified Files:
	libimobiledevice/Makefile
	libimobiledevice/PLIST
	libimobiledevice/distinfo
Added Files:
	libimobiledevice/patches/patch-src_lockdown.c
Removed Files:
	libimobiledevice/patches/patch-configure.ac
	libimobiledevice/patches/patch-src_idevice.c

Log Message:
libimobiledevice: update to 1.3.0 + git commits of today

1.3.0 does not build against the dependencies

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=93bf8e607791e12ad39c4e1267f695097b7816df

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libimobiledevice/Makefile                     | 26 +++++++++++++++++---------
 libimobiledevice/PLIST                        | 20 +++++++++++++++-----
 libimobiledevice/distinfo                     |  9 ++++-----
 libimobiledevice/patches/patch-configure.ac   | 11 -----------
 libimobiledevice/patches/patch-src_idevice.c  | 13 -------------
 libimobiledevice/patches/patch-src_lockdown.c | 15 +++++++++++++++
 6 files changed, 51 insertions(+), 43 deletions(-)

diffs:
diff --git a/libimobiledevice/Makefile b/libimobiledevice/Makefile
index 37342bb6ce..e28a831dd9 100644
--- a/libimobiledevice/Makefile
+++ b/libimobiledevice/Makefile
@@ -1,27 +1,35 @@
 # $NetBSD$
 
-DISTNAME=	libimobiledevice-1.2.0
-MASTER_SITES=	http://www.libimobiledevice.org/downloads/
+DISTNAME=	libimobiledevice-1.3.0
 CATEGORIES=	misc
-EXTRACT_SUFX=	.tar.bz2
+MASTER_SITES=	${MASTER_SITE_GITHUB:=libimobiledevice/}
+#GITHUB_RELEASE=	${PKGVERSION_NOREV}
+#EXTRACT_SUFX=	.tar.bz2
+# post 1.3.0 release
+GITHUB_TAG=	c269d7e3a7c28ac33d05d5c3de6a8682f480abd0
 
 MAINTAINER=	charlotte%NetBSD.org@localhost
 HOMEPAGE=	https://www.libimobiledevice.org/
 COMMENT=	Libraries and tools to communicate with iOS devices
 LICENSE=	gnu-gpl-v2
 
-EXTRACT_USING=	gtar
+GNU_CONFIGURE=	yes
+CONFIG_SHELL=	bash
+USE_LIBTOOL=	yes
 USE_TOOLS+=	aclocal autoconf automake bash pkg-config
 USE_LANGUAGES+=	c c++
+PY_PATCHPLIST=	yes
 
 pre-configure:
-	cd ${WRKSRC} && autoreconf
-
-GNU_CONFIGURE=	yes
-CONFIG_SHELL=	bash
+	echo ${PKGVERSION_NOREV} > ${WRKSRC}/.tarball-version
+	cd ${WRKSRC} && autoreconf -fiv
 
-.include "../../lang/python/tool.mk"
+.include "../../devel/py-cython/tool.mk"
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/extension.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/libplist/buildlink3.mk"
+.include "../../wip/libtatsu/buildlink3.mk"
 .include "../../wip/libusbmuxd/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/libimobiledevice/PLIST b/libimobiledevice/PLIST
index a8baf33e8c..e21892daab 100644
--- a/libimobiledevice/PLIST
+++ b/libimobiledevice/PLIST
@@ -1,11 +1,14 @@
 @comment $NetBSD$
+bin/afcclient
 bin/idevice_id
 bin/idevicebackup
 bin/idevicebackup2
+bin/idevicebtlogger
 bin/idevicecrashreport
 bin/idevicedate
 bin/idevicedebug
 bin/idevicedebugserverproxy
+bin/idevicedevmodectl
 bin/idevicediagnostics
 bin/ideviceenterrecovery
 bin/ideviceimagemounter
@@ -15,8 +18,10 @@ bin/idevicenotificationproxy
 bin/idevicepair
 bin/ideviceprovision
 bin/idevicescreenshot
+bin/idevicesetlocation
 bin/idevicesyslog
 include/libimobiledevice/afc.h
+include/libimobiledevice/companion_proxy.h
 include/libimobiledevice/debugserver.h
 include/libimobiledevice/diagnostics_relay.h
 include/libimobiledevice/file_relay.h
@@ -27,30 +32,34 @@ include/libimobiledevice/libimobiledevice.h
 include/libimobiledevice/lockdown.h
 include/libimobiledevice/misagent.h
 include/libimobiledevice/mobile_image_mounter.h
+include/libimobiledevice/mobileactivation.h
 include/libimobiledevice/mobilebackup.h
 include/libimobiledevice/mobilebackup2.h
 include/libimobiledevice/mobilesync.h
 include/libimobiledevice/notification_proxy.h
+include/libimobiledevice/ostrace.h
+include/libimobiledevice/preboard.h
 include/libimobiledevice/property_list_service.h
 include/libimobiledevice/restore.h
+include/libimobiledevice/reverse_proxy.h
 include/libimobiledevice/sbservices.h
 include/libimobiledevice/screenshotr.h
 include/libimobiledevice/service.h
 include/libimobiledevice/syslog_relay.h
 include/libimobiledevice/webinspector.h
-lib/libimobiledevice.a
-lib/libimobiledevice.la
-lib/libimobiledevice.so
-lib/libimobiledevice.so.6
-lib/libimobiledevice.so.6.0
+lib/libimobiledevice-1.0.la
 lib/pkgconfig/libimobiledevice-1.0.pc
+${PYSITELIB}/imobiledevice.la
+man/man1/afcclient.1
 man/man1/idevice_id.1
 man/man1/idevicebackup.1
 man/man1/idevicebackup2.1
+man/man1/idevicebtlogger.1
 man/man1/idevicecrashreport.1
 man/man1/idevicedate.1
 man/man1/idevicedebug.1
 man/man1/idevicedebugserverproxy.1
+man/man1/idevicedevmodectl.1
 man/man1/idevicediagnostics.1
 man/man1/ideviceenterrecovery.1
 man/man1/ideviceimagemounter.1
@@ -60,4 +69,5 @@ man/man1/idevicenotificationproxy.1
 man/man1/idevicepair.1
 man/man1/ideviceprovision.1
 man/man1/idevicescreenshot.1
+man/man1/idevicesetlocation.1
 man/man1/idevicesyslog.1
diff --git a/libimobiledevice/distinfo b/libimobiledevice/distinfo
index cd615dcc8f..276ea439a4 100644
--- a/libimobiledevice/distinfo
+++ b/libimobiledevice/distinfo
@@ -1,7 +1,6 @@
 $NetBSD$
 
-RMD160 (libimobiledevice-1.2.0.tar.bz2) = 0d1ec5a088abd73ac85c0c708524069cb22daf0f
-SHA512 (libimobiledevice-1.2.0.tar.bz2) = 0de5f768aeb5d62445892855d84ceaff776f6667733c351ed6c34bf9d500802762d1a06e5efdf57f33cafc9ee788041cd9b6748fb9bad6c2e4ae2f9b9aa93589
-Size (libimobiledevice-1.2.0.tar.bz2) = 631495 bytes
-SHA1 (patch-configure.ac) = 946788d4ad269457b7593b3de5e504b4d330c1bd
-SHA1 (patch-src_idevice.c) = d40da0ba0d15f65aa7140df68e476a7173cac047
+BLAKE2s (libimobiledevice-1.3.0-c269d7e3a7c28ac33d05d5c3de6a8682f480abd0.tar.gz) = b30bdb3db2bef1d0e9b1ad3a5e2dd37942fd025cef22a7d78f760205f409abba
+SHA512 (libimobiledevice-1.3.0-c269d7e3a7c28ac33d05d5c3de6a8682f480abd0.tar.gz) = 429fabaf96bc80256212f3a63bcc09438bdab2c31ed8295d14d2ef313b19964d43a8fc189e9dadbf6ac75852c2d263ca2634812875c1211f4732c6c556887484
+Size (libimobiledevice-1.3.0-c269d7e3a7c28ac33d05d5c3de6a8682f480abd0.tar.gz) = 420574 bytes
+SHA1 (patch-src_lockdown.c) = 3058c45cc117f2b88b1360f9d8c81cee57bc4882
diff --git a/libimobiledevice/patches/patch-configure.ac b/libimobiledevice/patches/patch-configure.ac
deleted file mode 100644
index b9ab4947b2..0000000000
--- a/libimobiledevice/patches/patch-configure.ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac.orig	2017-02-06 23:32:07.937678117 -0800
-+++ configure.ac	2017-02-06 23:32:28.321467607 -0800
-@@ -133,7 +133,7 @@
-     enable_openssl=yes
-   fi
- else
--  if test "x$use_openssl" == "xyes" -a "x$have_openssl" != "xyes"; then
-+  if test "x$use_openssl" = "xyes" -a "x$have_openssl" != "xyes"; then
-     AC_MSG_ERROR([OpenSSL support explicitly requested but OpenSSL could not be found])
-   fi
- fi
diff --git a/libimobiledevice/patches/patch-src_idevice.c b/libimobiledevice/patches/patch-src_idevice.c
deleted file mode 100644
index 83a526d787..0000000000
--- a/libimobiledevice/patches/patch-src_idevice.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- src/idevice.c.orig	2015-01-28 01:10:32.000000000 +0000
-+++ src/idevice.c
-@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t ide
- 	}
- 	BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE);
- 
--	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method());
-+	SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method());
- 	if (ssl_ctx == NULL) {
- 		debug_info("ERROR: Could not create SSL context.");
- 		BIO_free(ssl_bio);
diff --git a/libimobiledevice/patches/patch-src_lockdown.c b/libimobiledevice/patches/patch-src_lockdown.c
new file mode 100644
index 0000000000..acc46cc603
--- /dev/null
+++ b/libimobiledevice/patches/patch-src_lockdown.c
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix ctype(3) usage.
+
+--- src/lockdown.c.orig	2025-07-31 18:39:12.420822229 +0000
++++ src/lockdown.c
+@@ -1487,7 +1487,7 @@ static void str_remove_spaces(char *sour
+ {
+ 	char *dest = source;
+ 	while (*source != 0) {
+-		if (!isspace(*source)) {
++		if (!isspace((unsigned char)*source)) {
+ 			*dest++ = *source; /* copy */
+ 		}
+ 		source++;


Home | Main Index | Thread Index | Old Index