pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/libusbmuxd



Module Name:    pkgsrc
Committed By:   vins
Date:           Fri May  1 19:58:51 UTC 2026

Added Files:
        pkgsrc/comms/libusbmuxd: DESCR Makefile PLIST buildlink3.mk distinfo
        pkgsrc/comms/libusbmuxd/patches: patch-src_libusbmuxd.c

Log Message:
comms/libusbmuxd: import libusbmuxd-2.1.1 from wip

This project is a client library to multiplex connections from and to iOS
devices alongside command-line utilities. It is primarily used by
applications which use the libimobiledevice library to communicate with
services running on iOS devices.

The library does not establish a direct connection with a device but
requires connecting to a socket provided by the usbmuxd daemon.

The usbmuxd daemon is running upon installing iTunes on Windows and Mac OS
X. The libimobiledevice project provides an open-source reimplementation of
the usbmuxd daemon to use on Linux or as an alternative to communicate with
iOS devices without the need to install iTunes.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/libusbmuxd/DESCR \
    pkgsrc/comms/libusbmuxd/Makefile pkgsrc/comms/libusbmuxd/PLIST \
    pkgsrc/comms/libusbmuxd/buildlink3.mk pkgsrc/comms/libusbmuxd/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/comms/libusbmuxd/patches/patch-src_libusbmuxd.c

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

Added files:

Index: pkgsrc/comms/libusbmuxd/DESCR
diff -u /dev/null pkgsrc/comms/libusbmuxd/DESCR:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/DESCR       Fri May  1 19:58:51 2026
@@ -0,0 +1,12 @@
+This project is a client library to multiplex connections from and to iOS
+devices alongside command-line utilities. It is primarily used by
+applications which use the libimobiledevice library to communicate with
+services running on iOS devices.
+
+The library does not establish a direct connection with a device but
+requires connecting to a socket provided by the usbmuxd daemon.
+
+The usbmuxd daemon is running upon installing iTunes on Windows and Mac OS
+X. The libimobiledevice project provides an open-source reimplementation of
+the usbmuxd daemon to use on Linux or as an alternative to communicate with
+iOS devices without the need to install iTunes.
Index: pkgsrc/comms/libusbmuxd/Makefile
diff -u /dev/null pkgsrc/comms/libusbmuxd/Makefile:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/Makefile    Fri May  1 19:58:51 2026
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2026/05/01 19:58:51 vins Exp $
+
+DISTNAME=      libusbmuxd-2.1.1
+CATEGORIES=    comms
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=libimobiledevice/}
+GITHUB_RELEASE=        ${PKGVERSION_NOREV}
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    weabot%protonmail.com@localhost
+HOMEPAGE=      https://www.libimobiledevice.org/
+COMMENT=       Communication interface library for usbmuxd
+LICENSE=       gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   src/libusbmuxd-2.0.pc.in
+
+.include "../../textproc/libplist/buildlink3.mk"
+.include "../../misc/libimobiledevice-glue/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/comms/libusbmuxd/PLIST
diff -u /dev/null pkgsrc/comms/libusbmuxd/PLIST:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/PLIST       Fri May  1 19:58:51 2026
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2026/05/01 19:58:51 vins Exp $
+bin/inetcat
+bin/iproxy
+include/usbmuxd-proto.h
+include/usbmuxd.h
+lib/libusbmuxd-2.0.la
+lib/pkgconfig/libusbmuxd-2.0.pc
+man/man1/inetcat.1
+man/man1/iproxy.1
Index: pkgsrc/comms/libusbmuxd/buildlink3.mk
diff -u /dev/null pkgsrc/comms/libusbmuxd/buildlink3.mk:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/buildlink3.mk       Fri May  1 19:58:51 2026
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/05/01 19:58:51 vins Exp $
+
+BUILDLINK_TREE+=       libusbmuxd
+
+.if !defined(LIBUSBMUXD_BUILDLINK3_MK)
+LIBUSBMUXD_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libusbmuxd+=     libusbmuxd>=2.1.1
+BUILDLINK_PKGSRCDIR.libusbmuxd?=       ../../comms/libusbmuxd
+
+.include "../../textproc/libplist/buildlink3.mk"
+.include "../../misc/libimobiledevice-glue/buildlink3.mk"
+.endif # LIBUSBMUXD_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libusbmuxd
Index: pkgsrc/comms/libusbmuxd/distinfo
diff -u /dev/null pkgsrc/comms/libusbmuxd/distinfo:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/distinfo    Fri May  1 19:58:51 2026
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2026/05/01 19:58:51 vins Exp $
+
+BLAKE2s (libusbmuxd-2.1.1.tar.bz2) = e9f40f932124a59703285044dbf0d1f9d83389e418383a7552317678097624a7
+SHA512 (libusbmuxd-2.1.1.tar.bz2) = f1327a64e0a1dc0f08d2e2355271feb34194753de1d622a0259e23fc751d2720af9b4a06555e0d5f7e86d00765e7400cdc246727cceb0715bf991a278c0dedb9
+Size (libusbmuxd-2.1.1.tar.bz2) = 325055 bytes
+SHA1 (patch-src_libusbmuxd.c) = 4aae8951f957dccea424a29595883357bcb8bfe4

Index: pkgsrc/comms/libusbmuxd/patches/patch-src_libusbmuxd.c
diff -u /dev/null pkgsrc/comms/libusbmuxd/patches/patch-src_libusbmuxd.c:1.1
--- /dev/null   Fri May  1 19:58:51 2026
+++ pkgsrc/comms/libusbmuxd/patches/patch-src_libusbmuxd.c      Fri May  1 19:58:51 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_libusbmuxd.c,v 1.1 2026/05/01 19:58:51 vins Exp $
+
+Add NetBSD support.
+https://github.com/libimobiledevice/libusbmuxd/pull/156
+
+--- src/libusbmuxd.c.orig      2025-07-31 18:22:11.292175556 +0000
++++ src/libusbmuxd.c
+@@ -658,7 +658,7 @@ static void get_bundle_id()
+ 
+ static void get_prog_name()
+ {
+-#if defined(__APPLE__) || defined(__FreeBSD__)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined (__NetBSD__)
+       const char *pname = getprogname();
+       if (pname) {
+               prog_name = strdup(pname);



Home | Main Index | Thread Index | Old Index